http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/e6bf97a8/juneau-client/src/main/java/org/apache/juneau/client/package.html
----------------------------------------------------------------------
diff --git a/juneau-client/src/main/java/org/apache/juneau/client/package.html 
b/juneau-client/src/main/java/org/apache/juneau/client/package.html
new file mode 100755
index 0000000..7f1ef7f
--- /dev/null
+++ b/juneau-client/src/main/java/org/apache/juneau/client/package.html
@@ -0,0 +1,857 @@
+<!DOCTYPE HTML>
+<!--
+/***************************************************************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one or more 
contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information regarding copyright 
ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License"); you may not 
use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software 
distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 
or implied.  See the License for the
+ * specific language governing permissions and limitations under the License.
+ *
+ 
***************************************************************************************************************************/
+ -->
+<html>
+<head>
+       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+       <style type="text/css">
+               /* For viewing in Page Designer */
+               @IMPORT url("../../../../../javadoc.css");
+
+               /* For viewing in REST interface */
+               @IMPORT url("../htdocs/javadoc.css");
+               body { 
+                       margin: 20px; 
+               }       
+       </style>
+       <script>
+               /* Replace all @code and @link tags. */ 
+               window.onload = function() {
+                       document.body.innerHTML = 
document.body.innerHTML.replace(/\{\@code ([^\}]+)\}/g, '<code>$1</code>');
+                       document.body.innerHTML = 
document.body.innerHTML.replace(/\{\@link (([^\}]+)\.)?([^\.\}]+)\}/g, 
'<code>$3</code>');
+               }
+       </script>
+</head>
+<body>
+<p>REST client API</p>
+
+<script>
+       function toggle(x) {
+               var div = x.nextSibling;
+               while (div != null && div.nodeType != 1)
+                       div = div.nextSibling;
+               if (div != null) {
+                       var d = div.style.display;
+                       if (d == 'block' || d == '') {
+                               div.style.display = 'none';
+                               x.className += " closed";
+                       } else {
+                               div.style.display = 'block';
+                               x.className = 
x.className.replace(/(?:^|\s)closed(?!\S)/g , '' );
+                       }
+               }
+       }
+</script>
+
+<a id='TOC'></a><h5 class='toc'>Table of Contents</h5>
+<ol class='toc'>
+       <li><p><a class='doclink' href='#RestClient'>REST Client API</a></p>
+       <ol>
+               <li><p><a class='doclink' href='#SSL'>SSL Support</a></p>
+               <ol>
+                       <li><p><a class='doclink' href='#SSLOpts'>SSLOpts 
Bean</a></p>
+               </ol>
+               <li><p><a class='doclink' 
href='#Authentication'>Authentication</a></p>
+               <ol>
+                       <li><p><a class='doclink' href='#BASIC'>BASIC 
Authentication</a></p>
+                       <li><p><a class='doclink' href='#FORM'>FORM-based 
Authentication</a></p>
+                       <li><p><a class='doclink' href='#OIDC'>OIDC 
Authentication</a></p>
+               </ol>
+               <li><p><a class='doclink' href='#ResponsePatterns'>Using 
Response Patterns</a></p>
+               <li><p><a class='doclink' href='#PipingOutput'>Piping Response 
Output</a></p>
+               <li><p><a class='doclink' href='#Logging'>Logging</a></p>
+               <li><p><a class='doclink' 
href='#Interceptors'>Interceptors</a></p>
+               <li><p><a class='doclink' href='#Remoteable'>Remoteable 
Proxies</a></p>
+               <li><p><a class='doclink' href='#Other'>Other Useful 
Methods</a></p>
+       </ol>
+</ol>
+
+<!-- 
========================================================================================================
 -->
+<a id="RestClient"></a>
+<h2 class='topic' onclick='toggle(this)'>1 - REST Client API</h2>
+<div class='topic'>
+       <p>
+               Juneau provides an HTTP client API that makes it extremely 
simple to connect to remote REST interfaces and 
+               seemlessly send and receive serialized POJOs in requests and 
responses.  
+       </p>
+       <h6 class='notes'>Features:</h6>
+       <ul class='notes'>
+               <li>Converts POJOs directly to HTTP request message bodies 
using {@link org.apache.juneau.serializer.Serializer} classes.
+               <li>Converts HTTP response message bodies directly to POJOs 
using {@link org.apache.juneau.parser.Parser} classes.
+               <li>Exposes the full functionality of the Apache HttpClient API 
by exposing all methods defined on the 
+                       {@link org.apache.http.impl.client.HttpClientBuilder} 
class.
+               <li>Provides various convenience methods for setting up common 
SSL and authentication methods.
+               <li>Provides a fluent interface that allows you to make complex 
REST calls in a single line of code.
+       </ul>   
+       <p>
+               The client API is designed to work as a thin layer on top of 
the proven Apache HttpClient API.  
+               By leveraging the HttpClient library, details such as SSL 
certificate negotiation, proxies, encoding, etc...
+                       are all handled in Apache code. 
+       </p>
+       <p>
+               The Juneau client API prereq's Apache HttpClient 4.1.2+. 
+               At a mimimum, the following jars are required:
+       </p>
+       <ul>
+               <li><code>httpclient-4.5.jar</code>
+               <li><code>httpcore-4.4.1.jar</code>
+               <li><code>httpmime-4.5.jar</code>
+       </ul>
+       <h6 class='topic'>Examples</h6>
+       <p class='bcode'>
+       <jc>// Examples below use the Juneau Address Book resource example</jc>
+
+       <jc>// Create a reusable client with JSON support</jc>
+       RestClient client = <jk>new</jk> 
RestClient(JsonSerializer.<jk>class</jk>, JsonParser.<jk>class</jk>);
+       
+       <jc>// GET request, ignoring output</jc>
+       <jk>try</jk> {
+               <jk>int</jk> rc = 
client.doGet(<js>"http://localhost:9080/sample/addressBook";</js>).execute();
+               <jc>// Succeeded!</jc>
+       } <jk>catch</jk> (RestCallException e) {
+               <jc>// Failed!</jc>
+               System.<jsf>err</jsf>.println(
+                       String.<jsm>format</jsm>(<js>"status=%s, 
message=%s"</js>, e.getResponseStatus(), e.getResponseMessage())
+               );
+       }
+                       
+       <jc>// Remaining examples ignore thrown exceptions.</jc>                
+                       
+       <jc>// GET request, secure, ignoring output</jc>
+       
client.doGet(<js>"https://localhost:9443/sample/addressBook";</js>).execute();
+                       
+       <jc>// GET request, getting output as a String.  No POJO parsing is 
performed.
+       // Note that when calling one of the getX() methods, you don't need to 
call connect() or disconnect(), since
+       //      it's automatically called for you.</jc>
+       String output = 
client.doGet(<js>"http://localhost:9080/sample/addressBook";</js>)
+               .getResponseAsString();
+                       
+       <jc>// GET request, getting output as a Reader</jc>
+       Reader r = 
client.doGet(<js>"http://localhost:9080/sample/addressBook";</js>)
+               .getReader();
+                       
+       <jc>// GET request, getting output as an ObjectMap</jc>
+       <jc>// Input must be an object (e.g. "{...}")</jc>
+       ObjectMap m = 
client.doGet(<js>"http://localhost:9080/sample/addressBook/0";</js>)
+               .getResponse(ObjectMap.<jk>class</jk>);
+                       
+       <jc>// GET request, getting output as a ObjectList</jc>
+       <jc>// Input must be an array (e.g. "[...]")</jc>
+       ObjectList l = 
client.doGet(<js>"http://localhost:9080/sample/addressBook";</js>)
+               .getResponse(ObjectList.<jk>class</jk>);
+                       
+       <jc>// GET request, getting output as a parsed bean</jc>
+       <jc>// Input must be an object (e.g. "{...}")</jc>
+       <jc>// Note that you don't have to do any casting!</jc>
+       Person p = 
client.doGet(<js>"http://localhost:9080/sample/addressBook/0";</js>)
+               .getResponse(Person.<jk>class</jk>);
+                       
+       <jc>// GET request, getting output as a parsed bean</jc>
+       <jc>// Input must be an array of objects (e.g. "[{...},{...}]")</jc>
+       Person[] pa = 
client.doGet(<js>"http://localhost:9080/sample/addressBook";</js>)
+               .getResponse(Person[].<jk>class</jk>);
+                       
+       <jc>// Same as above, except as a List&lt;Person&gt;</jc>
+       ClassMeta cm = 
BeanContext.<jsf>DEFAULT</jsf>.getCollectionClassMeta(LinkedList.<jk>class</jk>,
 Person.<jk>class</jk>);
+       List&lt;Person&gt; pl = 
client.doGet(<js>"http://localhost:9080/sample/addressBook";</js>)
+               .getResponse(cm);
+                       
+       <jc>// GET request, getting output as a parsed string</jc>
+       <jc>// Input must be a string (e.g. "&lt;string&gt;foo&lt;/string&gt;" 
or "'foo'")</jc>
+       String name = 
client.doGet(<js>"http://localhost:9080/sample/addressBook/0/name";</js>)
+               .getResponse(String.<jk>class</jk>);
+                       
+       <jc>// GET request, getting output as a parsed number</jc>
+       <jc>// Input must be a number (e.g. "&lt;number&gt;123&lt;/number&gt;" 
or "123")</jc>
+       <jk>int</jk> age = 
client.doGet(<js>"http://localhost:9080/sample/addressBook/0/age";</js>)
+               .getResponse(Integer.<jk>class</jk>);
+                       
+       <jc>// GET request, getting output as a parsed boolean</jc>
+       <jc>// Input must be a boolean (e.g. 
"&lt;boolean&gt;true&lt;/boolean&gt;" or "true")</jc>
+       <jk>boolean</jk> isCurrent = 
client.doGet(<js>"http://localhost:9080/sample/addressBook/0/addresses/0/isCurrent";</js>)
+               .getResponse(Boolean.<jk>class</jk>);
+                       
+       <jc>// GET request, getting a filtered object</jc>
+       
client.getParser().addTransforms(CalendarTransform.<jsf>ISO8601</jsf>.<jk>class</jk>);
+       Calendar birthDate = 
client.doGet(<js>"http://localhost:9080/sample/addressBook/0/birthDate";</js>)
+               .getResponse(GregorianCalendar.<jk>class</jk>);
+
+       <jc>// PUT request on regular field</jc>
+       String newName = <js>"John Smith"</js>;
+       <jk>int</jk> rc = 
client.doPut(<js>"http://localhost:9080/addressBook/0/name";</js>, 
newName).execute();
+       
+       <jc>// PUT request on filtered field</jc>
+       Calendar newBirthDate = <jk>new</jk> GregorianCalendar(1, 2, 3, 4, 5, 
6);
+       rc = 
client.doPut(<js>"http://localhost:9080/sample/addressBook/0/birthDate";</js>, 
newBirthDate).execute();
+       
+       <jc>// POST of a new entry to a list</jc>
+       Address newAddress = <jk>new</jk> Address(<js>"101 Main St"</js>, 
<js>"Anywhere"</js>, <js>"NY"</js>, 12121, <jk>false</jk>);
+       rc = 
client.doPost(<js>"http://localhost:9080/addressBook/0/addresses";</js>, 
newAddress).execute();     
+       </p>
+       
+       <h6 class='notes'>Notes:</h6>
+       <ul class='notes'>
+               <li><p>The {@link org.apache.juneau.client.RestClient} class 
exposes all the builder methods on the Apache HttpClient {@link 
org.apache.http.impl.client.HttpClientBuilder} class.
+                       Use these methods to provide any customized HTTP client 
behavior..</p>
+       </ul>
+       
+       <!-- 
========================================================================================================
 -->
+       <a id="SSL"></a>
+       <h3 class='topic' onclick='toggle(this)'>1.1 - SSL Support</h3>
+       <div class='topic'>
+               <p>
+                       The simplest way to enable SSL support in the client is 
to use the {@link org.apache.juneau.client.RestClient#enableSSL(SSLOpts)} method
+                       and one of the predefined {@link 
org.apache.juneau.client.SSLOpts} instances:
+                       <ul>
+                               <li>{@link 
org.apache.juneau.client.SSLOpts#DEFAULT} - Normal certificate and hostname 
validation.
+                               <li>{@link 
org.apache.juneau.client.SSLOpts#LAX} - Allows for self-signed certificates.
+                       </ul>
+               </p>
+               <h6 class='topic'>Example:</h6>
+               <p class='bcode'>
+       <jc>// Create a client that ignores self-signed or otherwise invalid 
certificates.</jc>
+       RestClient restClient = <jk>new</jk> RestClient() 
+               .enableSSL(SSLOpts.<jsf>LAX</jsf>);
+               
+       <jc>// ...or...</jc>
+       RestClient restClient = <jk>new</jk> RestClient() 
+               .enableLaxSSL();
+               </p>
+               <p>
+                       This is functionally equivalent to the following:
+               </p>
+               <p class='bcode'>
+       RestClient restClient = <jk>new</jk> RestClient();
+       
+       HostnameVerifier hv = <jk>new</jk> NoopHostnameVerifier();
+       TrustManager tm = <jk>new</jk> SimpleX509TrustManager(<jk>true</jk>);
+
+       <jk>for</jk> (String p : <jk>new</jk> 
String[]{<js>"SSL"</js>,<js>"TLS"</js>,<js>"SSL_TLS"</js>}) {
+               SSLContext ctx = SSLContext.<jsm>getInstance</jsm>(p);
+               ctx.init(<jk>null</jk>, <jk>new</jk> TrustManager[] { tm }, 
<jk>null</jk>);
+               SSLConnectionSocketFactory sf = <jk>new</jk> 
SSLConnectionSocketFactory(ctx, hv);
+               restClient.setSSLSocketFactory(sf);
+               Registry&lt;ConnectionSocketFactory&gt; r = 
RegistryBuilder.&lt;ConnectionSocketFactory&gt;<jsm>.create</jsm>().register(<js>"https"</js>,
 sf).build();
+               restClient.setConnectionManager(<jk>new</jk> 
PoolingHttpClientConnectionManager(r));
+       }
+               </p>
+               <p>
+                       More complex SSL support can be enabled through the 
various {@link org.apache.http.impl.client.HttpClientBuilder} methods defined 
on the class.
+               </p>
+               
+               <!-- 
========================================================================================================
 -->
+               <a id="SSLOpts"></a>
+               <h4 class='topic' onclick='toggle(this)'>1.1.1 - SSLOpts 
Bean</h4>
+               <div class='topic'>
+       <p>
+                               The {@link org.apache.juneau.client.SSLOpts} 
class itself is a bean that can be created by the parsers.
+                               For example, SSL options can be specified in a 
config file and retrieved as a bean using the {@link 
org.apache.juneau.ini.ConfigFile} class.
+       </p>
+                       <h6 class='figure'>Contents of 
<code>MyConfig.cfg</code></h6>
+                       <p class='bcode'>
+               
<jc>#================================================================================
+               # My Connection Settings
+               
#================================================================================</jc>
+               [Connection]
+               url = https://myremotehost:9443
+               ssl = {certValidate:'LAX',hostVerify:'LAX'}
+                       </p>
+                       <h6 class='figure'>Code that reads an 
<code>SSLOpts</code> bean from the config file</h6>
+                       <p class='bcode'>
+               <jc>// Read config file and set SSL options based on what's in 
that file.</jc>
+               ConfigFile cf = 
ConfigMgr.<jsf>DEFAULT</jsf>.get(<js>"MyConfig.cfg"</js>);
+               SSLOpts ssl = cf.getObject(SSLOpts.<jk>class</jk>, 
<js>"Connection/ssl"</js>);
+               RestClient rc = <jk>new</jk> RestClient().enableSSL(ssl);
+                       </p>
+               </div>
+       </div>  
+
+       <!-- 
========================================================================================================
 -->
+       <a id="Authentication"></a>
+       <h3 class='topic' onclick='toggle(this)'>1.2 - Authentication</h3>
+       <div class='topic'>
+
+               <!-- 
========================================================================================================
 -->
+               <a id="BASIC"></a>
+               <h4 class='topic' onclick='toggle(this)'>1.2.1 - BASIC 
Authentication</h4>
+               <div class='topic'>
+                       <p>
+                               The {@link 
org.apache.juneau.client.RestClient#setBasicAuth(String,int,String,String)} 
method can be used to quickly enable
+                               BASIC authentication support.
+                       </p>
+                       <h6 class='topic'>Example:</h6>
+                       <p class='bcode'>
+       <jc>// Create a client that performs BASIC authentication using the 
specified user/pw.</jc>
+       RestClient restClient = <jk>new</jk> RestClient() 
+               .setBasicAuth(<jsf>HOST</jsf>, <jsf>PORT</jsf>, 
<jsf>USER</jsf>, <jsf>PW</jsf>);
+               </p>
+               <p>
+                       This is functionally equivalent to the following:
+               </p>
+               <p class='bcode'>
+       RestClient restClient = <jk>new</jk> RestClient();
+       AuthScope scope = <jk>new</jk> AuthScope(<jsf>HOST</jsf>, 
<jsf>PORT</jsf>);
+       Credentials up = <jk>new</jk> 
UsernamePasswordCredentials(<jsf>USER</jsf>, <jsf>PW</jsf>);
+       CredentialsProvider p = <jk>new</jk> BasicCredentialsProvider();
+       p.setCredentials(scope, up);
+       restClient.setDefaultCredentialsProvider(p);
+                       </p>
+               </div>
+       
+               <!-- 
========================================================================================================
 -->
+               <a id="FORM"></a>
+               <h4 class='topic' onclick='toggle(this)'>1.2.2 - FORM-based 
Authentication</h4>
+               <div class='topic'>
+                       <p>
+                               The {@link org.apache.juneau.client.RestClient} 
class does not itself provide FORM-based authentication since there
+                               is no standard way of providing such support. 
+                               Typically, to perform FORM-based or other types 
of authentication, you'll want to create your own
+                               subclass of {@link 
org.apache.juneau.client.RestClient} and override the {@link 
org.apache.juneau.client.RestClient#createHttpClient()}
+                               method to provide an authenticated client.
+                       </p>
+                       <p>
+                               The following example shows how the 
<code>JazzRestClient</code> class provides
+                               FORM-based authentication support.
+                       </p>
+                       <p class='bcode'>
+       <jd>/**
+        * Constructor.
+        */</jd>
+       <jk>public</jk> JazzRestClient(URI jazzUri, String user, String pw) 
<jk>throws</jk> IOException {
+               ...
+       }
+
+       <jd>/**
+        * Override the createHttpClient() method to return an authenticated 
client.
+        */</jd>
+       <ja>@Override</ja> <jc>/* RestClient */</jc>
+       <jk>protected</jk> CloseableHttpClient createHttpClient() 
<jk>throws</jk> Exception {
+               CloseableHttpClient client = <jk>super</jk>.createHttpClient();
+               formBasedAuthenticate(client);
+               visitAuthenticatedURL(client);
+               <jk>return</jk> client;
+       }
+
+       <jc>/*
+        * Performs form-based authentication against the Jazz server.
+        */</jc>
+       <jk>private void</jk> formBasedAuthenticate(HttpClient client) 
<jk>throws</jk> IOException {
+
+               URI uri2 = 
<jf>jazzUri</jf>.resolve(<js>"j_security_check"</js>);
+               HttpPost request = <jk>new</jk> HttpPost(uri2);
+               
request.setConfig(RequestConfig.<jsm>custom</jsm>().setRedirectsEnabled(<jk>false</jk>).build());
+               
+               <jc>// Charset must explicitly be set to UTF-8 to handle 
user/pw with non-ascii characters.</jc>
+               request.addHeader(<js>"Content-Type"</js>, 
<js>"application/x-www-form-urlencoded; charset=utf-8"</js>);
+
+               NameValuePairs params = <jk>new</jk> NameValuePairs()
+                       .append(<jk>new</jk> 
BasicNameValuePair(<js>"j_username""</js>, <jf>user</jf>))
+                       .append(<jk>new</jk> 
BasicNameValuePair(<js>"j_password"</js>, <jf>pw</jf>));
+               request.setEntity(<jk>new</jk> UrlEncodedFormEntity(params));
+
+               HttpResponse response = client.execute(request);
+               <jk>try</jk> {
+                       <jk>int</jk> rc = 
response.getStatusLine().getStatusCode();
+
+                       Header authMsg = 
response.getFirstHeader(<js>"X-com-ibm-team-repository-web-auth-msg"</js>);
+                       <jk>if</jk> (authMsg != <jk>null</jk>)
+                               <jk>throw new</jk> 
IOException(authMsg.getValue());
+
+                       <jc>// The form auth request should always respond with 
a 200 ok or 302 redirect code</jc>
+                       <jk>if</jk> (rc == <jsf>SC_MOVED_TEMPORARILY</jsf>) {
+                               <jk>if</jk> 
(response.getFirstHeader(<js>"Location"</js>).getValue().matches(<js>"^.*/auth/authfailed.*$"</js>))
+                                       <jk>throw new</jk> 
IOException(<js>"Invalid credentials."</js>);
+                       } <jk>else if</jk> (rc != <jsf>SC_OK</jsf>) {
+                               <jk>throw new</jk> IOException(<js>"Unexpected 
HTTP status: "</js> + rc);
+                       }
+               } <jk>finally</jk> {
+                       EntityUtils.<jsm>consume</jsm>(response.getEntity());
+               }
+       }
+
+       <jc>/*
+        * This is needed for Tomcat because it responds with SC_BAD_REQUEST 
when the j_security_check URL is visited before an
+        * authenticated URL has been visited. This same URL must also be 
visited after authenticating with j_security_check
+        * otherwise tomcat will not consider the session authenticated
+        */</jc>
+       <jk>private int</jk> visitAuthenticatedURL(HttpClient httpClient) 
<jk>throws</jk> IOException {
+               HttpGet authenticatedURL = <jk>new</jk> 
HttpGet(<jf>jazzUri</jf>.resolve(<js>"authenticated/identity"</js>));
+               HttpResponse response = httpClient.execute(authenticatedURL);
+               <jk>try</jk> {
+                       <jk>return</jk> 
response.getStatusLine().getStatusCode();
+               } <jk>finally</jk> {
+                       EntityUtils.<jsm>consume</jsm>(response.getEntity());
+               }
+       }
+                       </p>
+               </div>
+               
+               <!-- 
========================================================================================================
 -->
+               <a id="OIDC"></a>
+               <h4 class='topic' onclick='toggle(this)'>1.2.3 - OIDC 
Authentication</h4>
+               <div class='topic'>
+                       <p>
+                               The following example shows how the 
<code>JazzRestClient</code> class provides
+                               OIDC authentication support.
+                       </p>
+       <p class='bcode'>
+       <jd>/**
+        * Constructor.
+        */</jd>
+       <jk>public</jk> JazzRestClient(URI jazzUri, String user, String pw) 
<jk>throws</jk> IOException {
+               ...
+       }
+
+       <jd>/**
+        * Override the createHttpClient() method to return an authenticated 
client.
+        */</jd>
+       <ja>@Override</ja> <jc>/* RestClient */</jc>
+       <jk>protected</jk> CloseableHttpClient createHttpClient() 
<jk>throws</jk> Exception {
+               CloseableHttpClient client = <jk>super</jk>.createHttpClient();
+               oidcAuthenticate(client);
+                       <jk>return</jk> client;
+               }
+
+       <jk>private void</jk> oidcAuthenticate(HttpClient client) 
<jk>throws</jk> IOException {
+
+               HttpGet request = <jk>new</jk> HttpGet(<jf>jazzUri</jf>);
+               
request.setConfig(RequestConfig.<jsm>custom</jsm>().setRedirectsEnabled(<jk>false</jk>).build());
+               
+               <jc>// Charset must explicitly be set to UTF-8 to handle 
user/pw with non-ascii characters.</jc>
+               request.addHeader(<js>"Content-Type"</js>, 
<js>"application/x-www-form-urlencoded; charset=utf-8"</js>);
+
+               HttpResponse response = client.execute(request);
+               <jk>try</jk> {
+                       <jk>int</jk> code = 
response.getStatusLine().getStatusCode();
+
+                       <jc>// Already authenticated</jc>
+                       <jk>if</jk> (code == <jsf>SC_OK</jsf>)
+                               <jk>return</jk>;
+
+                       <jk>if</jk> (code != <jsf>SC_UNAUTHORIZED</jsf>)
+                               <jk>throw new</jk> 
RestCallException(<js>"Unexpected response during OIDC authentication: "</js> + 
response.getStatusLine());
+
+                       <jc>// x-jsa-authorization-redirect</jc>
+                       String redirectUri = getHeader(response, 
<js>"X-JSA-AUTHORIZATION-REDIRECT"</js>);
+
+                       <jk>if</jk> (redirectUri == <jk>null</jk>)
+                               <jk>throw new</jk> 
RestCallException(<js>"Expected a redirect URI during OIDC authentication: 
"</js> + response.getStatusLine());
+
+                       <jc>// Handle Bearer Challenge</jc>
+                       HttpGet method = <jk>new</jk> HttpGet(redirectUri + 
<js>"&prompt=none"</js>);
+                       addDefaultOidcHeaders(method);
+
+                       response = client.execute(method);
+
+                       code = response.getStatusLine().getStatusCode();
+
+                       <jk>if</jk> (code != <jsf>SC_OK</jsf>)
+                               <jk>throw new</jk> 
RestCallException(<js>"Unexpected response during OIDC authentication phase 2: 
"</js> + response.getStatusLine());
+
+                       String loginRequired = getHeader(response, 
<js>"X-JSA-LOGIN-REQUIRED"</js>);
+
+                       <jk>if</jk> (! <js>"true"</js>.equals(loginRequired))
+                               <jk>throw new</jk> 
RestCallException(<js>"X-JSA-LOGIN-REQUIRED header not found on response during 
OIDC authentication phase 2: "</js> + response.getStatusLine());
+
+                       method = <jk>new</jk> HttpGet(redirectUri + 
<js>"&prompt=none"</js>);
+
+                       addDefaultOidcHeaders(method);
+                       response = client.execute(method);
+
+                       code = response.getStatusLine().getStatusCode();
+
+                       <jk>if</jk> (code != <jsf>SC_OK</jsf>)
+                               <jk>throw new</jk> 
RestCallException(<js>"Unexpected response during OIDC authentication phase 3: 
"</js> + response.getStatusLine());
+
+                       <jc>// Handle JAS Challenge</jc>
+                       method = <jk>new</jk> HttpGet(redirectUri);
+                       addDefaultOidcHeaders(method);
+
+                       response = client.execute(method);
+
+                       code = response.getStatusLine().getStatusCode();
+
+                       <jk>if</jk> (code != <jsf>SC_OK</jsf>)
+                               <jk>throw new</jk> 
RestCallException(<js>"Unexpected response during OIDC authentication phase 4: 
"</js> + response.getStatusLine());
+
+                       <jf>cookie</jf> = getHeader(response, 
<js>"Set-Cookie"</js>);
+
+                       Header[] defaultHeaders = <jk>new</jk> Header[] {
+                               <jk>new</jk> BasicHeader(<js>"User-Agent"</js>, 
<js>"Jazz Native Client"</js>),
+                               <jk>new</jk> 
BasicHeader(<js>"X-com-ibm-team-configuration-versions"</js>, 
<js>"com.ibm.team.rtc=6.0.0,com.ibm.team.jazz.foundation=6.0"</js>),
+                               <jk>new</jk> BasicHeader(<js>"Accept"</js>, 
<js>"text/json"</js>),
+                               <jk>new</jk> 
BasicHeader(<js>"Authorization"</js>, <js>"Basic "</js> + 
StringUtils.<jsm>base64EncodeToString</jsm>(<jf>user</jf> + <js>":"</js> + 
<jf>pw</jf>)),
+                               <jk>new</jk> BasicHeader(<js>"Cookie"</js>, 
cookie)
+       };
+
+                       
setDefaultHeaders(Arrays.<jsm>asList</jsm>(defaultHeaders));
+
+               } <jk>finally</jk> {
+                       EntityUtils.<jsm>consume</jsm>(response.getEntity());
+               }
+       }
+
+       <jk>private void</jk> addDefaultOidcHeaders(HttpRequestBase method) {
+               method.addHeader(<js>"User-Agent"</js>, <js>"Jazz Native 
Client"</js>);
+               
method.addHeader(<js>"X-com-ibm-team-configuration-versions"</js>, 
<js>"com.ibm.team.rtc=6.0.0,com.ibm.team.jazz.foundation=6.0"</js>);
+               method.addHeader(<js>"Accept"</js>, <js>"text/json"</js>);
+
+               <jk>if</jk> (<jf>cookie</jf> != <jk>null</jk>) {
+                       method.addHeader(<js>"Authorization"</js>, <js>"Basic 
"</js> + StringUtils.<jsm>base64EncodeToString</jsm>(<jf>user</jf> + 
<js>":"</js> + <jf>pw</jf>));
+                       method.addHeader(<js>"Cookie"</js>, cookie);
+               }
+       }
+                       </p>    
+               </div>
+       </div>
+
+       <!-- 
========================================================================================================
 -->
+       <a id="ResponsePatterns"></a>
+       <h3 class='topic' onclick='toggle(this)'>1.3 - Using Response 
Patterns</h3>
+       <div class='topic'>
+               <p>
+                       One issue with REST (and HTTP in general) is that the 
HTTP response code must be set as a header before the 
+                       body of the request is sent.  This can be problematic 
when REST calls invoke long-running processes, pipes
+                       the results through the connection, and then fails 
after an HTTP 200 has already been sent.
+               </p>
+               <p>
+                       One common solution is to serialize some text at the 
end to indicate whether the long-running process succeeded (e.g. 
<js>"FAILED"</js> or <js>"SUCCEEDED"</js>).
+               </p>
+               <p>
+                       The {@link org.apache.juneau.client.RestClient} class 
has convenience methods for scanning the response without
+                       interfering with the other methods used for retrieving 
output.  
+               </p>
+               <p>
+                       The following example shows how the {@link 
org.apache.juneau.client.RestCall#successPattern(String)} method can be used
+                       to look for a SUCCESS message in the output:
+               </p>    
+               <h6 class='topic'>Example:</h6>
+               <p class='bcode'>
+       <jc>// Throw a RestCallException if SUCCESS is not found in the 
output.</jc>
+       restClient.doPost(<jsf>URL</jsf>)
+               .successPattern(<js>"SUCCESS"</js>)
+               .run();
+               </p>
+               <p>
+                       The {@link 
org.apache.juneau.client.RestCall#failurePattern(String)} method does the 
opposite.  
+                       It throws an exception if a failure message is detected.
+               </p>    
+               <h6 class='topic'>Example:</h6>
+               <p class='bcode'>
+       <jc>// Throw a RestCallException if FAILURE or ERROR is found in the 
output.</jc>
+       restClient.doPost(<jsf>URL</jsf>)
+               .failurePattern(<js>"FAILURE|ERROR"</js>)
+               .run();
+               </p>
+               <p>
+                       These convenience methods are specialized methods that 
use the {@link 
org.apache.juneau.client.RestCall#addResponsePattern(ResponsePattern)}
+                               method which uses regular expression matching 
against the response body.
+                       This method can be used to search for arbitrary 
patterns in the response body.
+               </p>
+               <p>
+                       The following example shows how to use a response 
pattern finder to find and capture patterns for <js>"x=number"</js> and 
<js>"y=string"</js>
+                               from a response body.
+               </p>    
+               <h6 class='topic'>Example:</h6>
+               <p class='bcode'>
+       <jk>final</jk> List&lt;Number&gt; xList = <jk>new</jk> 
ArrayList&lt;Number&gt;();
+       <jk>final</jk> List&lt;String&gt; yList = <jk>new</jk> 
ArrayList&lt;String&gt;();
+       
+       String responseText = restClient.doGet(<jsf>URL</jsf>)
+               .addResponsePattern(
+                       <jk>new</jk> ResponsePattern(<js>"x=(\\d+)"</js>) {
+                               <ja>@Override</ja>
+                               <jk>public void</jk> onMatch(RestCall restCall, 
Matcher m) <jk>throws</jk> RestCallException {
+                                       
xList.add(Integer.<jsm>parseInt</jsm>(m.group(1)));
+                               }
+                               <ja>@Override</ja>
+                               <jk>public void</jk> onNoMatch(RestCall 
restCall) <jk>throws</jk> RestCallException {
+                                       <jk>throw new</jk> 
RestCallException(<js>"No X's found!"</js>);
+                               }
+                       }
+               )
+               .addResponsePattern(
+                       <jk>new</jk> ResponsePattern(<js>"y=(\\S+)"</js>) {
+                               <ja>@Override</ja>
+                               <jk>public void</jk> onMatch(RestCall restCall, 
Matcher m) <jk>throws</jk> RestCallException {
+                                       yList.add(m.group(1));
+                               }
+                               <ja>@Override</ja>
+                               <jk>public void</jk> onNoMatch(RestCall 
restCall) <jk>throws</jk> RestCallException {
+                                       <jk>throw new</jk> 
RestCallException(<js>"No Y's found!"</js>);
+                               }
+                       }
+               )
+               .getResponseAsString();
+               </p>
+               <p>
+                       Using response patterns does not affect the 
functionality of any of the other methods
+                       used to retrieve the response such as {@link 
org.apache.juneau.client.RestCall#getResponseAsString()} or {@link 
org.apache.juneau.client.RestCall#getResponse(Class)}.<br>
+                       HOWEVER, if you want to retrieve the entire text of the 
response from inside the match methods,
+                       use {@link 
org.apache.juneau.client.RestCall#getCapturedResponse()} since this method will 
not absorb the response for those other methods.
+               </p>
+       </div>
+       
+       <!-- 
========================================================================================================
 -->
+       <a id="#PipingOutput"></a>
+       <h3 class='topic' onclick='toggle(this)'>1.4 - Piping Response 
Output</h3>
+       <div class='topic'>
+               <p>
+                       The {@link org.apache.juneau.client.RestCall} class 
provides various convenience <code>pipeTo()</code> methods 
+                       to pipe output to output streams and writers.
+               </p>
+               <p>
+                       If you want to pipe output without any intermediate 
buffering, you can use the {@link org.apache.juneau.client.RestCall#byLines()} 
method.  
+                       This will cause the output to be piped and flushed 
after every line.  
+                       This can be useful if you want to display the results 
in real-time from a long running process producing
+                               output on a REST call.
+               </p>
+               <h6 class='topic'>Example:</h6>
+               <p class='bcode'>
+       <jc>// Pipe output from REST call to System.out in real-time.</jc>
+       restClient.doPost(<jsf>URL</jsf>).byLines().pipeTo(<jk>new</jk> 
PrintWriter(System.<jk>out</jk>)).run();
+               </p>
+       </div>  
+       
+       <!-- 
========================================================================================================
 -->
+       <a id="Logging"></a>
+       <h3 class='topic' onclick='toggle(this)'>1.5 - Logging</h3>
+       <div class='topic'>
+               <p>
+                       Use the {@link 
org.apache.juneau.client.RestClient#logTo(Level,Logger)} and {@link 
org.apache.juneau.client.RestCall#logTo(Level,Logger)} methods
+                       to log HTTP calls.
+                       These methods will cause the HTTP request and response 
headers and body to be logged to the specified logger.  
+               </p>
+               <h6 class='topic'>Example:</h6>
+               <p class='bcode'>
+       <jc>// Log the HTTP request/response to the specified logger.</jc>
+       <jk>int</jk> rc = 
restClient.doGet(<jsf>URL</jsf>).logTo(<jsf>INFO</jsf>, getLogger()).run();
+               </p>
+               <p>
+                       The method call is ignored if the logger level is below 
the specified level.
+               </p>
+               <p>
+                       Customized logging can be handled by subclassing the 
{@link org.apache.juneau.client.RestCallLogger} class and using the 
+                       {@link 
org.apache.juneau.client.RestCall#addInterceptor(RestCallInterceptor)} method.
+               </p>
+       </div>
+       
+       <!-- 
========================================================================================================
 -->
+       <a id="Interceptors"></a>
+       <h3 class='topic' onclick='toggle(this)'>1.6 - Interceptors</h3>
+       <div class='topic'>
+               <p>
+                       The {@link 
org.apache.juneau.client.RestClient#addInterceptor(RestCallInterceptor)} and 
{@link org.apache.juneau.client.RestCall#addInterceptor(RestCallInterceptor)} 
methods
+                       can be used to intercept responses during specific 
connection lifecycle events.
+               </p>
+               <p>
+                       The {@link org.apache.juneau.client.RestCallLogger} 
class is an example of an interceptor that uses the various lifecycle methods
+                               to log HTTP requests.
+               </p>
+               <p class='bcode'>
+       <jd>/**
+        * Specialized interceptor for logging calls to a log file.
+        */</jd>
+       <jk>public class</jk> RestCallLogger <jk>extends</jk> 
RestCallInterceptor {
+       
+               <jk>private</jk> Level <jf>level</jf>;
+               <jk>private</jk> Logger <jf>log</jf>;
+       
+               <jd>/**
+                * Constructor.
+                *
+                * <ja>@param</ja> level The log level to log messages at.
+                * <ja>@param</ja> log The logger to log to.
+                */</jd>
+               <jk>protected</jk> RestCallLogger(Level level, Logger log) {
+                       <jk>this</jk>.<jf>level</jf> = level;
+                       <jk>this</jk>.<jf>log</jf> = log;
+               }
+       
+               <ja>@Override</ja> <jc>/* RestCallInterceptor */</jc>
+               <jk>public void</jk> onInit(RestCall restCall) {
+                       <jk>if</jk> (<jf>log</jf>.isLoggable(<jf>level</jf>))
+                               restCall.captureResponse();
+               }
+       
+               <ja>@Override</ja> <jc>/* RestCallInterceptor */</jc>
+               <jk>public void</jk> onConnect(RestCall restCall, <jk>int</jk> 
statusCode, HttpRequest req, HttpResponse res) {
+                       <jc>// Do nothing.</jc>
+               }
+       
+               <ja>@Override</ja> <jc>/* RestCallInterceptor */</jc>
+               <jk>public void</jk> onRetry(RestCall restCall, <jk>int</jk> 
statusCode, HttpRequest req, HttpResponse res) {
+                       <jk>if</jk> (<jf>log</jf>.isLoggable(<jf>level</jf>))
+                               <jf>log</jf>.log(level, 
MessageFormat.<jsm>format</jsm>(<js>"Call to {0} returned {1}.  Will 
retry."</js>, req.getRequestLine().getUri(), statusCode)); 
+               }
+       
+               <ja>@Override</ja> <jc>/* RestCallInterceptor */</jc>
+               <jk>public void</jk> onClose(RestCall restCall) <jk>throws</jk> 
RestCallException {
+                       <jk>try</jk> {
+                               <jk>if</jk> 
(<jf>log</jf>.isLoggable(<jf>level</jf>)) {
+                                       String output = 
restCall.getCapturedResponse();
+                                       StringBuilder sb = <jk>new</jk> 
StringBuilder();
+                                       HttpUriRequest req = 
restCall.getRequest();
+                                       HttpResponse res = 
restCall.getResponse();
+                                       <jk>if</jk> (req != <jk>null</jk>) {
+                                               sb.append(<js>"\n=== HTTP Call 
=================================================================="</js>);
+       
+                                               sb.append(<js>"\n=== REQUEST 
===\n"</js>).append(req);
+                                               sb.append(<js>"\n---request 
headers---"</js>);
+                                               <jk>for</jk> (Header h : 
req.getAllHeaders())
+                                                       
sb.append(<js>"\n"</js>).append(h);
+                                               <jk>if</jk> (req 
<jk>instanceof</jk> HttpEntityEnclosingRequestBase) {
+                                                       
sb.append(<js>"\n---request entity---"</js>);
+                                                       
HttpEntityEnclosingRequestBase req2 = (HttpEntityEnclosingRequestBase)req;
+                                                       HttpEntity e = 
req2.getEntity();
+                                                       <jk>if</jk> (e == 
<jk>null</jk>)
+                                                               
sb.append(<js>"\nEntity is null"</js>);
+                                                       <jk>else</jk> {
+                                                               <jk>if</jk> 
(e.getContentType() != <jk>null</jk>)
+                                                                       
sb.append(<js>"\n"</js>).append(e.getContentType());
+                                                               <jk>if</jk> 
(e.getContentEncoding() != <jk>null</jk>)
+                                                                       
sb.append(<js>"\n"</js>).append(e.getContentEncoding());
+                                                               <jk>if</jk> 
(e.isRepeatable()) {
+                                                                       
<jk>try</jk> {
+                                                                               
sb.append(<js>"\n---request 
content---\n"</js>).append(EntityUtils.<jsm>toString</jsm>(e));
+                                                                       } 
<jk>catch</jk> (Exception ex) {
+                                                                               
<jk>throw new</jk> RuntimeException(ex);
+                                                                       }
+                                                               }
+                                                       }
+                                               }
+                                       }
+                                       <jk>if</jk> (res != <jk>null</jk>) {
+                                               sb.append(<js>"\n=== RESPONSE 
===\n"</js>).append(res.getStatusLine());
+                                               sb.append(<js>"\n---response 
headers---"</js>);
+                                               <jk>for</jk> (Header h : 
res.getAllHeaders())
+                                                       
sb.append(<js>"\n"</js>).append(h);
+                                               sb.append(<js>"\n---response 
content---\n"</js>).append(output);
+                                               sb.append(<js>"\n=== END 
========================================================================"</js>);
+                                       }
+                                       <jf>log</jf>.log(<jf>level</jf>, 
sb.toString());
+                               }
+                       } <jk>catch</jk> (IOException e) {
+                               <jf>log</jf>.log(Level.<jsf>SEVERE</jsf>, 
e.getLocalizedMessage(), e);
+                       }
+               }
+       }
+               </p>
+       </div>
+
+       <!-- 
========================================================================================================
 -->
+       <a id="Remoteable"></a>
+       <h3 class='topic' onclick='toggle(this)'>1.7 - Remotable Proxies</h3>
+       <div class='topic'>
+               <p>
+                       Juneau provides the capability of calling methods on 
POJOs on a server through client-side proxy interfaces.
+                       It offers a number of advantages over other similar 
remote proxy interfaces, such as being much simpler to 
+                               use and allowing much more flexibility.
+               </p>
+               <p>
+                       Proxy interfaces are retrieved using the {@link 
org.apache.juneau.client.RestClient#getRemoteableProxy(Class)} method.
+                       The {@link 
org.apache.juneau.client.RestClient#setRemoteableServletUri(String)} method is 
used to specify the location
+                               of the remoteable services servlet running on 
the server.
+                       The remoteable servlet is a specialized subclass of 
{@link org.apache.juneau.server.RestServlet} that provides a full-blown
+                               REST interface for calling interfaces remotely. 
+               </p>
+               <p>
+                       In this example, we have the following interface 
defined that we want to call from the client side against
+                               a POJO on the server side (i.e. a Remoteable 
Service)...
+               <p class='bcode'>
+       <jk>public interface</jk> IAddressBook {
+               Person createPerson(CreatePerson cp) <jk>throws</jk> Exception;
+       }
+               </p>                    
+               <p>
+                       The client side code for invoking this method is shown 
below...
+               </p>
+               <p class='bcode'>
+       <jc>// Create a RestClient using JSON for serialization, and point to 
the server-side remoteable servlet.</jc>
+       RestClient client = <jk>new</jk> 
RestClient(JsonSerializer.<jk>class</jk>, JsonParser.<jk>class</jk>)
+               
.setRemoteableServletUri(<js>"https://localhost:9080/juneau/sample/remoteable";</js>);
+       
+       <jc>// Create a proxy interface.</jc>
+       IAddressBook ab = 
client.getRemoteableProxy(IAddressBook.<jk>class</jk>);
+       
+       <jc>// Invoke a method on the server side and get the returned 
result.</jc>
+       Person p = ab.createPerson(
+               <jk>new</jk> CreatePerson(<js>"Test Person"</js>,
+                       AddressBook.<jsm>toCalendar</jsm>(<js>"Aug 1, 
1999"</js>),
+                       <jk>new</jk> CreateAddress(<js>"Test street"</js>, 
<js>"Test city"</js>, <js>"Test state"</js>, 12345, <jk>true</jk>))
+       );
+               </p>
+               <p>
+                       The requirements for a method to be callable through a 
remoteable service are:
+                       <ul class='spaced-list'>
+                               <li>The method must be public.
+                               <li>The parameter and return types must be <a 
href='../../../../org/apache/juneau/package-summary.html#PojoCategories'><u>serializable
 and parsable</u></a>.
+                       </ul>
+               </p>
+               <p>
+                       One significant feature is that the remoteable services 
servlet is a full-blown REST interface.  
+                       Therefore, in cases where the interface classes are not 
available on the client side,
+                               the same method calls can be made through pure 
REST calls.  
+                       This can also aid significantly in debugging since 
calls to the remoteable service
+                               can be called directly from a browser with no 
code involved.
+               </p>
+               <p>
+                       See {@link org.apache.juneau.server.remoteable} for 
more information.
+               </p> 
+       </div>
+
+       <!-- 
========================================================================================================
 -->
+       <a id="Other"></a>
+       <h3 class='topic' onclick='toggle(this)'>1.8 - Other Useful Methods</h3>
+       <div class='topic'>
+               <p>
+                       The {@link 
org.apache.juneau.client.RestClient#setRootUrl(String)} method can be used to 
specify a root URL on 
+                               all requests so that you don't have to use 
absolute paths on individual calls.
+               </p>
+               <p class='bcode'>
+       <jc>// Create a rest client with a root URL</jc>
+       RestClient rc = <jk>new</jk> 
RestClient().setRootUrl(<js>"http://localhost:9080/foobar";</js>);
+       String r = rc.doGet(<js>"/baz"</js>).getResponseAsString();  <jc>// 
Gets "http://localhost:9080/foobar/baz";</jc>
+               </p>
+               <p>
+                       The {@link 
org.apache.juneau.client.RestClient#setProperty(String,Object)} method can be 
used to set serializer
+                       and parser properties.
+                       For example, if you're parsing a response into POJOs 
and you want to ignore fields that aren't on the
+                       POJOs, you can use the {@link 
org.apache.juneau.BeanContext#BEAN_ignoreUnknownBeanProperties} property.
+               </p>
+               <p class='bcode'>
+       <jc>// Create a rest client that ignores unknown fields in the 
response</jc>
+       RestClient rc = <jk>new</jk> RestClient(JsonSerializer.<jk>class</jk>, 
JsonParser.<jk>class</jk>)
+               .setProperty(<jsf>BEAN_ignoreUnknownBeanProperties</jsf>, 
<jk>true</jk>);
+       MyPojo myPojo = 
rc.doGet(<jsf>URL</jsf>).getResponse(MyPojo.<jk>class</jk>);
+               </p>
+               <p>
+                       The {@link 
org.apache.juneau.client.RestCall#setRetryable(int,long,RetryOn)} method can be 
used to automatically
+                               retry requests on failures.
+                       This can be particularly useful if you're attempting to 
connect to a REST resource that may be in
+                               the process of still initializing.
+               </p>
+               <p class='bcode'>
+       <jc>// Create a rest call that retries every 10 seconds for up to 30 
minutes as long as a connection fails
+       // or a 400+ is received.</jc>
+       restClient.doGet(<jsf>URL</jsf>)
+               .setRetryable(180, 10000, RetryOn.<jsf>DEFAULT</jsf>)
+               .run();
+       </p>
+       </div>
+</div>
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/e6bf97a8/juneau-client/src/test/java/empty.txt
----------------------------------------------------------------------
diff --git a/juneau-client/src/test/java/empty.txt 
b/juneau-client/src/test/java/empty.txt
new file mode 100644
index 0000000..e69de29

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/e6bf97a8/juneau-core/.classpath
----------------------------------------------------------------------
diff --git a/juneau-core/.classpath b/juneau-core/.classpath
new file mode 100644
index 0000000..a9fe054
--- /dev/null
+++ b/juneau-core/.classpath
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+  <classpathentry kind="src" path="src/test/java" output="target/test-classes" 
including="**/*.java"/>
+  <classpathentry kind="src" path="src/test/resources" 
output="target/test-classes" excluding="**/*.java"/>
+  <classpathentry kind="src" path="src/main/java" including="**/*.java"/>
+  <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
+  <classpathentry kind="output" path="target/classes"/>
+  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+  <classpathentry kind="var" 
path="M2_REPO/org/apache/jena/jena-core/2.7.1/jena-core-2.7.1.jar"/>
+  <classpathentry kind="var" 
path="M2_REPO/org/apache/jena/jena-iri/0.9.1/jena-iri-0.9.1.jar"/>
+  <classpathentry kind="var" 
path="M2_REPO/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar"/>
+  <classpathentry kind="var" 
path="M2_REPO/org/slf4j/slf4j-log4j12/1.6.4/slf4j-log4j12-1.6.4.jar"/>
+  <classpathentry kind="var" 
path="M2_REPO/log4j/log4j/1.2.16/log4j-1.2.16.jar"/>
+  <classpathentry kind="var" 
path="M2_REPO/xerces/xercesImpl/2.10.0/xercesImpl-2.10.0.jar"/>
+  <classpathentry kind="var" 
path="M2_REPO/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar"/>
+  <classpathentry kind="var" path="M2_REPO/junit/junit/4.11/junit-4.11.jar"/>
+  <classpathentry kind="var" 
path="M2_REPO/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
+</classpath>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/e6bf97a8/juneau-core/.gitignore
----------------------------------------------------------------------
diff --git a/juneau-core/.gitignore b/juneau-core/.gitignore
new file mode 100644
index 0000000..b83d222
--- /dev/null
+++ b/juneau-core/.gitignore
@@ -0,0 +1 @@
+/target/

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/e6bf97a8/juneau-core/.project
----------------------------------------------------------------------
diff --git a/juneau-core/.project b/juneau-core/.project
new file mode 100644
index 0000000..920091a
--- /dev/null
+++ b/juneau-core/.project
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+  <name>juneau-core</name>
+  <comment>Base toolkit for serializers, parsers, and bean contexts. 
NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are 
not supported in M2Eclipse.</comment>
+  <projects/>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/e6bf97a8/juneau-core/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/juneau-core/.settings/org.eclipse.core.resources.prefs 
b/juneau-core/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..29abf99
--- /dev/null
+++ b/juneau-core/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,6 @@
+eclipse.preferences.version=1
+encoding//src/main/java=UTF-8
+encoding//src/main/resources=UTF-8
+encoding//src/test/java=UTF-8
+encoding//src/test/resources=UTF-8
+encoding/<project>=UTF-8

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/e6bf97a8/juneau-core/.settings/org.eclipse.jdt.core.prefs
----------------------------------------------------------------------
diff --git a/juneau-core/.settings/org.eclipse.jdt.core.prefs 
b/juneau-core/.settings/org.eclipse.jdt.core.prefs
new file mode 100755
index 0000000..4d9ce5d
--- /dev/null
+++ b/juneau-core/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,406 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.codeComplete.argumentPrefixes=
+org.eclipse.jdt.core.codeComplete.argumentSuffixes=
+org.eclipse.jdt.core.codeComplete.fieldPrefixes=
+org.eclipse.jdt.core.codeComplete.fieldSuffixes=
+org.eclipse.jdt.core.codeComplete.localPrefixes=
+org.eclipse.jdt.core.codeComplete.localSuffixes=
+org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
+org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
+org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
+org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
+org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
+org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
+org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
+org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
+org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
+org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.doc.comment.support=enabled
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
+org.eclipse.jdt.core.compiler.problem.deadCode=warning
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
+org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=warning
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning
+org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning
+org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning
+org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=protected
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag
+org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=protected
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
+org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
+org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
+org.eclipse.jdt.core.compiler.problem.nullReference=warning
+org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
+org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
+org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning
+org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedImport=warning
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning
+org.eclipse.jdt.core.compiler.problem.unusedParameter=warning
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
+org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.processAnnotations=disabled
+org.eclipse.jdt.core.compiler.source=1.6
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=0
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not 
insert
+org.eclipse.jdt.core.formatter.comment.line_length=200
+org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
+org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
+org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=1
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=1
+org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
+org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
+org.eclipse.jdt.core.formatter.indentation.size=3
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do
 not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do
 not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do 
not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do
 not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do
 not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do 
not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do
 not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do 
not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=do 
not insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=do 
not insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do 
not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do 
not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do 
not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do 
not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do 
not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do 
not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do 
not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do 
not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do 
not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do 
not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do 
not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not 
insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do
 not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do
 not insert
+org.eclipse.jdt.core.formatter.join_lines_in_comments=true
+org.eclipse.jdt.core.formatter.join_wrapped_lines=true
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=200
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
+org.eclipse.jdt.core.formatter.tabulation.char=tab
+org.eclipse.jdt.core.formatter.tabulation.size=3
+org.eclipse.jdt.core.formatter.use_on_off_tags=false
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
+org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true

Reply via email to