You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2017/04/13 20:44:47 UTC

[01/42] incubator-juneau-website git commit: Update javadocs.

Repository: incubator-juneau-website
Updated Branches:
  refs/heads/asf-site 1662e84df -> 80ff9b74d


http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html
index 7fe5584..de7ead1 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html
@@ -34,66 +34,77 @@
 <span class="sourceLineNo">026</span> */<a name="line.26"></a>
 <span class="sourceLineNo">027</span>public class UrlEncodingSerializerSession extends UonSerializerSession {<a name="line.27"></a>
 <span class="sourceLineNo">028</span><a name="line.28"></a>
-<span class="sourceLineNo">029</span>   private final boolean expandedParams;<a name="line.29"></a>
+<span class="sourceLineNo">029</span>   private final boolean expandedParams, plainTextParams;<a name="line.29"></a>
 <span class="sourceLineNo">030</span><a name="line.30"></a>
 <span class="sourceLineNo">031</span>   /**<a name="line.31"></a>
 <span class="sourceLineNo">032</span>    * Create a new session using properties specified in the context.<a name="line.32"></a>
 <span class="sourceLineNo">033</span>    *<a name="line.33"></a>
 <span class="sourceLineNo">034</span>    * @param ctx The context creating this session object.<a name="line.34"></a>
 <span class="sourceLineNo">035</span>    * The context contains all the configuration settings for this object.<a name="line.35"></a>
-<span class="sourceLineNo">036</span>    * @param output The output object.  See {@link JsonSerializerSession#getWriter()} for valid class types.<a name="line.36"></a>
-<span class="sourceLineNo">037</span>    * @param op The override properties.<a name="line.37"></a>
-<span class="sourceLineNo">038</span>    * These override any context properties defined in the context.<a name="line.38"></a>
-<span class="sourceLineNo">039</span>    * @param javaMethod The java method that called this serializer, usually the method in a REST servlet.<a name="line.39"></a>
-<span class="sourceLineNo">040</span>    * @param locale The session locale.<a name="line.40"></a>
-<span class="sourceLineNo">041</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the locale defined on the context is used.<a name="line.41"></a>
-<span class="sourceLineNo">042</span>    * @param timeZone The session timezone.<a name="line.42"></a>
-<span class="sourceLineNo">043</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the timezone defined on the context is used.<a name="line.43"></a>
-<span class="sourceLineNo">044</span>    * @param mediaType The session media type (e.g. &lt;js&gt;"application/json"&lt;/js&gt;).<a name="line.44"></a>
-<span class="sourceLineNo">045</span>    */<a name="line.45"></a>
-<span class="sourceLineNo">046</span>   public UrlEncodingSerializerSession(UrlEncodingSerializerContext ctx, ObjectMap op, Object output, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.46"></a>
-<span class="sourceLineNo">047</span>      super(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.47"></a>
-<span class="sourceLineNo">048</span>      if (op == null || op.isEmpty()) {<a name="line.48"></a>
-<span class="sourceLineNo">049</span>         expandedParams = ctx.expandedParams;<a name="line.49"></a>
-<span class="sourceLineNo">050</span>      } else {<a name="line.50"></a>
-<span class="sourceLineNo">051</span>         expandedParams = op.getBoolean(UrlEncodingContext.URLENC_expandedParams, false);<a name="line.51"></a>
-<span class="sourceLineNo">052</span>      }<a name="line.52"></a>
-<span class="sourceLineNo">053</span>   }<a name="line.53"></a>
-<span class="sourceLineNo">054</span><a name="line.54"></a>
-<span class="sourceLineNo">055</span>   /**<a name="line.55"></a>
-<span class="sourceLineNo">056</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if the specified bean property should be expanded as multiple key-value pairs.<a name="line.56"></a>
-<span class="sourceLineNo">057</span>    *<a name="line.57"></a>
-<span class="sourceLineNo">058</span>    * @param pMeta The metadata on the bean property.<a name="line.58"></a>
-<span class="sourceLineNo">059</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified bean property should be expanded as multiple key-value pairs.<a name="line.59"></a>
-<span class="sourceLineNo">060</span>    */<a name="line.60"></a>
-<span class="sourceLineNo">061</span>   public final boolean shouldUseExpandedParams(BeanPropertyMeta pMeta) {<a name="line.61"></a>
-<span class="sourceLineNo">062</span>      ClassMeta&lt;?&gt; cm = pMeta.getClassMeta();<a name="line.62"></a>
-<span class="sourceLineNo">063</span>      if (cm.isCollectionOrArray()) {<a name="line.63"></a>
-<span class="sourceLineNo">064</span>         if (expandedParams)<a name="line.64"></a>
-<span class="sourceLineNo">065</span>            return true;<a name="line.65"></a>
-<span class="sourceLineNo">066</span>         if (pMeta.getBeanMeta().getClassMeta().getExtendedMeta(UrlEncodingClassMeta.class).isExpandedParams())<a name="line.66"></a>
-<span class="sourceLineNo">067</span>            return true;<a name="line.67"></a>
-<span class="sourceLineNo">068</span>      }<a name="line.68"></a>
-<span class="sourceLineNo">069</span>      return false;<a name="line.69"></a>
-<span class="sourceLineNo">070</span>   }<a name="line.70"></a>
-<span class="sourceLineNo">071</span><a name="line.71"></a>
-<span class="sourceLineNo">072</span>   /**<a name="line.72"></a>
-<span class="sourceLineNo">073</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if the specified value should be represented as an expanded parameter list.<a name="line.73"></a>
-<span class="sourceLineNo">074</span>    *<a name="line.74"></a>
-<span class="sourceLineNo">075</span>    * @param value The value to check.<a name="line.75"></a>
-<span class="sourceLineNo">076</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified value should be represented as an expanded parameter list.<a name="line.76"></a>
-<span class="sourceLineNo">077</span>    */<a name="line.77"></a>
-<span class="sourceLineNo">078</span>   public final boolean shouldUseExpandedParams(Object value) {<a name="line.78"></a>
-<span class="sourceLineNo">079</span>      if (value == null || ! expandedParams)<a name="line.79"></a>
-<span class="sourceLineNo">080</span>         return false;<a name="line.80"></a>
-<span class="sourceLineNo">081</span>      ClassMeta&lt;?&gt; cm = getClassMetaForObject(value).getSerializedClassMeta();<a name="line.81"></a>
-<span class="sourceLineNo">082</span>      if (cm.isCollectionOrArray()) {<a name="line.82"></a>
-<span class="sourceLineNo">083</span>         if (expandedParams)<a name="line.83"></a>
-<span class="sourceLineNo">084</span>            return true;<a name="line.84"></a>
-<span class="sourceLineNo">085</span>      }<a name="line.85"></a>
-<span class="sourceLineNo">086</span>      return false;<a name="line.86"></a>
-<span class="sourceLineNo">087</span>   }<a name="line.87"></a>
-<span class="sourceLineNo">088</span>}<a name="line.88"></a>
+<span class="sourceLineNo">036</span>    * @param encode Overrides the {@link UonSerializerContext#UON_encodeChars} setting.<a name="line.36"></a>
+<span class="sourceLineNo">037</span>    * @param output The output object.  See {@link JsonSerializerSession#getWriter()} for valid class types.<a name="line.37"></a>
+<span class="sourceLineNo">038</span>    * @param op The override properties.<a name="line.38"></a>
+<span class="sourceLineNo">039</span>    * These override any context properties defined in the context.<a name="line.39"></a>
+<span class="sourceLineNo">040</span>    * @param javaMethod The java method that called this serializer, usually the method in a REST servlet.<a name="line.40"></a>
+<span class="sourceLineNo">041</span>    * @param locale The session locale.<a name="line.41"></a>
+<span class="sourceLineNo">042</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the locale defined on the context is used.<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    * @param timeZone The session timezone.<a name="line.43"></a>
+<span class="sourceLineNo">044</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the timezone defined on the context is used.<a name="line.44"></a>
+<span class="sourceLineNo">045</span>    * @param mediaType The session media type (e.g. &lt;js&gt;"application/json"&lt;/js&gt;).<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    */<a name="line.46"></a>
+<span class="sourceLineNo">047</span>   public UrlEncodingSerializerSession(UrlEncodingSerializerContext ctx, Boolean encode, ObjectMap op, Object output, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.47"></a>
+<span class="sourceLineNo">048</span>      super(ctx, encode, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.48"></a>
+<span class="sourceLineNo">049</span>      if (op == null || op.isEmpty()) {<a name="line.49"></a>
+<span class="sourceLineNo">050</span>         expandedParams = ctx.expandedParams;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>         plainTextParams = ctx.plainTextParams;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>      } else {<a name="line.52"></a>
+<span class="sourceLineNo">053</span>         expandedParams = op.getBoolean(UrlEncodingContext.URLENC_expandedParams, false);<a name="line.53"></a>
+<span class="sourceLineNo">054</span>         plainTextParams = op.getString(UrlEncodingSerializerContext.URLENC_paramFormat, "UON").equals("PLAINTEXT");<a name="line.54"></a>
+<span class="sourceLineNo">055</span>      }<a name="line.55"></a>
+<span class="sourceLineNo">056</span>   }<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span>   /**<a name="line.58"></a>
+<span class="sourceLineNo">059</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if the specified bean property should be expanded as multiple key-value pairs.<a name="line.59"></a>
+<span class="sourceLineNo">060</span>    *<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    * @param pMeta The metadata on the bean property.<a name="line.61"></a>
+<span class="sourceLineNo">062</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified bean property should be expanded as multiple key-value pairs.<a name="line.62"></a>
+<span class="sourceLineNo">063</span>    */<a name="line.63"></a>
+<span class="sourceLineNo">064</span>   public final boolean shouldUseExpandedParams(BeanPropertyMeta pMeta) {<a name="line.64"></a>
+<span class="sourceLineNo">065</span>      ClassMeta&lt;?&gt; cm = pMeta.getClassMeta();<a name="line.65"></a>
+<span class="sourceLineNo">066</span>      if (cm.isCollectionOrArray()) {<a name="line.66"></a>
+<span class="sourceLineNo">067</span>         if (expandedParams)<a name="line.67"></a>
+<span class="sourceLineNo">068</span>            return true;<a name="line.68"></a>
+<span class="sourceLineNo">069</span>         if (pMeta.getBeanMeta().getClassMeta().getExtendedMeta(UrlEncodingClassMeta.class).isExpandedParams())<a name="line.69"></a>
+<span class="sourceLineNo">070</span>            return true;<a name="line.70"></a>
+<span class="sourceLineNo">071</span>      }<a name="line.71"></a>
+<span class="sourceLineNo">072</span>      return false;<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   }<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span>   /**<a name="line.75"></a>
+<span class="sourceLineNo">076</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if the specified value should be represented as an expanded parameter list.<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    *<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    * @param value The value to check.<a name="line.78"></a>
+<span class="sourceLineNo">079</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified value should be represented as an expanded parameter list.<a name="line.79"></a>
+<span class="sourceLineNo">080</span>    */<a name="line.80"></a>
+<span class="sourceLineNo">081</span>   public final boolean shouldUseExpandedParams(Object value) {<a name="line.81"></a>
+<span class="sourceLineNo">082</span>      if (value == null || ! expandedParams)<a name="line.82"></a>
+<span class="sourceLineNo">083</span>         return false;<a name="line.83"></a>
+<span class="sourceLineNo">084</span>      ClassMeta&lt;?&gt; cm = getClassMetaForObject(value).getSerializedClassMeta();<a name="line.84"></a>
+<span class="sourceLineNo">085</span>      if (cm.isCollectionOrArray()) {<a name="line.85"></a>
+<span class="sourceLineNo">086</span>         if (expandedParams)<a name="line.86"></a>
+<span class="sourceLineNo">087</span>            return true;<a name="line.87"></a>
+<span class="sourceLineNo">088</span>      }<a name="line.88"></a>
+<span class="sourceLineNo">089</span>      return false;<a name="line.89"></a>
+<span class="sourceLineNo">090</span>   }<a name="line.90"></a>
+<span class="sourceLineNo">091</span><a name="line.91"></a>
+<span class="sourceLineNo">092</span>   /**<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if the {@link UrlEncodingSerializerContext#URLENC_paramFormat} is &lt;js&gt;"PLAINTEXT"&lt;/js&gt;.<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the {@link UrlEncodingSerializerContext#URLENC_paramFormat} is &lt;js&gt;"PLAINTEXT"&lt;/js&gt;.<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    */<a name="line.95"></a>
+<span class="sourceLineNo">096</span>   protected boolean plainTextParams() {<a name="line.96"></a>
+<span class="sourceLineNo">097</span>      return plainTextParams;<a name="line.97"></a>
+<span class="sourceLineNo">098</span>   }<a name="line.98"></a>
+<span class="sourceLineNo">099</span>}<a name="line.99"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/utils/AList.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/utils/AList.html b/content/site/apidocs/src-html/org/apache/juneau/utils/AList.html
index 32b1097..245d2e1 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/utils/AList.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/utils/AList.html
@@ -46,7 +46,18 @@
 <span class="sourceLineNo">038</span>      add(t);<a name="line.38"></a>
 <span class="sourceLineNo">039</span>      return this;<a name="line.39"></a>
 <span class="sourceLineNo">040</span>   }<a name="line.40"></a>
-<span class="sourceLineNo">041</span>}<a name="line.41"></a>
+<span class="sourceLineNo">041</span><a name="line.41"></a>
+<span class="sourceLineNo">042</span>   /**<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    * Adds multiple entries to this list.<a name="line.43"></a>
+<span class="sourceLineNo">044</span>    *<a name="line.44"></a>
+<span class="sourceLineNo">045</span>    * @param t The entries to add to this list.<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    * @return This object (for method chaining).<a name="line.46"></a>
+<span class="sourceLineNo">047</span>    */<a name="line.47"></a>
+<span class="sourceLineNo">048</span>   public AList&lt;T&gt; appendAll(T...t) {<a name="line.48"></a>
+<span class="sourceLineNo">049</span>      addAll(Arrays.asList(t));<a name="line.49"></a>
+<span class="sourceLineNo">050</span>      return this;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>   }<a name="line.51"></a>
+<span class="sourceLineNo">052</span>}<a name="line.52"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/utils/ASet.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/utils/ASet.html b/content/site/apidocs/src-html/org/apache/juneau/utils/ASet.html
index 40e22f0..f900061 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/utils/ASet.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/utils/ASet.html
@@ -46,7 +46,18 @@
 <span class="sourceLineNo">038</span>      add(t);<a name="line.38"></a>
 <span class="sourceLineNo">039</span>      return this;<a name="line.39"></a>
 <span class="sourceLineNo">040</span>   }<a name="line.40"></a>
-<span class="sourceLineNo">041</span>}<a name="line.41"></a>
+<span class="sourceLineNo">041</span><a name="line.41"></a>
+<span class="sourceLineNo">042</span>   /**<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    * Adds multiple entries to this set.<a name="line.43"></a>
+<span class="sourceLineNo">044</span>    *<a name="line.44"></a>
+<span class="sourceLineNo">045</span>    * @param t The entries to add to this set.<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    * @return This object (for method chaining).<a name="line.46"></a>
+<span class="sourceLineNo">047</span>    */<a name="line.47"></a>
+<span class="sourceLineNo">048</span>   public ASet&lt;T&gt; appendAll(T...t) {<a name="line.48"></a>
+<span class="sourceLineNo">049</span>      addAll(Arrays.asList(t));<a name="line.49"></a>
+<span class="sourceLineNo">050</span>      return this;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>   }<a name="line.51"></a>
+<span class="sourceLineNo">052</span>}<a name="line.52"></a>
 
 
 


[23/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/ClassMeta.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/ClassMeta.html b/content/site/apidocs/src-html/org/apache/juneau/ClassMeta.html
index a46721b..9c4a23f 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/ClassMeta.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/ClassMeta.html
@@ -34,64 +34,64 @@
 <span class="sourceLineNo">026</span>import org.apache.juneau.annotation.*;<a name="line.26"></a>
 <span class="sourceLineNo">027</span>import org.apache.juneau.internal.*;<a name="line.27"></a>
 <span class="sourceLineNo">028</span>import org.apache.juneau.parser.*;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.juneau.serializer.*;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.juneau.transform.*;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.juneau.utils.*;<a name="line.31"></a>
-<span class="sourceLineNo">032</span><a name="line.32"></a>
-<span class="sourceLineNo">033</span>/**<a name="line.33"></a>
-<span class="sourceLineNo">034</span> * A wrapper class around the {@link Class} object that provides cached information<a name="line.34"></a>
-<span class="sourceLineNo">035</span> * about that class.<a name="line.35"></a>
-<span class="sourceLineNo">036</span> *<a name="line.36"></a>
-<span class="sourceLineNo">037</span> * &lt;p&gt;<a name="line.37"></a>
-<span class="sourceLineNo">038</span> * Instances of this class can be created through the {@link BeanContext#getClassMeta(Class)} method.<a name="line.38"></a>
-<span class="sourceLineNo">039</span> * &lt;p&gt;<a name="line.39"></a>
-<span class="sourceLineNo">040</span> * The {@link BeanContext} class will cache and reuse instances of this class except for the following class types:<a name="line.40"></a>
-<span class="sourceLineNo">041</span> * &lt;ul&gt;<a name="line.41"></a>
-<span class="sourceLineNo">042</span> *    &lt;li&gt;Arrays<a name="line.42"></a>
-<span class="sourceLineNo">043</span> *    &lt;li&gt;Maps with non-Object key/values.<a name="line.43"></a>
-<span class="sourceLineNo">044</span> *    &lt;li&gt;Collections with non-Object key/values.<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * &lt;/ul&gt;<a name="line.45"></a>
-<span class="sourceLineNo">046</span> * &lt;p&gt;<a name="line.46"></a>
-<span class="sourceLineNo">047</span> * This class is tied to the {@link BeanContext} class because it's that class that makes the determination<a name="line.47"></a>
-<span class="sourceLineNo">048</span> *    of what is a bean.<a name="line.48"></a>
-<span class="sourceLineNo">049</span> *<a name="line.49"></a>
-<span class="sourceLineNo">050</span> * @param &lt;T&gt; The class type of the wrapped class.<a name="line.50"></a>
-<span class="sourceLineNo">051</span> */<a name="line.51"></a>
-<span class="sourceLineNo">052</span>@Bean(properties="innerClass,classCategory,elementType,keyType,valueType,notABeanReason,initException,beanMeta")<a name="line.52"></a>
-<span class="sourceLineNo">053</span>public final class ClassMeta&lt;T&gt; implements Type {<a name="line.53"></a>
-<span class="sourceLineNo">054</span><a name="line.54"></a>
-<span class="sourceLineNo">055</span>   /** Class categories. */<a name="line.55"></a>
-<span class="sourceLineNo">056</span>   enum ClassCategory {<a name="line.56"></a>
-<span class="sourceLineNo">057</span>      MAP, COLLECTION, CLASS, NUMBER, DECIMAL, BOOLEAN, CHAR, DATE, ARRAY, ENUM, OTHER, CHARSEQ, STR, OBJ, URI, BEANMAP, READER, INPUTSTREAM, VOID, ARGS<a name="line.57"></a>
-<span class="sourceLineNo">058</span>   }<a name="line.58"></a>
-<span class="sourceLineNo">059</span><a name="line.59"></a>
-<span class="sourceLineNo">060</span>   final Class&lt;T&gt; innerClass;                              // The class being wrapped.<a name="line.60"></a>
-<span class="sourceLineNo">061</span><a name="line.61"></a>
-<span class="sourceLineNo">062</span>   private final Class&lt;? extends T&gt; implClass;             // The implementation class to use if this is an interface.<a name="line.62"></a>
-<span class="sourceLineNo">063</span>   private final ClassCategory cc;                         // The class category.<a name="line.63"></a>
-<span class="sourceLineNo">064</span>   private final Method fromStringMethod;                  // The static valueOf(String) or fromString(String) or forString(String) method (if it has one).<a name="line.64"></a>
-<span class="sourceLineNo">065</span>   private final Constructor&lt;? extends T&gt;<a name="line.65"></a>
-<span class="sourceLineNo">066</span>      noArgConstructor;                                    // The no-arg constructor for this class (if it has one).<a name="line.66"></a>
-<span class="sourceLineNo">067</span>   private final Constructor&lt;T&gt;<a name="line.67"></a>
-<span class="sourceLineNo">068</span>      stringConstructor,                                   // The X(String) constructor (if it has one).<a name="line.68"></a>
-<span class="sourceLineNo">069</span>      numberConstructor,                                   // The X(Number) constructor (if it has one).<a name="line.69"></a>
-<span class="sourceLineNo">070</span>      swapConstructor;                                     // The X(Swappable) constructor (if it has one).<a name="line.70"></a>
-<span class="sourceLineNo">071</span>   private final Class&lt;?&gt;<a name="line.71"></a>
-<span class="sourceLineNo">072</span>      swapMethodType,                                      // The class type of the object in the number constructor.<a name="line.72"></a>
-<span class="sourceLineNo">073</span>      numberConstructorType;<a name="line.73"></a>
-<span class="sourceLineNo">074</span>   private final Method<a name="line.74"></a>
-<span class="sourceLineNo">075</span>      swapMethod,                                          // The swap() method (if it has one).<a name="line.75"></a>
-<span class="sourceLineNo">076</span>      unswapMethod,                                        // The unswap() method (if it has one).<a name="line.76"></a>
-<span class="sourceLineNo">077</span>      namePropertyMethod,                                  // The method to set the name on an object (if it has one).<a name="line.77"></a>
-<span class="sourceLineNo">078</span>      parentPropertyMethod;                                // The method to set the parent on an object (if it has one).<a name="line.78"></a>
-<span class="sourceLineNo">079</span>   private final boolean<a name="line.79"></a>
-<span class="sourceLineNo">080</span>      isDelegate,                                          // True if this class extends Delegate.<a name="line.80"></a>
-<span class="sourceLineNo">081</span>      isAbstract,                                          // True if this class is abstract.<a name="line.81"></a>
-<span class="sourceLineNo">082</span>      isMemberClass;                                       // True if this is a non-static member class.<a name="line.82"></a>
-<span class="sourceLineNo">083</span>   private final Object primitiveDefault;                  // Default value for primitive type classes.<a name="line.83"></a>
-<span class="sourceLineNo">084</span>   private final Map&lt;String,Method&gt;<a name="line.84"></a>
-<span class="sourceLineNo">085</span>      remoteableMethods,                                   // Methods annotated with @Remoteable.  Contains all public methods if class is annotated with @Remotable.<a name="line.85"></a>
-<span class="sourceLineNo">086</span>      proxyableMethods,                                    // Remoteable methods only if at least one method is marked @Remoteable, otherwise all public methods.<a name="line.86"></a>
+<span class="sourceLineNo">029</span>import org.apache.juneau.remoteable.*;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.juneau.serializer.*;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.juneau.transform.*;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.juneau.utils.*;<a name="line.32"></a>
+<span class="sourceLineNo">033</span><a name="line.33"></a>
+<span class="sourceLineNo">034</span>/**<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * A wrapper class around the {@link Class} object that provides cached information<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * about that class.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> *<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * &lt;p&gt;<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * Instances of this class can be created through the {@link BeanContext#getClassMeta(Class)} method.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * &lt;p&gt;<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * The {@link BeanContext} class will cache and reuse instances of this class except for the following class types:<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * &lt;ul&gt;<a name="line.42"></a>
+<span class="sourceLineNo">043</span> *    &lt;li&gt;Arrays<a name="line.43"></a>
+<span class="sourceLineNo">044</span> *    &lt;li&gt;Maps with non-Object key/values.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> *    &lt;li&gt;Collections with non-Object key/values.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * &lt;/ul&gt;<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * &lt;p&gt;<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * This class is tied to the {@link BeanContext} class because it's that class that makes the determination<a name="line.48"></a>
+<span class="sourceLineNo">049</span> *    of what is a bean.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> *<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * @param &lt;T&gt; The class type of the wrapped class.<a name="line.51"></a>
+<span class="sourceLineNo">052</span> */<a name="line.52"></a>
+<span class="sourceLineNo">053</span>@Bean(properties="innerClass,classCategory,elementType,keyType,valueType,notABeanReason,initException,beanMeta")<a name="line.53"></a>
+<span class="sourceLineNo">054</span>public final class ClassMeta&lt;T&gt; implements Type {<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span>   /** Class categories. */<a name="line.56"></a>
+<span class="sourceLineNo">057</span>   enum ClassCategory {<a name="line.57"></a>
+<span class="sourceLineNo">058</span>      MAP, COLLECTION, CLASS, NUMBER, DECIMAL, BOOLEAN, CHAR, DATE, ARRAY, ENUM, OTHER, CHARSEQ, STR, OBJ, URI, BEANMAP, READER, INPUTSTREAM, VOID, ARGS<a name="line.58"></a>
+<span class="sourceLineNo">059</span>   }<a name="line.59"></a>
+<span class="sourceLineNo">060</span><a name="line.60"></a>
+<span class="sourceLineNo">061</span>   final Class&lt;T&gt; innerClass;                              // The class being wrapped.<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span>   private final Class&lt;? extends T&gt; implClass;             // The implementation class to use if this is an interface.<a name="line.63"></a>
+<span class="sourceLineNo">064</span>   private final ClassCategory cc;                         // The class category.<a name="line.64"></a>
+<span class="sourceLineNo">065</span>   private final Method fromStringMethod;                  // The static valueOf(String) or fromString(String) or forString(String) method (if it has one).<a name="line.65"></a>
+<span class="sourceLineNo">066</span>   private final Constructor&lt;? extends T&gt;<a name="line.66"></a>
+<span class="sourceLineNo">067</span>      noArgConstructor;                                    // The no-arg constructor for this class (if it has one).<a name="line.67"></a>
+<span class="sourceLineNo">068</span>   private final Constructor&lt;T&gt;<a name="line.68"></a>
+<span class="sourceLineNo">069</span>      stringConstructor,                                   // The X(String) constructor (if it has one).<a name="line.69"></a>
+<span class="sourceLineNo">070</span>      numberConstructor,                                   // The X(Number) constructor (if it has one).<a name="line.70"></a>
+<span class="sourceLineNo">071</span>      swapConstructor;                                     // The X(Swappable) constructor (if it has one).<a name="line.71"></a>
+<span class="sourceLineNo">072</span>   private final Class&lt;?&gt;<a name="line.72"></a>
+<span class="sourceLineNo">073</span>      swapMethodType,                                      // The class type of the object in the number constructor.<a name="line.73"></a>
+<span class="sourceLineNo">074</span>      numberConstructorType;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>   private final Method<a name="line.75"></a>
+<span class="sourceLineNo">076</span>      swapMethod,                                          // The swap() method (if it has one).<a name="line.76"></a>
+<span class="sourceLineNo">077</span>      unswapMethod,                                        // The unswap() method (if it has one).<a name="line.77"></a>
+<span class="sourceLineNo">078</span>      namePropertyMethod,                                  // The method to set the name on an object (if it has one).<a name="line.78"></a>
+<span class="sourceLineNo">079</span>      parentPropertyMethod;                                // The method to set the parent on an object (if it has one).<a name="line.79"></a>
+<span class="sourceLineNo">080</span>   private final boolean<a name="line.80"></a>
+<span class="sourceLineNo">081</span>      isDelegate,                                          // True if this class extends Delegate.<a name="line.81"></a>
+<span class="sourceLineNo">082</span>      isAbstract,                                          // True if this class is abstract.<a name="line.82"></a>
+<span class="sourceLineNo">083</span>      isMemberClass;                                       // True if this is a non-static member class.<a name="line.83"></a>
+<span class="sourceLineNo">084</span>   private final Object primitiveDefault;                  // Default value for primitive type classes.<a name="line.84"></a>
+<span class="sourceLineNo">085</span>   private final Map&lt;String,Method&gt;<a name="line.85"></a>
+<span class="sourceLineNo">086</span>      remoteableMethods,                                   // Methods annotated with @RemoteMethod.<a name="line.86"></a>
 <span class="sourceLineNo">087</span>      publicMethods;                                       // All public methods, including static methods.<a name="line.87"></a>
 <span class="sourceLineNo">088</span>   private final PojoSwap&lt;?,?&gt;[] childPojoSwaps;           // Any PojoSwaps where the normal type is a subclass of this class.<a name="line.88"></a>
 <span class="sourceLineNo">089</span>   private final ConcurrentHashMap&lt;Class&lt;?&gt;,PojoSwap&lt;?,?&gt;&gt;<a name="line.89"></a>
@@ -169,1498 +169,1488 @@
 <span class="sourceLineNo">161</span>      this.primitiveDefault = builder.primitiveDefault;<a name="line.161"></a>
 <span class="sourceLineNo">162</span>      this.publicMethods = builder.publicMethods;<a name="line.162"></a>
 <span class="sourceLineNo">163</span>      this.remoteableMethods = builder.remoteableMethods;<a name="line.163"></a>
-<span class="sourceLineNo">164</span>      this.proxyableMethods = builder.proxyableMethods;<a name="line.164"></a>
-<span class="sourceLineNo">165</span>      this.beanFilter = beanFilter;<a name="line.165"></a>
-<span class="sourceLineNo">166</span>      this.pojoSwap = builder.pojoSwap;<a name="line.166"></a>
-<span class="sourceLineNo">167</span>      this.extMeta = new MetadataMap();<a name="line.167"></a>
-<span class="sourceLineNo">168</span>      this.keyType = builder.keyType;<a name="line.168"></a>
-<span class="sourceLineNo">169</span>      this.valueType = builder.valueType;<a name="line.169"></a>
-<span class="sourceLineNo">170</span>      this.elementType = builder.elementType;<a name="line.170"></a>
-<span class="sourceLineNo">171</span>      this.notABeanReason = builder.notABeanReason;<a name="line.171"></a>
-<span class="sourceLineNo">172</span>      this.beanMeta = builder.beanMeta;<a name="line.172"></a>
-<span class="sourceLineNo">173</span>      this.initException = builder.initException;<a name="line.173"></a>
-<span class="sourceLineNo">174</span>      this.typePropertyName = builder.typePropertyName;<a name="line.174"></a>
-<span class="sourceLineNo">175</span>      this.dictionaryName = builder.dictionaryName;<a name="line.175"></a>
-<span class="sourceLineNo">176</span>      this.serializedClassMeta = builder.serializedClassMeta;<a name="line.176"></a>
-<span class="sourceLineNo">177</span>      this.invocationHandler = builder.invocationHandler;<a name="line.177"></a>
-<span class="sourceLineNo">178</span>      this.beanRegistry = builder.beanRegistry;<a name="line.178"></a>
-<span class="sourceLineNo">179</span>      this.isMemberClass = builder.isMemberClass;<a name="line.179"></a>
-<span class="sourceLineNo">180</span>      this.isAbstract = builder.isAbstract;<a name="line.180"></a>
-<span class="sourceLineNo">181</span>      this.implClass = builder.implClass;<a name="line.181"></a>
-<span class="sourceLineNo">182</span>      this.childUnswapMap = builder.childUnswapMap;<a name="line.182"></a>
-<span class="sourceLineNo">183</span>      this.childSwapMap = builder.childSwapMap;<a name="line.183"></a>
-<span class="sourceLineNo">184</span>      this.childPojoSwaps = builder.childPojoSwaps;<a name="line.184"></a>
-<span class="sourceLineNo">185</span>      this.args = null;<a name="line.185"></a>
-<span class="sourceLineNo">186</span>   }<a name="line.186"></a>
-<span class="sourceLineNo">187</span><a name="line.187"></a>
-<span class="sourceLineNo">188</span>   /**<a name="line.188"></a>
-<span class="sourceLineNo">189</span>    * Copy constructor.<a name="line.189"></a>
-<span class="sourceLineNo">190</span>    * Used for creating Map and Collection class metas that shouldn't be cached.<a name="line.190"></a>
-<span class="sourceLineNo">191</span>    */<a name="line.191"></a>
-<span class="sourceLineNo">192</span>   ClassMeta(ClassMeta&lt;T&gt; mainType, ClassMeta&lt;?&gt; keyType, ClassMeta&lt;?&gt; valueType, ClassMeta&lt;?&gt; elementType) {<a name="line.192"></a>
-<span class="sourceLineNo">193</span>      this.innerClass = mainType.innerClass;<a name="line.193"></a>
-<span class="sourceLineNo">194</span>      this.implClass = mainType.implClass;<a name="line.194"></a>
-<span class="sourceLineNo">195</span>      this.childPojoSwaps = mainType.childPojoSwaps;<a name="line.195"></a>
-<span class="sourceLineNo">196</span>      this.childSwapMap = mainType.childSwapMap;<a name="line.196"></a>
-<span class="sourceLineNo">197</span>      this.childUnswapMap = mainType.childUnswapMap;<a name="line.197"></a>
-<span class="sourceLineNo">198</span>      this.cc = mainType.cc;<a name="line.198"></a>
-<span class="sourceLineNo">199</span>      this.fromStringMethod = mainType.fromStringMethod;<a name="line.199"></a>
-<span class="sourceLineNo">200</span>      this.noArgConstructor = mainType.noArgConstructor;<a name="line.200"></a>
-<span class="sourceLineNo">201</span>      this.stringConstructor = mainType.stringConstructor;<a name="line.201"></a>
-<span class="sourceLineNo">202</span>      this.numberConstructor = mainType.numberConstructor;<a name="line.202"></a>
-<span class="sourceLineNo">203</span>      this.swapConstructor = mainType.swapConstructor;<a name="line.203"></a>
-<span class="sourceLineNo">204</span>      this.swapMethodType = mainType.swapMethodType;<a name="line.204"></a>
-<span class="sourceLineNo">205</span>      this.numberConstructorType = mainType.numberConstructorType;<a name="line.205"></a>
-<span class="sourceLineNo">206</span>      this.swapMethod = mainType.swapMethod;<a name="line.206"></a>
-<span class="sourceLineNo">207</span>      this.unswapMethod = mainType.unswapMethod;<a name="line.207"></a>
-<span class="sourceLineNo">208</span>      this.namePropertyMethod = mainType.namePropertyMethod;<a name="line.208"></a>
-<span class="sourceLineNo">209</span>      this.parentPropertyMethod = mainType.parentPropertyMethod;<a name="line.209"></a>
-<span class="sourceLineNo">210</span>      this.isDelegate = mainType.isDelegate;<a name="line.210"></a>
-<span class="sourceLineNo">211</span>      this.isAbstract = mainType.isAbstract;<a name="line.211"></a>
-<span class="sourceLineNo">212</span>      this.isMemberClass = mainType.isMemberClass;<a name="line.212"></a>
-<span class="sourceLineNo">213</span>      this.primitiveDefault = mainType.primitiveDefault;<a name="line.213"></a>
-<span class="sourceLineNo">214</span>      this.remoteableMethods = mainType.remoteableMethods;<a name="line.214"></a>
-<span class="sourceLineNo">215</span>      this.proxyableMethods = mainType.proxyableMethods;<a name="line.215"></a>
-<span class="sourceLineNo">216</span>      this.publicMethods = mainType.publicMethods;<a name="line.216"></a>
-<span class="sourceLineNo">217</span>      this.beanContext = mainType.beanContext;<a name="line.217"></a>
-<span class="sourceLineNo">218</span>      this.serializedClassMeta = this;<a name="line.218"></a>
-<span class="sourceLineNo">219</span>      this.elementType = elementType;<a name="line.219"></a>
-<span class="sourceLineNo">220</span>      this.keyType = keyType;<a name="line.220"></a>
-<span class="sourceLineNo">221</span>      this.valueType = valueType;<a name="line.221"></a>
-<span class="sourceLineNo">222</span>      this.invocationHandler = mainType.invocationHandler;<a name="line.222"></a>
-<span class="sourceLineNo">223</span>      this.beanMeta = mainType.beanMeta;<a name="line.223"></a>
-<span class="sourceLineNo">224</span>      this.typePropertyName = mainType.typePropertyName;<a name="line.224"></a>
-<span class="sourceLineNo">225</span>      this.dictionaryName = mainType.dictionaryName;<a name="line.225"></a>
-<span class="sourceLineNo">226</span>      this.notABeanReason = mainType.notABeanReason;<a name="line.226"></a>
-<span class="sourceLineNo">227</span>      this.pojoSwap = mainType.pojoSwap;<a name="line.227"></a>
-<span class="sourceLineNo">228</span>      this.beanFilter = mainType.beanFilter;<a name="line.228"></a>
-<span class="sourceLineNo">229</span>      this.extMeta = mainType.extMeta;<a name="line.229"></a>
-<span class="sourceLineNo">230</span>      this.initException = mainType.initException;<a name="line.230"></a>
-<span class="sourceLineNo">231</span>      this.beanRegistry = mainType.beanRegistry;<a name="line.231"></a>
-<span class="sourceLineNo">232</span>      this.args = null;<a name="line.232"></a>
-<span class="sourceLineNo">233</span>   }<a name="line.233"></a>
-<span class="sourceLineNo">234</span><a name="line.234"></a>
-<span class="sourceLineNo">235</span>   /**<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    * Constructor for args-arrays.<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    */<a name="line.237"></a>
-<span class="sourceLineNo">238</span>   @SuppressWarnings("unchecked")<a name="line.238"></a>
-<span class="sourceLineNo">239</span>   ClassMeta(ClassMeta&lt;?&gt;[] args) {<a name="line.239"></a>
-<span class="sourceLineNo">240</span>      this.innerClass = (Class&lt;T&gt;) Object[].class;<a name="line.240"></a>
-<span class="sourceLineNo">241</span>      this.args = args;<a name="line.241"></a>
-<span class="sourceLineNo">242</span>      this.implClass = null;<a name="line.242"></a>
-<span class="sourceLineNo">243</span>      this.childPojoSwaps = null;<a name="line.243"></a>
-<span class="sourceLineNo">244</span>      this.childSwapMap = null;<a name="line.244"></a>
-<span class="sourceLineNo">245</span>      this.childUnswapMap = null;<a name="line.245"></a>
-<span class="sourceLineNo">246</span>      this.cc = ARGS;<a name="line.246"></a>
-<span class="sourceLineNo">247</span>      this.fromStringMethod = null;<a name="line.247"></a>
-<span class="sourceLineNo">248</span>      this.noArgConstructor = null;<a name="line.248"></a>
-<span class="sourceLineNo">249</span>      this.stringConstructor = null;<a name="line.249"></a>
-<span class="sourceLineNo">250</span>      this.numberConstructor = null;<a name="line.250"></a>
-<span class="sourceLineNo">251</span>      this.swapConstructor = null;<a name="line.251"></a>
-<span class="sourceLineNo">252</span>      this.swapMethodType = null;<a name="line.252"></a>
-<span class="sourceLineNo">253</span>      this.numberConstructorType = null;<a name="line.253"></a>
-<span class="sourceLineNo">254</span>      this.swapMethod = null;<a name="line.254"></a>
-<span class="sourceLineNo">255</span>      this.unswapMethod = null;<a name="line.255"></a>
-<span class="sourceLineNo">256</span>      this.namePropertyMethod = null;<a name="line.256"></a>
-<span class="sourceLineNo">257</span>      this.parentPropertyMethod = null;<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      this.isDelegate = false;<a name="line.258"></a>
-<span class="sourceLineNo">259</span>      this.isAbstract = false;<a name="line.259"></a>
-<span class="sourceLineNo">260</span>      this.isMemberClass = false;<a name="line.260"></a>
-<span class="sourceLineNo">261</span>      this.primitiveDefault = null;<a name="line.261"></a>
-<span class="sourceLineNo">262</span>      this.remoteableMethods = null;<a name="line.262"></a>
-<span class="sourceLineNo">263</span>      this.proxyableMethods = null;<a name="line.263"></a>
-<span class="sourceLineNo">264</span>      this.publicMethods = null;<a name="line.264"></a>
-<span class="sourceLineNo">265</span>      this.beanContext = null;<a name="line.265"></a>
-<span class="sourceLineNo">266</span>      this.serializedClassMeta = this;<a name="line.266"></a>
-<span class="sourceLineNo">267</span>      this.elementType = null;<a name="line.267"></a>
-<span class="sourceLineNo">268</span>      this.keyType = null;<a name="line.268"></a>
-<span class="sourceLineNo">269</span>      this.valueType = null;<a name="line.269"></a>
-<span class="sourceLineNo">270</span>      this.invocationHandler = null;<a name="line.270"></a>
-<span class="sourceLineNo">271</span>      this.beanMeta = null;<a name="line.271"></a>
-<span class="sourceLineNo">272</span>      this.typePropertyName = null;<a name="line.272"></a>
-<span class="sourceLineNo">273</span>      this.dictionaryName = null;<a name="line.273"></a>
-<span class="sourceLineNo">274</span>      this.notABeanReason = null;<a name="line.274"></a>
-<span class="sourceLineNo">275</span>      this.pojoSwap = null;<a name="line.275"></a>
-<span class="sourceLineNo">276</span>      this.beanFilter = null;<a name="line.276"></a>
-<span class="sourceLineNo">277</span>      this.extMeta = new MetadataMap();<a name="line.277"></a>
-<span class="sourceLineNo">278</span>      this.initException = null;<a name="line.278"></a>
-<span class="sourceLineNo">279</span>      this.beanRegistry = null;<a name="line.279"></a>
-<span class="sourceLineNo">280</span>   }<a name="line.280"></a>
-<span class="sourceLineNo">281</span><a name="line.281"></a>
-<span class="sourceLineNo">282</span>   @SuppressWarnings({"unchecked","rawtypes","hiding"})<a name="line.282"></a>
-<span class="sourceLineNo">283</span>   private class ClassMetaBuilder&lt;T&gt; {<a name="line.283"></a>
-<span class="sourceLineNo">284</span>      Class&lt;T&gt; innerClass;<a name="line.284"></a>
-<span class="sourceLineNo">285</span>      Class&lt;? extends T&gt; implClass;<a name="line.285"></a>
-<span class="sourceLineNo">286</span>      BeanContext beanContext;<a name="line.286"></a>
-<span class="sourceLineNo">287</span>      ClassCategory cc = ClassCategory.OTHER;<a name="line.287"></a>
-<span class="sourceLineNo">288</span>      boolean<a name="line.288"></a>
-<span class="sourceLineNo">289</span>         isDelegate = false,<a name="line.289"></a>
-<span class="sourceLineNo">290</span>         isMemberClass = false,<a name="line.290"></a>
-<span class="sourceLineNo">291</span>         isAbstract = false;<a name="line.291"></a>
-<span class="sourceLineNo">292</span>      Method<a name="line.292"></a>
-<span class="sourceLineNo">293</span>         fromStringMethod = null,<a name="line.293"></a>
-<span class="sourceLineNo">294</span>         swapMethod = null,<a name="line.294"></a>
-<span class="sourceLineNo">295</span>         unswapMethod = null,<a name="line.295"></a>
-<span class="sourceLineNo">296</span>         parentPropertyMethod = null,<a name="line.296"></a>
-<span class="sourceLineNo">297</span>         namePropertyMethod = null;<a name="line.297"></a>
-<span class="sourceLineNo">298</span>      Constructor&lt;T&gt;<a name="line.298"></a>
-<span class="sourceLineNo">299</span>         noArgConstructor = null,<a name="line.299"></a>
-<span class="sourceLineNo">300</span>         stringConstructor = null,<a name="line.300"></a>
-<span class="sourceLineNo">301</span>         swapConstructor = null,<a name="line.301"></a>
-<span class="sourceLineNo">302</span>         numberConstructor = null;<a name="line.302"></a>
-<span class="sourceLineNo">303</span>      Class&lt;?&gt;<a name="line.303"></a>
-<span class="sourceLineNo">304</span>         swapMethodType = null,<a name="line.304"></a>
-<span class="sourceLineNo">305</span>         numberConstructorType = null;<a name="line.305"></a>
-<span class="sourceLineNo">306</span>      Object primitiveDefault = null;<a name="line.306"></a>
-<span class="sourceLineNo">307</span>      Map&lt;String,Method&gt;<a name="line.307"></a>
-<span class="sourceLineNo">308</span>         publicMethods = new LinkedHashMap&lt;String,Method&gt;(),<a name="line.308"></a>
-<span class="sourceLineNo">309</span>         remoteableMethods = null,<a name="line.309"></a>
-<span class="sourceLineNo">310</span>         proxyableMethods = null;<a name="line.310"></a>
-<span class="sourceLineNo">311</span>      ClassMeta&lt;?&gt;<a name="line.311"></a>
-<span class="sourceLineNo">312</span>         keyType = null,<a name="line.312"></a>
-<span class="sourceLineNo">313</span>         valueType = null,<a name="line.313"></a>
-<span class="sourceLineNo">314</span>         elementType = null,<a name="line.314"></a>
-<span class="sourceLineNo">315</span>         serializedClassMeta = null;<a name="line.315"></a>
-<span class="sourceLineNo">316</span>      String<a name="line.316"></a>
-<span class="sourceLineNo">317</span>         typePropertyName = null,<a name="line.317"></a>
-<span class="sourceLineNo">318</span>         notABeanReason = null,<a name="line.318"></a>
-<span class="sourceLineNo">319</span>         dictionaryName = null;<a name="line.319"></a>
-<span class="sourceLineNo">320</span>      Throwable initException = null;<a name="line.320"></a>
-<span class="sourceLineNo">321</span>      BeanMeta beanMeta = null;<a name="line.321"></a>
-<span class="sourceLineNo">322</span>      PojoSwap pojoSwap = null;<a name="line.322"></a>
-<span class="sourceLineNo">323</span>      InvocationHandler invocationHandler = null;<a name="line.323"></a>
-<span class="sourceLineNo">324</span>      BeanRegistry beanRegistry = null;<a name="line.324"></a>
-<span class="sourceLineNo">325</span>      PojoSwap&lt;?,?&gt;[] childPojoSwaps;<a name="line.325"></a>
-<span class="sourceLineNo">326</span>      ConcurrentHashMap&lt;Class&lt;?&gt;,PojoSwap&lt;?,?&gt;&gt;<a name="line.326"></a>
-<span class="sourceLineNo">327</span>         childSwapMap,<a name="line.327"></a>
-<span class="sourceLineNo">328</span>         childUnswapMap;<a name="line.328"></a>
+<span class="sourceLineNo">164</span>      this.beanFilter = beanFilter;<a name="line.164"></a>
+<span class="sourceLineNo">165</span>      this.pojoSwap = builder.pojoSwap;<a name="line.165"></a>
+<span class="sourceLineNo">166</span>      this.extMeta = new MetadataMap();<a name="line.166"></a>
+<span class="sourceLineNo">167</span>      this.keyType = builder.keyType;<a name="line.167"></a>
+<span class="sourceLineNo">168</span>      this.valueType = builder.valueType;<a name="line.168"></a>
+<span class="sourceLineNo">169</span>      this.elementType = builder.elementType;<a name="line.169"></a>
+<span class="sourceLineNo">170</span>      this.notABeanReason = builder.notABeanReason;<a name="line.170"></a>
+<span class="sourceLineNo">171</span>      this.beanMeta = builder.beanMeta;<a name="line.171"></a>
+<span class="sourceLineNo">172</span>      this.initException = builder.initException;<a name="line.172"></a>
+<span class="sourceLineNo">173</span>      this.typePropertyName = builder.typePropertyName;<a name="line.173"></a>
+<span class="sourceLineNo">174</span>      this.dictionaryName = builder.dictionaryName;<a name="line.174"></a>
+<span class="sourceLineNo">175</span>      this.serializedClassMeta = builder.serializedClassMeta;<a name="line.175"></a>
+<span class="sourceLineNo">176</span>      this.invocationHandler = builder.invocationHandler;<a name="line.176"></a>
+<span class="sourceLineNo">177</span>      this.beanRegistry = builder.beanRegistry;<a name="line.177"></a>
+<span class="sourceLineNo">178</span>      this.isMemberClass = builder.isMemberClass;<a name="line.178"></a>
+<span class="sourceLineNo">179</span>      this.isAbstract = builder.isAbstract;<a name="line.179"></a>
+<span class="sourceLineNo">180</span>      this.implClass = builder.implClass;<a name="line.180"></a>
+<span class="sourceLineNo">181</span>      this.childUnswapMap = builder.childUnswapMap;<a name="line.181"></a>
+<span class="sourceLineNo">182</span>      this.childSwapMap = builder.childSwapMap;<a name="line.182"></a>
+<span class="sourceLineNo">183</span>      this.childPojoSwaps = builder.childPojoSwaps;<a name="line.183"></a>
+<span class="sourceLineNo">184</span>      this.args = null;<a name="line.184"></a>
+<span class="sourceLineNo">185</span>   }<a name="line.185"></a>
+<span class="sourceLineNo">186</span><a name="line.186"></a>
+<span class="sourceLineNo">187</span>   /**<a name="line.187"></a>
+<span class="sourceLineNo">188</span>    * Copy constructor.<a name="line.188"></a>
+<span class="sourceLineNo">189</span>    * Used for creating Map and Collection class metas that shouldn't be cached.<a name="line.189"></a>
+<span class="sourceLineNo">190</span>    */<a name="line.190"></a>
+<span class="sourceLineNo">191</span>   ClassMeta(ClassMeta&lt;T&gt; mainType, ClassMeta&lt;?&gt; keyType, ClassMeta&lt;?&gt; valueType, ClassMeta&lt;?&gt; elementType) {<a name="line.191"></a>
+<span class="sourceLineNo">192</span>      this.innerClass = mainType.innerClass;<a name="line.192"></a>
+<span class="sourceLineNo">193</span>      this.implClass = mainType.implClass;<a name="line.193"></a>
+<span class="sourceLineNo">194</span>      this.childPojoSwaps = mainType.childPojoSwaps;<a name="line.194"></a>
+<span class="sourceLineNo">195</span>      this.childSwapMap = mainType.childSwapMap;<a name="line.195"></a>
+<span class="sourceLineNo">196</span>      this.childUnswapMap = mainType.childUnswapMap;<a name="line.196"></a>
+<span class="sourceLineNo">197</span>      this.cc = mainType.cc;<a name="line.197"></a>
+<span class="sourceLineNo">198</span>      this.fromStringMethod = mainType.fromStringMethod;<a name="line.198"></a>
+<span class="sourceLineNo">199</span>      this.noArgConstructor = mainType.noArgConstructor;<a name="line.199"></a>
+<span class="sourceLineNo">200</span>      this.stringConstructor = mainType.stringConstructor;<a name="line.200"></a>
+<span class="sourceLineNo">201</span>      this.numberConstructor = mainType.numberConstructor;<a name="line.201"></a>
+<span class="sourceLineNo">202</span>      this.swapConstructor = mainType.swapConstructor;<a name="line.202"></a>
+<span class="sourceLineNo">203</span>      this.swapMethodType = mainType.swapMethodType;<a name="line.203"></a>
+<span class="sourceLineNo">204</span>      this.numberConstructorType = mainType.numberConstructorType;<a name="line.204"></a>
+<span class="sourceLineNo">205</span>      this.swapMethod = mainType.swapMethod;<a name="line.205"></a>
+<span class="sourceLineNo">206</span>      this.unswapMethod = mainType.unswapMethod;<a name="line.206"></a>
+<span class="sourceLineNo">207</span>      this.namePropertyMethod = mainType.namePropertyMethod;<a name="line.207"></a>
+<span class="sourceLineNo">208</span>      this.parentPropertyMethod = mainType.parentPropertyMethod;<a name="line.208"></a>
+<span class="sourceLineNo">209</span>      this.isDelegate = mainType.isDelegate;<a name="line.209"></a>
+<span class="sourceLineNo">210</span>      this.isAbstract = mainType.isAbstract;<a name="line.210"></a>
+<span class="sourceLineNo">211</span>      this.isMemberClass = mainType.isMemberClass;<a name="line.211"></a>
+<span class="sourceLineNo">212</span>      this.primitiveDefault = mainType.primitiveDefault;<a name="line.212"></a>
+<span class="sourceLineNo">213</span>      this.remoteableMethods = mainType.remoteableMethods;<a name="line.213"></a>
+<span class="sourceLineNo">214</span>      this.publicMethods = mainType.publicMethods;<a name="line.214"></a>
+<span class="sourceLineNo">215</span>      this.beanContext = mainType.beanContext;<a name="line.215"></a>
+<span class="sourceLineNo">216</span>      this.serializedClassMeta = this;<a name="line.216"></a>
+<span class="sourceLineNo">217</span>      this.elementType = elementType;<a name="line.217"></a>
+<span class="sourceLineNo">218</span>      this.keyType = keyType;<a name="line.218"></a>
+<span class="sourceLineNo">219</span>      this.valueType = valueType;<a name="line.219"></a>
+<span class="sourceLineNo">220</span>      this.invocationHandler = mainType.invocationHandler;<a name="line.220"></a>
+<span class="sourceLineNo">221</span>      this.beanMeta = mainType.beanMeta;<a name="line.221"></a>
+<span class="sourceLineNo">222</span>      this.typePropertyName = mainType.typePropertyName;<a name="line.222"></a>
+<span class="sourceLineNo">223</span>      this.dictionaryName = mainType.dictionaryName;<a name="line.223"></a>
+<span class="sourceLineNo">224</span>      this.notABeanReason = mainType.notABeanReason;<a name="line.224"></a>
+<span class="sourceLineNo">225</span>      this.pojoSwap = mainType.pojoSwap;<a name="line.225"></a>
+<span class="sourceLineNo">226</span>      this.beanFilter = mainType.beanFilter;<a name="line.226"></a>
+<span class="sourceLineNo">227</span>      this.extMeta = mainType.extMeta;<a name="line.227"></a>
+<span class="sourceLineNo">228</span>      this.initException = mainType.initException;<a name="line.228"></a>
+<span class="sourceLineNo">229</span>      this.beanRegistry = mainType.beanRegistry;<a name="line.229"></a>
+<span class="sourceLineNo">230</span>      this.args = null;<a name="line.230"></a>
+<span class="sourceLineNo">231</span>   }<a name="line.231"></a>
+<span class="sourceLineNo">232</span><a name="line.232"></a>
+<span class="sourceLineNo">233</span>   /**<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    * Constructor for args-arrays.<a name="line.234"></a>
+<span class="sourceLineNo">235</span>    */<a name="line.235"></a>
+<span class="sourceLineNo">236</span>   @SuppressWarnings("unchecked")<a name="line.236"></a>
+<span class="sourceLineNo">237</span>   ClassMeta(ClassMeta&lt;?&gt;[] args) {<a name="line.237"></a>
+<span class="sourceLineNo">238</span>      this.innerClass = (Class&lt;T&gt;) Object[].class;<a name="line.238"></a>
+<span class="sourceLineNo">239</span>      this.args = args;<a name="line.239"></a>
+<span class="sourceLineNo">240</span>      this.implClass = null;<a name="line.240"></a>
+<span class="sourceLineNo">241</span>      this.childPojoSwaps = null;<a name="line.241"></a>
+<span class="sourceLineNo">242</span>      this.childSwapMap = null;<a name="line.242"></a>
+<span class="sourceLineNo">243</span>      this.childUnswapMap = null;<a name="line.243"></a>
+<span class="sourceLineNo">244</span>      this.cc = ARGS;<a name="line.244"></a>
+<span class="sourceLineNo">245</span>      this.fromStringMethod = null;<a name="line.245"></a>
+<span class="sourceLineNo">246</span>      this.noArgConstructor = null;<a name="line.246"></a>
+<span class="sourceLineNo">247</span>      this.stringConstructor = null;<a name="line.247"></a>
+<span class="sourceLineNo">248</span>      this.numberConstructor = null;<a name="line.248"></a>
+<span class="sourceLineNo">249</span>      this.swapConstructor = null;<a name="line.249"></a>
+<span class="sourceLineNo">250</span>      this.swapMethodType = null;<a name="line.250"></a>
+<span class="sourceLineNo">251</span>      this.numberConstructorType = null;<a name="line.251"></a>
+<span class="sourceLineNo">252</span>      this.swapMethod = null;<a name="line.252"></a>
+<span class="sourceLineNo">253</span>      this.unswapMethod = null;<a name="line.253"></a>
+<span class="sourceLineNo">254</span>      this.namePropertyMethod = null;<a name="line.254"></a>
+<span class="sourceLineNo">255</span>      this.parentPropertyMethod = null;<a name="line.255"></a>
+<span class="sourceLineNo">256</span>      this.isDelegate = false;<a name="line.256"></a>
+<span class="sourceLineNo">257</span>      this.isAbstract = false;<a name="line.257"></a>
+<span class="sourceLineNo">258</span>      this.isMemberClass = false;<a name="line.258"></a>
+<span class="sourceLineNo">259</span>      this.primitiveDefault = null;<a name="line.259"></a>
+<span class="sourceLineNo">260</span>      this.remoteableMethods = null;<a name="line.260"></a>
+<span class="sourceLineNo">261</span>      this.publicMethods = null;<a name="line.261"></a>
+<span class="sourceLineNo">262</span>      this.beanContext = null;<a name="line.262"></a>
+<span class="sourceLineNo">263</span>      this.serializedClassMeta = this;<a name="line.263"></a>
+<span class="sourceLineNo">264</span>      this.elementType = null;<a name="line.264"></a>
+<span class="sourceLineNo">265</span>      this.keyType = null;<a name="line.265"></a>
+<span class="sourceLineNo">266</span>      this.valueType = null;<a name="line.266"></a>
+<span class="sourceLineNo">267</span>      this.invocationHandler = null;<a name="line.267"></a>
+<span class="sourceLineNo">268</span>      this.beanMeta = null;<a name="line.268"></a>
+<span class="sourceLineNo">269</span>      this.typePropertyName = null;<a name="line.269"></a>
+<span class="sourceLineNo">270</span>      this.dictionaryName = null;<a name="line.270"></a>
+<span class="sourceLineNo">271</span>      this.notABeanReason = null;<a name="line.271"></a>
+<span class="sourceLineNo">272</span>      this.pojoSwap = null;<a name="line.272"></a>
+<span class="sourceLineNo">273</span>      this.beanFilter = null;<a name="line.273"></a>
+<span class="sourceLineNo">274</span>      this.extMeta = new MetadataMap();<a name="line.274"></a>
+<span class="sourceLineNo">275</span>      this.initException = null;<a name="line.275"></a>
+<span class="sourceLineNo">276</span>      this.beanRegistry = null;<a name="line.276"></a>
+<span class="sourceLineNo">277</span>   }<a name="line.277"></a>
+<span class="sourceLineNo">278</span><a name="line.278"></a>
+<span class="sourceLineNo">279</span>   @SuppressWarnings({"unchecked","rawtypes","hiding"})<a name="line.279"></a>
+<span class="sourceLineNo">280</span>   private class ClassMetaBuilder&lt;T&gt; {<a name="line.280"></a>
+<span class="sourceLineNo">281</span>      Class&lt;T&gt; innerClass;<a name="line.281"></a>
+<span class="sourceLineNo">282</span>      Class&lt;? extends T&gt; implClass;<a name="line.282"></a>
+<span class="sourceLineNo">283</span>      BeanContext beanContext;<a name="line.283"></a>
+<span class="sourceLineNo">284</span>      ClassCategory cc = ClassCategory.OTHER;<a name="line.284"></a>
+<span class="sourceLineNo">285</span>      boolean<a name="line.285"></a>
+<span class="sourceLineNo">286</span>         isDelegate = false,<a name="line.286"></a>
+<span class="sourceLineNo">287</span>         isMemberClass = false,<a name="line.287"></a>
+<span class="sourceLineNo">288</span>         isAbstract = false;<a name="line.288"></a>
+<span class="sourceLineNo">289</span>      Method<a name="line.289"></a>
+<span class="sourceLineNo">290</span>         fromStringMethod = null,<a name="line.290"></a>
+<span class="sourceLineNo">291</span>         swapMethod = null,<a name="line.291"></a>
+<span class="sourceLineNo">292</span>         unswapMethod = null,<a name="line.292"></a>
+<span class="sourceLineNo">293</span>         parentPropertyMethod = null,<a name="line.293"></a>
+<span class="sourceLineNo">294</span>         namePropertyMethod = null;<a name="line.294"></a>
+<span class="sourceLineNo">295</span>      Constructor&lt;T&gt;<a name="line.295"></a>
+<span class="sourceLineNo">296</span>         noArgConstructor = null,<a name="line.296"></a>
+<span class="sourceLineNo">297</span>         stringConstructor = null,<a name="line.297"></a>
+<span class="sourceLineNo">298</span>         swapConstructor = null,<a name="line.298"></a>
+<span class="sourceLineNo">299</span>         numberConstructor = null;<a name="line.299"></a>
+<span class="sourceLineNo">300</span>      Class&lt;?&gt;<a name="line.300"></a>
+<span class="sourceLineNo">301</span>         swapMethodType = null,<a name="line.301"></a>
+<span class="sourceLineNo">302</span>         numberConstructorType = null;<a name="line.302"></a>
+<span class="sourceLineNo">303</span>      Object primitiveDefault = null;<a name="line.303"></a>
+<span class="sourceLineNo">304</span>      Map&lt;String,Method&gt;<a name="line.304"></a>
+<span class="sourceLineNo">305</span>         publicMethods = new LinkedHashMap&lt;String,Method&gt;(),<a name="line.305"></a>
+<span class="sourceLineNo">306</span>         remoteableMethods = new LinkedHashMap&lt;String,Method&gt;();<a name="line.306"></a>
+<span class="sourceLineNo">307</span>      ClassMeta&lt;?&gt;<a name="line.307"></a>
+<span class="sourceLineNo">308</span>         keyType = null,<a name="line.308"></a>
+<span class="sourceLineNo">309</span>         valueType = null,<a name="line.309"></a>
+<span class="sourceLineNo">310</span>         elementType = null,<a name="line.310"></a>
+<span class="sourceLineNo">311</span>         serializedClassMeta = null;<a name="line.311"></a>
+<span class="sourceLineNo">312</span>      String<a name="line.312"></a>
+<span class="sourceLineNo">313</span>         typePropertyName = null,<a name="line.313"></a>
+<span class="sourceLineNo">314</span>         notABeanReason = null,<a name="line.314"></a>
+<span class="sourceLineNo">315</span>         dictionaryName = null;<a name="line.315"></a>
+<span class="sourceLineNo">316</span>      Throwable initException = null;<a name="line.316"></a>
+<span class="sourceLineNo">317</span>      BeanMeta beanMeta = null;<a name="line.317"></a>
+<span class="sourceLineNo">318</span>      PojoSwap pojoSwap = null;<a name="line.318"></a>
+<span class="sourceLineNo">319</span>      InvocationHandler invocationHandler = null;<a name="line.319"></a>
+<span class="sourceLineNo">320</span>      BeanRegistry beanRegistry = null;<a name="line.320"></a>
+<span class="sourceLineNo">321</span>      PojoSwap&lt;?,?&gt;[] childPojoSwaps;<a name="line.321"></a>
+<span class="sourceLineNo">322</span>      ConcurrentHashMap&lt;Class&lt;?&gt;,PojoSwap&lt;?,?&gt;&gt;<a name="line.322"></a>
+<span class="sourceLineNo">323</span>         childSwapMap,<a name="line.323"></a>
+<span class="sourceLineNo">324</span>         childUnswapMap;<a name="line.324"></a>
+<span class="sourceLineNo">325</span><a name="line.325"></a>
+<span class="sourceLineNo">326</span>      private ClassMetaBuilder(Class&lt;T&gt; innerClass, BeanContext beanContext, Class&lt;? extends T&gt; implClass, BeanFilter beanFilter, PojoSwap&lt;T,?&gt; pojoSwap, PojoSwap&lt;?,?&gt;[] childPojoSwaps) {<a name="line.326"></a>
+<span class="sourceLineNo">327</span>         this.innerClass = innerClass;<a name="line.327"></a>
+<span class="sourceLineNo">328</span>         this.beanContext = beanContext;<a name="line.328"></a>
 <span class="sourceLineNo">329</span><a name="line.329"></a>
-<span class="sourceLineNo">330</span>      private ClassMetaBuilder(Class&lt;T&gt; innerClass, BeanContext beanContext, Class&lt;? extends T&gt; implClass, BeanFilter beanFilter, PojoSwap&lt;T,?&gt; pojoSwap, PojoSwap&lt;?,?&gt;[] childPojoSwaps) {<a name="line.330"></a>
-<span class="sourceLineNo">331</span>         this.innerClass = innerClass;<a name="line.331"></a>
-<span class="sourceLineNo">332</span>         this.beanContext = beanContext;<a name="line.332"></a>
-<span class="sourceLineNo">333</span><a name="line.333"></a>
-<span class="sourceLineNo">334</span>         this.implClass = implClass;<a name="line.334"></a>
-<span class="sourceLineNo">335</span>         this.childPojoSwaps = childPojoSwaps;<a name="line.335"></a>
-<span class="sourceLineNo">336</span>         this.childSwapMap = childPojoSwaps == null ? null : new ConcurrentHashMap&lt;Class&lt;?&gt;,PojoSwap&lt;?,?&gt;&gt;();<a name="line.336"></a>
-<span class="sourceLineNo">337</span>         this.childUnswapMap = childPojoSwaps == null ? null : new ConcurrentHashMap&lt;Class&lt;?&gt;,PojoSwap&lt;?,?&gt;&gt;();<a name="line.337"></a>
-<span class="sourceLineNo">338</span><a name="line.338"></a>
-<span class="sourceLineNo">339</span>         Class&lt;T&gt; c = innerClass;<a name="line.339"></a>
-<span class="sourceLineNo">340</span>         if (c.isPrimitive()) {<a name="line.340"></a>
-<span class="sourceLineNo">341</span>            if (c == Boolean.TYPE)<a name="line.341"></a>
-<span class="sourceLineNo">342</span>               cc = BOOLEAN;<a name="line.342"></a>
-<span class="sourceLineNo">343</span>            else if (c == Byte.TYPE || c == Short.TYPE || c == Integer.TYPE || c == Long.TYPE || c == Float.TYPE || c == Double.TYPE) {<a name="line.343"></a>
-<span class="sourceLineNo">344</span>               if (c == Float.TYPE || c == Double.TYPE)<a name="line.344"></a>
-<span class="sourceLineNo">345</span>                  cc = DECIMAL;<a name="line.345"></a>
-<span class="sourceLineNo">346</span>               else<a name="line.346"></a>
-<span class="sourceLineNo">347</span>                  cc = NUMBER;<a name="line.347"></a>
-<span class="sourceLineNo">348</span>            }<a name="line.348"></a>
-<span class="sourceLineNo">349</span>            else if (c == Character.TYPE)<a name="line.349"></a>
-<span class="sourceLineNo">350</span>               cc = CHAR;<a name="line.350"></a>
-<span class="sourceLineNo">351</span>            else if (c == void.class || c == Void.class)<a name="line.351"></a>
-<span class="sourceLineNo">352</span>               cc = VOID;<a name="line.352"></a>
-<span class="sourceLineNo">353</span>         } else {<a name="line.353"></a>
-<span class="sourceLineNo">354</span>            if (isParentClass(Delegate.class, c))<a name="line.354"></a>
-<span class="sourceLineNo">355</span>               isDelegate = true;<a name="line.355"></a>
-<span class="sourceLineNo">356</span><a name="line.356"></a>
-<span class="sourceLineNo">357</span>            if (c == Object.class)<a name="line.357"></a>
-<span class="sourceLineNo">358</span>               cc = OBJ;<a name="line.358"></a>
-<span class="sourceLineNo">359</span>            else if (c.isEnum())<a name="line.359"></a>
-<span class="sourceLineNo">360</span>               cc = ENUM;<a name="line.360"></a>
-<span class="sourceLineNo">361</span>            else if (c.equals(Class.class))<a name="line.361"></a>
-<span class="sourceLineNo">362</span>               cc = CLASS;<a name="line.362"></a>
-<span class="sourceLineNo">363</span>            else if (isParentClass(CharSequence.class, c)) {<a name="line.363"></a>
-<span class="sourceLineNo">364</span>               if (c.equals(String.class))<a name="line.364"></a>
-<span class="sourceLineNo">365</span>                  cc = STR;<a name="line.365"></a>
-<span class="sourceLineNo">366</span>               else<a name="line.366"></a>
-<span class="sourceLineNo">367</span>                  cc = CHARSEQ;<a name="line.367"></a>
-<span class="sourceLineNo">368</span>            }<a name="line.368"></a>
-<span class="sourceLineNo">369</span>            else if (isParentClass(Number.class, c)) {<a name="line.369"></a>
-<span class="sourceLineNo">370</span>               if (isParentClass(Float.class, c) || isParentClass(Double.class, c))<a name="line.370"></a>
-<span class="sourceLineNo">371</span>                  cc = DECIMAL;<a name="line.371"></a>
-<span class="sourceLineNo">372</span>               else<a name="line.372"></a>
-<span class="sourceLineNo">373</span>                  cc = NUMBER;<a name="line.373"></a>
-<span class="sourceLineNo">374</span>            }<a name="line.374"></a>
-<span class="sourceLineNo">375</span>            else if (isParentClass(Collection.class, c))<a name="line.375"></a>
-<span class="sourceLineNo">376</span>               cc = COLLECTION;<a name="line.376"></a>
-<span class="sourceLineNo">377</span>            else if (isParentClass(Map.class, c)) {<a name="line.377"></a>
-<span class="sourceLineNo">378</span>               if (isParentClass(BeanMap.class, c))<a name="line.378"></a>
-<span class="sourceLineNo">379</span>                  cc = BEANMAP;<a name="line.379"></a>
-<span class="sourceLineNo">380</span>               else<a name="line.380"></a>
-<span class="sourceLineNo">381</span>                  cc = MAP;<a name="line.381"></a>
-<span class="sourceLineNo">382</span>            }<a name="line.382"></a>
-<span class="sourceLineNo">383</span>            else if (c == Character.class)<a name="line.383"></a>
-<span class="sourceLineNo">384</span>               cc = CHAR;<a name="line.384"></a>
-<span class="sourceLineNo">385</span>            else if (c == Boolean.class)<a name="line.385"></a>
-<span class="sourceLineNo">386</span>               cc = BOOLEAN;<a name="line.386"></a>
-<span class="sourceLineNo">387</span>            else if (isParentClass(Date.class, c) || isParentClass(Calendar.class, c))<a name="line.387"></a>
-<span class="sourceLineNo">388</span>               cc = DATE;<a name="line.388"></a>
-<span class="sourceLineNo">389</span>            else if (c.isArray())<a name="line.389"></a>
-<span class="sourceLineNo">390</span>               cc = ARRAY;<a name="line.390"></a>
-<span class="sourceLineNo">391</span>            else if (isParentClass(URL.class, c) || isParentClass(URI.class, c) || c.isAnnotationPresent(org.apache.juneau.annotation.URI.class))<a name="line.391"></a>
-<span class="sourceLineNo">392</span>               cc = URI;<a name="line.392"></a>
-<span class="sourceLineNo">393</span>            else if (isParentClass(Reader.class, c))<a name="line.393"></a>
-<span class="sourceLineNo">394</span>               cc = READER;<a name="line.394"></a>
-<span class="sourceLineNo">395</span>            else if (isParentClass(InputStream.class, c))<a name="line.395"></a>
-<span class="sourceLineNo">396</span>               cc = INPUTSTREAM;<a name="line.396"></a>
-<span class="sourceLineNo">397</span>         }<a name="line.397"></a>
-<span class="sourceLineNo">398</span><a name="line.398"></a>
-<span class="sourceLineNo">399</span>         isMemberClass = c.isMemberClass() &amp;&amp; ! isStatic(c);<a name="line.399"></a>
-<span class="sourceLineNo">400</span><a name="line.400"></a>
-<span class="sourceLineNo">401</span>         // Find static fromString(String) or equivalent method.<a name="line.401"></a>
-<span class="sourceLineNo">402</span>         // fromString() must be checked before valueOf() so that Enum classes can create their own<a name="line.402"></a>
-<span class="sourceLineNo">403</span>         //    specialized fromString() methods to override the behavior of Enum.valueOf(String).<a name="line.403"></a>
-<span class="sourceLineNo">404</span>         // valueOf() is used by enums.<a name="line.404"></a>
-<span class="sourceLineNo">405</span>         // parse() is used by the java logging Level class.<a name="line.405"></a>
-<span class="sourceLineNo">406</span>         // forName() is used by Class and Charset<a name="line.406"></a>
-<span class="sourceLineNo">407</span>         for (String methodName : new String[]{"fromString","valueOf","parse","parseString","forName","forString"}) {<a name="line.407"></a>
-<span class="sourceLineNo">408</span>            if (fromStringMethod == null) {<a name="line.408"></a>
-<span class="sourceLineNo">409</span>               for (Method m : c.getMethods()) {<a name="line.409"></a>
-<span class="sourceLineNo">410</span>                  if (isStatic(m) &amp;&amp; isPublic(m) &amp;&amp; isNotDeprecated(m)) {<a name="line.410"></a>
-<span class="sourceLineNo">411</span>                     String mName = m.getName();<a name="line.411"></a>
-<span class="sourceLineNo">412</span>                     if (mName.equals(methodName) &amp;&amp; m.getReturnType() == c) {<a name="line.412"></a>
-<span class="sourceLineNo">413</span>                        Class&lt;?&gt;[] args = m.getParameterTypes();<a name="line.413"></a>
-<span class="sourceLineNo">414</span>                        if (args.length == 1 &amp;&amp; args[0] == String.class) {<a name="line.414"></a>
-<span class="sourceLineNo">415</span>                           fromStringMethod = m;<a name="line.415"></a>
-<span class="sourceLineNo">416</span>                           break;<a name="line.416"></a>
-<span class="sourceLineNo">417</span>                        }<a name="line.417"></a>
-<span class="sourceLineNo">418</span>                     }<a name="line.418"></a>
-<span class="sourceLineNo">419</span>                  }<a name="line.419"></a>
-<span class="sourceLineNo">420</span>               }<a name="line.420"></a>
-<span class="sourceLineNo">421</span>            }<a name="line.421"></a>
-<span class="sourceLineNo">422</span>         }<a name="line.422"></a>
-<span class="sourceLineNo">423</span><a name="line.423"></a>
-<span class="sourceLineNo">424</span>         // Special cases<a name="line.424"></a>
-<span class="sourceLineNo">425</span>         try {<a name="line.425"></a>
-<span class="sourceLineNo">426</span>            if (c == TimeZone.class)<a name="line.426"></a>
-<span class="sourceLineNo">427</span>               fromStringMethod = c.getMethod("getTimeZone", String.class);<a name="line.427"></a>
-<span class="sourceLineNo">428</span>            else if (c == Locale.class)<a name="line.428"></a>
-<span class="sourceLineNo">429</span>               fromStringMethod = LocaleAsString.class.getMethod("fromString", String.class);<a name="line.429"></a>
-<span class="sourceLineNo">430</span>         } catch (NoSuchMethodException e1) {}<a name="line.430"></a>
-<span class="sourceLineNo">431</span><a name="line.431"></a>
-<span class="sourceLineNo">432</span>         // Find swap() method if present.<a name="line.432"></a>
-<span class="sourceLineNo">433</span>         for (Method m : c.getMethods()) {<a name="line.433"></a>
-<span class="sourceLineNo">434</span>            if (isPublic(m) &amp;&amp; isNotDeprecated(m) &amp;&amp; ! isStatic(m)) {<a name="line.434"></a>
-<span class="sourceLineNo">435</span>               String mName = m.getName();<a name="line.435"></a>
-<span class="sourceLineNo">436</span>               if (mName.equals("swap")) {<a name="line.436"></a>
-<span class="sourceLineNo">437</span>                  Class&lt;?&gt;[] pt = m.getParameterTypes();<a name="line.437"></a>
-<span class="sourceLineNo">438</span>                  if (pt.length == 1 &amp;&amp; pt[0] == BeanSession.class) {<a name="line.438"></a>
-<span class="sourceLineNo">439</span>                     swapMethod = m;<a name="line.439"></a>
-<span class="sourceLineNo">440</span>                     swapMethodType = m.getReturnType();<a name="line.440"></a>
-<span class="sourceLineNo">441</span>                     break;<a name="line.441"></a>
-<span class="sourceLineNo">442</span>                  }<a name="line.442"></a>
-<span class="sourceLineNo">443</span>               }<a name="line.443"></a>
-<span class="sourceLineNo">444</span>            }<a name="line.444"></a>
-<span class="sourceLineNo">445</span>         }<a name="line.445"></a>
-<span class="sourceLineNo">446</span>         // Find unswap() method if present.<a name="line.446"></a>
-<span class="sourceLineNo">447</span>         if (swapMethod != null) {<a name="line.447"></a>
-<span class="sourceLineNo">448</span>            for (Method m : c.getMethods()) {<a name="line.448"></a>
-<span class="sourceLineNo">449</span>               if (isPublic(m) &amp;&amp; isNotDeprecated(m) &amp;&amp; isStatic(m)) {<a name="line.449"></a>
-<span class="sourceLineNo">450</span>                  String mName = m.getName();<a name="line.450"></a>
-<span class="sourceLineNo">451</span>                  if (mName.equals("unswap")) {<a name="line.451"></a>
-<span class="sourceLineNo">452</span>                     Class&lt;?&gt;[] pt = m.getParameterTypes();<a name="line.452"></a>
-<span class="sourceLineNo">453</span>                     if (pt.length == 2 &amp;&amp; pt[0] == BeanSession.class &amp;&amp; pt[1] == swapMethodType) {<a name="line.453"></a>
-<span class="sourceLineNo">454</span>                        unswapMethod = m;<a name="line.454"></a>
-<span class="sourceLineNo">455</span>                        break;<a name="line.455"></a>
-<span class="sourceLineNo">456</span>                     }<a name="line.456"></a>
-<span class="sourceLineNo">457</span>                  }<a name="line.457"></a>
-<span class="sourceLineNo">458</span>               }<a name="line.458"></a>
-<span class="sourceLineNo">459</span>            }<a name="line.459"></a>
-<span class="sourceLineNo">460</span>         }<a name="line.460"></a>
-<span class="sourceLineNo">461</span><a name="line.461"></a>
-<span class="sourceLineNo">462</span>         // Find @NameProperty and @ParentProperty methods if present.<a name="line.462"></a>
-<span class="sourceLineNo">463</span>         for (Method m : c.getDeclaredMethods()) {<a name="line.463"></a>
-<span class="sourceLineNo">464</span>            if (m.isAnnotationPresent(ParentProperty.class) &amp;&amp; m.getParameterTypes().length == 1) {<a name="line.464"></a>
+<span class="sourceLineNo">330</span>         this.implClass = implClass;<a name="line.330"></a>
+<span class="sourceLineNo">331</span>         this.childPojoSwaps = childPojoSwaps;<a name="line.331"></a>
+<span class="sourceLineNo">332</span>         this.childSwapMap = childPojoSwaps == null ? null : new ConcurrentHashMap&lt;Class&lt;?&gt;,PojoSwap&lt;?,?&gt;&gt;();<a name="line.332"></a>
+<span class="sourceLineNo">333</span>         this.childUnswapMap = childPojoSwaps == null ? null : new ConcurrentHashMap&lt;Class&lt;?&gt;,PojoSwap&lt;?,?&gt;&gt;();<a name="line.333"></a>
+<span class="sourceLineNo">334</span><a name="line.334"></a>
+<span class="sourceLineNo">335</span>         Class&lt;T&gt; c = innerClass;<a name="line.335"></a>
+<span class="sourceLineNo">336</span>         if (c.isPrimitive()) {<a name="line.336"></a>
+<span class="sourceLineNo">337</span>            if (c == Boolean.TYPE)<a name="line.337"></a>
+<span class="sourceLineNo">338</span>               cc = BOOLEAN;<a name="line.338"></a>
+<span class="sourceLineNo">339</span>            else if (c == Byte.TYPE || c == Short.TYPE || c == Integer.TYPE || c == Long.TYPE || c == Float.TYPE || c == Double.TYPE) {<a name="line.339"></a>
+<span class="sourceLineNo">340</span>               if (c == Float.TYPE || c == Double.TYPE)<a name="line.340"></a>
+<span class="sourceLineNo">341</span>                  cc = DECIMAL;<a name="line.341"></a>
+<span class="sourceLineNo">342</span>               else<a name="line.342"></a>
+<span class="sourceLineNo">343</span>                  cc = NUMBER;<a name="line.343"></a>
+<span class="sourceLineNo">344</span>            }<a name="line.344"></a>
+<span class="sourceLineNo">345</span>            else if (c == Character.TYPE)<a name="line.345"></a>
+<span class="sourceLineNo">346</span>               cc = CHAR;<a name="line.346"></a>
+<span class="sourceLineNo">347</span>            else if (c == void.class || c == Void.class)<a name="line.347"></a>
+<span class="sourceLineNo">348</span>               cc = VOID;<a name="line.348"></a>
+<span class="sourceLineNo">349</span>         } else {<a name="line.349"></a>
+<span class="sourceLineNo">350</span>            if (isParentClass(Delegate.class, c))<a name="line.350"></a>
+<span class="sourceLineNo">351</span>               isDelegate = true;<a name="line.351"></a>
+<span class="sourceLineNo">352</span><a name="line.352"></a>
+<span class="sourceLineNo">353</span>            if (c == Object.class)<a name="line.353"></a>
+<span class="sourceLineNo">354</span>               cc = OBJ;<a name="line.354"></a>
+<span class="sourceLineNo">355</span>            else if (c.isEnum())<a name="line.355"></a>
+<span class="sourceLineNo">356</span>               cc = ENUM;<a name="line.356"></a>
+<span class="sourceLineNo">357</span>            else if (c.equals(Class.class))<a name="line.357"></a>
+<span class="sourceLineNo">358</span>               cc = CLASS;<a name="line.358"></a>
+<span class="sourceLineNo">359</span>            else if (isParentClass(CharSequence.class, c)) {<a name="line.359"></a>
+<span class="sourceLineNo">360</span>               if (c.equals(String.class))<a name="line.360"></a>
+<span class="sourceLineNo">361</span>                  cc = STR;<a name="line.361"></a>
+<span class="sourceLineNo">362</span>               else<a name="line.362"></a>
+<span class="sourceLineNo">363</span>                  cc = CHARSEQ;<a name="line.363"></a>
+<span class="sourceLineNo">364</span>            }<a name="line.364"></a>
+<span class="sourceLineNo">365</span>            else if (isParentClass(Number.class, c)) {<a name="line.365"></a>
+<span class="sourceLineNo">366</span>               if (isParentClass(Float.class, c) || isParentClass(Double.class, c))<a name="line.366"></a>
+<span class="sourceLineNo">367</span>                  cc = DECIMAL;<a name="line.367"></a>
+<span class="sourceLineNo">368</span>               else<a name="line.368"></a>
+<span class="sourceLineNo">369</span>                  cc = NUMBER;<a name="line.369"></a>
+<span class="sourceLineNo">370</span>            }<a name="line.370"></a>
+<span class="sourceLineNo">371</span>            else if (isParentClass(Collection.class, c))<a name="line.371"></a>
+<span class="sourceLineNo">372</span>               cc = COLLECTION;<a name="line.372"></a>
+<span class="sourceLineNo">373</span>            else if (isParentClass(Map.class, c)) {<a name="line.373"></a>
+<span class="sourceLineNo">374</span>               if (isParentClass(BeanMap.class, c))<a name="line.374"></a>
+<span class="sourceLineNo">375</span>                  cc = BEANMAP;<a name="line.375"></a>
+<span class="sourceLineNo">376</span>               else<a name="line.376"></a>
+<span class="sourceLineNo">377</span>                  cc = MAP;<a name="line.377"></a>
+<span class="sourceLineNo">378</span>            }<a name="line.378"></a>
+<span class="sourceLineNo">379</span>            else if (c == Character.class)<a name="line.379"></a>
+<span class="sourceLineNo">380</span>               cc = CHAR;<a name="line.380"></a>
+<span class="sourceLineNo">381</span>            else if (c == Boolean.class)<a name="line.381"></a>
+<span class="sourceLineNo">382</span>               cc = BOOLEAN;<a name="line.382"></a>
+<span class="sourceLineNo">383</span>            else if (isParentClass(Date.class, c) || isParentClass(Calendar.class, c))<a name="line.383"></a>
+<span class="sourceLineNo">384</span>               cc = DATE;<a name="line.384"></a>
+<span class="sourceLineNo">385</span>            else if (c.isArray())<a name="line.385"></a>
+<span class="sourceLineNo">386</span>               cc = ARRAY;<a name="line.386"></a>
+<span class="sourceLineNo">387</span>            else if (isParentClass(URL.class, c) || isParentClass(URI.class, c) || c.isAnnotationPresent(org.apache.juneau.annotation.URI.class))<a name="line.387"></a>
+<span class="sourceLineNo">388</span>               cc = URI;<a name="line.388"></a>
+<span class="sourceLineNo">389</span>            else if (isParentClass(Reader.class, c))<a name="line.389"></a>
+<span class="sourceLineNo">390</span>               cc = READER;<a name="line.390"></a>
+<span class="sourceLineNo">391</span>            else if (isParentClass(InputStream.class, c))<a name="line.391"></a>
+<span class="sourceLineNo">392</span>               cc = INPUTSTREAM;<a name="line.392"></a>
+<span class="sourceLineNo">393</span>         }<a name="line.393"></a>
+<span class="sourceLineNo">394</span><a name="line.394"></a>
+<span class="sourceLineNo">395</span>         isMemberClass = c.isMemberClass() &amp;&amp; ! isStatic(c);<a name="line.395"></a>
+<span class="sourceLineNo">396</span><a name="line.396"></a>
+<span class="sourceLineNo">397</span>         // Find static fromString(String) or equivalent method.<a name="line.397"></a>
+<span class="sourceLineNo">398</span>         // fromString() must be checked before valueOf() so that Enum classes can create their own<a name="line.398"></a>
+<span class="sourceLineNo">399</span>         //    specialized fromString() methods to override the behavior of Enum.valueOf(String).<a name="line.399"></a>
+<span class="sourceLineNo">400</span>         // valueOf() is used by enums.<a name="line.400"></a>
+<span class="sourceLineNo">401</span>         // parse() is used by the java logging Level class.<a name="line.401"></a>
+<span class="sourceLineNo">402</span>         // forName() is used by Class and Charset<a name="line.402"></a>
+<span class="sourceLineNo">403</span>         for (String methodName : new String[]{"fromString","valueOf","parse","parseString","forName","forString"}) {<a name="line.403"></a>
+<span class="sourceLineNo">404</span>            if (fromStringMethod == null) {<a name="line.404"></a>
+<span class="sourceLineNo">405</span>               for (Method m : c.getMethods()) {<a name="line.405"></a>
+<span class="sourceLineNo">406</span>                  if (isStatic(m) &amp;&amp; isPublic(m) &amp;&amp; isNotDeprecated(m)) {<a name="line.406"></a>
+<span class="sourceLineNo">407</span>                     String mName = m.getName();<a name="line.407"></a>
+<span class="sourceLineNo">408</span>                     if (mName.equals(methodName) &amp;&amp; m.getReturnType() == c) {<a name="line.408"></a>
+<span class="sourceLineNo">409</span>                        Class&lt;?&gt;[] args = m.getParameterTypes();<a name="line.409"></a>
+<span class="sourceLineNo">410</span>                        if (args.length == 1 &amp;&amp; args[0] == String.class) {<a name="line.410"></a>
+<span class="sourceLineNo">411</span>                           fromStringMethod = m;<a name="line.411"></a>
+<span class="sourceLineNo">412</span>                           break;<a name="line.412"></a>
+<span class="sourceLineNo">413</span>                        }<a name="line.413"></a>
+<span class="sourceLineNo">414</span>                     }<a name="line.414"></a>
+<span class="sourceLineNo">415</span>                  }<a name="line.415"></a>
+<span class="sourceLineNo">416</span>               }<a name="line.416"></a>
+<span class="sourceLineNo">417</span>            }<a name="line.417"></a>
+<span class="sourceLineNo">418</span>         }<a name="line.418"></a>
+<span class="sourceLineNo">419</span><a name="line.419"></a>
+<span class="sourceLineNo">420</span>         // Special cases<a name="line.420"></a>
+<span class="sourceLineNo">421</span>         try {<a name="line.421"></a>
+<span class="sourceLineNo">422</span>            if (c == TimeZone.class)<a name="line.422"></a>
+<span class="sourceLineNo">423</span>               fromStringMethod = c.getMethod("getTimeZone", String.class);<a name="line.423"></a>
+<span class="sourceLineNo">424</span>            else if (c == Locale.class)<a name="line.424"></a>
+<span class="sourceLineNo">425</span>               fromStringMethod = LocaleAsString.class.getMethod("fromString", String.class);<a name="line.425"></a>
+<span class="sourceLineNo">426</span>         } catch (NoSuchMethodException e1) {}<a name="line.426"></a>
+<span class="sourceLineNo">427</span><a name="line.427"></a>
+<span class="sourceLineNo">428</span>         // Find swap() method if present.<a name="line.428"></a>
+<span class="sourceLineNo">429</span>         for (Method m : c.getMethods()) {<a name="line.429"></a>
+<span class="sourceLineNo">430</span>            if (isPublic(m) &amp;&amp; isNotDeprecated(m) &amp;&amp; ! isStatic(m)) {<a name="line.430"></a>
+<span class="sourceLineNo">431</span>               String mName = m.getName();<a name="line.431"></a>
+<span class="sourceLineNo">432</span>               if (mName.equals("swap")) {<a name="line.432"></a>
+<span class="sourceLineNo">433</span>                  Class&lt;?&gt;[] pt = m.getParameterTypes();<a name="line.433"></a>
+<span class="sourceLineNo">434</span>                  if (pt.length == 1 &amp;&amp; pt[0] == BeanSession.class) {<a name="line.434"></a>
+<span class="sourceLineNo">435</span>                     swapMethod = m;<a name="line.435"></a>
+<span class="sourceLineNo">436</span>                     swapMethodType = m.getReturnType();<a name="line.436"></a>
+<span class="sourceLineNo">437</span>                     break;<a name="line.437"></a>
+<span class="sourceLineNo">438</span>                  }<a name="line.438"></a>
+<span class="sourceLineNo">439</span>               }<a name="line.439"></a>
+<span class="sourceLineNo">440</span>            }<a name="line.440"></a>
+<span class="sourceLineNo">441</span>         }<a name="line.441"></a>
+<span class="sourceLineNo">442</span>         // Find unswap() method if present.<a name="line.442"></a>
+<span class="sourceLineNo">443</span>         if (swapMethod != null) {<a name="line.443"></a>
+<span class="sourceLineNo">444</span>            for (Method m : c.getMethods()) {<a name="line.444"></a>
+<span class="sourceLineNo">445</span>               if (isPublic(m) &amp;&amp; isNotDeprecated(m) &amp;&amp; isStatic(m)) {<a name="line.445"></a>
+<span class="sourceLineNo">446</span>                  String mName = m.getName();<a name="line.446"></a>
+<span class="sourceLineNo">447</span>                  if (mName.equals("unswap")) {<a name="line.447"></a>
+<span class="sourceLineNo">448</span>                     Class&lt;?&gt;[] pt = m.getParameterTypes();<a name="line.448"></a>
+<span class="sourceLineNo">449</span>                     if (pt.length == 2 &amp;&amp; pt[0] == BeanSession.class &amp;&amp; pt[1] == swapMethodType) {<a name="line.449"></a>
+<span class="sourceLineNo">450</span>                        unswapMethod = m;<a name="line.450"></a>
+<span class="sourceLineNo">451</span>                        break;<a name="line.451"></a>
+<span class="sourceLineNo">452</span>                     }<a name="line.452"></a>
+<span class="sourceLineNo">453</span>                  }<a name="line.453"></a>
+<span class="sourceLineNo">454</span>               }<a name="line.454"></a>
+<span class="sourceLineNo">455</span>            }<a name="line.455"></a>
+<span class="sourceLineNo">456</span>         }<a name="line.456"></a>
+<span class="sourceLineNo">457</span><a name="line.457"></a>
+<span class="sourceLineNo">458</span>         // Find @NameProperty and @ParentProperty methods if present.<a name="line.458"></a>
+<span class="sourceLineNo">459</span>         for (Method m : c.getDeclaredMethods()) {<a name="line.459"></a>
+<span class="sourceLineNo">460</span>            if (m.isAnnotationPresent(ParentProperty.class) &amp;&amp; m.getParameterTypes().length == 1) {<a name="line.460"></a>
+<span class="sourceLineNo">461</span>               m.setAccessible(true);<a name="line.461"></a>
+<span class="sourceLineNo">462</span>               parentPropertyMethod = m;<a name="line.462"></a>
+<span class="sourceLineNo">463</span>            }<a name="line.463"></a>
+<span class="sourceLineNo">464</span>            if (m.isAnnotationPresent(NameProperty.class) &amp;&amp; m.getParameterTypes().length == 1) {<a name="line.464"></a>
 <span class="sourceLineNo">465</span>               m.setAccessible(true);<a name="line.465"></a>
-<span class="sourceLineNo">466</span>               parentPropertyMethod = m;<a name="line.466"></a>
+<span class="sourceLineNo">466</span>               namePropertyMethod = m;<a name="line.466"></a>
 <span class="sourceLineNo">467</span>            }<a name="line.467"></a>
-<span class="sourceLineNo">468</span>            if (m.isAnnotationPresent(NameProperty.class) &amp;&amp; m.getParameterTypes().length == 1) {<a name="line.468"></a>
-<span class="sourceLineNo">469</span>               m.setAccessible(true);<a name="line.469"></a>
-<span class="sourceLineNo">470</span>               namePropertyMethod = m;<a name="line.470"></a>
-<span class="sourceLineNo">471</span>            }<a name="line.471"></a>
-<span class="sourceLineNo">472</span>         }<a name="line.472"></a>
-<span class="sourceLineNo">473</span><a name="line.473"></a>
-<span class="sourceLineNo">474</span>         // Note:  Primitive types are normally abstract.<a name="line.474"></a>
-<span class="sourceLineNo">475</span>         isAbstract = Modifier.isAbstract(c.getModifiers()) &amp;&amp; ! c.isPrimitive();<a name="line.475"></a>
-<span class="sourceLineNo">476</span><a name="line.476"></a>
-<span class="sourceLineNo">477</span>         // Find constructor(String) method if present.<a name="line.477"></a>
-<span class="sourceLineNo">478</span>         for (Constructor cs : c.getConstructors()) {<a name="line.478"></a>
-<span class="sourceLineNo">479</span>            if (isPublic(cs) &amp;&amp; isNotDeprecated(cs)) {<a name="line.479"></a>
-<span class="sourceLineNo">480</span>               Class&lt;?&gt;[] args = cs.getParameterTypes();<a name="line.480"></a>
-<span class="sourceLineNo">481</span>               if (args.length == (isMemberClass ? 1 : 0) &amp;&amp; c != Object.class &amp;&amp; ! isAbstract) {<a name="line.481"></a>
-<span class="sourceLineNo">482</span>                  noArgConstructor = cs;<a name="line.482"></a>
-<span class="sourceLineNo">483</span>               } else if (args.length == (isMemberClass ? 2 : 1)) {<a name="line.483"></a>
-<span class="sourceLineNo">484</span>                  Class&lt;?&gt; arg = args[(isMemberClass ? 1 : 0)];<a name="line.484"></a>
-<span class="sourceLineNo">485</span>                  if (arg == String.class)<a name="line.485"></a>
-<span class="sourceLineNo">486</span>                     stringConstructor = cs;<a name="line.486"></a>
-<span class="sourceLineNo">487</span>                  else if (swapMethodType != null &amp;&amp; swapMethodType.isAssignableFrom(arg))<a name="line.487"></a>
-<span class="sourceLineNo">488</span>                     swapConstructor = cs;<a name="line.488"></a>
-<span class="sourceLineNo">489</span>                  else if (cc != NUMBER &amp;&amp; (Number.class.isAssignableFrom(arg) || (arg.isPrimitive() &amp;&amp; (arg == int.class || arg == short.class || arg == long.class || arg == float.class || arg == double.class)))) {<a name="line.489"></a>
-<span class="sourceLineNo">490</span>                     numberConstructor = cs;<a name="line.490"></a>
-<span class="sourceLineNo">491</span>                     numberConstructorType = ClassUtils.getWrapperIfPrimitive(arg);<a name="line.491"></a>
-<span class="sourceLineNo">492</span>                  }<a name="line.492"></a>
-<span class="sourceLineNo">493</span>               }<a name="line.493"></a>
-<span class="sourceLineNo">494</span>            }<a name="line.494"></a>
-<span class="sourceLineNo">495</span>         }<a name="line.495"></a>
-<span class="sourceLineNo">496</span><a name="line.496"></a>
-<span class="sourceLineNo">497</span>         if (c.isPrimitive()) {<a name="line.497"></a>
-<span class="sourceLineNo">498</span>            if (c == Boolean.TYPE)<a name="line.498"></a>
-<span class="sourceLineNo">499</span>               primitiveDefault = BOOLEAN_DEFAULT;<a name="line.499"></a>
-<span class="sourceLineNo">500</span>            else if (c == Character.TYPE)<a name="line.500"></a>
-<span class="sourceLineNo">501</span>               primitiveDefault = CHARACTER_DEFAULT;<a name="line.501"></a>
-<span class="sourceLineNo">502</span>            else if (c == Short.TYPE)<a name="line.502"></a>
-<span class="sourceLineNo">503</span>               primitiveDefault = SHORT_DEFAULT;<a name="line.503"></a>
-<span class="sourceLineNo">504</span>            else if (c == Integer.TYPE)<a name="line.504"></a>
-<span class="sourceLineNo">505</span>               primitiveDefault = INTEGER_DEFAULT;<a name="line.505"></a>
-<span class="sourceLineNo">506</span>            else if (c == Long.TYPE)<a name="line.506"></a>
-<span class="sourceLineNo">507</span>               primitiveDefault = LONG_DEFAULT;<a name="line.507"></a>
-<span class="sourceLineNo">508</span>            else if (c == Float.TYPE)<a name="line.508"></a>
-<span class="sourceLineNo">509</span>               primitiveDefault = FLOAT_DEFAULT;<a name="line.509"></a>
-<span class="sourceLineNo">510</span>            else if (c == Double.TYPE)<a name="line.510"></a>
-<span class="sourceLineNo">511</span>               primitiveDefault = DOUBLE_DEFAULT;<a name="line.511"></a>
-<span class="sourceLineNo">512</span>            else if (c == Byte.TYPE)<a name="line.512"></a>
-<span class="sourceLineNo">513</span>               primitiveDefault = BYTE_DEFAULT;<a name="line.513"></a>
-<span class="sourceLineNo">514</span>         } else {<a name="line.514"></a>
-<span class="sourceLineNo">515</span>            if (c == Boolean.class)<a name="line.515"></a>
-<span class="sourceLineNo">516</span>               primitiveDefault = BOOLEAN_DEFAULT;<a name="line.516"></a>
-<span class="sourceLineNo">517</span>            else if (c == Character.class)<a name="line.517"></a>
-<span class="sourceLineNo">518</span>               primitiveDefault = CHARACTER_DEFAULT;<a name="line.518"></a>
-<span class="sourceLineNo">519</span>            else if (c == Short.class)<a name="line.519"></a>
-<span class="sourceLineNo">520</span>               primitiveDefault = SHORT_DEFAULT;<a name="line.520"></a>
-<span class="sourceLineNo">521</span>            else if (c == Integer.class)<a name="line.521"></a>
-<span class="sourceLineNo">522</span>               primitiveDefault = INTEGER_DEFAULT;<a name="line.522"></a>
-<span class="sourceLineNo">523</span>            else if (c == Long.class)<a name="line.523"></a>
-<span class="sourceLineNo">524</span>               primitiveDefault = LONG_DEFAULT;<a name="line.524"></a>
-<span class="sourceLineNo">525</span>            else if (c == Float.class)<a name="line.525"></a>
-<span class="sourceLineNo">526</span>               primitiveDefault = FLOAT_DEFAULT;<a name="line.526"></a>
-<span class="sourceLineNo">527</span>            else if (c == Double.class)<a name="line.527"></a>
-<span class="sourceLineNo">528</span>               primitiveDefault = DOUBLE_DEFAULT;<a name="line.528"></a>
-<span class="sourceLineNo">529</span>            else if (c == Byte.class)<a name="line.529"></a>
-<span class="sourceLineNo">530</span>               primitiveDefault = BYTE_DEFAULT;<a name="line.530"></a>
-<span class="sourceLineNo">531</span>         }<a name="line.531"></a>
+<span class="sourceLineNo">468</span>         }<a name="line.468"></a>
+<span class="sourceLineNo">469</span><a name="line.469"></a>
+<span class="sourceLineNo">470</span>         // Note:  Primitive types are normally abstract.<a name="line.470"></a>
+<span class="sourceLineNo">471</span>         isAbstract = Modifier.isAbstract(c.getModifiers()) &amp;&amp; ! c.isPrimitive();<a name="line.471"></a>
+<span class="sourceLineNo">472</span><a name="line.472"></a>
+<span class="sourceLineNo">473</span>         // Find constructor(String) method if present.<a name="line.473"></a>
+<span class="sourceLineNo">474</span>         for (Constructor cs : c.getConstructors()) {<a name="line.474"></a>
+<span class="sourceLineNo">475</span>            if (isPublic(cs) &amp;&amp; isNotDeprecated(cs)) {<a name="line.475"></a>
+<span class="sourceLineNo">476</span>               Class&lt;?&gt;[] args = cs.getParameterTypes();<a name="line.476"></a>
+<span class="sourceLineNo">477</span>               if (args.length == (isMemberClass ? 1 : 0) &amp;&amp; c != Object.class &amp;&amp; ! isAbstract) {<a name="line.477"></a>
+<span class="sourceLineNo">478</span>                  noArgConstructor = cs;<a name="line.478"></a>
+<span class="sourceLineNo">479</span>               } else if (args.length == (isMemberClass ? 2 : 1)) {<a name="line.479"></a>
+<span class="sourceLineNo">480</span>                  Class&lt;?&gt; arg = args[(isMemberClass ? 1 : 0)];<a name="line.480"></a>
+<span class="sourceLineNo">481</span>                  if (arg == String.class)<a name="line.481"></a>
+<span class="sourceLineNo">482</span>                     stringConstructor = cs;<a name="line.482"></a>
+<span class="sourceLineNo">483</span>                  else if (swapMethodType != null &amp;&amp; swapMethodType.isAssignableFrom(arg))<a name="line.483"></a>
+<span class="sourceLineNo">484</span>                     swapConstructor = cs;<a name="line.484"></a>
+<span class="sourceLineNo">485</span>                  else if (cc != NUMBER &amp;&amp; (Number.class.isAssignableFrom(arg) || (arg.isPrimitive() &amp;&amp; (arg == int.class || arg == short.class || arg == long.class || arg == float.class || arg == double.class)))) {<a name="line.485"></a>
+<span class="sourceLineNo">486</span>                     numberConstructor = cs;<a name="line.486"></a>
+<span class="sourceLineNo">487</span>                     numberConstructorType = ClassUtils.getWrapperIfPrimitive(arg);<a name="line.487"></a>
+<span class="sourceLineNo">488</span>                  }<a name="line.488"></a>
+<span class="sourceLineNo">489</span>               }<a name="line.489"></a>
+<span class="sourceLineNo">490</span>            }<a name="line.490"></a>
+<span class="sourceLineNo">491</span>         }<a name="line.491"></a>
+<span class="sourceLineNo">492</span><a name="line.492"></a>
+<span class="sourceLineNo">493</span>         if (c.isPrimitive()) {<a name="line.493"></a>
+<span class="sourceLineNo">494</span>            if (c == Boolean.TYPE)<a name="line.494"></a>
+<span class="sourceLineNo">495</span>               primitiveDefault = BOOLEAN_DEFAULT;<a name="line.495"></a>
+<span class="sourceLineNo">496</span>            else if (c == Character.TYPE)<a name="line.496"></a>
+<span class="sourceLineNo">497</span>               primitiveDefault = CHARACTER_DEFAULT;<a name="line.497"></a>
+<span class="sourceLineNo">498</span>            else if (c == Short.TYPE)<a name="line.498"></a>
+<span class="sourceLineNo">499</span>               primitiveDefault = SHORT_DEFAULT;<a name="line.499"></a>
+<span class="sourceLineNo">500</span>            else if (c == Integer.TYPE)<a name="line.500"></a>
+<span class="sourceLineNo">501</span>               primitiveDefault = INTEGER_DEFAULT;<a name="line.501"></a>
+<span class="sourceLineNo">502</span>            else if (c == Long.TYPE)<a name="line.502"></a>
+<span class="sourceLineNo">503</span>               primitiveDefault = LONG_DEFAULT;<a name="line.503"></a>
+<span class="sourceLineNo">504</span>            else if (c == Float.TYPE)<a name="line.504"></a>
+<span class="sourceLineNo">505</span>               primitiveDefault = FLOAT_DEFAULT;<a name="line.505"></a>
+<span class="sourceLineNo">506</span>            else if (c == Double.TYPE)<a name="line.506"></a>
+<span class="sourceLineNo">507</span>               primitiveDefault = DOUBLE_DEFAULT;<a name="line.507"></a>
+<span class="sourceLineNo">508</span>            else if (c == Byte.TYPE)<a name="line.508"></a>
+<span class="sourceLineNo">509</span>               primitiveDefault = BYTE_DEFAULT;<a name="line.509"></a>
+<span class="sourceLineNo">510</span>         } else {<a name="line.510"></a>
+<span class="sourceLineNo">511</span>            if (c == Boolean.class)<a name="line.511"></a>
+<span class="sourceLineNo">512</span>               primitiveDefault = BOOLEAN_DEFAULT;<a name="line.512"></a>
+<span class="sourceLineNo">513</span>            else if (c == Character.class)<a name="line.513"></a>
+<span class="sourceLineNo">514</span>               primitiveDefault = CHARACTER_DEFAULT;<a 

<TRUNCATED>


[06/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.html b/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.html
index e815156..79c2816 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.html
@@ -211,187 +211,188 @@
 <span class="sourceLineNo">203</span>    * @param eType The expected type of the object if this is a bean property.<a name="line.203"></a>
 <span class="sourceLineNo">204</span>    * @param attrName The bean property name if this is a bean property.  &lt;jk&gt;null&lt;/jk&gt; if this isn't a bean property being serialized.<a name="line.204"></a>
 <span class="sourceLineNo">205</span>    * @param pMeta The bean property metadata.<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    *<a name="line.206"></a>
-<span class="sourceLineNo">207</span>    * @return The same writer passed in.<a name="line.207"></a>
-<span class="sourceLineNo">208</span>    * @throws Exception<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    */<a name="line.209"></a>
-<span class="sourceLineNo">210</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.210"></a>
-<span class="sourceLineNo">211</span>   protected SerializerWriter serializeAnything(UonSerializerSession session, UonWriter out, Object o, ClassMeta&lt;?&gt; eType,<a name="line.211"></a>
-<span class="sourceLineNo">212</span>         String attrName, BeanPropertyMeta pMeta) throws Exception {<a name="line.212"></a>
-<span class="sourceLineNo">213</span><a name="line.213"></a>
-<span class="sourceLineNo">214</span>      if (o == null) {<a name="line.214"></a>
-<span class="sourceLineNo">215</span>         out.appendObject(null, false);<a name="line.215"></a>
-<span class="sourceLineNo">216</span>         return out;<a name="line.216"></a>
-<span class="sourceLineNo">217</span>      }<a name="line.217"></a>
-<span class="sourceLineNo">218</span><a name="line.218"></a>
-<span class="sourceLineNo">219</span>      if (eType == null)<a name="line.219"></a>
-<span class="sourceLineNo">220</span>         eType = object();<a name="line.220"></a>
-<span class="sourceLineNo">221</span><a name="line.221"></a>
-<span class="sourceLineNo">222</span>      ClassMeta&lt;?&gt; aType;        // The actual type<a name="line.222"></a>
-<span class="sourceLineNo">223</span>      ClassMeta&lt;?&gt; sType;        // The serialized type<a name="line.223"></a>
-<span class="sourceLineNo">224</span><a name="line.224"></a>
-<span class="sourceLineNo">225</span>      aType = session.push(attrName, o, eType);<a name="line.225"></a>
-<span class="sourceLineNo">226</span>      boolean isRecursion = aType == null;<a name="line.226"></a>
-<span class="sourceLineNo">227</span><a name="line.227"></a>
-<span class="sourceLineNo">228</span>      // Handle recursion<a name="line.228"></a>
-<span class="sourceLineNo">229</span>      if (aType == null) {<a name="line.229"></a>
-<span class="sourceLineNo">230</span>         o = null;<a name="line.230"></a>
-<span class="sourceLineNo">231</span>         aType = object();<a name="line.231"></a>
-<span class="sourceLineNo">232</span>      }<a name="line.232"></a>
-<span class="sourceLineNo">233</span><a name="line.233"></a>
-<span class="sourceLineNo">234</span>      sType = aType.getSerializedClassMeta();<a name="line.234"></a>
-<span class="sourceLineNo">235</span>      String typeName = session.getBeanTypeName(eType, aType, pMeta);<a name="line.235"></a>
-<span class="sourceLineNo">236</span><a name="line.236"></a>
-<span class="sourceLineNo">237</span>      // Swap if necessary<a name="line.237"></a>
-<span class="sourceLineNo">238</span>      PojoSwap swap = aType.getPojoSwap();<a name="line.238"></a>
-<span class="sourceLineNo">239</span>      if (swap != null) {<a name="line.239"></a>
-<span class="sourceLineNo">240</span>         o = swap.swap(session, o);<a name="line.240"></a>
-<span class="sourceLineNo">241</span><a name="line.241"></a>
-<span class="sourceLineNo">242</span>         // If the getSwapClass() method returns Object, we need to figure out<a name="line.242"></a>
-<span class="sourceLineNo">243</span>         // the actual type now.<a name="line.243"></a>
-<span class="sourceLineNo">244</span>         if (sType.isObject())<a name="line.244"></a>
-<span class="sourceLineNo">245</span>            sType = session.getClassMetaForObject(o);<a name="line.245"></a>
-<span class="sourceLineNo">246</span>      }<a name="line.246"></a>
-<span class="sourceLineNo">247</span><a name="line.247"></a>
-<span class="sourceLineNo">248</span>      // '\0' characters are considered null.<a name="line.248"></a>
-<span class="sourceLineNo">249</span>      if (o == null || (sType.isChar() &amp;&amp; ((Character)o).charValue() == 0))<a name="line.249"></a>
-<span class="sourceLineNo">250</span>         out.appendObject(null, false);<a name="line.250"></a>
-<span class="sourceLineNo">251</span>      else if (sType.isBoolean())<a name="line.251"></a>
-<span class="sourceLineNo">252</span>         out.appendBoolean(o);<a name="line.252"></a>
-<span class="sourceLineNo">253</span>      else if (sType.isNumber())<a name="line.253"></a>
-<span class="sourceLineNo">254</span>         out.appendNumber(o);<a name="line.254"></a>
-<span class="sourceLineNo">255</span>      else if (sType.isBean())<a name="line.255"></a>
-<span class="sourceLineNo">256</span>         serializeBeanMap(session, out, session.toBeanMap(o), typeName);<a name="line.256"></a>
-<span class="sourceLineNo">257</span>      else if (sType.isUri() || (pMeta != null &amp;&amp; pMeta.isUri()))<a name="line.257"></a>
-<span class="sourceLineNo">258</span>         out.appendUri(o);<a name="line.258"></a>
-<span class="sourceLineNo">259</span>      else if (sType.isMap()) {<a name="line.259"></a>
-<span class="sourceLineNo">260</span>         if (o instanceof BeanMap)<a name="line.260"></a>
-<span class="sourceLineNo">261</span>            serializeBeanMap(session, out, (BeanMap)o, typeName);<a name="line.261"></a>
-<span class="sourceLineNo">262</span>         else<a name="line.262"></a>
-<span class="sourceLineNo">263</span>            serializeMap(session, out, (Map)o, eType);<a name="line.263"></a>
-<span class="sourceLineNo">264</span>      }<a name="line.264"></a>
-<span class="sourceLineNo">265</span>      else if (sType.isCollection()) {<a name="line.265"></a>
-<span class="sourceLineNo">266</span>         serializeCollection(session, out, (Collection) o, eType);<a name="line.266"></a>
-<span class="sourceLineNo">267</span>      }<a name="line.267"></a>
-<span class="sourceLineNo">268</span>      else if (sType.isArray()) {<a name="line.268"></a>
-<span class="sourceLineNo">269</span>         serializeCollection(session, out, toList(sType.getInnerClass(), o), eType);<a name="line.269"></a>
-<span class="sourceLineNo">270</span>      }<a name="line.270"></a>
-<span class="sourceLineNo">271</span>      else {<a name="line.271"></a>
-<span class="sourceLineNo">272</span>         out.appendObject(o, false);<a name="line.272"></a>
-<span class="sourceLineNo">273</span>      }<a name="line.273"></a>
-<span class="sourceLineNo">274</span><a name="line.274"></a>
-<span class="sourceLineNo">275</span>      if (! isRecursion)<a name="line.275"></a>
-<span class="sourceLineNo">276</span>         session.pop();<a name="line.276"></a>
-<span class="sourceLineNo">277</span>      return out;<a name="line.277"></a>
-<span class="sourceLineNo">278</span>   }<a name="line.278"></a>
-<span class="sourceLineNo">279</span><a name="line.279"></a>
-<span class="sourceLineNo">280</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.280"></a>
-<span class="sourceLineNo">281</span>   private SerializerWriter serializeMap(UonSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.281"></a>
-<span class="sourceLineNo">282</span><a name="line.282"></a>
-<span class="sourceLineNo">283</span>      m = session.sort(m);<a name="line.283"></a>
-<span class="sourceLineNo">284</span><a name="line.284"></a>
-<span class="sourceLineNo">285</span>      ClassMeta&lt;?&gt; keyType = type.getKeyType(), valueType = type.getValueType();<a name="line.285"></a>
-<span class="sourceLineNo">286</span><a name="line.286"></a>
-<span class="sourceLineNo">287</span>      int depth = session.getIndent();<a name="line.287"></a>
-<span class="sourceLineNo">288</span>      out.append('(');<a name="line.288"></a>
-<span class="sourceLineNo">289</span><a name="line.289"></a>
-<span class="sourceLineNo">290</span>      Iterator mapEntries = m.entrySet().iterator();<a name="line.290"></a>
-<span class="sourceLineNo">291</span><a name="line.291"></a>
-<span class="sourceLineNo">292</span>      while (mapEntries.hasNext()) {<a name="line.292"></a>
-<span class="sourceLineNo">293</span>         Map.Entry e = (Map.Entry) mapEntries.next();<a name="line.293"></a>
-<span class="sourceLineNo">294</span>         Object value = e.getValue();<a name="line.294"></a>
-<span class="sourceLineNo">295</span>         Object key = session.generalize(e.getKey(), keyType);<a name="line.295"></a>
-<span class="sourceLineNo">296</span>         out.cr(depth).appendObject(key, false).append('=');<a name="line.296"></a>
-<span class="sourceLineNo">297</span>         serializeAnything(session, out, value, valueType, (key == null ? null : session.toString(key)), null);<a name="line.297"></a>
-<span class="sourceLineNo">298</span>         if (mapEntries.hasNext())<a name="line.298"></a>
-<span class="sourceLineNo">299</span>            out.append(',');<a name="line.299"></a>
-<span class="sourceLineNo">300</span>      }<a name="line.300"></a>
-<span class="sourceLineNo">301</span><a name="line.301"></a>
-<span class="sourceLineNo">302</span>      if (m.size() &gt; 0)<a name="line.302"></a>
-<span class="sourceLineNo">303</span>         out.cr(depth-1);<a name="line.303"></a>
-<span class="sourceLineNo">304</span>      out.append(')');<a name="line.304"></a>
-<span class="sourceLineNo">305</span><a name="line.305"></a>
-<span class="sourceLineNo">306</span>      return out;<a name="line.306"></a>
-<span class="sourceLineNo">307</span>   }<a name="line.307"></a>
-<span class="sourceLineNo">308</span><a name="line.308"></a>
-<span class="sourceLineNo">309</span>   private SerializerWriter serializeBeanMap(UonSerializerSession session, UonWriter out, BeanMap&lt;?&gt; m, String typeName) throws Exception {<a name="line.309"></a>
-<span class="sourceLineNo">310</span>      int depth = session.getIndent();<a name="line.310"></a>
-<span class="sourceLineNo">311</span><a name="line.311"></a>
-<span class="sourceLineNo">312</span>      out.append('(');<a name="line.312"></a>
-<span class="sourceLineNo">313</span><a name="line.313"></a>
-<span class="sourceLineNo">314</span>      boolean addComma = false;<a name="line.314"></a>
-<span class="sourceLineNo">315</span><a name="line.315"></a>
-<span class="sourceLineNo">316</span>      for (BeanPropertyValue p : m.getValues(session.isTrimNulls(), typeName != null ? session.createBeanTypeNameProperty(m, typeName) : null)) {<a name="line.316"></a>
-<span class="sourceLineNo">317</span>         BeanPropertyMeta pMeta = p.getMeta();<a name="line.317"></a>
-<span class="sourceLineNo">318</span>         ClassMeta&lt;?&gt; cMeta = p.getClassMeta();<a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span>         String key = p.getName();<a name="line.320"></a>
-<span class="sourceLineNo">321</span>         Object value = p.getValue();<a name="line.321"></a>
-<span class="sourceLineNo">322</span>         Throwable t = p.getThrown();<a name="line.322"></a>
-<span class="sourceLineNo">323</span>         if (t != null)<a name="line.323"></a>
-<span class="sourceLineNo">324</span>            session.addBeanGetterWarning(pMeta, t);<a name="line.324"></a>
-<span class="sourceLineNo">325</span><a name="line.325"></a>
-<span class="sourceLineNo">326</span>         if (session.canIgnoreValue(cMeta, key, value))<a name="line.326"></a>
-<span class="sourceLineNo">327</span>            continue;<a name="line.327"></a>
-<span class="sourceLineNo">328</span><a name="line.328"></a>
-<span class="sourceLineNo">329</span>         if (addComma)<a name="line.329"></a>
-<span class="sourceLineNo">330</span>            out.append(',');<a name="line.330"></a>
-<span class="sourceLineNo">331</span><a name="line.331"></a>
-<span class="sourceLineNo">332</span>         out.cr(depth).appendObject(key, false).append('=');<a name="line.332"></a>
-<span class="sourceLineNo">333</span><a name="line.333"></a>
-<span class="sourceLineNo">334</span>         serializeAnything(session, out, value, cMeta, key, pMeta);<a name="line.334"></a>
-<span class="sourceLineNo">335</span><a name="line.335"></a>
-<span class="sourceLineNo">336</span>         addComma = true;<a name="line.336"></a>
-<span class="sourceLineNo">337</span>      }<a name="line.337"></a>
-<span class="sourceLineNo">338</span><a name="line.338"></a>
-<span class="sourceLineNo">339</span>      if (m.size() &gt; 0)<a name="line.339"></a>
-<span class="sourceLineNo">340</span>         out.cr(depth-1);<a name="line.340"></a>
-<span class="sourceLineNo">341</span>      out.append(')');<a name="line.341"></a>
-<span class="sourceLineNo">342</span><a name="line.342"></a>
-<span class="sourceLineNo">343</span>      return out;<a name="line.343"></a>
-<span class="sourceLineNo">344</span>   }<a name="line.344"></a>
-<span class="sourceLineNo">345</span><a name="line.345"></a>
-<span class="sourceLineNo">346</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.346"></a>
-<span class="sourceLineNo">347</span>   private SerializerWriter serializeCollection(UonSerializerSession session, UonWriter out, Collection c, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.347"></a>
-<span class="sourceLineNo">348</span><a name="line.348"></a>
-<span class="sourceLineNo">349</span>      ClassMeta&lt;?&gt; elementType = type.getElementType();<a name="line.349"></a>
-<span class="sourceLineNo">350</span><a name="line.350"></a>
-<span class="sourceLineNo">351</span>      c = session.sort(c);<a name="line.351"></a>
-<span class="sourceLineNo">352</span><a name="line.352"></a>
-<span class="sourceLineNo">353</span>      out.append('@').append('(');<a name="line.353"></a>
-<span class="sourceLineNo">354</span><a name="line.354"></a>
-<span class="sourceLineNo">355</span>      int depth = session.getIndent();<a name="line.355"></a>
-<span class="sourceLineNo">356</span><a name="line.356"></a>
-<span class="sourceLineNo">357</span>      for (Iterator i = c.iterator(); i.hasNext();) {<a name="line.357"></a>
-<span class="sourceLineNo">358</span>         out.cr(depth);<a name="line.358"></a>
-<span class="sourceLineNo">359</span>         serializeAnything(session, out, i.next(), elementType, "&lt;iterator&gt;", null);<a name="line.359"></a>
-<span class="sourceLineNo">360</span>         if (i.hasNext())<a name="line.360"></a>
-<span class="sourceLineNo">361</span>            out.append(',');<a name="line.361"></a>
-<span class="sourceLineNo">362</span>      }<a name="line.362"></a>
-<span class="sourceLineNo">363</span><a name="line.363"></a>
-<span class="sourceLineNo">364</span>      if (c.size() &gt; 0)<a name="line.364"></a>
-<span class="sourceLineNo">365</span>         out.cr(depth-1);<a name="line.365"></a>
-<span class="sourceLineNo">366</span>      out.append(')');<a name="line.366"></a>
-<span class="sourceLineNo">367</span><a name="line.367"></a>
-<span class="sourceLineNo">368</span>      return out;<a name="line.368"></a>
-<span class="sourceLineNo">369</span>   }<a name="line.369"></a>
-<span class="sourceLineNo">370</span><a name="line.370"></a>
+<span class="sourceLineNo">206</span>    * @param plainTextParams &lt;jk&gt;true&lt;/jk&gt; if this is a top level parameter key or value and paramFormat is PLAINTEXT.<a name="line.206"></a>
+<span class="sourceLineNo">207</span>    *<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    * @return The same writer passed in.<a name="line.208"></a>
+<span class="sourceLineNo">209</span>    * @throws Exception<a name="line.209"></a>
+<span class="sourceLineNo">210</span>    */<a name="line.210"></a>
+<span class="sourceLineNo">211</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.211"></a>
+<span class="sourceLineNo">212</span>   protected SerializerWriter serializeAnything(UonSerializerSession session, UonWriter out, Object o, ClassMeta&lt;?&gt; eType,<a name="line.212"></a>
+<span class="sourceLineNo">213</span>         String attrName, BeanPropertyMeta pMeta, boolean plainTextParams) throws Exception {<a name="line.213"></a>
+<span class="sourceLineNo">214</span><a name="line.214"></a>
+<span class="sourceLineNo">215</span>      if (o == null) {<a name="line.215"></a>
+<span class="sourceLineNo">216</span>         out.appendObject(null, false, plainTextParams);<a name="line.216"></a>
+<span class="sourceLineNo">217</span>         return out;<a name="line.217"></a>
+<span class="sourceLineNo">218</span>      }<a name="line.218"></a>
+<span class="sourceLineNo">219</span><a name="line.219"></a>
+<span class="sourceLineNo">220</span>      if (eType == null)<a name="line.220"></a>
+<span class="sourceLineNo">221</span>         eType = object();<a name="line.221"></a>
+<span class="sourceLineNo">222</span><a name="line.222"></a>
+<span class="sourceLineNo">223</span>      ClassMeta&lt;?&gt; aType;        // The actual type<a name="line.223"></a>
+<span class="sourceLineNo">224</span>      ClassMeta&lt;?&gt; sType;        // The serialized type<a name="line.224"></a>
+<span class="sourceLineNo">225</span><a name="line.225"></a>
+<span class="sourceLineNo">226</span>      aType = session.push(attrName, o, eType);<a name="line.226"></a>
+<span class="sourceLineNo">227</span>      boolean isRecursion = aType == null;<a name="line.227"></a>
+<span class="sourceLineNo">228</span><a name="line.228"></a>
+<span class="sourceLineNo">229</span>      // Handle recursion<a name="line.229"></a>
+<span class="sourceLineNo">230</span>      if (aType == null) {<a name="line.230"></a>
+<span class="sourceLineNo">231</span>         o = null;<a name="line.231"></a>
+<span class="sourceLineNo">232</span>         aType = object();<a name="line.232"></a>
+<span class="sourceLineNo">233</span>      }<a name="line.233"></a>
+<span class="sourceLineNo">234</span><a name="line.234"></a>
+<span class="sourceLineNo">235</span>      sType = aType.getSerializedClassMeta();<a name="line.235"></a>
+<span class="sourceLineNo">236</span>      String typeName = session.getBeanTypeName(eType, aType, pMeta);<a name="line.236"></a>
+<span class="sourceLineNo">237</span><a name="line.237"></a>
+<span class="sourceLineNo">238</span>      // Swap if necessary<a name="line.238"></a>
+<span class="sourceLineNo">239</span>      PojoSwap swap = aType.getPojoSwap();<a name="line.239"></a>
+<span class="sourceLineNo">240</span>      if (swap != null) {<a name="line.240"></a>
+<span class="sourceLineNo">241</span>         o = swap.swap(session, o);<a name="line.241"></a>
+<span class="sourceLineNo">242</span><a name="line.242"></a>
+<span class="sourceLineNo">243</span>         // If the getSwapClass() method returns Object, we need to figure out<a name="line.243"></a>
+<span class="sourceLineNo">244</span>         // the actual type now.<a name="line.244"></a>
+<span class="sourceLineNo">245</span>         if (sType.isObject())<a name="line.245"></a>
+<span class="sourceLineNo">246</span>            sType = session.getClassMetaForObject(o);<a name="line.246"></a>
+<span class="sourceLineNo">247</span>      }<a name="line.247"></a>
+<span class="sourceLineNo">248</span><a name="line.248"></a>
+<span class="sourceLineNo">249</span>      // '\0' characters are considered null.<a name="line.249"></a>
+<span class="sourceLineNo">250</span>      if (o == null || (sType.isChar() &amp;&amp; ((Character)o).charValue() == 0))<a name="line.250"></a>
+<span class="sourceLineNo">251</span>         out.appendObject(null, false, plainTextParams);<a name="line.251"></a>
+<span class="sourceLineNo">252</span>      else if (sType.isBoolean())<a name="line.252"></a>
+<span class="sourceLineNo">253</span>         out.appendBoolean(o);<a name="line.253"></a>
+<span class="sourceLineNo">254</span>      else if (sType.isNumber())<a name="line.254"></a>
+<span class="sourceLineNo">255</span>         out.appendNumber(o);<a name="line.255"></a>
+<span class="sourceLineNo">256</span>      else if (sType.isBean())<a name="line.256"></a>
+<span class="sourceLineNo">257</span>         serializeBeanMap(session, out, session.toBeanMap(o), typeName);<a name="line.257"></a>
+<span class="sourceLineNo">258</span>      else if (sType.isUri() || (pMeta != null &amp;&amp; pMeta.isUri()))<a name="line.258"></a>
+<span class="sourceLineNo">259</span>         out.appendUri(o);<a name="line.259"></a>
+<span class="sourceLineNo">260</span>      else if (sType.isMap()) {<a name="line.260"></a>
+<span class="sourceLineNo">261</span>         if (o instanceof BeanMap)<a name="line.261"></a>
+<span class="sourceLineNo">262</span>            serializeBeanMap(session, out, (BeanMap)o, typeName);<a name="line.262"></a>
+<span class="sourceLineNo">263</span>         else<a name="line.263"></a>
+<span class="sourceLineNo">264</span>            serializeMap(session, out, (Map)o, eType);<a name="line.264"></a>
+<span class="sourceLineNo">265</span>      }<a name="line.265"></a>
+<span class="sourceLineNo">266</span>      else if (sType.isCollection()) {<a name="line.266"></a>
+<span class="sourceLineNo">267</span>         serializeCollection(session, out, (Collection) o, eType);<a name="line.267"></a>
+<span class="sourceLineNo">268</span>      }<a name="line.268"></a>
+<span class="sourceLineNo">269</span>      else if (sType.isArray()) {<a name="line.269"></a>
+<span class="sourceLineNo">270</span>         serializeCollection(session, out, toList(sType.getInnerClass(), o), eType);<a name="line.270"></a>
+<span class="sourceLineNo">271</span>      }<a name="line.271"></a>
+<span class="sourceLineNo">272</span>      else {<a name="line.272"></a>
+<span class="sourceLineNo">273</span>         out.appendObject(o, false, plainTextParams);<a name="line.273"></a>
+<span class="sourceLineNo">274</span>      }<a name="line.274"></a>
+<span class="sourceLineNo">275</span><a name="line.275"></a>
+<span class="sourceLineNo">276</span>      if (! isRecursion)<a name="line.276"></a>
+<span class="sourceLineNo">277</span>         session.pop();<a name="line.277"></a>
+<span class="sourceLineNo">278</span>      return out;<a name="line.278"></a>
+<span class="sourceLineNo">279</span>   }<a name="line.279"></a>
+<span class="sourceLineNo">280</span><a name="line.280"></a>
+<span class="sourceLineNo">281</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.281"></a>
+<span class="sourceLineNo">282</span>   private SerializerWriter serializeMap(UonSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.282"></a>
+<span class="sourceLineNo">283</span><a name="line.283"></a>
+<span class="sourceLineNo">284</span>      m = session.sort(m);<a name="line.284"></a>
+<span class="sourceLineNo">285</span><a name="line.285"></a>
+<span class="sourceLineNo">286</span>      ClassMeta&lt;?&gt; keyType = type.getKeyType(), valueType = type.getValueType();<a name="line.286"></a>
+<span class="sourceLineNo">287</span><a name="line.287"></a>
+<span class="sourceLineNo">288</span>      int depth = session.getIndent();<a name="line.288"></a>
+<span class="sourceLineNo">289</span>      out.append('(');<a name="line.289"></a>
+<span class="sourceLineNo">290</span><a name="line.290"></a>
+<span class="sourceLineNo">291</span>      Iterator mapEntries = m.entrySet().iterator();<a name="line.291"></a>
+<span class="sourceLineNo">292</span><a name="line.292"></a>
+<span class="sourceLineNo">293</span>      while (mapEntries.hasNext()) {<a name="line.293"></a>
+<span class="sourceLineNo">294</span>         Map.Entry e = (Map.Entry) mapEntries.next();<a name="line.294"></a>
+<span class="sourceLineNo">295</span>         Object value = e.getValue();<a name="line.295"></a>
+<span class="sourceLineNo">296</span>         Object key = session.generalize(e.getKey(), keyType);<a name="line.296"></a>
+<span class="sourceLineNo">297</span>         out.cr(depth).appendObject(key, false, false).append('=');<a name="line.297"></a>
+<span class="sourceLineNo">298</span>         serializeAnything(session, out, value, valueType, (key == null ? null : session.toString(key)), null, false);<a name="line.298"></a>
+<span class="sourceLineNo">299</span>         if (mapEntries.hasNext())<a name="line.299"></a>
+<span class="sourceLineNo">300</span>            out.append(',');<a name="line.300"></a>
+<span class="sourceLineNo">301</span>      }<a name="line.301"></a>
+<span class="sourceLineNo">302</span><a name="line.302"></a>
+<span class="sourceLineNo">303</span>      if (m.size() &gt; 0)<a name="line.303"></a>
+<span class="sourceLineNo">304</span>         out.cr(depth-1);<a name="line.304"></a>
+<span class="sourceLineNo">305</span>      out.append(')');<a name="line.305"></a>
+<span class="sourceLineNo">306</span><a name="line.306"></a>
+<span class="sourceLineNo">307</span>      return out;<a name="line.307"></a>
+<span class="sourceLineNo">308</span>   }<a name="line.308"></a>
+<span class="sourceLineNo">309</span><a name="line.309"></a>
+<span class="sourceLineNo">310</span>   private SerializerWriter serializeBeanMap(UonSerializerSession session, UonWriter out, BeanMap&lt;?&gt; m, String typeName) throws Exception {<a name="line.310"></a>
+<span class="sourceLineNo">311</span>      int depth = session.getIndent();<a name="line.311"></a>
+<span class="sourceLineNo">312</span><a name="line.312"></a>
+<span class="sourceLineNo">313</span>      out.append('(');<a name="line.313"></a>
+<span class="sourceLineNo">314</span><a name="line.314"></a>
+<span class="sourceLineNo">315</span>      boolean addComma = false;<a name="line.315"></a>
+<span class="sourceLineNo">316</span><a name="line.316"></a>
+<span class="sourceLineNo">317</span>      for (BeanPropertyValue p : m.getValues(session.isTrimNulls(), typeName != null ? session.createBeanTypeNameProperty(m, typeName) : null)) {<a name="line.317"></a>
+<span class="sourceLineNo">318</span>         BeanPropertyMeta pMeta = p.getMeta();<a name="line.318"></a>
+<span class="sourceLineNo">319</span>         ClassMeta&lt;?&gt; cMeta = p.getClassMeta();<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span>         String key = p.getName();<a name="line.321"></a>
+<span class="sourceLineNo">322</span>         Object value = p.getValue();<a name="line.322"></a>
+<span class="sourceLineNo">323</span>         Throwable t = p.getThrown();<a name="line.323"></a>
+<span class="sourceLineNo">324</span>         if (t != null)<a name="line.324"></a>
+<span class="sourceLineNo">325</span>            session.addBeanGetterWarning(pMeta, t);<a name="line.325"></a>
+<span class="sourceLineNo">326</span><a name="line.326"></a>
+<span class="sourceLineNo">327</span>         if (session.canIgnoreValue(cMeta, key, value))<a name="line.327"></a>
+<span class="sourceLineNo">328</span>            continue;<a name="line.328"></a>
+<span class="sourceLineNo">329</span><a name="line.329"></a>
+<span class="sourceLineNo">330</span>         if (addComma)<a name="line.330"></a>
+<span class="sourceLineNo">331</span>            out.append(',');<a name="line.331"></a>
+<span class="sourceLineNo">332</span><a name="line.332"></a>
+<span class="sourceLineNo">333</span>         out.cr(depth).appendObject(key, false, false).append('=');<a name="line.333"></a>
+<span class="sourceLineNo">334</span><a name="line.334"></a>
+<span class="sourceLineNo">335</span>         serializeAnything(session, out, value, cMeta, key, pMeta, false);<a name="line.335"></a>
+<span class="sourceLineNo">336</span><a name="line.336"></a>
+<span class="sourceLineNo">337</span>         addComma = true;<a name="line.337"></a>
+<span class="sourceLineNo">338</span>      }<a name="line.338"></a>
+<span class="sourceLineNo">339</span><a name="line.339"></a>
+<span class="sourceLineNo">340</span>      if (m.size() &gt; 0)<a name="line.340"></a>
+<span class="sourceLineNo">341</span>         out.cr(depth-1);<a name="line.341"></a>
+<span class="sourceLineNo">342</span>      out.append(')');<a name="line.342"></a>
+<span class="sourceLineNo">343</span><a name="line.343"></a>
+<span class="sourceLineNo">344</span>      return out;<a name="line.344"></a>
+<span class="sourceLineNo">345</span>   }<a name="line.345"></a>
+<span class="sourceLineNo">346</span><a name="line.346"></a>
+<span class="sourceLineNo">347</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.347"></a>
+<span class="sourceLineNo">348</span>   private SerializerWriter serializeCollection(UonSerializerSession session, UonWriter out, Collection c, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.348"></a>
+<span class="sourceLineNo">349</span><a name="line.349"></a>
+<span class="sourceLineNo">350</span>      ClassMeta&lt;?&gt; elementType = type.getElementType();<a name="line.350"></a>
+<span class="sourceLineNo">351</span><a name="line.351"></a>
+<span class="sourceLineNo">352</span>      c = session.sort(c);<a name="line.352"></a>
+<span class="sourceLineNo">353</span><a name="line.353"></a>
+<span class="sourceLineNo">354</span>      out.append('@').append('(');<a name="line.354"></a>
+<span class="sourceLineNo">355</span><a name="line.355"></a>
+<span class="sourceLineNo">356</span>      int depth = session.getIndent();<a name="line.356"></a>
+<span class="sourceLineNo">357</span><a name="line.357"></a>
+<span class="sourceLineNo">358</span>      for (Iterator i = c.iterator(); i.hasNext();) {<a name="line.358"></a>
+<span class="sourceLineNo">359</span>         out.cr(depth);<a name="line.359"></a>
+<span class="sourceLineNo">360</span>         serializeAnything(session, out, i.next(), elementType, "&lt;iterator&gt;", null, false);<a name="line.360"></a>
+<span class="sourceLineNo">361</span>         if (i.hasNext())<a name="line.361"></a>
+<span class="sourceLineNo">362</span>            out.append(',');<a name="line.362"></a>
+<span class="sourceLineNo">363</span>      }<a name="line.363"></a>
+<span class="sourceLineNo">364</span><a name="line.364"></a>
+<span class="sourceLineNo">365</span>      if (c.size() &gt; 0)<a name="line.365"></a>
+<span class="sourceLineNo">366</span>         out.cr(depth-1);<a name="line.366"></a>
+<span class="sourceLineNo">367</span>      out.append(')');<a name="line.367"></a>
+<span class="sourceLineNo">368</span><a name="line.368"></a>
+<span class="sourceLineNo">369</span>      return out;<a name="line.369"></a>
+<span class="sourceLineNo">370</span>   }<a name="line.370"></a>
 <span class="sourceLineNo">371</span><a name="line.371"></a>
-<span class="sourceLineNo">372</span>   //--------------------------------------------------------------------------------<a name="line.372"></a>
-<span class="sourceLineNo">373</span>   // Entry point methods<a name="line.373"></a>
-<span class="sourceLineNo">374</span>   //--------------------------------------------------------------------------------<a name="line.374"></a>
-<span class="sourceLineNo">375</span><a name="line.375"></a>
-<span class="sourceLineNo">376</span>   @Override /* Serializer */<a name="line.376"></a>
-<span class="sourceLineNo">377</span>   public UonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.377"></a>
-<span class="sourceLineNo">378</span>      return new UonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.378"></a>
-<span class="sourceLineNo">379</span>   }<a name="line.379"></a>
-<span class="sourceLineNo">380</span><a name="line.380"></a>
-<span class="sourceLineNo">381</span>   @Override /* Serializer */<a name="line.381"></a>
-<span class="sourceLineNo">382</span>   protected void doSerialize(SerializerSession session, Object o) throws Exception {<a name="line.382"></a>
-<span class="sourceLineNo">383</span>      UonSerializerSession s = (UonSerializerSession)session;<a name="line.383"></a>
-<span class="sourceLineNo">384</span>      serializeAnything(s, s.getWriter(), o, s.getExpectedRootType(o), "root", null);<a name="line.384"></a>
-<span class="sourceLineNo">385</span>   }<a name="line.385"></a>
-<span class="sourceLineNo">386</span>}<a name="line.386"></a>
+<span class="sourceLineNo">372</span><a name="line.372"></a>
+<span class="sourceLineNo">373</span>   //--------------------------------------------------------------------------------<a name="line.373"></a>
+<span class="sourceLineNo">374</span>   // Entry point methods<a name="line.374"></a>
+<span class="sourceLineNo">375</span>   //--------------------------------------------------------------------------------<a name="line.375"></a>
+<span class="sourceLineNo">376</span><a name="line.376"></a>
+<span class="sourceLineNo">377</span>   @Override /* Serializer */<a name="line.377"></a>
+<span class="sourceLineNo">378</span>   public UonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.378"></a>
+<span class="sourceLineNo">379</span>      return new UonSerializerSession(ctx, null, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.379"></a>
+<span class="sourceLineNo">380</span>   }<a name="line.380"></a>
+<span class="sourceLineNo">381</span><a name="line.381"></a>
+<span class="sourceLineNo">382</span>   @Override /* Serializer */<a name="line.382"></a>
+<span class="sourceLineNo">383</span>   protected void doSerialize(SerializerSession session, Object o) throws Exception {<a name="line.383"></a>
+<span class="sourceLineNo">384</span>      UonSerializerSession s = (UonSerializerSession)session;<a name="line.384"></a>
+<span class="sourceLineNo">385</span>      serializeAnything(s, s.getWriter(), o, s.getExpectedRootType(o), "root", null, false);<a name="line.385"></a>
+<span class="sourceLineNo">386</span>   }<a name="line.386"></a>
+<span class="sourceLineNo">387</span>}<a name="line.387"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializerSession.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializerSession.html b/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializerSession.html
index f4ceb27..f8ccef9 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializerSession.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializerSession.html
@@ -46,54 +46,55 @@
 <span class="sourceLineNo">038</span>    *<a name="line.38"></a>
 <span class="sourceLineNo">039</span>    * @param ctx The context creating this session object.<a name="line.39"></a>
 <span class="sourceLineNo">040</span>    * The context contains all the configuration settings for this object.<a name="line.40"></a>
-<span class="sourceLineNo">041</span>    * @param output The output object.  See {@link JsonSerializerSession#getWriter()} for valid class types.<a name="line.41"></a>
-<span class="sourceLineNo">042</span>    * @param op The override properties.<a name="line.42"></a>
-<span class="sourceLineNo">043</span>    * These override any context properties defined in the context.<a name="line.43"></a>
-<span class="sourceLineNo">044</span>    * @param javaMethod The java method that called this serializer, usually the method in a REST servlet.<a name="line.44"></a>
-<span class="sourceLineNo">045</span>    * @param locale The session locale.<a name="line.45"></a>
-<span class="sourceLineNo">046</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the locale defined on the context is used.<a name="line.46"></a>
-<span class="sourceLineNo">047</span>    * @param timeZone The session timezone.<a name="line.47"></a>
-<span class="sourceLineNo">048</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the timezone defined on the context is used.<a name="line.48"></a>
-<span class="sourceLineNo">049</span>    * @param mediaType The session media type (e.g. &lt;js&gt;"application/json"&lt;/js&gt;).<a name="line.49"></a>
-<span class="sourceLineNo">050</span>    */<a name="line.50"></a>
-<span class="sourceLineNo">051</span>   protected UonSerializerSession(UonSerializerContext ctx, ObjectMap op, Object output, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.51"></a>
-<span class="sourceLineNo">052</span>      super(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.52"></a>
-<span class="sourceLineNo">053</span>      if (op == null || op.isEmpty()) {<a name="line.53"></a>
-<span class="sourceLineNo">054</span>         encodeChars = ctx.encodeChars;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>         addBeanTypeProperties = ctx.addBeanTypeProperties;<a name="line.55"></a>
-<span class="sourceLineNo">056</span>      } else {<a name="line.56"></a>
-<span class="sourceLineNo">057</span>         encodeChars = op.getBoolean(UON_encodeChars, ctx.encodeChars);<a name="line.57"></a>
-<span class="sourceLineNo">058</span>         addBeanTypeProperties = op.getBoolean(MSGPACK_addBeanTypeProperties, ctx.addBeanTypeProperties);<a name="line.58"></a>
-<span class="sourceLineNo">059</span>      }<a name="line.59"></a>
-<span class="sourceLineNo">060</span>   }<a name="line.60"></a>
-<span class="sourceLineNo">061</span><a name="line.61"></a>
-<span class="sourceLineNo">062</span>   /**<a name="line.62"></a>
-<span class="sourceLineNo">063</span>    * Returns the {@link UonSerializerContext#UON_encodeChars} setting value for this session.<a name="line.63"></a>
-<span class="sourceLineNo">064</span>    *<a name="line.64"></a>
-<span class="sourceLineNo">065</span>    * @return The {@link UonSerializerContext#UON_encodeChars} setting value for this session.<a name="line.65"></a>
-<span class="sourceLineNo">066</span>    */<a name="line.66"></a>
-<span class="sourceLineNo">067</span>   public final boolean isEncodeChars() {<a name="line.67"></a>
-<span class="sourceLineNo">068</span>      return encodeChars;<a name="line.68"></a>
-<span class="sourceLineNo">069</span>   }<a name="line.69"></a>
-<span class="sourceLineNo">070</span><a name="line.70"></a>
-<span class="sourceLineNo">071</span>   /**<a name="line.71"></a>
-<span class="sourceLineNo">072</span>    * Returns the {@link UonSerializerContext#UON_addBeanTypeProperties} setting value for this session.<a name="line.72"></a>
-<span class="sourceLineNo">073</span>    *<a name="line.73"></a>
-<span class="sourceLineNo">074</span>    * @return The {@link UonSerializerContext#UON_addBeanTypeProperties} setting value for this session.<a name="line.74"></a>
-<span class="sourceLineNo">075</span>    */<a name="line.75"></a>
-<span class="sourceLineNo">076</span>   @Override /* SerializerSession */<a name="line.76"></a>
-<span class="sourceLineNo">077</span>   public final boolean isAddBeanTypeProperties() {<a name="line.77"></a>
-<span class="sourceLineNo">078</span>      return addBeanTypeProperties;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>   }<a name="line.79"></a>
-<span class="sourceLineNo">080</span><a name="line.80"></a>
-<span class="sourceLineNo">081</span>   @Override /* SerializerSession */<a name="line.81"></a>
-<span class="sourceLineNo">082</span>   public final UonWriter getWriter() throws Exception {<a name="line.82"></a>
-<span class="sourceLineNo">083</span>      Object output = getOutput();<a name="line.83"></a>
-<span class="sourceLineNo">084</span>      if (output instanceof UonWriter)<a name="line.84"></a>
-<span class="sourceLineNo">085</span>         return (UonWriter)output;<a name="line.85"></a>
-<span class="sourceLineNo">086</span>      return new UonWriter(this, super.getWriter(), isUseWhitespace(), isEncodeChars(), isTrimStrings(), getRelativeUriBase(), getAbsolutePathUriBase());<a name="line.86"></a>
-<span class="sourceLineNo">087</span>   }<a name="line.87"></a>
-<span class="sourceLineNo">088</span>}<a name="line.88"></a>
+<span class="sourceLineNo">041</span>    * @param encode Override the {@link UonSerializerContext#UON_encodeChars} setting.<a name="line.41"></a>
+<span class="sourceLineNo">042</span>    * @param output The output object.  See {@link JsonSerializerSession#getWriter()} for valid class types.<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    * @param op The override properties.<a name="line.43"></a>
+<span class="sourceLineNo">044</span>    * These override any context properties defined in the context.<a name="line.44"></a>
+<span class="sourceLineNo">045</span>    * @param javaMethod The java method that called this serializer, usually the method in a REST servlet.<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    * @param locale The session locale.<a name="line.46"></a>
+<span class="sourceLineNo">047</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the locale defined on the context is used.<a name="line.47"></a>
+<span class="sourceLineNo">048</span>    * @param timeZone The session timezone.<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the timezone defined on the context is used.<a name="line.49"></a>
+<span class="sourceLineNo">050</span>    * @param mediaType The session media type (e.g. &lt;js&gt;"application/json"&lt;/js&gt;).<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    */<a name="line.51"></a>
+<span class="sourceLineNo">052</span>   protected UonSerializerSession(UonSerializerContext ctx, Boolean encode, ObjectMap op, Object output, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.52"></a>
+<span class="sourceLineNo">053</span>      super(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.53"></a>
+<span class="sourceLineNo">054</span>      if (op == null || op.isEmpty()) {<a name="line.54"></a>
+<span class="sourceLineNo">055</span>         encodeChars = encode == null ? ctx.encodeChars : encode;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>         addBeanTypeProperties = ctx.addBeanTypeProperties;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>      } else {<a name="line.57"></a>
+<span class="sourceLineNo">058</span>         encodeChars = encode == null ? op.getBoolean(UON_encodeChars, ctx.encodeChars) : encode;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>         addBeanTypeProperties = op.getBoolean(MSGPACK_addBeanTypeProperties, ctx.addBeanTypeProperties);<a name="line.59"></a>
+<span class="sourceLineNo">060</span>      }<a name="line.60"></a>
+<span class="sourceLineNo">061</span>   }<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span>   /**<a name="line.63"></a>
+<span class="sourceLineNo">064</span>    * Returns the {@link UonSerializerContext#UON_encodeChars} setting value for this session.<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    *<a name="line.65"></a>
+<span class="sourceLineNo">066</span>    * @return The {@link UonSerializerContext#UON_encodeChars} setting value for this session.<a name="line.66"></a>
+<span class="sourceLineNo">067</span>    */<a name="line.67"></a>
+<span class="sourceLineNo">068</span>   public final boolean isEncodeChars() {<a name="line.68"></a>
+<span class="sourceLineNo">069</span>      return encodeChars;<a name="line.69"></a>
+<span class="sourceLineNo">070</span>   }<a name="line.70"></a>
+<span class="sourceLineNo">071</span><a name="line.71"></a>
+<span class="sourceLineNo">072</span>   /**<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    * Returns the {@link UonSerializerContext#UON_addBeanTypeProperties} setting value for this session.<a name="line.73"></a>
+<span class="sourceLineNo">074</span>    *<a name="line.74"></a>
+<span class="sourceLineNo">075</span>    * @return The {@link UonSerializerContext#UON_addBeanTypeProperties} setting value for this session.<a name="line.75"></a>
+<span class="sourceLineNo">076</span>    */<a name="line.76"></a>
+<span class="sourceLineNo">077</span>   @Override /* SerializerSession */<a name="line.77"></a>
+<span class="sourceLineNo">078</span>   public final boolean isAddBeanTypeProperties() {<a name="line.78"></a>
+<span class="sourceLineNo">079</span>      return addBeanTypeProperties;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>   }<a name="line.80"></a>
+<span class="sourceLineNo">081</span><a name="line.81"></a>
+<span class="sourceLineNo">082</span>   @Override /* SerializerSession */<a name="line.82"></a>
+<span class="sourceLineNo">083</span>   public final UonWriter getWriter() throws Exception {<a name="line.83"></a>
+<span class="sourceLineNo">084</span>      Object output = getOutput();<a name="line.84"></a>
+<span class="sourceLineNo">085</span>      if (output instanceof UonWriter)<a name="line.85"></a>
+<span class="sourceLineNo">086</span>         return (UonWriter)output;<a name="line.86"></a>
+<span class="sourceLineNo">087</span>      return new UonWriter(this, super.getWriter(), isUseWhitespace(), isEncodeChars(), isTrimStrings(), getRelativeUriBase(), getAbsolutePathUriBase());<a name="line.87"></a>
+<span class="sourceLineNo">088</span>   }<a name="line.88"></a>
+<span class="sourceLineNo">089</span>}<a name="line.89"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/uon/UonUtils.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/uon/UonUtils.html b/content/site/apidocs/src-html/org/apache/juneau/uon/UonUtils.html
new file mode 100644
index 0000000..604552b
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/uon/UonUtils.html
@@ -0,0 +1,124 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.uon;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import org.apache.juneau.internal.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Utility methods for the UON and UrlEncoding serializers and parsers.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> */<a name="line.19"></a>
+<span class="sourceLineNo">020</span>public final class UonUtils {<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>   private static final AsciiSet needsQuoteChars = new AsciiSet("),=\n\t\r\b\f ");<a name="line.22"></a>
+<span class="sourceLineNo">023</span>   private static final AsciiSet maybeNeedsQuotesFirstChar = new AsciiSet("),=\n\t\r\b\f tfn+-.#0123456789");<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>   /**<a name="line.25"></a>
+<span class="sourceLineNo">026</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if the specified string needs to be quoted per UON notation.<a name="line.26"></a>
+<span class="sourceLineNo">027</span>    * &lt;p&gt;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>    * For example, strings that start with '(' or '@' or look like boolean or numeric values<a name="line.28"></a>
+<span class="sourceLineNo">029</span>    * need to be quoted.<a name="line.29"></a>
+<span class="sourceLineNo">030</span>    *<a name="line.30"></a>
+<span class="sourceLineNo">031</span>    * @param s The string to test.<a name="line.31"></a>
+<span class="sourceLineNo">032</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified string needs to be quoted per UON notation.<a name="line.32"></a>
+<span class="sourceLineNo">033</span>    */<a name="line.33"></a>
+<span class="sourceLineNo">034</span>   public static final boolean needsQuotes(String s) {<a name="line.34"></a>
+<span class="sourceLineNo">035</span>      char c0 = s.isEmpty() ? 0 : s.charAt(0);<a name="line.35"></a>
+<span class="sourceLineNo">036</span>      return (<a name="line.36"></a>
+<span class="sourceLineNo">037</span>         s.isEmpty()<a name="line.37"></a>
+<span class="sourceLineNo">038</span>         || c0 == '@'<a name="line.38"></a>
+<span class="sourceLineNo">039</span>         || c0 == '('<a name="line.39"></a>
+<span class="sourceLineNo">040</span>         || needsQuoteChars.contains(s)<a name="line.40"></a>
+<span class="sourceLineNo">041</span>         || (<a name="line.41"></a>
+<span class="sourceLineNo">042</span>            maybeNeedsQuotesFirstChar.contains(c0)<a name="line.42"></a>
+<span class="sourceLineNo">043</span>            &amp;&amp; (<a name="line.43"></a>
+<span class="sourceLineNo">044</span>               "true".equals(s)<a name="line.44"></a>
+<span class="sourceLineNo">045</span>               || "false".equals(s)<a name="line.45"></a>
+<span class="sourceLineNo">046</span>               || "null".equals(s)<a name="line.46"></a>
+<span class="sourceLineNo">047</span>               || StringUtils.isNumeric(s)<a name="line.47"></a>
+<span class="sourceLineNo">048</span>            )<a name="line.48"></a>
+<span class="sourceLineNo">049</span>         )<a name="line.49"></a>
+<span class="sourceLineNo">050</span>      );<a name="line.50"></a>
+<span class="sourceLineNo">051</span>   }<a name="line.51"></a>
+<span class="sourceLineNo">052</span>}<a name="line.52"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>


[42/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
Update javadocs.

Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/commit/80ff9b74
Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/80ff9b74
Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/80ff9b74

Branch: refs/heads/asf-site
Commit: 80ff9b74d32958bb7f51ac6bbfe02e0b27d207b4
Parents: 1662e84
Author: JamesBognar <ja...@apache.org>
Authored: Thu Apr 13 16:44:30 2017 -0400
Committer: JamesBognar <ja...@apache.org>
Committed: Thu Apr 13 16:44:30 2017 -0400

----------------------------------------------------------------------
 content/site/apidocs/allclasses-frame.html      |   17 +-
 content/site/apidocs/allclasses-noframe.html    |   17 +-
 content/site/apidocs/constant-values.html       |   19 +
 content/site/apidocs/index-all.html             |  342 +-
 .../apidocs/org/apache/juneau/ClassMeta.html    |  282 +-
 .../juneau/FormattedRuntimeException.html       |    2 +-
 .../apidocs/org/apache/juneau/Visibility.html   |    4 +-
 .../org/apache/juneau/annotation/Produces.html  |    4 +-
 .../apache/juneau/annotation/Remoteable.html    |  167 -
 .../apache/juneau/annotation/ThreadSafe.html    |    4 +-
 .../apache/juneau/annotation/package-frame.html |    1 -
 .../juneau/annotation/package-summary.html      |    8 +-
 .../apache/juneau/annotation/package-tree.html  |    1 -
 .../org/apache/juneau/internal/StringUtils.html |  345 +-
 .../juneau/microservice/package-summary.html    |    2 +-
 .../org/apache/juneau/parser/Parser.html        |   36 +-
 .../juneau/plaintext/package-summary.html       |    4 +-
 .../apache/juneau/plaintext/package-tree.html   |    4 +-
 .../org/apache/juneau/remoteable/Body.html      |  186 +
 .../org/apache/juneau/remoteable/FormData.html  |  247 ++
 .../apache/juneau/remoteable/FormDataIfNE.html  |  223 +
 .../org/apache/juneau/remoteable/Header.html    |  243 ++
 .../apache/juneau/remoteable/HeaderIfNE.html    |  219 +
 .../org/apache/juneau/remoteable/Query.html     |  247 ++
 .../org/apache/juneau/remoteable/QueryIfNE.html |  219 +
 .../apache/juneau/remoteable/RemoteMethod.html  |  269 ++
 .../juneau/remoteable/RemoteMethodArg.html      |  323 ++
 .../apache/juneau/remoteable/Remoteable.html    |  290 ++
 .../juneau/remoteable/RemoteableMeta.html       |  293 ++
 .../remoteable/RemoteableMetadataException.html |  310 ++
 .../juneau/remoteable/RemoteableMethodMeta.html |  410 ++
 .../apache/juneau/remoteable/package-frame.html |   38 +
 .../juneau/remoteable/package-summary.html      |  276 ++
 .../apache/juneau/remoteable/package-tree.html  |  167 +
 .../org/apache/juneau/rest/Redirect.html        |    2 +-
 .../org/apache/juneau/rest/RestCallHandler.html |   26 +-
 .../org/apache/juneau/rest/RestContext.html     |  142 +-
 .../org/apache/juneau/rest/RestException.html   |   47 +-
 .../org/apache/juneau/rest/RestRequest.html     |  189 +-
 .../org/apache/juneau/rest/RestResponse.html    |   46 +-
 .../org/apache/juneau/rest/RestServlet.html     |    6 +-
 .../org/apache/juneau/rest/RestUtils.html       |  126 +-
 .../org/apache/juneau/rest/UrlPathPattern.html  |   20 +-
 .../juneau/rest/annotation/RestMethod.html      |    2 +-
 .../juneau/rest/client/NameValuePairs.html      |   77 +-
 .../org/apache/juneau/rest/client/RestCall.html |  754 +++-
 .../apache/juneau/rest/client/RestClient.html   |  240 +-
 .../juneau/rest/client/RestClientBuilder.html   |  640 +--
 .../juneau/rest/client/RestRequestEntity.html   |    8 +-
 .../org/apache/juneau/rest/client/RetryOn.html  |  110 +-
 .../rest/client/SerializedNameValuePair.html    |   12 +-
 .../juneau/rest/client/package-frame.html       |    5 +-
 .../juneau/rest/client/package-summary.html     |   50 +-
 .../apache/juneau/rest/client/package-tree.html |    5 +-
 .../juneau/rest/labels/ResourceDescription.html |   20 +-
 .../apache/juneau/rest/labels/ResourceLink.html |    6 +-
 .../org/apache/juneau/rest/package-summary.html |    6 +-
 .../org/apache/juneau/rest/package-tree.html    |    4 +-
 .../remoteable/RemoteableServiceProperties.html |    4 +-
 .../juneau/rest/remoteable/package-summary.html |    6 +-
 .../apache/juneau/rest/vars/UrlEncodeVar.html   |   10 +-
 .../juneau/uon/UonSerializer.Encoding.html      |    2 +-
 .../juneau/uon/UonSerializer.Readable.html      |    2 +-
 .../org/apache/juneau/uon/UonSerializer.html    |   17 +-
 .../apache/juneau/uon/UonSerializerSession.html |   19 +-
 .../apidocs/org/apache/juneau/uon/UonUtils.html |  283 ++
 .../org/apache/juneau/uon/UonWriter.html        |   51 +-
 .../org/apache/juneau/uon/package-frame.html    |    1 +
 .../org/apache/juneau/uon/package-summary.html  |    6 +
 .../org/apache/juneau/uon/package-tree.html     |    1 +
 .../juneau/urlencoding/UrlEncodingParser.html   |   64 +-
 .../UrlEncodingSerializer.Expanded.html         |    4 +-
 .../UrlEncodingSerializer.Readable.html         |    4 +-
 .../urlencoding/UrlEncodingSerializer.html      |   22 +-
 .../UrlEncodingSerializerBuilder.html           |  317 +-
 .../UrlEncodingSerializerContext.html           |   68 +-
 .../UrlEncodingSerializerSession.html           |   39 +-
 .../apidocs/org/apache/juneau/utils/AList.html  |   28 +-
 .../apidocs/org/apache/juneau/utils/ASet.html   |   28 +-
 .../org/apache/juneau/xml/package-summary.html  |   18 +-
 content/site/apidocs/overview-frame.html        |    1 +
 content/site/apidocs/overview-summary.html      |  373 +-
 content/site/apidocs/overview-tree.html         |   18 +-
 content/site/apidocs/package-list               |    1 +
 content/site/apidocs/serialized-form.html       |   14 +
 .../src-html/org/apache/juneau/ClassMeta.html   | 3014 +++++++------
 .../apache/juneau/annotation/Remoteable.html    |   99 -
 .../src-html/org/apache/juneau/dto/Link.html    |    2 +-
 .../org/apache/juneau/internal/StringUtils.html | 2317 +++++-----
 .../org/apache/juneau/parser/Parser.html        |  874 ++--
 .../org/apache/juneau/remoteable/Body.html      |  121 +
 .../org/apache/juneau/remoteable/FormData.html  |  132 +
 .../apache/juneau/remoteable/FormDataIfNE.html  |  106 +
 .../org/apache/juneau/remoteable/Header.html    |  128 +
 .../apache/juneau/remoteable/HeaderIfNE.html    |  106 +
 .../org/apache/juneau/remoteable/Query.html     |  132 +
 .../org/apache/juneau/remoteable/QueryIfNE.html |  106 +
 .../apache/juneau/remoteable/RemoteMethod.html  |  135 +
 .../juneau/remoteable/RemoteMethodArg.html      |  113 +
 .../apache/juneau/remoteable/Remoteable.html    |  137 +
 .../juneau/remoteable/RemoteableMeta.html       |  139 +
 .../remoteable/RemoteableMetadataException.html |  128 +
 .../juneau/remoteable/RemoteableMethodMeta.html |  249 ++
 .../org/apache/juneau/rest/Redirect.html        |    4 +-
 .../org/apache/juneau/rest/RestCallHandler.html |  672 +--
 .../org/apache/juneau/rest/RestContext.html     | 2945 +++++++------
 .../org/apache/juneau/rest/RestException.html   |  253 +-
 .../org/apache/juneau/rest/RestRequest.html     | 3995 +++++++++---------
 .../org/apache/juneau/rest/RestResponse.html    |  805 ++--
 .../org/apache/juneau/rest/RestServlet.html     |   67 +-
 .../org/apache/juneau/rest/RestUtils.html       |  391 +-
 .../org/apache/juneau/rest/UrlPathPattern.html  |  341 +-
 .../juneau/rest/annotation/RestMethod.html      |    6 +-
 .../juneau/rest/client/NameValuePairs.html      |   92 +-
 .../org/apache/juneau/rest/client/RestCall.html | 3363 ++++++++-------
 .../apache/juneau/rest/client/RestClient.html   |  982 +++--
 .../juneau/rest/client/RestClientBuilder.html   | 3388 +++++++--------
 .../juneau/rest/client/RestRequestEntity.html   |   66 +-
 .../org/apache/juneau/rest/client/RetryOn.html  |   84 +-
 .../rest/client/SerializedNameValuePair.html    |  113 +-
 .../juneau/rest/labels/ResourceDescription.html |  186 +-
 .../apache/juneau/rest/labels/ResourceLink.html |  104 +-
 .../remoteable/RemoteableServiceProperties.html |    2 +-
 .../apache/juneau/rest/vars/UrlEncodeVar.html   |   62 +-
 .../juneau/uon/UonSerializer.Encoding.html      |  361 +-
 .../juneau/uon/UonSerializer.Readable.html      |  361 +-
 .../org/apache/juneau/uon/UonSerializer.html    |  361 +-
 .../apache/juneau/uon/UonSerializerSession.html |   97 +-
 .../org/apache/juneau/uon/UonUtils.html         |  124 +
 .../org/apache/juneau/uon/UonWriter.html        |  454 +-
 .../juneau/urlencoding/UrlEncodingParser.html   |  168 +-
 .../UrlEncodingSerializer.Expanded.html         |  293 +-
 .../UrlEncodingSerializer.Readable.html         |  293 +-
 .../urlencoding/UrlEncodingSerializer.html      |  293 +-
 .../UrlEncodingSerializerBuilder.html           |  446 +-
 .../UrlEncodingSerializerContext.html           |   76 +-
 .../UrlEncodingSerializerSession.html           |  119 +-
 .../src-html/org/apache/juneau/utils/AList.html |   13 +-
 .../src-html/org/apache/juneau/utils/ASet.html  |   13 +-
 139 files changed, 23069 insertions(+), 15525 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/allclasses-frame.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/allclasses-frame.html b/content/site/apidocs/allclasses-frame.html
index 828673c..db3d392 100644
--- a/content/site/apidocs/allclasses-frame.html
+++ b/content/site/apidocs/allclasses-frame.html
@@ -62,6 +62,7 @@
 <li><a href="org/apache/juneau/transforms/BeanStringSwap.html" title="class in org.apache.juneau.transforms" target="classFrame">BeanStringSwap</a></li>
 <li><a href="org/apache/juneau/dto/html5/Blockquote.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Blockquote</a></li>
 <li><a href="org/apache/juneau/dto/html5/Body.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Body</a></li>
+<li><a href="org/apache/juneau/remoteable/Body.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">Body</a></li>
 <li><a href="org/apache/juneau/rest/annotation/Body.html" title="annotation in org.apache.juneau.rest.annotation" target="classFrame">Body</a></li>
 <li><a href="org/apache/juneau/dto/html5/Br.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Br</a></li>
 <li><a href="org/apache/juneau/dto/html5/Button.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Button</a></li>
@@ -206,7 +207,9 @@
 <li><a href="org/apache/juneau/dto/html5/Form.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Form</a></li>
 <li><a href="org/apache/juneau/FormattedException.html" title="class in org.apache.juneau" target="classFrame">FormattedException</a></li>
 <li><a href="org/apache/juneau/FormattedRuntimeException.html" title="class in org.apache.juneau" target="classFrame">FormattedRuntimeException</a></li>
+<li><a href="org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">FormData</a></li>
 <li><a href="org/apache/juneau/rest/annotation/FormData.html" title="annotation in org.apache.juneau.rest.annotation" target="classFrame">FormData</a></li>
+<li><a href="org/apache/juneau/remoteable/FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">FormDataIfNE</a></li>
 <li><a href="org/apache/juneau/dto/atom/Generator.html" title="class in org.apache.juneau.dto.atom" target="classFrame">Generator</a></li>
 <li><a href="org/apache/juneau/encoders/GzipEncoder.html" title="class in org.apache.juneau.encoders" target="classFrame">GzipEncoder</a></li>
 <li><a href="org/apache/juneau/dto/html5/H1.html" title="class in org.apache.juneau.dto.html5" target="classFrame">H1</a></li>
@@ -220,7 +223,9 @@
 <li><a href="org/apache/juneau/rest/annotation/HasQuery.html" title="annotation in org.apache.juneau.rest.annotation" target="classFrame">HasQuery</a></li>
 <li><a href="org/apache/juneau/dto/html5/Head.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Head</a></li>
 <li><a href="org/apache/juneau/dto/html5/Header.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Header</a></li>
+<li><a href="org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">Header</a></li>
 <li><a href="org/apache/juneau/rest/annotation/Header.html" title="annotation in org.apache.juneau.rest.annotation" target="classFrame">Header</a></li>
+<li><a href="org/apache/juneau/remoteable/HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">HeaderIfNE</a></li>
 <li><a href="org/apache/juneau/dto/swagger/HeaderInfo.html" title="class in org.apache.juneau.dto.swagger" target="classFrame">HeaderInfo</a></li>
 <li><a href="org/apache/juneau/dto/html5/Hr.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Hr</a></li>
 <li><a href="org/apache/juneau/dto/html5/Html.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Html</a></li>
@@ -408,8 +413,10 @@
 <li><a href="org/apache/juneau/PropertyNamerDefault.html" title="class in org.apache.juneau" target="classFrame">PropertyNamerDefault</a></li>
 <li><a href="org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau" target="classFrame">PropertyStore</a></li>
 <li><a href="org/apache/juneau/dto/html5/Q.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Q</a></li>
+<li><a href="org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">Query</a></li>
 <li><a href="org/apache/juneau/rest/annotation/Query.html" title="annotation in org.apache.juneau.rest.annotation" target="classFrame">Query</a></li>
 <li><a href="org/apache/juneau/rest/converters/Queryable.html" title="class in org.apache.juneau.rest.converters" target="classFrame">Queryable</a></li>
+<li><a href="org/apache/juneau/remoteable/QueryIfNE.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">QueryIfNE</a></li>
 <li><a href="org/apache/juneau/dto/html5/Rb.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Rb</a></li>
 <li><a href="org/apache/juneau/jena/annotation/Rdf.html" title="annotation in org.apache.juneau.jena.annotation" target="classFrame">Rdf</a></li>
 <li><a href="org/apache/juneau/jena/RdfBeanMeta.html" title="class in org.apache.juneau.jena" target="classFrame">RdfBeanMeta</a></li>
@@ -449,9 +456,14 @@
 <li><a href="org/apache/juneau/rest/Redirect.html" title="class in org.apache.juneau.rest" target="classFrame">Redirect</a></li>
 <li><a href="org/apache/juneau/rest/response/RedirectHandler.html" title="class in org.apache.juneau.rest.response" target="classFrame">RedirectHandler</a></li>
 <li><a href="org/apache/juneau/internal/ReflectionUtils.html" title="class in org.apache.juneau.internal" target="classFrame">ReflectionUtils</a></li>
-<li><a href="org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation" target="classFrame">Remoteable</a></li>
+<li><a href="org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">Remoteable</a></li>
+<li><a href="org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable" target="classFrame">RemoteableMeta</a></li>
+<li><a href="org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable" target="classFrame">RemoteableMetadataException</a></li>
+<li><a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable" target="classFrame">RemoteableMethodMeta</a></li>
 <li><a href="org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html" title="class in org.apache.juneau.rest.remoteable" target="classFrame">RemoteableServiceProperties</a></li>
 <li><a href="org/apache/juneau/rest/remoteable/RemoteableServlet.html" title="class in org.apache.juneau.rest.remoteable" target="classFrame">RemoteableServlet</a></li>
+<li><a href="org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">RemoteMethod</a></li>
+<li><a href="org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable" target="classFrame">RemoteMethodArg</a></li>
 <li><a href="org/apache/juneau/rest/vars/RequestVar.html" title="class in org.apache.juneau.rest.vars" target="classFrame">RequestVar</a></li>
 <li><a href="org/apache/juneau/microservice/Resource.html" title="class in org.apache.juneau.microservice" target="classFrame">Resource</a></li>
 <li><a href="org/apache/juneau/rest/labels/ResourceDescription.html" title="class in org.apache.juneau.rest.labels" target="classFrame">ResourceDescription</a></li>
@@ -496,7 +508,7 @@
 <li><a href="org/apache/juneau/rest/jena/RestServletJenaGroupDefault.html" title="class in org.apache.juneau.rest.jena" target="classFrame">RestServletJenaGroupDefault</a></li>
 <li><a href="org/apache/juneau/rest/RestUtils.html" title="class in org.apache.juneau.rest" target="classFrame">RestUtils</a></li>
 <li><a href="org/apache/juneau/dto/ResultSetList.html" title="class in org.apache.juneau.dto" target="classFrame">ResultSetList</a></li>
-<li><a href="org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client" target="classFrame"><span class="interfaceName">RetryOn</span></a></li>
+<li><a href="org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client" target="classFrame">RetryOn</a></li>
 <li><a href="org/apache/juneau/dto/html5/Rp.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Rp</a></li>
 <li><a href="org/apache/juneau/dto/html5/Rt.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Rt</a></li>
 <li><a href="org/apache/juneau/dto/html5/Rtc.html" title="class in org.apache.juneau.dto.html5" target="classFrame">Rtc</a></li>
@@ -602,6 +614,7 @@
 <li><a href="org/apache/juneau/uon/UonSerializerBuilder.html" title="class in org.apache.juneau.uon" target="classFrame">UonSerializerBuilder</a></li>
 <li><a href="org/apache/juneau/uon/UonSerializerContext.html" title="class in org.apache.juneau.uon" target="classFrame">UonSerializerContext</a></li>
 <li><a href="org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon" target="classFrame">UonSerializerSession</a></li>
+<li><a href="org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon" target="classFrame">UonUtils</a></li>
 <li><a href="org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon" target="classFrame">UonWriter</a></li>
 <li><a href="org/apache/juneau/annotation/URI.html" title="annotation in org.apache.juneau.annotation" target="classFrame">URI</a></li>
 <li><a href="org/apache/juneau/rest/matchers/UrlEncodedFormMatcher.html" title="class in org.apache.juneau.rest.matchers" target="classFrame">UrlEncodedFormMatcher</a></li>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/allclasses-noframe.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/allclasses-noframe.html b/content/site/apidocs/allclasses-noframe.html
index 769d925..c4cf8af 100644
--- a/content/site/apidocs/allclasses-noframe.html
+++ b/content/site/apidocs/allclasses-noframe.html
@@ -62,6 +62,7 @@
 <li><a href="org/apache/juneau/transforms/BeanStringSwap.html" title="class in org.apache.juneau.transforms">BeanStringSwap</a></li>
 <li><a href="org/apache/juneau/dto/html5/Blockquote.html" title="class in org.apache.juneau.dto.html5">Blockquote</a></li>
 <li><a href="org/apache/juneau/dto/html5/Body.html" title="class in org.apache.juneau.dto.html5">Body</a></li>
+<li><a href="org/apache/juneau/remoteable/Body.html" title="annotation in org.apache.juneau.remoteable">Body</a></li>
 <li><a href="org/apache/juneau/rest/annotation/Body.html" title="annotation in org.apache.juneau.rest.annotation">Body</a></li>
 <li><a href="org/apache/juneau/dto/html5/Br.html" title="class in org.apache.juneau.dto.html5">Br</a></li>
 <li><a href="org/apache/juneau/dto/html5/Button.html" title="class in org.apache.juneau.dto.html5">Button</a></li>
@@ -206,7 +207,9 @@
 <li><a href="org/apache/juneau/dto/html5/Form.html" title="class in org.apache.juneau.dto.html5">Form</a></li>
 <li><a href="org/apache/juneau/FormattedException.html" title="class in org.apache.juneau">FormattedException</a></li>
 <li><a href="org/apache/juneau/FormattedRuntimeException.html" title="class in org.apache.juneau">FormattedRuntimeException</a></li>
+<li><a href="org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable">FormData</a></li>
 <li><a href="org/apache/juneau/rest/annotation/FormData.html" title="annotation in org.apache.juneau.rest.annotation">FormData</a></li>
+<li><a href="org/apache/juneau/remoteable/FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable">FormDataIfNE</a></li>
 <li><a href="org/apache/juneau/dto/atom/Generator.html" title="class in org.apache.juneau.dto.atom">Generator</a></li>
 <li><a href="org/apache/juneau/encoders/GzipEncoder.html" title="class in org.apache.juneau.encoders">GzipEncoder</a></li>
 <li><a href="org/apache/juneau/dto/html5/H1.html" title="class in org.apache.juneau.dto.html5">H1</a></li>
@@ -220,7 +223,9 @@
 <li><a href="org/apache/juneau/rest/annotation/HasQuery.html" title="annotation in org.apache.juneau.rest.annotation">HasQuery</a></li>
 <li><a href="org/apache/juneau/dto/html5/Head.html" title="class in org.apache.juneau.dto.html5">Head</a></li>
 <li><a href="org/apache/juneau/dto/html5/Header.html" title="class in org.apache.juneau.dto.html5">Header</a></li>
+<li><a href="org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable">Header</a></li>
 <li><a href="org/apache/juneau/rest/annotation/Header.html" title="annotation in org.apache.juneau.rest.annotation">Header</a></li>
+<li><a href="org/apache/juneau/remoteable/HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable">HeaderIfNE</a></li>
 <li><a href="org/apache/juneau/dto/swagger/HeaderInfo.html" title="class in org.apache.juneau.dto.swagger">HeaderInfo</a></li>
 <li><a href="org/apache/juneau/dto/html5/Hr.html" title="class in org.apache.juneau.dto.html5">Hr</a></li>
 <li><a href="org/apache/juneau/dto/html5/Html.html" title="class in org.apache.juneau.dto.html5">Html</a></li>
@@ -408,8 +413,10 @@
 <li><a href="org/apache/juneau/PropertyNamerDefault.html" title="class in org.apache.juneau">PropertyNamerDefault</a></li>
 <li><a href="org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a></li>
 <li><a href="org/apache/juneau/dto/html5/Q.html" title="class in org.apache.juneau.dto.html5">Q</a></li>
+<li><a href="org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable">Query</a></li>
 <li><a href="org/apache/juneau/rest/annotation/Query.html" title="annotation in org.apache.juneau.rest.annotation">Query</a></li>
 <li><a href="org/apache/juneau/rest/converters/Queryable.html" title="class in org.apache.juneau.rest.converters">Queryable</a></li>
+<li><a href="org/apache/juneau/remoteable/QueryIfNE.html" title="annotation in org.apache.juneau.remoteable">QueryIfNE</a></li>
 <li><a href="org/apache/juneau/dto/html5/Rb.html" title="class in org.apache.juneau.dto.html5">Rb</a></li>
 <li><a href="org/apache/juneau/jena/annotation/Rdf.html" title="annotation in org.apache.juneau.jena.annotation">Rdf</a></li>
 <li><a href="org/apache/juneau/jena/RdfBeanMeta.html" title="class in org.apache.juneau.jena">RdfBeanMeta</a></li>
@@ -449,9 +456,14 @@
 <li><a href="org/apache/juneau/rest/Redirect.html" title="class in org.apache.juneau.rest">Redirect</a></li>
 <li><a href="org/apache/juneau/rest/response/RedirectHandler.html" title="class in org.apache.juneau.rest.response">RedirectHandler</a></li>
 <li><a href="org/apache/juneau/internal/ReflectionUtils.html" title="class in org.apache.juneau.internal">ReflectionUtils</a></li>
-<li><a href="org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation">Remoteable</a></li>
+<li><a href="org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable">Remoteable</a></li>
+<li><a href="org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMeta</a></li>
+<li><a href="org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable">RemoteableMetadataException</a></li>
+<li><a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMethodMeta</a></li>
 <li><a href="org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html" title="class in org.apache.juneau.rest.remoteable">RemoteableServiceProperties</a></li>
 <li><a href="org/apache/juneau/rest/remoteable/RemoteableServlet.html" title="class in org.apache.juneau.rest.remoteable">RemoteableServlet</a></li>
+<li><a href="org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable">RemoteMethod</a></li>
+<li><a href="org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable">RemoteMethodArg</a></li>
 <li><a href="org/apache/juneau/rest/vars/RequestVar.html" title="class in org.apache.juneau.rest.vars">RequestVar</a></li>
 <li><a href="org/apache/juneau/microservice/Resource.html" title="class in org.apache.juneau.microservice">Resource</a></li>
 <li><a href="org/apache/juneau/rest/labels/ResourceDescription.html" title="class in org.apache.juneau.rest.labels">ResourceDescription</a></li>
@@ -496,7 +508,7 @@
 <li><a href="org/apache/juneau/rest/jena/RestServletJenaGroupDefault.html" title="class in org.apache.juneau.rest.jena">RestServletJenaGroupDefault</a></li>
 <li><a href="org/apache/juneau/rest/RestUtils.html" title="class in org.apache.juneau.rest">RestUtils</a></li>
 <li><a href="org/apache/juneau/dto/ResultSetList.html" title="class in org.apache.juneau.dto">ResultSetList</a></li>
-<li><a href="org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client"><span class="interfaceName">RetryOn</span></a></li>
+<li><a href="org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a></li>
 <li><a href="org/apache/juneau/dto/html5/Rp.html" title="class in org.apache.juneau.dto.html5">Rp</a></li>
 <li><a href="org/apache/juneau/dto/html5/Rt.html" title="class in org.apache.juneau.dto.html5">Rt</a></li>
 <li><a href="org/apache/juneau/dto/html5/Rtc.html" title="class in org.apache.juneau.dto.html5">Rtc</a></li>
@@ -602,6 +614,7 @@
 <li><a href="org/apache/juneau/uon/UonSerializerBuilder.html" title="class in org.apache.juneau.uon">UonSerializerBuilder</a></li>
 <li><a href="org/apache/juneau/uon/UonSerializerContext.html" title="class in org.apache.juneau.uon">UonSerializerContext</a></li>
 <li><a href="org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon">UonSerializerSession</a></li>
+<li><a href="org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon">UonUtils</a></li>
 <li><a href="org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a></li>
 <li><a href="org/apache/juneau/annotation/URI.html" title="annotation in org.apache.juneau.annotation">URI</a></li>
 <li><a href="org/apache/juneau/rest/matchers/UrlEncodedFormMatcher.html" title="class in org.apache.juneau.rest.matchers">UrlEncodedFormMatcher</a></li>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/constant-values.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/constant-values.html b/content/site/apidocs/constant-values.html
index 24b2440..8e09c30 100644
--- a/content/site/apidocs/constant-values.html
+++ b/content/site/apidocs/constant-values.html
@@ -1651,6 +1651,25 @@
 </tbody>
 </table>
 </li>
+<li class="blockList">
+<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
+<caption><span>org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerContext</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th scope="col">Constant Field</th>
+<th class="colLast" scope="col">Value</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a name="org.apache.juneau.urlencoding.UrlEncodingSerializerContext.URLENC_paramFormat">
+<!--   -->
+</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td><code><a href="org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#URLENC_paramFormat">URLENC_paramFormat</a></code></td>
+<td class="colLast"><code>"UrlEncodingSerializer.paramFormat"</code></td>
+</tr>
+</tbody>
+</table>
+</li>
 </ul>
 <ul class="blockList">
 <li class="blockList">


[20/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/parser/Parser.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/parser/Parser.html b/content/site/apidocs/src-html/org/apache/juneau/parser/Parser.html
index 81343cb..ddad2f0 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/parser/Parser.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/parser/Parser.html
@@ -206,449 +206,451 @@
 <span class="sourceLineNo">198</span>    */<a name="line.198"></a>
 <span class="sourceLineNo">199</span>   public final &lt;T&gt; T parseSession(ParserSession session, ClassMeta&lt;T&gt; type) throws ParseException {<a name="line.199"></a>
 <span class="sourceLineNo">200</span>      try {<a name="line.200"></a>
-<span class="sourceLineNo">201</span>         return doParse(session, type);<a name="line.201"></a>
-<span class="sourceLineNo">202</span>      } catch (ParseException e) {<a name="line.202"></a>
-<span class="sourceLineNo">203</span>         throw e;<a name="line.203"></a>
-<span class="sourceLineNo">204</span>      } catch (StackOverflowError e) {<a name="line.204"></a>
-<span class="sourceLineNo">205</span>         throw new ParseException(session, "Depth too deep.  Stack overflow occurred.");<a name="line.205"></a>
-<span class="sourceLineNo">206</span>      } catch (IOException e) {<a name="line.206"></a>
-<span class="sourceLineNo">207</span>         throw new ParseException(session, "I/O exception occurred.  exception={0}, message={1}.", e.getClass().getSimpleName(), e.getLocalizedMessage()).initCause(e);<a name="line.207"></a>
-<span class="sourceLineNo">208</span>      } catch (Exception e) {<a name="line.208"></a>
-<span class="sourceLineNo">209</span>         throw new ParseException(session, "Exception occurred.  exception={0}, message={1}.", e.getClass().getSimpleName(), e.getLocalizedMessage()).initCause(e);<a name="line.209"></a>
-<span class="sourceLineNo">210</span>      } finally {<a name="line.210"></a>
-<span class="sourceLineNo">211</span>         session.close();<a name="line.211"></a>
-<span class="sourceLineNo">212</span>      }<a name="line.212"></a>
-<span class="sourceLineNo">213</span>   }<a name="line.213"></a>
-<span class="sourceLineNo">214</span><a name="line.214"></a>
-<span class="sourceLineNo">215</span>   /**<a name="line.215"></a>
-<span class="sourceLineNo">216</span>    * Parses input into the specified object type.<a name="line.216"></a>
-<span class="sourceLineNo">217</span>    * The type can be a simple type (e.g. beans, strings, numbers) or parameterized type (collections/maps).<a name="line.217"></a>
-<span class="sourceLineNo">218</span>    *<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.219"></a>
-<span class="sourceLineNo">220</span>    * &lt;p class='bcode'&gt;<a name="line.220"></a>
-<span class="sourceLineNo">221</span>    *    ReaderParser p = JsonParser.&lt;jsf&gt;DEFAULT&lt;/jsf&gt;;<a name="line.221"></a>
-<span class="sourceLineNo">222</span>    *<a name="line.222"></a>
-<span class="sourceLineNo">223</span>    *    &lt;jc&gt;// Parse into a linked-list of strings.&lt;/jc&gt;<a name="line.223"></a>
-<span class="sourceLineNo">224</span>    *    List l = p.parse(json, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    *<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    *    &lt;jc&gt;// Parse into a linked-list of beans.&lt;/jc&gt;<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    *    List l = p.parse(json, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    *<a name="line.228"></a>
-<span class="sourceLineNo">229</span>    *    &lt;jc&gt;// Parse into a linked-list of linked-lists of strings.&lt;/jc&gt;<a name="line.229"></a>
-<span class="sourceLineNo">230</span>    *    List l = p.parse(json, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    *<a name="line.231"></a>
-<span class="sourceLineNo">232</span>    *    &lt;jc&gt;// Parse into a map of string keys/values.&lt;/jc&gt;<a name="line.232"></a>
-<span class="sourceLineNo">233</span>    *    Map m = p.parse(json, TreeMap.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.233"></a>
-<span class="sourceLineNo">234</span>    *<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    *    &lt;jc&gt;// Parse into a map containing string keys and values of lists containing beans.&lt;/jc&gt;<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    *    Map m = p.parse(json, TreeMap.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;, List.&lt;jk&gt;class&lt;/jk&gt;, MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    * &lt;/p&gt;<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    * &lt;p&gt;<a name="line.238"></a>
-<span class="sourceLineNo">239</span>    * &lt;code&gt;Collection&lt;/code&gt; classes are assumed to be followed by zero or one objects indicating the element type.<a name="line.239"></a>
+<span class="sourceLineNo">201</span>         if (type.isVoid())<a name="line.201"></a>
+<span class="sourceLineNo">202</span>            return null;<a name="line.202"></a>
+<span class="sourceLineNo">203</span>         return doParse(session, type);<a name="line.203"></a>
+<span class="sourceLineNo">204</span>      } catch (ParseException e) {<a name="line.204"></a>
+<span class="sourceLineNo">205</span>         throw e;<a name="line.205"></a>
+<span class="sourceLineNo">206</span>      } catch (StackOverflowError e) {<a name="line.206"></a>
+<span class="sourceLineNo">207</span>         throw new ParseException(session, "Depth too deep.  Stack overflow occurred.");<a name="line.207"></a>
+<span class="sourceLineNo">208</span>      } catch (IOException e) {<a name="line.208"></a>
+<span class="sourceLineNo">209</span>         throw new ParseException(session, "I/O exception occurred.  exception={0}, message={1}.", e.getClass().getSimpleName(), e.getLocalizedMessage()).initCause(e);<a name="line.209"></a>
+<span class="sourceLineNo">210</span>      } catch (Exception e) {<a name="line.210"></a>
+<span class="sourceLineNo">211</span>         throw new ParseException(session, "Exception occurred.  exception={0}, message={1}.", e.getClass().getSimpleName(), e.getLocalizedMessage()).initCause(e);<a name="line.211"></a>
+<span class="sourceLineNo">212</span>      } finally {<a name="line.212"></a>
+<span class="sourceLineNo">213</span>         session.close();<a name="line.213"></a>
+<span class="sourceLineNo">214</span>      }<a name="line.214"></a>
+<span class="sourceLineNo">215</span>   }<a name="line.215"></a>
+<span class="sourceLineNo">216</span><a name="line.216"></a>
+<span class="sourceLineNo">217</span>   /**<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    * Parses input into the specified object type.<a name="line.218"></a>
+<span class="sourceLineNo">219</span>    * The type can be a simple type (e.g. beans, strings, numbers) or parameterized type (collections/maps).<a name="line.219"></a>
+<span class="sourceLineNo">220</span>    *<a name="line.220"></a>
+<span class="sourceLineNo">221</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.221"></a>
+<span class="sourceLineNo">222</span>    * &lt;p class='bcode'&gt;<a name="line.222"></a>
+<span class="sourceLineNo">223</span>    *    ReaderParser p = JsonParser.&lt;jsf&gt;DEFAULT&lt;/jsf&gt;;<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    *<a name="line.224"></a>
+<span class="sourceLineNo">225</span>    *    &lt;jc&gt;// Parse into a linked-list of strings.&lt;/jc&gt;<a name="line.225"></a>
+<span class="sourceLineNo">226</span>    *    List l = p.parse(json, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.226"></a>
+<span class="sourceLineNo">227</span>    *<a name="line.227"></a>
+<span class="sourceLineNo">228</span>    *    &lt;jc&gt;// Parse into a linked-list of beans.&lt;/jc&gt;<a name="line.228"></a>
+<span class="sourceLineNo">229</span>    *    List l = p.parse(json, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.229"></a>
+<span class="sourceLineNo">230</span>    *<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    *    &lt;jc&gt;// Parse into a linked-list of linked-lists of strings.&lt;/jc&gt;<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    *    List l = p.parse(json, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    *<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    *    &lt;jc&gt;// Parse into a map of string keys/values.&lt;/jc&gt;<a name="line.234"></a>
+<span class="sourceLineNo">235</span>    *    Map m = p.parse(json, TreeMap.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.235"></a>
+<span class="sourceLineNo">236</span>    *<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    *    &lt;jc&gt;// Parse into a map containing string keys and values of lists containing beans.&lt;/jc&gt;<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    *    Map m = p.parse(json, TreeMap.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;, List.&lt;jk&gt;class&lt;/jk&gt;, MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.238"></a>
+<span class="sourceLineNo">239</span>    * &lt;/p&gt;<a name="line.239"></a>
 <span class="sourceLineNo">240</span>    * &lt;p&gt;<a name="line.240"></a>
-<span class="sourceLineNo">241</span>    * &lt;code&gt;Map&lt;/code&gt; classes are assumed to be followed by zero or two meta objects indicating the key and value types.<a name="line.241"></a>
+<span class="sourceLineNo">241</span>    * &lt;code&gt;Collection&lt;/code&gt; classes are assumed to be followed by zero or one objects indicating the element type.<a name="line.241"></a>
 <span class="sourceLineNo">242</span>    * &lt;p&gt;<a name="line.242"></a>
-<span class="sourceLineNo">243</span>    * The array can be arbitrarily long to indicate arbitrarily complex data structures.<a name="line.243"></a>
+<span class="sourceLineNo">243</span>    * &lt;code&gt;Map&lt;/code&gt; classes are assumed to be followed by zero or two meta objects indicating the key and value types.<a name="line.243"></a>
 <span class="sourceLineNo">244</span>    * &lt;p&gt;<a name="line.244"></a>
-<span class="sourceLineNo">245</span>    * &lt;h5 class='section'&gt;Notes:&lt;/h5&gt;<a name="line.245"></a>
-<span class="sourceLineNo">246</span>    * &lt;ul&gt;<a name="line.246"></a>
-<span class="sourceLineNo">247</span>    *    &lt;li&gt;Use the {@link #parse(Object, Class)} method instead if you don't need a parameterized map/collection.<a name="line.247"></a>
-<span class="sourceLineNo">248</span>    * &lt;/ul&gt;<a name="line.248"></a>
-<span class="sourceLineNo">249</span>    *<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    * @param &lt;T&gt; The class type of the object to create.<a name="line.250"></a>
-<span class="sourceLineNo">251</span>    * @param input The input.<a name="line.251"></a>
-<span class="sourceLineNo">252</span>    *    &lt;br&gt;Character-based parsers can handle the following input class types:<a name="line.252"></a>
-<span class="sourceLineNo">253</span>    *    &lt;ul&gt;<a name="line.253"></a>
-<span class="sourceLineNo">254</span>    *       &lt;li&gt;&lt;jk&gt;null&lt;/jk&gt;<a name="line.254"></a>
-<span class="sourceLineNo">255</span>    *       &lt;li&gt;{@link Reader}<a name="line.255"></a>
-<span class="sourceLineNo">256</span>    *       &lt;li&gt;{@link CharSequence}<a name="line.256"></a>
-<span class="sourceLineNo">257</span>    *       &lt;li&gt;{@link InputStream} containing UTF-8 encoded text (or charset defined by {@link ParserContext#PARSER_inputStreamCharset} property value).<a name="line.257"></a>
-<span class="sourceLineNo">258</span>    *       &lt;li&gt;&lt;code&gt;&lt;jk&gt;byte&lt;/jk&gt;[]&lt;/code&gt; containing UTF-8 encoded text (or charset defined by {@link ParserContext#PARSER_inputStreamCharset} property value).<a name="line.258"></a>
-<span class="sourceLineNo">259</span>    *       &lt;li&gt;{@link File} containing system encoded text (or charset defined by {@link ParserContext#PARSER_fileCharset} property value).<a name="line.259"></a>
-<span class="sourceLineNo">260</span>    *    &lt;/ul&gt;<a name="line.260"></a>
-<span class="sourceLineNo">261</span>    *    &lt;br&gt;Stream-based parsers can handle the following input class types:<a name="line.261"></a>
-<span class="sourceLineNo">262</span>    *    &lt;ul&gt;<a name="line.262"></a>
-<span class="sourceLineNo">263</span>    *       &lt;li&gt;&lt;jk&gt;null&lt;/jk&gt;<a name="line.263"></a>
-<span class="sourceLineNo">264</span>    *       &lt;li&gt;{@link InputStream}<a name="line.264"></a>
-<span class="sourceLineNo">265</span>    *       &lt;li&gt;&lt;code&gt;&lt;jk&gt;byte&lt;/jk&gt;[]&lt;/code&gt;<a name="line.265"></a>
-<span class="sourceLineNo">266</span>    *       &lt;li&gt;{@link File}<a name="line.266"></a>
-<span class="sourceLineNo">267</span>    *    &lt;/ul&gt;<a name="line.267"></a>
-<span class="sourceLineNo">268</span>    * @param type The object type to create.<a name="line.268"></a>
-<span class="sourceLineNo">269</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.269"></a>
-<span class="sourceLineNo">270</span>    * @param args The type arguments of the class if it's a collection or map.<a name="line.270"></a>
+<span class="sourceLineNo">245</span>    * The array can be arbitrarily long to indicate arbitrarily complex data structures.<a name="line.245"></a>
+<span class="sourceLineNo">246</span>    * &lt;p&gt;<a name="line.246"></a>
+<span class="sourceLineNo">247</span>    * &lt;h5 class='section'&gt;Notes:&lt;/h5&gt;<a name="line.247"></a>
+<span class="sourceLineNo">248</span>    * &lt;ul&gt;<a name="line.248"></a>
+<span class="sourceLineNo">249</span>    *    &lt;li&gt;Use the {@link #parse(Object, Class)} method instead if you don't need a parameterized map/collection.<a name="line.249"></a>
+<span class="sourceLineNo">250</span>    * &lt;/ul&gt;<a name="line.250"></a>
+<span class="sourceLineNo">251</span>    *<a name="line.251"></a>
+<span class="sourceLineNo">252</span>    * @param &lt;T&gt; The class type of the object to create.<a name="line.252"></a>
+<span class="sourceLineNo">253</span>    * @param input The input.<a name="line.253"></a>
+<span class="sourceLineNo">254</span>    *    &lt;br&gt;Character-based parsers can handle the following input class types:<a name="line.254"></a>
+<span class="sourceLineNo">255</span>    *    &lt;ul&gt;<a name="line.255"></a>
+<span class="sourceLineNo">256</span>    *       &lt;li&gt;&lt;jk&gt;null&lt;/jk&gt;<a name="line.256"></a>
+<span class="sourceLineNo">257</span>    *       &lt;li&gt;{@link Reader}<a name="line.257"></a>
+<span class="sourceLineNo">258</span>    *       &lt;li&gt;{@link CharSequence}<a name="line.258"></a>
+<span class="sourceLineNo">259</span>    *       &lt;li&gt;{@link InputStream} containing UTF-8 encoded text (or charset defined by {@link ParserContext#PARSER_inputStreamCharset} property value).<a name="line.259"></a>
+<span class="sourceLineNo">260</span>    *       &lt;li&gt;&lt;code&gt;&lt;jk&gt;byte&lt;/jk&gt;[]&lt;/code&gt; containing UTF-8 encoded text (or charset defined by {@link ParserContext#PARSER_inputStreamCharset} property value).<a name="line.260"></a>
+<span class="sourceLineNo">261</span>    *       &lt;li&gt;{@link File} containing system encoded text (or charset defined by {@link ParserContext#PARSER_fileCharset} property value).<a name="line.261"></a>
+<span class="sourceLineNo">262</span>    *    &lt;/ul&gt;<a name="line.262"></a>
+<span class="sourceLineNo">263</span>    *    &lt;br&gt;Stream-based parsers can handle the following input class types:<a name="line.263"></a>
+<span class="sourceLineNo">264</span>    *    &lt;ul&gt;<a name="line.264"></a>
+<span class="sourceLineNo">265</span>    *       &lt;li&gt;&lt;jk&gt;null&lt;/jk&gt;<a name="line.265"></a>
+<span class="sourceLineNo">266</span>    *       &lt;li&gt;{@link InputStream}<a name="line.266"></a>
+<span class="sourceLineNo">267</span>    *       &lt;li&gt;&lt;code&gt;&lt;jk&gt;byte&lt;/jk&gt;[]&lt;/code&gt;<a name="line.267"></a>
+<span class="sourceLineNo">268</span>    *       &lt;li&gt;{@link File}<a name="line.268"></a>
+<span class="sourceLineNo">269</span>    *    &lt;/ul&gt;<a name="line.269"></a>
+<span class="sourceLineNo">270</span>    * @param type The object type to create.<a name="line.270"></a>
 <span class="sourceLineNo">271</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.271"></a>
-<span class="sourceLineNo">272</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.272"></a>
-<span class="sourceLineNo">273</span>    * @return The parsed object.<a name="line.273"></a>
-<span class="sourceLineNo">274</span>    * @throws ParseException If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.274"></a>
-<span class="sourceLineNo">275</span>    * @see BeanSession#getClassMeta(Type,Type...) for argument syntax for maps and collections.<a name="line.275"></a>
-<span class="sourceLineNo">276</span>    */<a name="line.276"></a>
-<span class="sourceLineNo">277</span>   @SuppressWarnings("unchecked")<a name="line.277"></a>
-<span class="sourceLineNo">278</span>   public final &lt;T&gt; T parse(Object input, Type type, Type...args) throws ParseException {<a name="line.278"></a>
-<span class="sourceLineNo">279</span>      ParserSession session = createSession(input);<a name="line.279"></a>
-<span class="sourceLineNo">280</span>      return (T)parseSession(session, session.getClassMeta(type, args));<a name="line.280"></a>
-<span class="sourceLineNo">281</span>   }<a name="line.281"></a>
-<span class="sourceLineNo">282</span><a name="line.282"></a>
-<span class="sourceLineNo">283</span>   /**<a name="line.283"></a>
-<span class="sourceLineNo">284</span>    * Same as {@link #parse(Object, Type, Type...)} except optimized for a non-parameterized class.<a name="line.284"></a>
-<span class="sourceLineNo">285</span>    * &lt;p&gt;<a name="line.285"></a>
-<span class="sourceLineNo">286</span>    * This is the preferred parse method for simple types since you don't need to cast the results.<a name="line.286"></a>
-<span class="sourceLineNo">287</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.287"></a>
-<span class="sourceLineNo">288</span>    * &lt;p class='bcode'&gt;<a name="line.288"></a>
-<span class="sourceLineNo">289</span>    *    ReaderParser p = JsonParser.&lt;jsf&gt;DEFAULT&lt;/jsf&gt;;<a name="line.289"></a>
-<span class="sourceLineNo">290</span>    *<a name="line.290"></a>
-<span class="sourceLineNo">291</span>    *    &lt;jc&gt;// Parse into a string.&lt;/jc&gt;<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    *    String s = p.parse(json, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    *<a name="line.293"></a>
-<span class="sourceLineNo">294</span>    *    &lt;jc&gt;// Parse into a bean.&lt;/jc&gt;<a name="line.294"></a>
-<span class="sourceLineNo">295</span>    *    MyBean b = p.parse(json, MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.295"></a>
-<span class="sourceLineNo">296</span>    *<a name="line.296"></a>
-<span class="sourceLineNo">297</span>    *    &lt;jc&gt;// Parse into a bean array.&lt;/jc&gt;<a name="line.297"></a>
-<span class="sourceLineNo">298</span>    *    MyBean[] ba = p.parse(json, MyBean[].&lt;jk&gt;class&lt;/jk&gt;);<a name="line.298"></a>
-<span class="sourceLineNo">299</span>    *<a name="line.299"></a>
-<span class="sourceLineNo">300</span>    *    &lt;jc&gt;// Parse into a linked-list of objects.&lt;/jc&gt;<a name="line.300"></a>
-<span class="sourceLineNo">301</span>    *    List l = p.parse(json, LinkedList.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.301"></a>
-<span class="sourceLineNo">302</span>    *<a name="line.302"></a>
-<span class="sourceLineNo">303</span>    *    &lt;jc&gt;// Parse into a map of object keys/values.&lt;/jc&gt;<a name="line.303"></a>
-<span class="sourceLineNo">304</span>    *    Map m = p.parse(json, TreeMap.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.304"></a>
-<span class="sourceLineNo">305</span>    * &lt;/p&gt;<a name="line.305"></a>
-<span class="sourceLineNo">306</span>    *<a name="line.306"></a>
-<span class="sourceLineNo">307</span>    * @param &lt;T&gt; The class type of the object being created.<a name="line.307"></a>
-<span class="sourceLineNo">308</span>    * @param input The input.<a name="line.308"></a>
-<span class="sourceLineNo">309</span>    * See {@link #parse(Object, Type, Type...)} for details.<a name="line.309"></a>
-<span class="sourceLineNo">310</span>    * @param type The object type to create.<a name="line.310"></a>
-<span class="sourceLineNo">311</span>    * @return The parsed object.<a name="line.311"></a>
-<span class="sourceLineNo">312</span>    * @throws ParseException If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.312"></a>
-<span class="sourceLineNo">313</span>    */<a name="line.313"></a>
-<span class="sourceLineNo">314</span>   public final &lt;T&gt; T parse(Object input, Class&lt;T&gt; type) throws ParseException {<a name="line.314"></a>
-<span class="sourceLineNo">315</span>      ParserSession session = createSession(input);<a name="line.315"></a>
-<span class="sourceLineNo">316</span>      return parseSession(session, session.getClassMeta(type));<a name="line.316"></a>
-<span class="sourceLineNo">317</span>   }<a name="line.317"></a>
-<span class="sourceLineNo">318</span><a name="line.318"></a>
-<span class="sourceLineNo">319</span>   /**<a name="line.319"></a>
-<span class="sourceLineNo">320</span>    * Same as {@link #parse(Object, Type, Type...)} except the type has already been converted into a {@link ClassMeta} object.<a name="line.320"></a>
-<span class="sourceLineNo">321</span>    * &lt;p&gt;<a name="line.321"></a>
-<span class="sourceLineNo">322</span>    * This is mostly an internal method used by the framework.<a name="line.322"></a>
-<span class="sourceLineNo">323</span>    *<a name="line.323"></a>
-<span class="sourceLineNo">324</span>    * @param &lt;T&gt; The class type of the object being created.<a name="line.324"></a>
-<span class="sourceLineNo">325</span>    * @param input The input.<a name="line.325"></a>
-<span class="sourceLineNo">326</span>    * See {@link #parse(Object, Type, Type...)} for details.<a name="line.326"></a>
-<span class="sourceLineNo">327</span>    * @param type The object type to create.<a name="line.327"></a>
-<span class="sourceLineNo">328</span>    * @return The parsed object.<a name="line.328"></a>
-<span class="sourceLineNo">329</span>    * @throws ParseException If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.329"></a>
-<span class="sourceLineNo">330</span>    */<a name="line.330"></a>
-<span class="sourceLineNo">331</span>   public final &lt;T&gt; T parse(Object input, ClassMeta&lt;T&gt; type) throws ParseException {<a name="line.331"></a>
-<span class="sourceLineNo">332</span>      return parseSession(createSession(input), type);<a name="line.332"></a>
-<span class="sourceLineNo">333</span>   }<a name="line.333"></a>
-<span class="sourceLineNo">334</span><a name="line.334"></a>
-<span class="sourceLineNo">335</span>   /**<a name="line.335"></a>
-<span class="sourceLineNo">336</span>    * Create the session object that will be passed in to the parse method.<a name="line.336"></a>
-<span class="sourceLineNo">337</span>    * &lt;p&gt;<a name="line.337"></a>
-<span class="sourceLineNo">338</span>    * It's up to implementers to decide what the session object looks like, although typically<a name="line.338"></a>
-<span class="sourceLineNo">339</span>    *    it's going to be a subclass of {@link ParserSession}.<a name="line.339"></a>
-<span class="sourceLineNo">340</span>    *<a name="line.340"></a>
-<span class="sourceLineNo">341</span>    * @param input The input.  See {@link #parse(Object, ClassMeta)} for supported input types.<a name="line.341"></a>
-<span class="sourceLineNo">342</span>    * @param op Optional additional properties.<a name="line.342"></a>
-<span class="sourceLineNo">343</span>    * @param javaMethod Java method that invoked this parser.<a name="line.343"></a>
-<span class="sourceLineNo">344</span>    * When using the REST API, this is the Java method invoked by the REST call.<a name="line.344"></a>
-<span class="sourceLineNo">345</span>    * Can be used to access annotations defined on the method or class.<a name="line.345"></a>
-<span class="sourceLineNo">346</span>    * @param outer The outer object for instantiating top-level non-static inner classes.<a name="line.346"></a>
-<span class="sourceLineNo">347</span>    * @param locale The session locale.<a name="line.347"></a>
-<span class="sourceLineNo">348</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the locale defined on the context is used.<a name="line.348"></a>
-<span class="sourceLineNo">349</span>    * @param timeZone The session timezone.<a name="line.349"></a>
-<span class="sourceLineNo">350</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the timezone defined on the context is used.<a name="line.350"></a>
-<span class="sourceLineNo">351</span>    * @param mediaType The session media type (e.g. &lt;js&gt;"application/json"&lt;/js&gt;).<a name="line.351"></a>
-<span class="sourceLineNo">352</span>    * @return The new session.<a name="line.352"></a>
-<span class="sourceLineNo">353</span>    */<a name="line.353"></a>
-<span class="sourceLineNo">354</span>   public ParserSession createSession(Object input, ObjectMap op, Method javaMethod, Object outer, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.354"></a>
-<span class="sourceLineNo">355</span>      return new ParserSession(ctx, op, input, javaMethod, outer, locale, timeZone, mediaType);<a name="line.355"></a>
-<span class="sourceLineNo">356</span>   }<a name="line.356"></a>
-<span class="sourceLineNo">357</span><a name="line.357"></a>
-<span class="sourceLineNo">358</span>   /**<a name="line.358"></a>
-<span class="sourceLineNo">359</span>    * Create a basic session object without overriding properties or specifying &lt;code&gt;javaMethod&lt;/code&gt;.<a name="line.359"></a>
-<span class="sourceLineNo">360</span>    * &lt;p&gt;<a name="line.360"></a>
-<span class="sourceLineNo">361</span>    * Equivalent to calling &lt;code&gt;createSession(&lt;jk&gt;null&lt;/jk&gt;, &lt;jk&gt;null&lt;/jk&gt;)&lt;/code&gt;.<a name="line.361"></a>
-<span class="sourceLineNo">362</span>    *<a name="line.362"></a>
-<span class="sourceLineNo">363</span>    * @param input The input.  See {@link #parse(Object, ClassMeta)} for supported input types.<a name="line.363"></a>
-<span class="sourceLineNo">364</span>    * @return The new context.<a name="line.364"></a>
-<span class="sourceLineNo">365</span>    */<a name="line.365"></a>
-<span class="sourceLineNo">366</span>   protected final ParserSession createSession(Object input) {<a name="line.366"></a>
-<span class="sourceLineNo">367</span>      return createSession(input, null, null, null, null, null, getPrimaryMediaType());<a name="line.367"></a>
-<span class="sourceLineNo">368</span>   }<a name="line.368"></a>
-<span class="sourceLineNo">369</span><a name="line.369"></a>
-<span class="sourceLineNo">370</span><a name="line.370"></a>
-<span class="sourceLineNo">371</span>   //--------------------------------------------------------------------------------<a name="line.371"></a>
-<span class="sourceLineNo">372</span>   // Optional methods<a name="line.372"></a>
+<span class="sourceLineNo">272</span>    * @param args The type arguments of the class if it's a collection or map.<a name="line.272"></a>
+<span class="sourceLineNo">273</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.273"></a>
+<span class="sourceLineNo">274</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.274"></a>
+<span class="sourceLineNo">275</span>    * @return The parsed object.<a name="line.275"></a>
+<span class="sourceLineNo">276</span>    * @throws ParseException If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.276"></a>
+<span class="sourceLineNo">277</span>    * @see BeanSession#getClassMeta(Type,Type...) for argument syntax for maps and collections.<a name="line.277"></a>
+<span class="sourceLineNo">278</span>    */<a name="line.278"></a>
+<span class="sourceLineNo">279</span>   @SuppressWarnings("unchecked")<a name="line.279"></a>
+<span class="sourceLineNo">280</span>   public final &lt;T&gt; T parse(Object input, Type type, Type...args) throws ParseException {<a name="line.280"></a>
+<span class="sourceLineNo">281</span>      ParserSession session = createSession(input);<a name="line.281"></a>
+<span class="sourceLineNo">282</span>      return (T)parseSession(session, session.getClassMeta(type, args));<a name="line.282"></a>
+<span class="sourceLineNo">283</span>   }<a name="line.283"></a>
+<span class="sourceLineNo">284</span><a name="line.284"></a>
+<span class="sourceLineNo">285</span>   /**<a name="line.285"></a>
+<span class="sourceLineNo">286</span>    * Same as {@link #parse(Object, Type, Type...)} except optimized for a non-parameterized class.<a name="line.286"></a>
+<span class="sourceLineNo">287</span>    * &lt;p&gt;<a name="line.287"></a>
+<span class="sourceLineNo">288</span>    * This is the preferred parse method for simple types since you don't need to cast the results.<a name="line.288"></a>
+<span class="sourceLineNo">289</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.289"></a>
+<span class="sourceLineNo">290</span>    * &lt;p class='bcode'&gt;<a name="line.290"></a>
+<span class="sourceLineNo">291</span>    *    ReaderParser p = JsonParser.&lt;jsf&gt;DEFAULT&lt;/jsf&gt;;<a name="line.291"></a>
+<span class="sourceLineNo">292</span>    *<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    *    &lt;jc&gt;// Parse into a string.&lt;/jc&gt;<a name="line.293"></a>
+<span class="sourceLineNo">294</span>    *    String s = p.parse(json, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.294"></a>
+<span class="sourceLineNo">295</span>    *<a name="line.295"></a>
+<span class="sourceLineNo">296</span>    *    &lt;jc&gt;// Parse into a bean.&lt;/jc&gt;<a name="line.296"></a>
+<span class="sourceLineNo">297</span>    *    MyBean b = p.parse(json, MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.297"></a>
+<span class="sourceLineNo">298</span>    *<a name="line.298"></a>
+<span class="sourceLineNo">299</span>    *    &lt;jc&gt;// Parse into a bean array.&lt;/jc&gt;<a name="line.299"></a>
+<span class="sourceLineNo">300</span>    *    MyBean[] ba = p.parse(json, MyBean[].&lt;jk&gt;class&lt;/jk&gt;);<a name="line.300"></a>
+<span class="sourceLineNo">301</span>    *<a name="line.301"></a>
+<span class="sourceLineNo">302</span>    *    &lt;jc&gt;// Parse into a linked-list of objects.&lt;/jc&gt;<a name="line.302"></a>
+<span class="sourceLineNo">303</span>    *    List l = p.parse(json, LinkedList.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.303"></a>
+<span class="sourceLineNo">304</span>    *<a name="line.304"></a>
+<span class="sourceLineNo">305</span>    *    &lt;jc&gt;// Parse into a map of object keys/values.&lt;/jc&gt;<a name="line.305"></a>
+<span class="sourceLineNo">306</span>    *    Map m = p.parse(json, TreeMap.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.306"></a>
+<span class="sourceLineNo">307</span>    * &lt;/p&gt;<a name="line.307"></a>
+<span class="sourceLineNo">308</span>    *<a name="line.308"></a>
+<span class="sourceLineNo">309</span>    * @param &lt;T&gt; The class type of the object being created.<a name="line.309"></a>
+<span class="sourceLineNo">310</span>    * @param input The input.<a name="line.310"></a>
+<span class="sourceLineNo">311</span>    * See {@link #parse(Object, Type, Type...)} for details.<a name="line.311"></a>
+<span class="sourceLineNo">312</span>    * @param type The object type to create.<a name="line.312"></a>
+<span class="sourceLineNo">313</span>    * @return The parsed object.<a name="line.313"></a>
+<span class="sourceLineNo">314</span>    * @throws ParseException If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.314"></a>
+<span class="sourceLineNo">315</span>    */<a name="line.315"></a>
+<span class="sourceLineNo">316</span>   public final &lt;T&gt; T parse(Object input, Class&lt;T&gt; type) throws ParseException {<a name="line.316"></a>
+<span class="sourceLineNo">317</span>      ParserSession session = createSession(input);<a name="line.317"></a>
+<span class="sourceLineNo">318</span>      return parseSession(session, session.getClassMeta(type));<a name="line.318"></a>
+<span class="sourceLineNo">319</span>   }<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span>   /**<a name="line.321"></a>
+<span class="sourceLineNo">322</span>    * Same as {@link #parse(Object, Type, Type...)} except the type has already been converted into a {@link ClassMeta} object.<a name="line.322"></a>
+<span class="sourceLineNo">323</span>    * &lt;p&gt;<a name="line.323"></a>
+<span class="sourceLineNo">324</span>    * This is mostly an internal method used by the framework.<a name="line.324"></a>
+<span class="sourceLineNo">325</span>    *<a name="line.325"></a>
+<span class="sourceLineNo">326</span>    * @param &lt;T&gt; The class type of the object being created.<a name="line.326"></a>
+<span class="sourceLineNo">327</span>    * @param input The input.<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    * See {@link #parse(Object, Type, Type...)} for details.<a name="line.328"></a>
+<span class="sourceLineNo">329</span>    * @param type The object type to create.<a name="line.329"></a>
+<span class="sourceLineNo">330</span>    * @return The parsed object.<a name="line.330"></a>
+<span class="sourceLineNo">331</span>    * @throws ParseException If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.331"></a>
+<span class="sourceLineNo">332</span>    */<a name="line.332"></a>
+<span class="sourceLineNo">333</span>   public final &lt;T&gt; T parse(Object input, ClassMeta&lt;T&gt; type) throws ParseException {<a name="line.333"></a>
+<span class="sourceLineNo">334</span>      return parseSession(createSession(input), type);<a name="line.334"></a>
+<span class="sourceLineNo">335</span>   }<a name="line.335"></a>
+<span class="sourceLineNo">336</span><a name="line.336"></a>
+<span class="sourceLineNo">337</span>   /**<a name="line.337"></a>
+<span class="sourceLineNo">338</span>    * Create the session object that will be passed in to the parse method.<a name="line.338"></a>
+<span class="sourceLineNo">339</span>    * &lt;p&gt;<a name="line.339"></a>
+<span class="sourceLineNo">340</span>    * It's up to implementers to decide what the session object looks like, although typically<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    *    it's going to be a subclass of {@link ParserSession}.<a name="line.341"></a>
+<span class="sourceLineNo">342</span>    *<a name="line.342"></a>
+<span class="sourceLineNo">343</span>    * @param input The input.  See {@link #parse(Object, ClassMeta)} for supported input types.<a name="line.343"></a>
+<span class="sourceLineNo">344</span>    * @param op Optional additional properties.<a name="line.344"></a>
+<span class="sourceLineNo">345</span>    * @param javaMethod Java method that invoked this parser.<a name="line.345"></a>
+<span class="sourceLineNo">346</span>    * When using the REST API, this is the Java method invoked by the REST call.<a name="line.346"></a>
+<span class="sourceLineNo">347</span>    * Can be used to access annotations defined on the method or class.<a name="line.347"></a>
+<span class="sourceLineNo">348</span>    * @param outer The outer object for instantiating top-level non-static inner classes.<a name="line.348"></a>
+<span class="sourceLineNo">349</span>    * @param locale The session locale.<a name="line.349"></a>
+<span class="sourceLineNo">350</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the locale defined on the context is used.<a name="line.350"></a>
+<span class="sourceLineNo">351</span>    * @param timeZone The session timezone.<a name="line.351"></a>
+<span class="sourceLineNo">352</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then the timezone defined on the context is used.<a name="line.352"></a>
+<span class="sourceLineNo">353</span>    * @param mediaType The session media type (e.g. &lt;js&gt;"application/json"&lt;/js&gt;).<a name="line.353"></a>
+<span class="sourceLineNo">354</span>    * @return The new session.<a name="line.354"></a>
+<span class="sourceLineNo">355</span>    */<a name="line.355"></a>
+<span class="sourceLineNo">356</span>   public ParserSession createSession(Object input, ObjectMap op, Method javaMethod, Object outer, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.356"></a>
+<span class="sourceLineNo">357</span>      return new ParserSession(ctx, op, input, javaMethod, outer, locale, timeZone, mediaType);<a name="line.357"></a>
+<span class="sourceLineNo">358</span>   }<a name="line.358"></a>
+<span class="sourceLineNo">359</span><a name="line.359"></a>
+<span class="sourceLineNo">360</span>   /**<a name="line.360"></a>
+<span class="sourceLineNo">361</span>    * Create a basic session object without overriding properties or specifying &lt;code&gt;javaMethod&lt;/code&gt;.<a name="line.361"></a>
+<span class="sourceLineNo">362</span>    * &lt;p&gt;<a name="line.362"></a>
+<span class="sourceLineNo">363</span>    * Equivalent to calling &lt;code&gt;createSession(&lt;jk&gt;null&lt;/jk&gt;, &lt;jk&gt;null&lt;/jk&gt;)&lt;/code&gt;.<a name="line.363"></a>
+<span class="sourceLineNo">364</span>    *<a name="line.364"></a>
+<span class="sourceLineNo">365</span>    * @param input The input.  See {@link #parse(Object, ClassMeta)} for supported input types.<a name="line.365"></a>
+<span class="sourceLineNo">366</span>    * @return The new context.<a name="line.366"></a>
+<span class="sourceLineNo">367</span>    */<a name="line.367"></a>
+<span class="sourceLineNo">368</span>   protected final ParserSession createSession(Object input) {<a name="line.368"></a>
+<span class="sourceLineNo">369</span>      return createSession(input, null, null, null, null, null, getPrimaryMediaType());<a name="line.369"></a>
+<span class="sourceLineNo">370</span>   }<a name="line.370"></a>
+<span class="sourceLineNo">371</span><a name="line.371"></a>
+<span class="sourceLineNo">372</span><a name="line.372"></a>
 <span class="sourceLineNo">373</span>   //--------------------------------------------------------------------------------<a name="line.373"></a>
-<span class="sourceLineNo">374</span><a name="line.374"></a>
-<span class="sourceLineNo">375</span>   /**<a name="line.375"></a>
-<span class="sourceLineNo">376</span>    * Parses the contents of the specified reader and loads the results into the specified map.<a name="line.376"></a>
-<span class="sourceLineNo">377</span>    * &lt;p&gt;<a name="line.377"></a>
-<span class="sourceLineNo">378</span>    * Reader must contain something that serializes to a map (such as text containing a JSON object).<a name="line.378"></a>
+<span class="sourceLineNo">374</span>   // Optional methods<a name="line.374"></a>
+<span class="sourceLineNo">375</span>   //--------------------------------------------------------------------------------<a name="line.375"></a>
+<span class="sourceLineNo">376</span><a name="line.376"></a>
+<span class="sourceLineNo">377</span>   /**<a name="line.377"></a>
+<span class="sourceLineNo">378</span>    * Parses the contents of the specified reader and loads the results into the specified map.<a name="line.378"></a>
 <span class="sourceLineNo">379</span>    * &lt;p&gt;<a name="line.379"></a>
-<span class="sourceLineNo">380</span>    * Used in the following locations:<a name="line.380"></a>
-<span class="sourceLineNo">381</span>    * &lt;ul class='spaced-list'&gt;<a name="line.381"></a>
-<span class="sourceLineNo">382</span>    *    &lt;li&gt;The various character-based constructors in {@link ObjectMap} (e.g. {@link ObjectMap#ObjectMap(CharSequence,Parser)}).<a name="line.382"></a>
-<span class="sourceLineNo">383</span>    * &lt;/ul&gt;<a name="line.383"></a>
-<span class="sourceLineNo">384</span>    *<a name="line.384"></a>
-<span class="sourceLineNo">385</span>    * @param &lt;K&gt; The key class type.<a name="line.385"></a>
-<span class="sourceLineNo">386</span>    * @param &lt;V&gt; The value class type.<a name="line.386"></a>
-<span class="sourceLineNo">387</span>    * @param input The input.  See {@link #parse(Object, ClassMeta)} for supported input types.<a name="line.387"></a>
-<span class="sourceLineNo">388</span>    * @param m The map being loaded.<a name="line.388"></a>
-<span class="sourceLineNo">389</span>    * @param keyType The class type of the keys, or &lt;jk&gt;null&lt;/jk&gt; to default to &lt;code&gt;String.&lt;jk&gt;class&lt;/jk&gt;&lt;/code&gt;.&lt;br&gt;<a name="line.389"></a>
-<span class="sourceLineNo">390</span>    * @param valueType The class type of the values, or &lt;jk&gt;null&lt;/jk&gt; to default to whatever is being parsed.&lt;br&gt;<a name="line.390"></a>
-<span class="sourceLineNo">391</span>    * @return The same map that was passed in to allow this method to be chained.<a name="line.391"></a>
-<span class="sourceLineNo">392</span>    * @throws ParseException If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.392"></a>
-<span class="sourceLineNo">393</span>    * @throws UnsupportedOperationException If not implemented.<a name="line.393"></a>
-<span class="sourceLineNo">394</span>    */<a name="line.394"></a>
-<span class="sourceLineNo">395</span>   public final &lt;K,V&gt; Map&lt;K,V&gt; parseIntoMap(Object input, Map&lt;K,V&gt; m, Type keyType, Type valueType) throws ParseException {<a name="line.395"></a>
-<span class="sourceLineNo">396</span>      ParserSession session = createSession(input);<a name="line.396"></a>
-<span class="sourceLineNo">397</span>      try {<a name="line.397"></a>
-<span class="sourceLineNo">398</span>         return doParseIntoMap(session, m, keyType, valueType);<a name="line.398"></a>
-<span class="sourceLineNo">399</span>      } catch (ParseException e) {<a name="line.399"></a>
-<span class="sourceLineNo">400</span>         throw e;<a name="line.400"></a>
-<span class="sourceLineNo">401</span>      } catch (Exception e) {<a name="line.401"></a>
-<span class="sourceLineNo">402</span>         throw new ParseException(session, e);<a name="line.402"></a>
-<span class="sourceLineNo">403</span>      } finally {<a name="line.403"></a>
-<span class="sourceLineNo">404</span>         session.close();<a name="line.404"></a>
-<span class="sourceLineNo">405</span>      }<a name="line.405"></a>
-<span class="sourceLineNo">406</span>   }<a name="line.406"></a>
-<span class="sourceLineNo">407</span><a name="line.407"></a>
-<span class="sourceLineNo">408</span>   /**<a name="line.408"></a>
-<span class="sourceLineNo">409</span>    * Implementation method.<a name="line.409"></a>
-<span class="sourceLineNo">410</span>    * Default implementation throws an {@link UnsupportedOperationException}.<a name="line.410"></a>
-<span class="sourceLineNo">411</span>    * @param session The runtime session object returned by {@link #createSession(Object, ObjectMap, Method, Object, Locale, TimeZone, MediaType)}.<a name="line.411"></a>
-<span class="sourceLineNo">412</span>    * If &lt;jk&gt;null&lt;/jk&gt;, one will be created using {@link #createSession(Object)}.<a name="line.412"></a>
-<span class="sourceLineNo">413</span>    * @param m The map being loaded.<a name="line.413"></a>
-<span class="sourceLineNo">414</span>    * @param keyType The class type of the keys, or &lt;jk&gt;null&lt;/jk&gt; to default to &lt;code&gt;String.&lt;jk&gt;class&lt;/jk&gt;&lt;/code&gt;.&lt;br&gt;<a name="line.414"></a>
-<span class="sourceLineNo">415</span>    * @param valueType The class type of the values, or &lt;jk&gt;null&lt;/jk&gt; to default to whatever is being parsed.&lt;br&gt;<a name="line.415"></a>
-<span class="sourceLineNo">416</span>    *<a name="line.416"></a>
-<span class="sourceLineNo">417</span>    * @return The same map that was passed in to allow this method to be chained.<a name="line.417"></a>
-<span class="sourceLineNo">418</span>    * @throws Exception If thrown from underlying stream, or if the input contains a syntax error or is malformed.<a name="line.418"></a>
-<span class="sourceLineNo">419</span>    */<a name="line.419"></a>
-<span class="sourceLineNo">420</span>   protected &lt;K,V&gt; Map&lt;K,V&gt; doParseIntoMap(ParserSession session, Map&lt;K,V&gt; m, Type keyType, Type valueType) throws Exception {<a name="line.420"></a>
-<span class="sourceLineNo">421</span>      throw new UnsupportedOperationException("Parser '"+getClass().getName()+"' does not support this method.");<a name="line.421"></a>
-<span class="sourceLineNo">422</span>   }<a name="line.422"></a>
-<span class="sourceLineNo">423</span><a name="line.423"></a>
-<span class="sourceLineNo">424</span>   /**<a name="line.424"></a>
-<span class="sourceLineNo">425</span>    * Parses the contents of the specified reader and loads the results into the specified collection.<a name="line.425"></a>
-<span class="sourceLineNo">426</span>    * &lt;p&gt;<a name="line.426"></a>
-<span class="sourceLineNo">427</span>    * Used in the following locations:<a name="line.427"></a>
-<span class="sourceLineNo">428</span>    * &lt;ul class='spaced-list'&gt;<a name="line.428"></a>
-<span class="sourceLineNo">429</span>    *    &lt;li&gt;The various character-based constructors in {@link ObjectList} (e.g. {@link ObjectList#ObjectList(CharSequence,Parser)}.<a name="line.429"></a>
-<span class="sourceLineNo">430</span>    * &lt;/ul&gt;<a name="line.430"></a>
-<span class="sourceLineNo">431</span>    *<a name="line.431"></a>
-<span class="sourceLineNo">432</span>    * @param &lt;E&gt; The element class type.<a name="line.432"></a>
-<span class="sourceLineNo">433</span>    * @param input The input.  See {@link #parse(Object, ClassMeta)} for supported input types.<a name="line.433"></a>
-<span class="sourceLineNo">434</span>    * @param c The collection being loaded.<a name="line.434"></a>
-<span class="sourceLineNo">435</span>    * @param elementType The class type of the elements, or &lt;jk&gt;null&lt;/jk&gt; to default to whatever is being parsed.<a name="line.435"></a>
-<span class="sourceLineNo">436</span>    * @return The same collection that was passed in to allow this method to be chained.<a name="line.436"></a>
-<span class="sourceLineNo">437</span>    * @throws ParseException If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.437"></a>
-<span class="sourceLineNo">438</span>    * @throws UnsupportedOperationException If not implemented.<a name="line.438"></a>
-<span class="sourceLineNo">439</span>    */<a name="line.439"></a>
-<span class="sourceLineNo">440</span>   public final &lt;E&gt; Collection&lt;E&gt; parseIntoCollection(Object input, Collection&lt;E&gt; c, Type elementType) throws ParseException {<a name="line.440"></a>
-<span class="sourceLineNo">441</span>      ParserSession session = createSession(input);<a name="line.441"></a>
-<span class="sourceLineNo">442</span>      try {<a name="line.442"></a>
-<span class="sourceLineNo">443</span>         return doParseIntoCollection(session, c, elementType);<a name="line.443"></a>
-<span class="sourceLineNo">444</span>      } catch (ParseException e) {<a name="line.444"></a>
-<span class="sourceLineNo">445</span>         throw e;<a name="line.445"></a>
-<span class="sourceLineNo">446</span>      } catch (Exception e) {<a name="line.446"></a>
-<span class="sourceLineNo">447</span>         throw new ParseException(session, e);<a name="line.447"></a>
-<span class="sourceLineNo">448</span>      } finally {<a name="line.448"></a>
-<span class="sourceLineNo">449</span>         session.close();<a name="line.449"></a>
-<span class="sourceLineNo">450</span>      }<a name="line.450"></a>
-<span class="sourceLineNo">451</span>   }<a name="line.451"></a>
-<span class="sourceLineNo">452</span><a name="line.452"></a>
-<span class="sourceLineNo">453</span>   /**<a name="line.453"></a>
-<span class="sourceLineNo">454</span>    * Implementation method.<a name="line.454"></a>
-<span class="sourceLineNo">455</span>    * Default implementation throws an {@link UnsupportedOperationException}.<a name="line.455"></a>
-<span class="sourceLineNo">456</span>    * @param session The runtime session object returned by {@link #createSession(Object, ObjectMap, Method, Object, Locale, TimeZone, MediaType)}.<a name="line.456"></a>
-<span class="sourceLineNo">457</span>    * If &lt;jk&gt;null&lt;/jk&gt;, one will be created using {@link #createSession(Object)}.<a name="line.457"></a>
-<span class="sourceLineNo">458</span>    * @param c The collection being loaded.<a name="line.458"></a>
-<span class="sourceLineNo">459</span>    * @param elementType The class type of the elements, or &lt;jk&gt;null&lt;/jk&gt; to default to whatever is being parsed.<a name="line.459"></a>
-<span class="sourceLineNo">460</span>    *<a name="line.460"></a>
-<span class="sourceLineNo">461</span>    * @return The same collection that was passed in to allow this method to be chained.<a name="line.461"></a>
-<span class="sourceLineNo">462</span>    * @throws Exception If thrown from underlying stream, or if the input contains a syntax error or is malformed.<a name="line.462"></a>
-<span class="sourceLineNo">463</span>    */<a name="line.463"></a>
-<span class="sourceLineNo">464</span>   protected &lt;E&gt; Collection&lt;E&gt; doParseIntoCollection(ParserSession session, Collection&lt;E&gt; c, Type elementType) throws Exception {<a name="line.464"></a>
-<span class="sourceLineNo">465</span>      throw new UnsupportedOperationException("Parser '"+getClass().getName()+"' does not support this method.");<a name="line.465"></a>
-<span class="sourceLineNo">466</span>   }<a name="line.466"></a>
-<span class="sourceLineNo">467</span><a name="line.467"></a>
-<span class="sourceLineNo">468</span>   /**<a name="line.468"></a>
-<span class="sourceLineNo">469</span>    * Parses the specified array input with each entry in the object defined by the {@code argTypes}<a name="line.469"></a>
-<span class="sourceLineNo">470</span>    * argument.<a name="line.470"></a>
-<span class="sourceLineNo">471</span>    * &lt;p&gt;<a name="line.471"></a>
-<span class="sourceLineNo">472</span>    * Used for converting arrays (e.g. &lt;js&gt;"[arg1,arg2,...]"&lt;/js&gt;) into an {@code Object[]} that can be passed<a name="line.472"></a>
-<span class="sourceLineNo">473</span>    *    to the {@code Method.invoke(target, args)} method.<a name="line.473"></a>
-<span class="sourceLineNo">474</span>    * &lt;p&gt;<a name="line.474"></a>
-<span class="sourceLineNo">475</span>    * Used in the following locations:<a name="line.475"></a>
-<span class="sourceLineNo">476</span>    * &lt;ul class='spaced-list'&gt;<a name="line.476"></a>
-<span class="sourceLineNo">477</span>    *    &lt;li&gt;Used to parse argument strings in the {@link PojoIntrospector#invokeMethod(Method, Reader)} method.<a name="line.477"></a>
-<span class="sourceLineNo">478</span>    * &lt;/ul&gt;<a name="line.478"></a>
-<span class="sourceLineNo">479</span>    *<a name="line.479"></a>
-<span class="sourceLineNo">480</span>    * @param input The input.  Subclasses can support different input types.<a name="line.480"></a>
-<span class="sourceLineNo">481</span>    * @param argTypes Specifies the type of objects to create for each entry in the array.<a name="line.481"></a>
-<span class="sourceLineNo">482</span>    * @return An array of parsed objects.<a name="line.482"></a>
-<span class="sourceLineNo">483</span>    * @throws ParseException If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.483"></a>
-<span class="sourceLineNo">484</span>    */<a name="line.484"></a>
-<span class="sourceLineNo">485</span>   public final Object[] parseArgs(Object input, Type[] argTypes) throws ParseException {<a name="line.485"></a>
-<span class="sourceLineNo">486</span>      if (argTypes == null || argTypes.length == 0)<a name="line.486"></a>
-<span class="sourceLineNo">487</span>         return new Object[0];<a name="line.487"></a>
-<span class="sourceLineNo">488</span>      ParserSession session = createSession(input);<a name="line.488"></a>
-<span class="sourceLineNo">489</span>      try {<a name="line.489"></a>
-<span class="sourceLineNo">490</span>         return doParse(session, session.getArgsClassMeta(argTypes));<a name="line.490"></a>
-<span class="sourceLineNo">491</span>      } catch (ParseException e) {<a name="line.491"></a>
-<span class="sourceLineNo">492</span>         throw e;<a name="line.492"></a>
-<span class="sourceLineNo">493</span>      } catch (Exception e) {<a name="line.493"></a>
-<span class="sourceLineNo">494</span>         throw new ParseException(session, e);<a name="line.494"></a>
-<span class="sourceLineNo">495</span>      } finally {<a name="line.495"></a>
-<span class="sourceLineNo">496</span>         session.close();<a name="line.496"></a>
-<span class="sourceLineNo">497</span>      }<a name="line.497"></a>
-<span class="sourceLineNo">498</span>   }<a name="line.498"></a>
-<span class="sourceLineNo">499</span><a name="line.499"></a>
-<span class="sourceLineNo">500</span><a name="line.500"></a>
-<span class="sourceLineNo">501</span>   //--------------------------------------------------------------------------------<a name="line.501"></a>
-<span class="sourceLineNo">502</span>   // Other methods<a name="line.502"></a>
+<span class="sourceLineNo">380</span>    * Reader must contain something that serializes to a map (such as text containing a JSON object).<a name="line.380"></a>
+<span class="sourceLineNo">381</span>    * &lt;p&gt;<a name="line.381"></a>
+<span class="sourceLineNo">382</span>    * Used in the following locations:<a name="line.382"></a>
+<span class="sourceLineNo">383</span>    * &lt;ul class='spaced-list'&gt;<a name="line.383"></a>
+<span class="sourceLineNo">384</span>    *    &lt;li&gt;The various character-based constructors in {@link ObjectMap} (e.g. {@link ObjectMap#ObjectMap(CharSequence,Parser)}).<a name="line.384"></a>
+<span class="sourceLineNo">385</span>    * &lt;/ul&gt;<a name="line.385"></a>
+<span class="sourceLineNo">386</span>    *<a name="line.386"></a>
+<span class="sourceLineNo">387</span>    * @param &lt;K&gt; The key class type.<a name="line.387"></a>
+<span class="sourceLineNo">388</span>    * @param &lt;V&gt; The value class type.<a name="line.388"></a>
+<span class="sourceLineNo">389</span>    * @param input The input.  See {@link #parse(Object, ClassMeta)} for supported input types.<a name="line.389"></a>
+<span class="sourceLineNo">390</span>    * @param m The map being loaded.<a name="line.390"></a>
+<span class="sourceLineNo">391</span>    * @param keyType The class type of the keys, or &lt;jk&gt;null&lt;/jk&gt; to default to &lt;code&gt;String.&lt;jk&gt;class&lt;/jk&gt;&lt;/code&gt;.&lt;br&gt;<a name="line.391"></a>
+<span class="sourceLineNo">392</span>    * @param valueType The class type of the values, or &lt;jk&gt;null&lt;/jk&gt; to default to whatever is being parsed.&lt;br&gt;<a name="line.392"></a>
+<span class="sourceLineNo">393</span>    * @return The same map that was passed in to allow this method to be chained.<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    * @throws ParseException If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.394"></a>
+<span class="sourceLineNo">395</span>    * @throws UnsupportedOperationException If not implemented.<a name="line.395"></a>
+<span class="sourceLineNo">396</span>    */<a name="line.396"></a>
+<span class="sourceLineNo">397</span>   public final &lt;K,V&gt; Map&lt;K,V&gt; parseIntoMap(Object input, Map&lt;K,V&gt; m, Type keyType, Type valueType) throws ParseException {<a name="line.397"></a>
+<span class="sourceLineNo">398</span>      ParserSession session = createSession(input);<a name="line.398"></a>
+<span class="sourceLineNo">399</span>      try {<a name="line.399"></a>
+<span class="sourceLineNo">400</span>         return doParseIntoMap(session, m, keyType, valueType);<a name="line.400"></a>
+<span class="sourceLineNo">401</span>      } catch (ParseException e) {<a name="line.401"></a>
+<span class="sourceLineNo">402</span>         throw e;<a name="line.402"></a>
+<span class="sourceLineNo">403</span>      } catch (Exception e) {<a name="line.403"></a>
+<span class="sourceLineNo">404</span>         throw new ParseException(session, e);<a name="line.404"></a>
+<span class="sourceLineNo">405</span>      } finally {<a name="line.405"></a>
+<span class="sourceLineNo">406</span>         session.close();<a name="line.406"></a>
+<span class="sourceLineNo">407</span>      }<a name="line.407"></a>
+<span class="sourceLineNo">408</span>   }<a name="line.408"></a>
+<span class="sourceLineNo">409</span><a name="line.409"></a>
+<span class="sourceLineNo">410</span>   /**<a name="line.410"></a>
+<span class="sourceLineNo">411</span>    * Implementation method.<a name="line.411"></a>
+<span class="sourceLineNo">412</span>    * Default implementation throws an {@link UnsupportedOperationException}.<a name="line.412"></a>
+<span class="sourceLineNo">413</span>    * @param session The runtime session object returned by {@link #createSession(Object, ObjectMap, Method, Object, Locale, TimeZone, MediaType)}.<a name="line.413"></a>
+<span class="sourceLineNo">414</span>    * If &lt;jk&gt;null&lt;/jk&gt;, one will be created using {@link #createSession(Object)}.<a name="line.414"></a>
+<span class="sourceLineNo">415</span>    * @param m The map being loaded.<a name="line.415"></a>
+<span class="sourceLineNo">416</span>    * @param keyType The class type of the keys, or &lt;jk&gt;null&lt;/jk&gt; to default to &lt;code&gt;String.&lt;jk&gt;class&lt;/jk&gt;&lt;/code&gt;.&lt;br&gt;<a name="line.416"></a>
+<span class="sourceLineNo">417</span>    * @param valueType The class type of the values, or &lt;jk&gt;null&lt;/jk&gt; to default to whatever is being parsed.&lt;br&gt;<a name="line.417"></a>
+<span class="sourceLineNo">418</span>    *<a name="line.418"></a>
+<span class="sourceLineNo">419</span>    * @return The same map that was passed in to allow this method to be chained.<a name="line.419"></a>
+<span class="sourceLineNo">420</span>    * @throws Exception If thrown from underlying stream, or if the input contains a syntax error or is malformed.<a name="line.420"></a>
+<span class="sourceLineNo">421</span>    */<a name="line.421"></a>
+<span class="sourceLineNo">422</span>   protected &lt;K,V&gt; Map&lt;K,V&gt; doParseIntoMap(ParserSession session, Map&lt;K,V&gt; m, Type keyType, Type valueType) throws Exception {<a name="line.422"></a>
+<span class="sourceLineNo">423</span>      throw new UnsupportedOperationException("Parser '"+getClass().getName()+"' does not support this method.");<a name="line.423"></a>
+<span class="sourceLineNo">424</span>   }<a name="line.424"></a>
+<span class="sourceLineNo">425</span><a name="line.425"></a>
+<span class="sourceLineNo">426</span>   /**<a name="line.426"></a>
+<span class="sourceLineNo">427</span>    * Parses the contents of the specified reader and loads the results into the specified collection.<a name="line.427"></a>
+<span class="sourceLineNo">428</span>    * &lt;p&gt;<a name="line.428"></a>
+<span class="sourceLineNo">429</span>    * Used in the following locations:<a name="line.429"></a>
+<span class="sourceLineNo">430</span>    * &lt;ul class='spaced-list'&gt;<a name="line.430"></a>
+<span class="sourceLineNo">431</span>    *    &lt;li&gt;The various character-based constructors in {@link ObjectList} (e.g. {@link ObjectList#ObjectList(CharSequence,Parser)}.<a name="line.431"></a>
+<span class="sourceLineNo">432</span>    * &lt;/ul&gt;<a name="line.432"></a>
+<span class="sourceLineNo">433</span>    *<a name="line.433"></a>
+<span class="sourceLineNo">434</span>    * @param &lt;E&gt; The element class type.<a name="line.434"></a>
+<span class="sourceLineNo">435</span>    * @param input The input.  See {@link #parse(Object, ClassMeta)} for supported input types.<a name="line.435"></a>
+<span class="sourceLineNo">436</span>    * @param c The collection being loaded.<a name="line.436"></a>
+<span class="sourceLineNo">437</span>    * @param elementType The class type of the elements, or &lt;jk&gt;null&lt;/jk&gt; to default to whatever is being parsed.<a name="line.437"></a>
+<span class="sourceLineNo">438</span>    * @return The same collection that was passed in to allow this method to be chained.<a name="line.438"></a>
+<span class="sourceLineNo">439</span>    * @throws ParseException If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.439"></a>
+<span class="sourceLineNo">440</span>    * @throws UnsupportedOperationException If not implemented.<a name="line.440"></a>
+<span class="sourceLineNo">441</span>    */<a name="line.441"></a>
+<span class="sourceLineNo">442</span>   public final &lt;E&gt; Collection&lt;E&gt; parseIntoCollection(Object input, Collection&lt;E&gt; c, Type elementType) throws ParseException {<a name="line.442"></a>
+<span class="sourceLineNo">443</span>      ParserSession session = createSession(input);<a name="line.443"></a>
+<span class="sourceLineNo">444</span>      try {<a name="line.444"></a>
+<span class="sourceLineNo">445</span>         return doParseIntoCollection(session, c, elementType);<a name="line.445"></a>
+<span class="sourceLineNo">446</span>      } catch (ParseException e) {<a name="line.446"></a>
+<span class="sourceLineNo">447</span>         throw e;<a name="line.447"></a>
+<span class="sourceLineNo">448</span>      } catch (Exception e) {<a name="line.448"></a>
+<span class="sourceLineNo">449</span>         throw new ParseException(session, e);<a name="line.449"></a>
+<span class="sourceLineNo">450</span>      } finally {<a name="line.450"></a>
+<span class="sourceLineNo">451</span>         session.close();<a name="line.451"></a>
+<span class="sourceLineNo">452</span>      }<a name="line.452"></a>
+<span class="sourceLineNo">453</span>   }<a name="line.453"></a>
+<span class="sourceLineNo">454</span><a name="line.454"></a>
+<span class="sourceLineNo">455</span>   /**<a name="line.455"></a>
+<span class="sourceLineNo">456</span>    * Implementation method.<a name="line.456"></a>
+<span class="sourceLineNo">457</span>    * Default implementation throws an {@link UnsupportedOperationException}.<a name="line.457"></a>
+<span class="sourceLineNo">458</span>    * @param session The runtime session object returned by {@link #createSession(Object, ObjectMap, Method, Object, Locale, TimeZone, MediaType)}.<a name="line.458"></a>
+<span class="sourceLineNo">459</span>    * If &lt;jk&gt;null&lt;/jk&gt;, one will be created using {@link #createSession(Object)}.<a name="line.459"></a>
+<span class="sourceLineNo">460</span>    * @param c The collection being loaded.<a name="line.460"></a>
+<span class="sourceLineNo">461</span>    * @param elementType The class type of the elements, or &lt;jk&gt;null&lt;/jk&gt; to default to whatever is being parsed.<a name="line.461"></a>
+<span class="sourceLineNo">462</span>    *<a name="line.462"></a>
+<span class="sourceLineNo">463</span>    * @return The same collection that was passed in to allow this method to be chained.<a name="line.463"></a>
+<span class="sourceLineNo">464</span>    * @throws Exception If thrown from underlying stream, or if the input contains a syntax error or is malformed.<a name="line.464"></a>
+<span class="sourceLineNo">465</span>    */<a name="line.465"></a>
+<span class="sourceLineNo">466</span>   protected &lt;E&gt; Collection&lt;E&gt; doParseIntoCollection(ParserSession session, Collection&lt;E&gt; c, Type elementType) throws Exception {<a name="line.466"></a>
+<span class="sourceLineNo">467</span>      throw new UnsupportedOperationException("Parser '"+getClass().getName()+"' does not support this method.");<a name="line.467"></a>
+<span class="sourceLineNo">468</span>   }<a name="line.468"></a>
+<span class="sourceLineNo">469</span><a name="line.469"></a>
+<span class="sourceLineNo">470</span>   /**<a name="line.470"></a>
+<span class="sourceLineNo">471</span>    * Parses the specified array input with each entry in the object defined by the {@code argTypes}<a name="line.471"></a>
+<span class="sourceLineNo">472</span>    * argument.<a name="line.472"></a>
+<span class="sourceLineNo">473</span>    * &lt;p&gt;<a name="line.473"></a>
+<span class="sourceLineNo">474</span>    * Used for converting arrays (e.g. &lt;js&gt;"[arg1,arg2,...]"&lt;/js&gt;) into an {@code Object[]} that can be passed<a name="line.474"></a>
+<span class="sourceLineNo">475</span>    *    to the {@code Method.invoke(target, args)} method.<a name="line.475"></a>
+<span class="sourceLineNo">476</span>    * &lt;p&gt;<a name="line.476"></a>
+<span class="sourceLineNo">477</span>    * Used in the following locations:<a name="line.477"></a>
+<span class="sourceLineNo">478</span>    * &lt;ul class='spaced-list'&gt;<a name="line.478"></a>
+<span class="sourceLineNo">479</span>    *    &lt;li&gt;Used to parse argument strings in the {@link PojoIntrospector#invokeMethod(Method, Reader)} method.<a name="line.479"></a>
+<span class="sourceLineNo">480</span>    * &lt;/ul&gt;<a name="line.480"></a>
+<span class="sourceLineNo">481</span>    *<a name="line.481"></a>
+<span class="sourceLineNo">482</span>    * @param input The input.  Subclasses can support different input types.<a name="line.482"></a>
+<span class="sourceLineNo">483</span>    * @param argTypes Specifies the type of objects to create for each entry in the array.<a name="line.483"></a>
+<span class="sourceLineNo">484</span>    * @return An array of parsed objects.<a name="line.484"></a>
+<span class="sourceLineNo">485</span>    * @throws ParseException If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.485"></a>
+<span class="sourceLineNo">486</span>    */<a name="line.486"></a>
+<span class="sourceLineNo">487</span>   public final Object[] parseArgs(Object input, Type[] argTypes) throws ParseException {<a name="line.487"></a>
+<span class="sourceLineNo">488</span>      if (argTypes == null || argTypes.length == 0)<a name="line.488"></a>
+<span class="sourceLineNo">489</span>         return new Object[0];<a name="line.489"></a>
+<span class="sourceLineNo">490</span>      ParserSession session = createSession(input);<a name="line.490"></a>
+<span class="sourceLineNo">491</span>      try {<a name="line.491"></a>
+<span class="sourceLineNo">492</span>         return doParse(session, session.getArgsClassMeta(argTypes));<a name="line.492"></a>
+<span class="sourceLineNo">493</span>      } catch (ParseException e) {<a name="line.493"></a>
+<span class="sourceLineNo">494</span>         throw e;<a name="line.494"></a>
+<span class="sourceLineNo">495</span>      } catch (Exception e) {<a name="line.495"></a>
+<span class="sourceLineNo">496</span>         throw new ParseException(session, e);<a name="line.496"></a>
+<span class="sourceLineNo">497</span>      } finally {<a name="line.497"></a>
+<span class="sourceLineNo">498</span>         session.close();<a name="line.498"></a>
+<span class="sourceLineNo">499</span>      }<a name="line.499"></a>
+<span class="sourceLineNo">500</span>   }<a name="line.500"></a>
+<span class="sourceLineNo">501</span><a name="line.501"></a>
+<span class="sourceLineNo">502</span><a name="line.502"></a>
 <span class="sourceLineNo">503</span>   //--------------------------------------------------------------------------------<a name="line.503"></a>
-<span class="sourceLineNo">504</span><a name="line.504"></a>
-<span class="sourceLineNo">505</span>   /**<a name="line.505"></a>
-<span class="sourceLineNo">506</span>    * Adds a {@link ParserListener} to this parser to listen for parse events.<a name="line.506"></a>
-<span class="sourceLineNo">507</span>    *<a name="line.507"></a>
-<span class="sourceLineNo">508</span>    * @param listener The listener to associate with this parser.<a name="line.508"></a>
-<span class="sourceLineNo">509</span>    * @return This object (for method chaining).<a name="line.509"></a>
-<span class="sourceLineNo">510</span>    */<a name="line.510"></a>
-<span class="sourceLineNo">511</span>   public Parser addListener(ParserListener listener) {<a name="line.511"></a>
-<span class="sourceLineNo">512</span>      this.listeners.add(listener);<a name="line.512"></a>
-<span class="sourceLineNo">513</span>      return this;<a name="line.513"></a>
-<span class="sourceLineNo">514</span>   }<a name="line.514"></a>
-<span class="sourceLineNo">515</span><a name="line.515"></a>
-<span class="sourceLineNo">516</span>   /**<a name="line.516"></a>
-<span class="sourceLineNo">517</span>    * Returns the current parser listeners associated with this parser.<a name="line.517"></a>
-<span class="sourceLineNo">518</span>    *<a name="line.518"></a>
-<span class="sourceLineNo">519</span>    * @return The current list of parser listeners.<a name="line.519"></a>
-<span class="sourceLineNo">520</span>    */<a name="line.520"></a>
-<span class="sourceLineNo">521</span>   public List&lt;ParserListener&gt; getListeners() {<a name="line.521"></a>
-<span class="sourceLineNo">522</span>      return listeners;<a name="line.522"></a>
-<span class="sourceLineNo">523</span>   }<a name="line.523"></a>
-<span class="sourceLineNo">524</span><a name="line.524"></a>
-<span class="sourceLineNo">525</span>   /**<a name="line.525"></a>
-<span class="sourceLineNo">526</span>    * Converts the specified string to the specified type.<a name="line.526"></a>
-<span class="sourceLineNo">527</span>    *<a name="line.527"></a>
-<span class="sourceLineNo">528</span>    * @param session The session object.<a name="line.528"></a>
-<span class="sourceLineNo">529</span>    * @param outer The outer object if we're converting to an inner object that needs to be created within the context of an outer object.<a name="line.529"></a>
-<span class="sourceLineNo">530</span>    * @param s The string to convert.<a name="line.530"></a>
-<span class="sourceLineNo">531</span>    * @param type The class type to convert the string to.<a name="line.531"></a>
-<span class="sourceLineNo">532</span>    * @return The string converted as an object of the specified type.<a name="line.532"></a>
-<span class="sourceLineNo">533</span>    * @throws Exception If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.533"></a>
-<span class="sourceLineNo">534</span>    * @param &lt;T&gt; The class type to convert the string to.<a name="line.534"></a>
-<span class="sourceLineNo">535</span>    */<a name="line.535"></a>
-<span class="sourceLineNo">536</span>   @SuppressWarnings({ "unchecked", "rawtypes" })<a name="line.536"></a>
-<span class="sourceLineNo">537</span>   protected &lt;T&gt; T convertAttrToType(ParserSession session, Object outer, String s, ClassMeta&lt;T&gt; type) throws Exception {<a name="line.537"></a>
-<span class="sourceLineNo">538</span>      if (s == null)<a name="line.538"></a>
-<span class="sourceLineNo">539</span>         return null;<a name="line.539"></a>
-<span class="sourceLineNo">540</span><a name="line.540"></a>
-<span class="sourceLineNo">541</span>      if (type == null)<a name="line.541"></a>
-<span class="sourceLineNo">542</span>         type = (ClassMeta&lt;T&gt;)object();<a name="line.542"></a>
-<span class="sourceLineNo">543</span>      PojoSwap transform = type.getPojoSwap();<a name="line.543"></a>
-<span class="sourceLineNo">544</span>      ClassMeta&lt;?&gt; sType = type.getSerializedClassMeta();<a name="line.544"></a>
-<span class="sourceLineNo">545</span><a name="line.545"></a>
-<span class="sourceLineNo">546</span>      Object o = s;<a name="line.546"></a>
-<span class="sourceLineNo">547</span>      if (sType.isChar())<a name="line.547"></a>
-<span class="sourceLineNo">548</span>         o = s.charAt(0);<a name="line.548"></a>
-<span class="sourceLineNo">549</span>      else if (sType.isNumber())<a name="line.549"></a>
-<span class="sourceLineNo">550</span>         if (type.canCreateNewInstanceFromNumber(outer))<a name="line.550"></a>
-<span class="sourceLineNo">551</span>            o = type.newInstanceFromNumber(session, outer, parseNumber(s, type.getNewInstanceFromNumberClass()));<a name="line.551"></a>
-<span class="sourceLineNo">552</span>         else<a name="line.552"></a>
-<span class="sourceLineNo">553</span>            o = parseNumber(s, (Class&lt;? extends Number&gt;)sType.getInnerClass());<a name="line.553"></a>
-<span class="sourceLineNo">554</span>      else if (sType.isBoolean())<a name="line.554"></a>
-<span class="sourceLineNo">555</span>         o = Boolean.parseBoolean(s);<a name="line.555"></a>
-<span class="sourceLineNo">556</span>      else if (! (sType.isCharSequence() || sType.isObject())) {<a name="line.556"></a>
-<span class="sourceLineNo">557</span>         if (sType.canCreateNewInstanceFromString(outer))<a name="line.557"></a>
-<span class="sourceLineNo">558</span>            o = sType.newInstanceFromString(outer, s);<a name="line.558"></a>
-<span class="sourceLineNo">559</span>         else<a name="line.559"></a>
-<span class="sourceLineNo">560</span>            throw new ParseException(session, "Invalid conversion from string to class ''{0}''", type);<a name="line.560"></a>
-<span class="sourceLineNo">561</span>      }<a name="line.561"></a>
-<span class="sourceLineNo">562</span><a name="line.562"></a>
-<span class="sourceLineNo">563</span>      if (transform != null)<a name="line.563"></a>
-<span class="sourceLineNo">564</span>         o = transform.unswap(session, o, type);<a name="line.564"></a>
-<span class="sourceLineNo">565</span><a name="line.565"></a>
-<span class="sourceLineNo">566</span>      return (T)o;<a name="line.566"></a>
-<span class="sourceLineNo">567</span>   }<a name="line.567"></a>
-<span class="sourceLineNo">568</span><a name="line.568"></a>
-<span class="sourceLineNo">569</span>   /**<a name="line.569"></a>
-<span class="sourceLineNo">570</span>    * Convenience method for calling the {@link ParentProperty @ParentProperty} method on<a name="line.570"></a>
-<span class="sourceLineNo">571</span>    * the specified object if it exists.<a name="line.571"></a>
-<span class="sourceLineNo">572</span>    *<a name="line.572"></a>
-<span class="sourceLineNo">573</span>    * @param cm The class type of the object.<a name="line.573"></a>
-<span class="sourceLineNo">574</span>    * @param o The object.<a name="line.574"></a>
-<span class="sourceLineNo">575</span>    * @param parent The parent to set.<a name="line.575"></a>
-<span class="sourceLineNo">576</span>    * @throws Exception<a name="line.576"></a>
-<span class="sourceLineNo">577</span>    */<a name="line.577"></a>
-<span class="sourceLineNo">578</span>   protected void setParent(ClassMeta&lt;?&gt; cm, Object o, Object parent) throws Exception {<a name="line.578"></a>
-<span class="sourceLineNo">579</span>      Method m = cm.getParentProperty();<a name="line.579"></a>
-<span class="sourceLineNo">580</span>      if (m != null)<a name="line.580"></a>
-<span class="sourceLineNo">581</span>         m.invoke(o, parent);<a name="line.581"></a>
-<span class="sourceLineNo">582</span>   }<a name="line.582"></a>
-<span class="sourceLineNo">583</span><a name="line.583"></a>
-<span class="sourceLineNo">584</span>   /**<a name="line.584"></a>
-<span class="sourceLineNo">585</span>    * Convenience method for calling the {@link NameProperty @NameProperty} method on<a name="line.585"></a>
-<span class="sourceLineNo">586</span>    * the specified object if it exists.<a name="line.586"></a>
-<span class="sourceLineNo">587</span>    *<a name="line.587"></a>
-<span class="sourceLineNo">588</span>    * @param cm The class type of the object.<a name="line.588"></a>
-<span class="sourceLineNo">589</span>    * @param o The object.<a name="line.589"></a>
-<span class="sourceLineNo">590</span>    * @param name The name to set.<a name="line.590"></a>
-<span class="sourceLineNo">591</span>    * @throws Exception<a name="line.591"></a>
-<span class="sourceLineNo">592</span>    */<a name="line.592"></a>
-<span class="sourceLineNo">593</span>   protected void setName(ClassMeta&lt;?&gt; cm, Object o, Object name) throws Exception {<a name="line.593"></a>
-<span class="sourceLineNo">594</span>      if (cm != null) {<a name="line.594"></a>
-<span class="sourceLineNo">595</span>         Method m = cm.getNameProperty();<a name="line.595"></a>
-<span class="sourceLineNo">596</span>         if (m != null)<a name="line.596"></a>
-<span class="sourceLineNo">597</span>            m.invoke(o, name);<a name="line.597"></a>
-<span class="sourceLineNo">598</span>      }<a name="line.598"></a>
-<span class="sourceLineNo">599</span>   }<a name="line.599"></a>
-<span class="sourceLineNo">600</span><a name="line.600"></a>
-<span class="sourceLineNo">601</span>   /**<a name="line.601"></a>
-<span class="sourceLineNo">602</span>    * Method that gets called when an unknown bean property name is encountered.<a name="line.602"></a>
-<span class="sourceLineNo">603</span>    *<a name="line.603"></a>
-<span class="sourceLineNo">604</span>    * @param session The parser session.<a name="line.604"></a>
-<span class="sourceLineNo">605</span>    * @param propertyName The unknown bean property name.<a name="line.605"></a>
-<span class="sourceLineNo">606</span>    * @param beanMap The bean that doesn't have the expected property.<a name="line.606"></a>
-<span class="sourceLineNo">607</span>    * @param line The line number where the property was found.  &lt;code&gt;-1&lt;/code&gt; if line numbers are not available.<a name="line.607"></a>
-<span class="sourceLineNo">608</span>    * @param col The column number where the property was found.  &lt;code&gt;-1&lt;/code&gt; if column numbers are not available.<a name="line.608"></a>
-<span class="sourceLineNo">609</span>    * @throws ParseException Automatically thrown if {@link BeanContext#BEAN_ignoreUnknownBeanProperties} setting<a name="line.609"></a>
-<span class="sourceLineNo">610</span>    *    on this parser is &lt;jk&gt;false&lt;/jk&gt;<a name="line.610"></a>
-<span class="sourceLineNo">611</span>    * @param &lt;T&gt; The class type of the bean map that doesn't have the expected property.<a name="line.611"></a>
-<span class="sourceLineNo">612</span>    */<a name="line.612"></a>
-<span class="sourceLineNo">613</span>   protected &lt;T&gt; void onUnknownProperty(ParserSession session, String propertyName, BeanMap&lt;T&gt; beanMap, int line, int col) throws ParseException {<a name="line.613"></a>
-<span class="sourceLineNo">614</span>      if (propertyName.equals(session.getBeanTypePropertyName(beanMap.getClassMeta())))<a name="line.614"></a>
-<span class="sourceLineNo">615</span>         return;<a name="line.615"></a>
-<span class="sourceLineNo">616</span>      if (! session.isIgnoreUnknownBeanProperties())<a name="line.616"></a>
-<span class="sourceLineNo">617</span>         throw new ParseException(session, "Unknown property ''{0}'' encountered while trying to parse into class ''{1}''", propertyName, beanMap.getClassMeta());<a name="line.617"></a>
-<span class="sourceLineNo">618</span>      if (listeners.size() &gt; 0)<a name="line.618"></a>
-<span class="sourceLineNo">619</span>         for (ParserListener listener : listeners)<a name="line.619"></a>
-<span class="sourceLineNo">620</span>            listener.onUnknownProperty(propertyName, beanMap.getClassMeta().getInnerClass(), beanMap.getBean(), line, col);<a name="line.620"></a>
-<span class="sourceLineNo">621</span>   }<a name="line.621"></a>
-<span class="sourceLineNo">622</span><a name="line.622"></a>
-<span class="sourceLineNo">623</span><a name="line.623"></a>
-<span class="sourceLineNo">624</span>   /**<a name="line.624"></a>
-<span class="sourceLineNo">625</span>    * Returns the media types handled based on the value of the {@link Consumes} annotation on the parser class.<a name="line.625"></a>
-<span class="sourceLineNo">626</span>    * &lt;p&gt;<a name="line.626"></a>
-<span class="sourceLineNo">627</span>    * This method can be overridden by subclasses to determine the media types programatically.<a name="line.627"></a>
-<span class="sourceLineNo">628</span>    *<a name="line.628"></a>
-<span class="sourceLineNo">629</span>    * @return The list of media types.  Never &lt;jk&gt;null&lt;/jk&gt;.<a name="line.629"></a>
-<span class="sourceLineNo">630</span>    */<a name="line.630"></a>
-<span class="sourceLineNo">631</span>   public MediaType[] getMediaTypes() {<a name="line.631"></a>
-<span class="sourceLineNo">632</span>      return mediaTypes;<a name="line.632"></a>
-<span class="sourceLineNo">633</span>   }<a name="line.633"></a>
-<span class="sourceLineNo">634</span><a name="line.634"></a>
-<span class="sourceLineNo">635</span>   /**<a name="line.635"></a>
-<span class="sourceLineNo">636</span>    * Returns the first media type specified on this parser via the {@link Consumes} annotation.<a name="line.636"></a>
-<span class="sourceLineNo">637</span>    *<a name="line.637"></a>
-<span class="sourceLineNo">638</span>    * @return The media type.<a name="line.638"></a>
-<span class="sourceLineNo">639</span>    */<a name="line.639"></a>
-<span class="sourceLineNo">640</span>   public MediaType getPrimaryMediaType() {<a name="line.640"></a>
-<span class="sourceLineNo">641</span>      return mediaTypes == null || mediaTypes.length == 0 ? null : mediaTypes[0];<a name="line.641"></a>
-<span class="sourceLineNo">642</span>   }<a name="line.642"></a>
-<span class="sourceLineNo">643</span>}<a name="line.643"></a>
+<span class="sourceLineNo">504</span>   // Other methods<a name="line.504"></a>
+<span class="sourceLineNo">505</span>   //--------------------------------------------------------------------------------<a name="line.505"></a>
+<span class="sourceLineNo">506</span><a name="line.506"></a>
+<span class="sourceLineNo">507</span>   /**<a name="line.507"></a>
+<span class="sourceLineNo">508</span>    * Adds a {@link ParserListener} to this parser to listen for parse events.<a name="line.508"></a>
+<span class="sourceLineNo">509</span>    *<a name="line.509"></a>
+<span class="sourceLineNo">510</span>    * @param listener The listener to associate with this parser.<a name="line.510"></a>
+<span class="sourceLineNo">511</span>    * @return This object (for method chaining).<a name="line.511"></a>
+<span class="sourceLineNo">512</span>    */<a name="line.512"></a>
+<span class="sourceLineNo">513</span>   public Parser addListener(ParserListener listener) {<a name="line.513"></a>
+<span class="sourceLineNo">514</span>      this.listeners.add(listener);<a name="line.514"></a>
+<span class="sourceLineNo">515</span>      return this;<a name="line.515"></a>
+<span class="sourceLineNo">516</span>   }<a name="line.516"></a>
+<span class="sourceLineNo">517</span><a name="line.517"></a>
+<span class="sourceLineNo">518</span>   /**<a name="line.518"></a>
+<span class="sourceLineNo">519</span>    * Returns the current parser listeners associated with this parser.<a name="line.519"></a>
+<span class="sourceLineNo">520</span>    *<a name="line.520"></a>
+<span class="sourceLineNo">521</span>    * @return The current list of parser listeners.<a name="line.521"></a>
+<span class="sourceLineNo">522</span>    */<a name="line.522"></a>
+<span class="sourceLineNo">523</span>   public List&lt;ParserListener&gt; getListeners() {<a name="line.523"></a>
+<span class="sourceLineNo">524</span>      return listeners;<a name="line.524"></a>
+<span class="sourceLineNo">525</span>   }<a name="line.525"></a>
+<span class="sourceLineNo">526</span><a name="line.526"></a>
+<span class="sourceLineNo">527</span>   /**<a name="line.527"></a>
+<span class="sourceLineNo">528</span>    * Converts the specified string to the specified type.<a name="line.528"></a>
+<span class="sourceLineNo">529</span>    *<a name="line.529"></a>
+<span class="sourceLineNo">530</span>    * @param session The session object.<a name="line.530"></a>
+<span class="sourceLineNo">531</span>    * @param outer The outer object if we're converting to an inner object that needs to be created within the context of an outer object.<a name="line.531"></a>
+<span class="sourceLineNo">532</span>    * @param s The string to convert.<a name="line.532"></a>
+<span class="sourceLineNo">533</span>    * @param type The class type to convert the string to.<a name="line.533"></a>
+<span class="sourceLineNo">534</span>    * @return The string converted as an object of the specified type.<a name="line.534"></a>
+<span class="sourceLineNo">535</span>    * @throws Exception If the input contains a syntax error or is malformed, or is not valid for the specified type.<a name="line.535"></a>
+<span class="sourceLineNo">536</span>    * @param &lt;T&gt; The class type to convert the string to.<a name="line.536"></a>
+<span class="sourceLineNo">537</span>    */<a name="line.537"></a>
+<span class="sourceLineNo">538</span>   @SuppressWarnings({ "unchecked", "rawtypes" })<a name="line.538"></a>
+<span class="sourceLineNo">539</span>   protected &lt;T&gt; T convertAttrToType(ParserSession session, Object outer, String s, ClassMeta&lt;T&gt; type) throws Exception {<a name="line.539"></a>
+<span class="sourceLineNo">540</span>      if (s == null)<a name="line.540"></a>
+<span class="sourceLineNo">541</span>         return null;<a name="line.541"></a>
+<span class="sourceLineNo">542</span><a name="line.542"></a>
+<span class="sourceLineNo">543</span>      if (type == null)<a name="line.543"></a>
+<span class="sourceLineNo">544</span>         type = (ClassMeta&lt;T&gt;)object();<a name="line.544"></a>
+<span class="sourceLineNo">545</span>      PojoSwap transform = type.getPojoSwap();<a name="line.545"></a>
+<span class="sourceLineNo">546</span>      ClassMeta&lt;?&gt; sType = type.getSerializedClassMeta();<a name="line.546"></a>
+<span class="sourceLineNo">547</span><a name="line.547"></a>
+<span class="sourceLineNo">548</span>      Object o = s;<a name="line.548"></a>
+<span class="sourceLineNo">549</span>      if (sType.isChar())<a name="line.549"></a>
+<span class="sourceLineNo">550</span>         o = s.charAt(0);<a name="line.550"></a>
+<span class="sourceLineNo">551</span>      else if (sType.isNumber())<a name="line.551"></a>
+<span class="sourceLineNo">552</span>         if (type.canCreateNewInstanceFromNumber(outer))<a name="line.552"></a>
+<span class="sourceLineNo">553</span>            o = type.newInstanceFromNumber(session, outer, parseNumber(s, type.getNewInstanceFromNumberClass()));<a name="line.553"></a>
+<span class="sourceLineNo">554</span>         else<a name="line.554"></a>
+<span class="sourceLineNo">555</span>            o = parseNumber(s, (Class&lt;? extends Number&gt;)sType.getInnerClass());<a name="line.555"></a>
+<span class="sourceLineNo">556</span>      else if (sType.isBoolean())<a name="line.556"></a>
+<span class="sourceLineNo">557</span>         o = Boolean.parseBoolean(s);<a name="line.557"></a>
+<span class="sourceLineNo">558</span>      else if (! (sType.isCharSequence() || sType.isObject())) {<a name="line.558"></a>
+<span class="sourceLineNo">559</span>         if (sType.canCreateNewInstanceFromString(outer))<a name="line.559"></a>
+<span class="so

<TRUNCATED>


[33/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/RestRequest.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RestRequest.html b/content/site/apidocs/org/apache/juneau/rest/RestRequest.html
index 8c0aeb0..e1c7894 100644
--- a/content/site/apidocs/org/apache/juneau/rest/RestRequest.html
+++ b/content/site/apidocs/org/apache/juneau/rest/RestRequest.html
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.65">RestRequest</a>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.66">RestRequest</a>
 extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequestWrapper</a></pre>
 <div class="block">Represents an HTTP request for a REST resource.
  <p>
@@ -807,7 +807,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getDescription</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.174">getDescription</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.176">getDescription</a>()</pre>
 <div class="block">Returns a string of the form <js>"HTTP method-name full-url"</js></div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -821,7 +821,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getProperties</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.199">getProperties</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.201">getProperties</a>()</pre>
 <div class="block">Retrieve the properties active for this request.
  <p>
  These properties can be modified by the request.</div>
@@ -837,7 +837,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>setHeader</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.214">setHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.216">setHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
 <div class="block">Sets a request header value.</div>
 <dl>
@@ -853,7 +853,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getHeader</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.227">getHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.229">getHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
 <div class="block">Returns the specified header value, or <jk>null</jk> if the header doesn't exist.
  <p>
  If <code>allowHeaderParams</code> init parameter is <jk>true</jk>, then first looks for <code>&amp;HeaderName=x</code> in the URL query string.</div>
@@ -871,7 +871,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getHeader</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.240">getHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.242">getHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;def)</pre>
 <div class="block">Returns the specified header value, or a default value if the header doesn't exist.
  <p>
@@ -891,7 +891,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getHeader</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.278">getHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.280">getHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                        <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)</pre>
 <div class="block">Returns the specified header value converted to a POJO.
  <p>
@@ -925,7 +925,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getHeader</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.292">getHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.294">getHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                        T&nbsp;def,
                        <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)</pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.Class-"><code>getHeader(String, Class)</code></a> but returns a default value if not found.</div>
@@ -947,9 +947,10 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getHeader</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.320">getHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.323">getHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                        <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
-                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)</pre>
+                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)
+                throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Returns the specified header value converted to a POJO.
  <p>
  The type can be any POJO type convertable from a <code>String</code>
@@ -972,6 +973,8 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
    <br>Ignored if the main type is not a map or collection.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>The parameter value converted to the specified class type.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></code> - If the header could not be converted to the specified type.</dd>
 </dl>
 </li>
 </ul>
@@ -981,7 +984,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getHeaders</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.332">getHeaders</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.335">getHeaders</a>()</pre>
 <div class="block">Returns all the request headers as an <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau"><code>ObjectMap</code></a>.
  <p>
  Altering entries in this map does not alter headers in the underlying request.</div>
@@ -997,7 +1000,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getHeaders</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.344">getHeaders</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.347">getHeaders</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true#getHeaders-java.lang.String-" title="class or interface in javax.servlet.http">getHeaders</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a></code></dd>
@@ -1012,7 +1015,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getMediaType</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.363">getMediaType</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.366">getMediaType</a>()</pre>
 <div class="block">Returns the <code>Content-Type</code> header value on the request, stripped
    of any parameters such as <js>";charset=X"</js>.
  <p>
@@ -1033,7 +1036,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getTimeZone</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.380">getTimeZone</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.383">getTimeZone</a>()</pre>
 <div class="block">Returns the <code>Time-Zone</code> header value on the request if there is one.
  <p>
  Example: <js>"GMT"</js>.</div>
@@ -1049,7 +1052,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getSupportedMediaTypes</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.392">getSupportedMediaTypes</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.395">getSupportedMediaTypes</a>()</pre>
 <div class="block">Returns the media types that are valid for <code>Content-Type</code> headers on the request.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1063,7 +1066,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>setCharacterEncoding</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.400">setCharacterEncoding</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;charset)</pre>
+<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.403">setCharacterEncoding</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;charset)</pre>
 <div class="block">Sets the charset to expect on the request body.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -1079,7 +1082,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getCharacterEncoding</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.408">getCharacterEncoding</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.411">getCharacterEncoding</a>()</pre>
 <div class="block">Returns the charset specified on the <code>Content-Type</code> header, or <js>"UTF-8"</js> if not specified.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -1095,7 +1098,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getLocale</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.428">getLocale</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.431">getLocale</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html?is-external=true#getLocale--" title="class or interface in javax.servlet">getLocale</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html?is-external=true" title="class or interface in javax.servlet">ServletRequest</a></code></dd>
@@ -1110,7 +1113,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getLocales</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.439">getLocales</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.442">getLocales</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html?is-external=true#getLocales--" title="class or interface in javax.servlet">getLocales</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html?is-external=true" title="class or interface in javax.servlet">ServletRequest</a></code></dd>
@@ -1125,7 +1128,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>setQueryParameter</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.464">setQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.467">setQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
 <div class="block">Sets a request query parameter value.</div>
 <dl>
@@ -1141,7 +1144,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getQueryParameter</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.480">getQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.483">getQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
 <div class="block">Returns a query parameter value.
  <p>
  Same as <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequestWrapper.html?is-external=true#getParameter-java.lang.String-" title="class or interface in javax.servlet"><code>ServletRequestWrapper.getParameter(String)</code></a> except only looks in the URL string, not parameters from URL-Encoded FORM posts.
@@ -1161,7 +1164,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getQueryParameter</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.506">getQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.509">getQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;def)</pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-"><code>getQueryParameter(String)</code></a> but returns the specified default value if the query parameter was not specified.</div>
 <dl>
@@ -1179,7 +1182,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getQueryParameter</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.540">getQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.543">getQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
                         throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Returns the specified query parameter value converted to a POJO.
@@ -1224,7 +1227,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getQueryParameter</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.554">getQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.557">getQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                T&nbsp;def,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
                         throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -1249,7 +1252,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getQueryParameter</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.590">getQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.593">getQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)
                         throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -1296,7 +1299,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getQueryParameter</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.608">getQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.611">getQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;def,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)
@@ -1326,7 +1329,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getQueryParameters</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.624">getQueryParameters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.627">getQueryParameters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;c)
                          throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Class-"><code>getQueryParameter(String, Class)</code></a> except for use on multi-part parameters
@@ -1352,7 +1355,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getQueryParameters</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.644">getQueryParameters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.647">getQueryParameters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
                                 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)
                          throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -1383,7 +1386,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getQueryParameters</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.658">getQueryParameters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.661">getQueryParameters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
 <div class="block">Returns the list of all query parameters with the specified name.
  <p>
  Same as <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequestWrapper.html?is-external=true#getParameterValues-java.lang.String-" title="class or interface in javax.servlet"><code>ServletRequestWrapper.getParameterValues(String)</code></a> except only looks in the URL string, not parameters from URL-Encoded FORM posts.
@@ -1403,7 +1406,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>hasQueryParameter</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.673">hasQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.676">hasQueryParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
 <div class="block">Returns <jk>true</jk> if the query parameters on this request contains the specified entry.
  <p>
  Note that this returns <jk>true</jk> even if the value is set to null (e.g. <js>"?key"</js>).
@@ -1424,7 +1427,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>hasAnyQueryParameters</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.683">hasAnyQueryParameters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;params)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.686">hasAnyQueryParameters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;params)</pre>
 <div class="block">Returns <jk>true</jk> if the request contains any of the specified query parameters.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1440,7 +1443,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getQueryParameterMap</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.699">getQueryParameterMap</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.702">getQueryParameterMap</a>()</pre>
 <div class="block">Equivalent to <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequestWrapper.html?is-external=true#getParameterMap--" title="class or interface in javax.servlet"><code>ServletRequestWrapper.getParameterMap()</code></a>, but only looks for query parameters in the URL, not form posts.
  <p>
  This method can be used to retrieve query parameters without triggering the underlying servlet API to load and parse the request body.
@@ -1458,7 +1461,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getQueryParameterNames</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.712">getQueryParameterNames</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.715">getQueryParameterNames</a>()</pre>
 <div class="block">Equivalent to <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequestWrapper.html?is-external=true#getParameterNames--" title="class or interface in javax.servlet"><code>ServletRequestWrapper.getParameterNames()</code></a>, but only looks for query parameters in the URL, not form posts.
  <p>
  This method can be used to retrieve query parameters without triggering the underlying servlet API to load and parse the request body.
@@ -1476,7 +1479,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>setFormDataParameter</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.770">setFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.773">setFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
 <div class="block">Sets a request form data parameter value.</div>
 <dl>
@@ -1492,7 +1495,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getFormDataParameter</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.797">getFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.800">getFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
 <div class="block">Returns a form data parameter value.
  <p>
  Parameter lookup is case-insensitive (consistent with WAS, but differs from Tomcat).
@@ -1523,7 +1526,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getFormDataParameter</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.814">getFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.817">getFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;def)</pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-"><code>getFormDataParameter(String)</code></a> except returns a default value if <jk>null</jk> or empty.</div>
 <dl>
@@ -1541,7 +1544,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getFormDataParameter</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.854">getFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.857">getFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
                            throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Returns the specified form data parameter value converted to a POJO using the
@@ -1590,7 +1593,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getFormDataParameter</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.868">getFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.871">getFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                   T&nbsp;def,
                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
                            throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -1615,7 +1618,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getFormDataParameters</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.883">getFormDataParameters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.886">getFormDataParameters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
                             throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.Class-"><code>getFormDataParameter(String, Class)</code></a> except for use on multi-part parameters
@@ -1639,7 +1642,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getFormDataParameter</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.921">getFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.924">getFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)
                            throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -1687,7 +1690,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getFormDataParameters</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.940">getFormDataParameters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.943">getFormDataParameters</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
                                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)
                             throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -1716,7 +1719,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>hasFormDataParameter</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.952">hasFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.955">hasFormDataParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
 <div class="block">Returns <jk>true</jk> if the form data parameters on this request contains the specified entry.
  <p>
  Note that this returns <jk>true</jk> even if the value is set to null (e.g. <js>"?key"</js>).</div>
@@ -1734,7 +1737,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>setPathParameter</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1012">setPathParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1032">setPathParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                              <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</pre>
 <div class="block">Sets a path parameter value.
  <p>
@@ -1752,7 +1755,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getPathParameter</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1026">getPathParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1046">getPathParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
 <div class="block">Returns a path parameter value.
  <p>
  A path parameter is a variable in the path pattern such as <js>"/{foo}"</js></div>
@@ -1770,7 +1773,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getPathParameter</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1059">getPathParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1079">getPathParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
                        throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Returns the specified path parameter converted to a POJO.
@@ -1813,7 +1816,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getPathParameter</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1095">getPathParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1115">getPathParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
                               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)
                        throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -1860,7 +1863,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getBody</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1187">getBody</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1207">getBody</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
               throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                      <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Reads the input from the HTTP request as JSON, XML, or HTML and converts the input to a POJO.
@@ -1946,7 +1949,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getBody</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1217">getBody</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1237">getBody</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
                      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)</pre>
 <div class="block">Reads the input from the HTTP request as JSON, XML, or HTML and converts the input to a POJO.
  <p>
@@ -1984,7 +1987,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getBodyAsString</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1229">getBodyAsString</a>()
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1249">getBodyAsString</a>()
                        throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Returns the HTTP body content as a plain string.
  <p>
@@ -2003,7 +2006,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getReader</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io">BufferedReader</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1243">getReader</a>()
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io">BufferedReader</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1263">getReader</a>()
                          throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Returns the HTTP body content as a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a>.
  <p>
@@ -2026,7 +2029,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getUnbufferedReader</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1258">getUnbufferedReader</a>()
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1278">getUnbufferedReader</a>()
                               throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getReader--"><code>getReader()</code></a>, but doesn't encapsulate the result in a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io"><code>BufferedReader</code></a>;</div>
 <dl>
@@ -2043,7 +2046,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getInputStream</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletInputStream.html?is-external=true" title="class or interface in javax.servlet">ServletInputStream</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1274">getInputStream</a>()
+<pre>public&nbsp;<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletInputStream.html?is-external=true" title="class or interface in javax.servlet">ServletInputStream</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1294">getInputStream</a>()
                                   throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Returns the HTTP body content as an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>.
  <p>
@@ -2067,7 +2070,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getPathInfoUndecoded</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1347">getPathInfoUndecoded</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1367">getPathInfoUndecoded</a>()</pre>
 <div class="block">Same as <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true#getPathInfo--" title="class or interface in javax.servlet.http"><code>HttpServletRequest.getPathInfo()</code></a> except returns the path undecoded.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2081,7 +2084,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getPathInfoParts</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1360">getPathInfoParts</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1380">getPathInfoParts</a>()</pre>
 <div class="block">Returns the value <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getPathInfo--" title="class or interface in javax.servlet.http"><code>HttpServletRequestWrapper.getPathInfo()</code></a> split on the <js>'/'</js> character.
  <p>
  If path info is <jk>null</jk>, returns an empty list.
@@ -2099,7 +2102,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getURL</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1392">getURL</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1412">getURL</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)
            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/net/MalformedURLException.html?is-external=true" title="class or interface in java.net">MalformedURLException</a></pre>
 <div class="block">Returns a resolved URL.
  <p>
@@ -2124,7 +2127,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getServletParentURI</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1405">getServletParentURI</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1425">getServletParentURI</a>()</pre>
 <div class="block">Returns the URI of the parent of this servlet.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2138,7 +2141,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getPathRemainder</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1464">getPathRemainder</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1484">getPathRemainder</a>()</pre>
 <div class="block">Returns the decoded remainder of the URL following any path pattern matches.
  <p>
  The behavior of path remainder is shown below given the path pattern "/foo/*":
@@ -2201,7 +2204,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getPathRemainderUndecoded</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1473">getPathRemainderUndecoded</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1493">getPathRemainderUndecoded</a>()</pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/rest/RestRequest.html#getPathRemainder--"><code>getPathRemainder()</code></a> but doesn't decode characters.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2215,7 +2218,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getRequestParentURI</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1516">getRequestParentURI</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1536">getRequestParentURI</a>()</pre>
 <div class="block">Returns the URI of the parent resource.
  <p>
  Trailing slashes in the path are ignored by this method.
@@ -2263,7 +2266,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getTrimmedRequestURI</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1531">getTrimmedRequestURI</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1551">getTrimmedRequestURI</a>()</pre>
 <div class="block">Same as <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getRequestURI--" title="class or interface in javax.servlet.http"><code>HttpServletRequestWrapper.getRequestURI()</code></a> but trims trailing slashes from the result.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2277,7 +2280,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getTrimmedRequestURL</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1540">getTrimmedRequestURL</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1560">getTrimmedRequestURL</a>()</pre>
 <div class="block">Same as <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequestWrapper.html?is-external=true#getRequestURL--" title="class or interface in javax.servlet.http"><code>HttpServletRequestWrapper.getRequestURL()</code></a> but trims trailing slashes from the result.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2291,7 +2294,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getServletURI</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1549">getServletURI</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1569">getServletURI</a>()</pre>
 <div class="block">Gets the URI of the servlet (e.g. <js>"https://localhost:9080/contextPath/servletPath"</js>).</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2305,7 +2308,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getRelativeServletURI</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1564">getRelativeServletURI</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1584">getRelativeServletURI</a>()</pre>
 <div class="block">Gets the path-absolute relative URI of the servlet (e.g. <js>"/contextPath/servletPath"</js>).</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2319,7 +2322,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getServletURIBuilder</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1575">getServletURIBuilder</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1595">getServletURIBuilder</a>()</pre>
 <div class="block">Returns a <code>StringBuffer</code> prefilled with the string <code><js>"/[contextPath]/[servletPath]"</js></code>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2333,7 +2336,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getServletTitle</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1591">getServletTitle</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1611">getServletTitle</a>()</pre>
 <div class="block">Returns the localized servlet title.
  <p>
  Equivalent to calling <a href="../../../../org/apache/juneau/rest/RestInfoProvider.html#getTitle-org.apache.juneau.rest.RestRequest-"><code>RestInfoProvider.getTitle(RestRequest)</code></a> with this object.</div>
@@ -2349,7 +2352,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getServletDescription</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1602">getServletDescription</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1622">getServletDescription</a>()</pre>
 <div class="block">Returns the localized servlet description.
  <p>
  Equivalent to calling <a href="../../../../org/apache/juneau/rest/RestInfoProvider.html#getDescription-org.apache.juneau.rest.RestRequest-"><code>RestInfoProvider.getDescription(RestRequest)</code></a> with this object.</div>
@@ -2365,7 +2368,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getMethodSummary</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1613">getMethodSummary</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1633">getMethodSummary</a>()</pre>
 <div class="block">Returns the localized method summary.
  <p>
  Equivalent to calling <a href="../../../../org/apache/juneau/rest/RestInfoProvider.html#getMethodSummary-java.lang.String-org.apache.juneau.rest.RestRequest-"><code>RestInfoProvider.getMethodSummary(String, RestRequest)</code></a> with this object.</div>
@@ -2381,7 +2384,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getMethodDescription</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1624">getMethodDescription</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1644">getMethodDescription</a>()</pre>
 <div class="block">Returns the localized method description.
  <p>
  Equivalent to calling <a href="../../../../org/apache/juneau/rest/RestInfoProvider.html#getMethodDescription-java.lang.String-org.apache.juneau.rest.RestRequest-"><code>RestInfoProvider.getMethodDescription(String, RestRequest)</code></a> with this object.</div>
@@ -2397,7 +2400,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getPageTitle</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1633">getPageTitle</a>()</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1653">getPageTitle</a>()</pre>
 <div class="block">Returns the localized page title for HTML views.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2411,7 +2414,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getPageText</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1650">getPageText</a>()</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1670">getPageText</a>()</pre>
 <div class="block">Returns the localized page text for HTML views.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2425,7 +2428,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getPageLinks</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1669">getPageLinks</a>()</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1689">getPageLinks</a>()</pre>
 <div class="block">Returns the localized page links for HTML views.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2439,7 +2442,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getSerializerGroup</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/serializer/SerializerGroup.html" title="class in org.apache.juneau.serializer">SerializerGroup</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1688">getSerializerGroup</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/serializer/SerializerGroup.html" title="class in org.apache.juneau.serializer">SerializerGroup</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1708">getSerializerGroup</a>()</pre>
 <div class="block">Returns the serializers associated with this request.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2453,7 +2456,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getParserGroup</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/ParserGroup.html" title="class in org.apache.juneau.parser">ParserGroup</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1697">getParserGroup</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/ParserGroup.html" title="class in org.apache.juneau.parser">ParserGroup</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1717">getParserGroup</a>()</pre>
 <div class="block">Returns the parsers associated with this request.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2467,7 +2470,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getParserMatch</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/ParserMatch.html" title="class in org.apache.juneau.parser">ParserMatch</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1708">getParserMatch</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/ParserMatch.html" title="class in org.apache.juneau.parser">ParserMatch</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1728">getParserMatch</a>()</pre>
 <div class="block">Returns the parser and media type matching the request <code>Content-Type</code> header.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2483,7 +2486,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getParser</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1725">getParser</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1745">getParser</a>()</pre>
 <div class="block">Returns the parser matching the request <code>Content-Type</code> header.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2498,7 +2501,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getReaderParser</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="class in org.apache.juneau.parser">ReaderParser</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1736">getReaderParser</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/ReaderParser.html" title="class in org.apache.juneau.parser">ReaderParser</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1756">getReaderParser</a>()</pre>
 <div class="block">Returns the reader parser matching the request <code>Content-Type</code> header.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2513,7 +2516,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getMethod</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1749">getMethod</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1769">getMethod</a>()</pre>
 <div class="block">Returns the method of this request.
  <p>
  If <code>allowHeaderParams</code> init parameter is <jk>true</jk>, then first looks for <code>&amp;method=xxx</code> in the URL query string.</div>
@@ -2531,7 +2534,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getContentLength</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1755">getContentLength</a>()</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1775">getContentLength</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html?is-external=true#getContentLength--" title="class or interface in javax.servlet">getContentLength</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html?is-external=true" title="class or interface in javax.servlet">ServletRequest</a></code></dd>
@@ -2546,7 +2549,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>isPlainText</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1769">isPlainText</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1789">isPlainText</a>()</pre>
 <div class="block">Returns <jk>true</jk> if <code>&amp;plainText=true</code> was specified as a URL parameter.
  <p>
  This indicates that the <code>Content-Type</code> of the output should always be set to <js>"text/plain"</js>
@@ -2565,7 +2568,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getMessage</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1780">getMessage</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1800">getMessage</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
                          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;args)</pre>
 <div class="block">Shortcut method for calling <a href="../../../../org/apache/juneau/utils/MessageBundle.html#getString-java.util.Locale-java.lang.String-java.lang.Object...-"><code>MessageBundle.getString(Locale, String, Object...)</code></a> based on the request locale.</div>
 <dl>
@@ -2583,7 +2586,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getResourceBundle</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils">MessageBundle</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1789">getResourceBundle</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils">MessageBundle</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestRequest.html#line.1809">getResourceBundle</a>()</pre>
 <div class="block">Returns the resource bundle for the request locale.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2597,7 +2600,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpSe

<TRUNCATED>


[36/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/Query.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/Query.html b/content/site/apidocs/org/apache/juneau/remoteable/Query.html
new file mode 100644
index 0000000..32ee652
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/Query.html
@@ -0,0 +1,247 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Query (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="Query (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/QueryIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/Query.html" target="_top">Frames</a></li>
+<li><a href="Query.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.remoteable</div>
+<h2 title="Annotation Type Query" class="title">Annotation Type Query</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#PARAMETER" title="class or interface in java.lang.annotation">PARAMETER</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html?is-external=true" title="class or interface in java.lang.annotation">@Inherited</a>
+public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Query.html#line.53">Query</a></pre>
+<div class="block">Annotation applied to Java method arguments of interface proxies to denote that they are QUERY parameters on the request.
+ <p>
+ <h5 class='section'>Example:</h5>
+ <p class='bcode'>
+   <ja>@Remoteable</ja>(path=<js>"/myproxy"</js>)
+   <jk>public interface</jk> MyProxy {
+
+      <ja>@RemoteMethod</ja>(path=<js>"/mymethod1"</js>)
+      String myProxyMethod1(<ja>@Query</ja>(<js>"foo"</js>)</ja> String foo, <ja>@Query</ja>(<js>"bar"</js>)</ja> MyPojo pojo);
+
+      <ja>@RemoteMethod</ja>(path=<js>"/mymethod2"</js>)
+      String myProxyMethod2(<ja>@Query</ja> Map&lt;String,Object&gt; query);
+
+      <ja>@RemoteMethod</ja>(path=<js>"/mymethod3"</js>)
+      String myProxyMethod2(<ja>@Query</ja> String queryString);
+   }
+ </p>
+ <p>
+ The argument can be any of the following types:
+ <ul class='spaced-list'>
+   <li>Any serializable POJO - Converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object, Boolean, Boolean)</code></a>.
+   <li><code>Map&lt;String,Object&gt;</code> - Individual name-value pairs.
+      Values are converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object, Boolean, Boolean)</code></a>.
+   <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a> - Treated as a query string.
+ </ul></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.optional.element.summary">
+<!--   -->
+</a>
+<h3>Optional Element Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Optional Element Summary table, listing optional elements, and an explanation">
+<caption><span>Optional Elements</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Optional Element and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/Query.html#value--">value</a></span></code>
+<div class="block">The query parameter name.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.element.detail">
+<!--   -->
+</a>
+<h3>Element Detail</h3>
+<a name="value--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>value</h4>
+<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/Query.html#line.59">value</a></pre>
+<div class="block">The query parameter name.
+ Can be blank if the value is an instance of <code>Map&lt;String,Object&gt;</code> or <code>String</code>.</div>
+<dl>
+<dt>Default:</dt>
+<dd>""</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/QueryIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/Query.html" target="_top">Frames</a></li>
+<li><a href="Query.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/QueryIfNE.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/QueryIfNE.html b/content/site/apidocs/org/apache/juneau/remoteable/QueryIfNE.html
new file mode 100644
index 0000000..a0e1174
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/QueryIfNE.html
@@ -0,0 +1,219 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>QueryIfNE (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="QueryIfNE (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/QueryIfNE.html" target="_top">Frames</a></li>
+<li><a href="QueryIfNE.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.required.element.summary">Required</a>&nbsp;|&nbsp;</li>
+<li>Optional</li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.remoteable</div>
+<h2 title="Annotation Type QueryIfNE" class="title">Annotation Type QueryIfNE</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#PARAMETER" title="class or interface in java.lang.annotation">PARAMETER</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html?is-external=true" title="class or interface in java.lang.annotation">@Inherited</a>
+public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/QueryIfNE.html#line.27">QueryIfNE</a></pre>
+<div class="block">Identical to <a href="../../../../org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><code>@Query</code></a> except skips values if they're null/blank.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.required.element.summary">
+<!--   -->
+</a>
+<h3>Required Element Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Required Element Summary table, listing required elements, and an explanation">
+<caption><span>Required Elements</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Required Element and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/QueryIfNE.html#value--">value</a></span></code>
+<div class="block">The query parameter name.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.element.detail">
+<!--   -->
+</a>
+<h3>Element Detail</h3>
+<a name="value--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>value</h4>
+<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/QueryIfNE.html#line.33">value</a></pre>
+<div class="block">The query parameter name.
+ Can be blank if the value is an instance of <code>Map&lt;String,Object&gt;</code> or <code>String</code>.</div>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/QueryIfNE.html" target="_top">Frames</a></li>
+<li><a href="QueryIfNE.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.required.element.summary">Required</a>&nbsp;|&nbsp;</li>
+<li>Optional</li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/RemoteMethod.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/RemoteMethod.html b/content/site/apidocs/org/apache/juneau/remoteable/RemoteMethod.html
new file mode 100644
index 0000000..439b58d
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/RemoteMethod.html
@@ -0,0 +1,269 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RemoteMethod (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="RemoteMethod (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/RemoteMethod.html" target="_top">Frames</a></li>
+<li><a href="RemoteMethod.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.remoteable</div>
+<h2 title="Annotation Type RemoteMethod" class="title">Annotation Type RemoteMethod</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#METHOD" title="class or interface in java.lang.annotation">METHOD</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html?is-external=true" title="class or interface in java.lang.annotation">@Inherited</a>
+public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethod.html#line.39">RemoteMethod</a></pre>
+<div class="block">Annotation applied to Java methods on interface proxy classes.
+ <p>
+ TODO <i>(sorry)</i>
+ <p>
+ The return type on the Java method can be any of the following:
+ <ul>
+   <li><jk>void</jk> - Don't parse any response.  Note that the method will still throw an exception if an error HTTP status is returned.
+   <li>Any parsable POJO - The body of the response will be converted to the POJO using the parser defined on the <code>RestClient</code>.
+   <li><code>HttpResponse</code> - Returns the raw <code>HttpResponse</code> returned by the inner <code>HttpClient</code>.
+   <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a> - Returns access to the raw reader of the response.
+   <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> - Returns access to the raw input stream of the response.
+ </ul></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.optional.element.summary">
+<!--   -->
+</a>
+<h3>Optional Element Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Optional Element Summary table, listing optional elements, and an explanation">
+<caption><span>Optional Elements</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Optional Element and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html#httpMethod--">httpMethod</a></span></code>
+<div class="block">Defines whether to use <code>GET</code> or <code>POST</code> for REST calls.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html#path--">path</a></span></code>
+<div class="block">The path to the REST service for this Java method relative to the parent proxy interface URL.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.element.detail">
+<!--   -->
+</a>
+<h3>Element Detail</h3>
+<a name="path--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>path</h4>
+<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethod.html#line.49">path</a></pre>
+<div class="block">The path to the REST service for this Java method relative to the parent proxy interface URL.
+ <p>
+ The default value is the Java method name (e.g. <js>"http://localhost/root-url/org.foo.MyInterface/myMethod"</js>) if
+   <a href="../../../../org/apache/juneau/remoteable/Remoteable.html#methodPaths--"><code>@Remoteable.methodPaths()</code></a> is <js>"NAME"</js>, or the Java method signature
+   (e.g. <js>"http://localhost/root-url/org.foo.MyInterface/myMethod(int,boolean,java.lang.String)"</js>) if
+   it's <js>"SIGNATURE"</js>.</div>
+<dl>
+<dt>Default:</dt>
+<dd>""</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="httpMethod--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>httpMethod</h4>
+<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethod.html#line.62">httpMethod</a></pre>
+<div class="block">Defines whether to use <code>GET</code> or <code>POST</code> for REST calls.
+ <p>
+ Possible values:
+ <ul>
+   <li><js>"POST"</js> (default) - Parameters are serialized using the serializer registered with the RestClient.
+   <li><js>"GET"</js> - Parameters are serialized using the UrlEncodingSerializer registered with the RestClient.
+ </ul>
+ <p>
+ The default value is <js>"POST"</js>.</div>
+<dl>
+<dt>Default:</dt>
+<dd>"POST"</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/RemoteMethod.html" target="_top">Frames</a></li>
+<li><a href="RemoteMethod.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/RemoteMethodArg.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/RemoteMethodArg.html b/content/site/apidocs/org/apache/juneau/remoteable/RemoteMethodArg.html
new file mode 100644
index 0000000..e7f007e
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/RemoteMethodArg.html
@@ -0,0 +1,323 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RemoteMethodArg (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="RemoteMethodArg (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li>Next&nbsp;Class</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/RemoteMethodArg.html" target="_top">Frames</a></li>
+<li><a href="RemoteMethodArg.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li>Method</li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.remoteable</div>
+<h2 title="Class RemoteMethodArg" class="title">Class RemoteMethodArg</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.remoteable.RemoteMethodArg</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethodArg.html#line.18">RemoteMethodArg</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Represents the metadata about an annotated argument of a method on a remote proxy interface.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html#index">index</a></span></code>
+<div class="block">The zero-based index of the argument on the Java method.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html#name">name</a></span></code>
+<div class="block">The argument name.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html#skipIfNE">skipIfNE</a></span></code>
+<div class="block">The value is skipped if it's null/empty.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier</th>
+<th class="colLast" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected </code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html#RemoteMethodArg-java.lang.String-int-boolean-">RemoteMethodArg</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+               int&nbsp;index,
+               boolean&nbsp;skipIfNE)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="name">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>name</h4>
+<pre>public final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethodArg.html#line.21">name</a></pre>
+<div class="block">The argument name.  Can be blank.</div>
+</li>
+</ul>
+<a name="index">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>index</h4>
+<pre>public final&nbsp;int <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethodArg.html#line.24">index</a></pre>
+<div class="block">The zero-based index of the argument on the Java method.</div>
+</li>
+</ul>
+<a name="skipIfNE">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>skipIfNE</h4>
+<pre>public final&nbsp;boolean <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethodArg.html#line.27">skipIfNE</a></pre>
+<div class="block">The value is skipped if it's null/empty.</div>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="RemoteMethodArg-java.lang.String-int-boolean-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>RemoteMethodArg</h4>
+<pre>protected&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethodArg.html#line.36">RemoteMethodArg</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+                          int&nbsp;index,
+                          boolean&nbsp;skipIfNE)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The argument name.  Can be blank.</dd>
+<dd><code>index</code> - The zero-based index of the argument on the Java method.</dd>
+<dd><code>skipIfNE</code> - The value is skipped if it's null/empty.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li>Next&nbsp;Class</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/RemoteMethodArg.html" target="_top">Frames</a></li>
+<li><a href="RemoteMethodArg.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li>Method</li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/Remoteable.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/Remoteable.html b/content/site/apidocs/org/apache/juneau/remoteable/Remoteable.html
new file mode 100644
index 0000000..faa8c43
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/Remoteable.html
@@ -0,0 +1,290 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Remoteable (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="Remoteable (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/QueryIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/Remoteable.html" target="_top">Frames</a></li>
+<li><a href="Remoteable.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.remoteable</div>
+<h2 title="Annotation Type Remoteable" class="title">Annotation Type Remoteable</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>={<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#TYPE" title="class or interface in java.lang.annotation">TYPE</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#METHOD" title="class or interface in java.lang.annotation">METHOD</a>})
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html?is-external=true" title="class or interface in java.lang.annotation">@Inherited</a>
+public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Remoteable.html#line.29">Remoteable</a></pre>
+<div class="block">Identifies a remote proxy interface against a REST interface.
+ <p>
+ TODO <i>(sorry)</i></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.optional.element.summary">
+<!--   -->
+</a>
+<h3>Optional Element Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Optional Element Summary table, listing optional elements, and an explanation">
+<caption><span>Optional Elements</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Optional Element and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/Remoteable.html#expose--">expose</a></span></code>
+<div class="block">Identifies which methods on the interface should be exposed through the proxy.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/Remoteable.html#methodPaths--">methodPaths</a></span></code>
+<div class="block">Defines the methodology to use for the path names of the methods when not explicitly defined via <a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html#path--"><code>@RemoteMethod.path()</code></a>.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/Remoteable.html#path--">path</a></span></code>
+<div class="block">The absolute or relative path of the REST service.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.element.detail">
+<!--   -->
+</a>
+<h3>Element Detail</h3>
+<a name="path--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>path</h4>
+<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/Remoteable.html#line.39">path</a></pre>
+<div class="block">The absolute or relative path of the REST service.
+ <p>
+ When a relative path is specified, it's relative to the root-url defined on the <code>RestClient</code> used
+ to instantiate the interface.
+ <p>
+ When no path is specified, the path is assumed to be the class name (e.g. <js>"http://localhost/root-url/org.foo.MyInterface"</js>)</div>
+<dl>
+<dt>Default:</dt>
+<dd>""</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="expose--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>expose</h4>
+<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/Remoteable.html#line.51">expose</a></pre>
+<div class="block">Identifies which methods on the interface should be exposed through the proxy.
+ <p>
+ The options are:
+ <ul>
+   <li><js>"DECLARED"</js> (default) - Only methods declared on the immediate interface/class are exposed.  Methods on parent interfaces/classes are ignored.
+   <li><js>"ANNOTATED"</js> - Only methods annotated with <a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable"><code>RemoteMethod</code></a> are exposed.
+   <li><js>"ALL"</js> - All methods defined on the interface or class are exposed.
+ </ul></div>
+<dl>
+<dt>Default:</dt>
+<dd>"DECLARED"</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methodPaths--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>methodPaths</h4>
+<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/Remoteable.html#line.64">methodPaths</a></pre>
+<div class="block">Defines the methodology to use for the path names of the methods when not explicitly defined via <a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html#path--"><code>@RemoteMethod.path()</code></a>.
+ <p>
+ The options are:
+ <ul>
+   <li><js>"NAME"</js> (default) - Use the method name (e.g. "myMethod").
+   <li><js>"SIGNATURE"</js> - Use the method signature (e.g. "myMethod(int,boolean,java.lang.String,int[][][])").
+ </ul>
+ <p>
+ Note that if you use <js>"NAME"</js>, method names must be unique in the interface.</div>
+<dl>
+<dt>Default:</dt>
+<dd>"NAME"</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/QueryIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/Remoteable.html" target="_top">Frames</a></li>
+<li><a href="Remoteable.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/RemoteableMeta.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/RemoteableMeta.html b/content/site/apidocs/org/apache/juneau/remoteable/RemoteableMeta.html
new file mode 100644
index 0000000..2996307
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/RemoteableMeta.html
@@ -0,0 +1,293 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RemoteableMeta (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="RemoteableMeta (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = {"i0":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/RemoteableMeta.html" target="_top">Frames</a></li>
+<li><a href="RemoteableMeta.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.remoteable</div>
+<h2 title="Class RemoteableMeta" class="title">Class RemoteableMeta</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.remoteable.RemoteableMeta</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMeta.html#line.29">RemoteableMeta</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Contains the meta-data about a remoteable interface.
+ <p>
+ Captures the information in <a href="../../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remoteable</code></a> and <a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable"><code>@RemoteMethod</code></a>
+ annotations for caching and reuse.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteableMeta.html#RemoteableMeta-java.lang.Class-java.lang.String-">RemoteableMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c,
+              <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;restUrl)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMethodMeta</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteableMeta.html#getMethodMeta-java.lang.reflect.Method-">getMethodMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;m)</code>
+<div class="block">Returns the metadata about the specified method on this interface proxy.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="RemoteableMeta-java.lang.Class-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>RemoteableMeta</h4>
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMeta.html#line.39">RemoteableMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c,
+                      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;restUrl)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>c</code> - The interface class annotated with a <a href="../../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remoteable</code></a> annotation (optional).</dd>
+<dd><code>restUrl</code> - The absolute URL of the remote REST interface that implements this proxy interface.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="getMethodMeta-java.lang.reflect.Method-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getMethodMeta</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMethodMeta</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMeta.html#line.64">getMethodMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;m)</pre>
+<div class="block">Returns the metadata about the specified method on this interface proxy.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>m</code> - The method to look up.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>Metadata about the method, or <jk>null</jk> if no metadata was found.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/RemoteableMeta.html" target="_top">Frames</a></li>
+<li><a href="RemoteableMeta.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>


[30/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/client/RestClient.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/client/RestClient.html b/content/site/apidocs/org/apache/juneau/rest/client/RestClient.html
index 929ccc2..e4f2fa9 100644
--- a/content/site/apidocs/org/apache/juneau/rest/client/RestClient.html
+++ b/content/site/apidocs/org/apache/juneau/rest/client/RestClient.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -75,13 +75,13 @@ var activeTableTab = "activeTableTab";
 <li>Summary:&nbsp;</li>
 <li>Nested&nbsp;|&nbsp;</li>
 <li><a href="#fields.inherited.from.class.org.apache.juneau.CoreObject">Field</a>&nbsp;|&nbsp;</li>
-<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
 <li><a href="#method.summary">Method</a></li>
 </ul>
 <ul class="subNavList">
 <li>Detail:&nbsp;</li>
 <li>Field&nbsp;|&nbsp;</li>
-<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
 <li><a href="#method.detail">Method</a></li>
 </ul>
 </div>
@@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <hr>
 <br>
-<pre>public class <a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.52">RestClient</a>
+<pre>public class <a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.55">RestClient</a>
 extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class in org.apache.juneau">CoreObject</a></pre>
 <div class="block">Utility class for interfacing with remote REST interfaces.
 
@@ -151,41 +151,6 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 </ul>
 </li>
 </ul>
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-<ul class="blockList">
-<li class="blockList"><a name="constructor.summary">
-<!--   -->
-</a>
-<h3>Constructor Summary</h3>
-<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
-<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
-<tr>
-<th class="colOne" scope="col">Constructor and Description</th>
-</tr>
-<tr class="altColor">
-<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClient.html#RestClient-org.apache.juneau.PropertyStore-org.apache.http.impl.client.CloseableHttpClient-boolean-org.apache.juneau.serializer.Serializer-org.apache.juneau.parser.Parser-org.apache.juneau.urlencoding.UrlEncodingSerializer-java.util.Map-java.util.List-java.lang.String-java.util.Map-java.lang.String-org.apache.juneau.rest.client.RetryOn-int-long-boolean-java.util.concurrent.ExecutorService-boolean-">RestClient</a></span>(<a href="../../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a>&nbsp;propertyStore,
-          org.apache.http.impl.client.CloseableHttpClient&nbsp;httpClient,
-          boolean&nbsp;keepHttpClientOpen,
-          <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&nbsp;serializer,
-          <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;parser,
-          <a href="../../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a>&nbsp;urlEncodingSerializer,
-          <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;headers,
-          <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/juneau/rest/client/RestCallInterceptor.html" title="class in org.apache.juneau.rest.client">RestCallInterceptor</a>&gt;&nbsp;interceptors,
-          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteableServletUri,
-          <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;remoteableServiceUriMap,
-          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;rootUri,
-          <a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client">RetryOn</a>&nbsp;retryOn,
-          int&nbsp;retries,
-          long&nbsp;retryInterval,
-          boolean&nbsp;debug,
-          <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a>&nbsp;executorService,
-          boolean&nbsp;executorServiceShutdownOnClose)</code>
-<div class="block">Create a new REST client.</div>
-</td>
-</tr>
-</table>
-</li>
-</ul>
 <!-- ========== METHOD SUMMARY =========== -->
 <ul class="blockList">
 <li class="blockList"><a name="method.summary">
@@ -259,45 +224,51 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 </tr>
 <tr id="i9" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClient.html#doPost-java.lang.Object-">doPost</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url)</code>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestClient.html#doPost-java.lang.Object-java.lang.Object-"><code>doPost(Object, Object)</code></a> but don't specify the input yet.</div>
+</td>
+</tr>
+<tr id="i10" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClient.html#doPost-java.lang.Object-java.lang.Object-">doPost</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url,
       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>
 <div class="block">Perform a <code>POST</code> request against the specified URL.</div>
 </td>
 </tr>
-<tr id="i10" class="altColor">
+<tr id="i11" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClient.html#doPut-java.lang.Object-java.lang.Object-">doPut</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url,
      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>
 <div class="block">Perform a <code>PUT</code> request against the specified URL.</div>
 </td>
 </tr>
-<tr id="i11" class="rowColor">
+<tr id="i12" class="altColor">
 <td class="colFirst"><code>protected org.apache.http.HttpResponse</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClient.html#execute-org.apache.http.client.methods.HttpUriRequest-">execute</a></span>(org.apache.http.client.methods.HttpUriRequest&nbsp;req)</code>
 <div class="block">Execute the specified request.</div>
 </td>
 </tr>
-<tr id="i12" class="altColor">
+<tr id="i13" class="rowColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClient.html#finalize--">finalize</a></span>()</code>&nbsp;</td>
 </tr>
-<tr id="i13" class="rowColor">
+<tr id="i14" class="altColor">
 <td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-">getRemoteableProxy</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;interfaceClass)</code>
-<div class="block">Create a new proxy interface for the specified remoteable service interface.</div>
+<div class="block">Create a new proxy interface against a REST interface.</div>
 </td>
 </tr>
-<tr id="i14" class="altColor">
+<tr id="i15" class="rowColor">
 <td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-java.lang.Object-">getRemoteableProxy</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;interfaceClass,
-                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;proxyUrl)</code>
-<div class="block">Create a new proxy interface for the specified REST PROXY interface.</div>
+                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;restUrl)</code>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-"><code>getRemoteableProxy(Class)</code></a> except explicitly specifies the URL of the REST interface.</div>
 </td>
 </tr>
-<tr id="i15" class="rowColor">
+<tr id="i16" class="altColor">
 <td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-java.lang.Object-org.apache.juneau.serializer.Serializer-org.apache.juneau.parser.Parser-">getRemoteableProxy</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;interfaceClass,
-                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;proxyUrl,
+                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;restUrl,
                   <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&nbsp;serializer,
                   <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;parser)</code>
 <div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-java.lang.Object-"><code>getRemoteableProxy(Class, Object)</code></a> but allows you to override the serializer and parser used.</div>
@@ -326,60 +297,6 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <div class="details">
 <ul class="blockList">
 <li class="blockList">
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-<ul class="blockList">
-<li class="blockList"><a name="constructor.detail">
-<!--   -->
-</a>
-<h3>Constructor Detail</h3>
-<a name="RestClient-org.apache.juneau.PropertyStore-org.apache.http.impl.client.CloseableHttpClient-boolean-org.apache.juneau.serializer.Serializer-org.apache.juneau.parser.Parser-org.apache.juneau.urlencoding.UrlEncodingSerializer-java.util.Map-java.util.List-java.lang.String-java.util.Map-java.lang.String-org.apache.juneau.rest.client.RetryOn-int-long-boolean-java.util.concurrent.ExecutorService-boolean-">
-<!--   -->
-</a>
-<ul class="blockListLast">
-<li class="blockList">
-<h4>RestClient</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.93">RestClient</a>(<a href="../../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a>&nbsp;propertyStore,
-                  org.apache.http.impl.client.CloseableHttpClient&nbsp;httpClient,
-                  boolean&nbsp;keepHttpClientOpen,
-                  <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&nbsp;serializer,
-                  <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;parser,
-                  <a href="../../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a>&nbsp;urlEncodingSerializer,
-                  <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;headers,
-                  <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/juneau/rest/client/RestCallInterceptor.html" title="class in org.apache.juneau.rest.client">RestCallInterceptor</a>&gt;&nbsp;interceptors,
-                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteableServletUri,
-                  <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;remoteableServiceUriMap,
-                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;rootUri,
-                  <a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client">RetryOn</a>&nbsp;retryOn,
-                  int&nbsp;retries,
-                  long&nbsp;retryInterval,
-                  boolean&nbsp;debug,
-                  <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a>&nbsp;executorService,
-                  boolean&nbsp;executorServiceShutdownOnClose)</pre>
-<div class="block">Create a new REST client.</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>propertyStore</code> - </dd>
-<dd><code>httpClient</code> - </dd>
-<dd><code>keepHttpClientOpen</code> - </dd>
-<dd><code>serializer</code> - </dd>
-<dd><code>parser</code> - </dd>
-<dd><code>urlEncodingSerializer</code> - </dd>
-<dd><code>headers</code> - </dd>
-<dd><code>interceptors</code> - </dd>
-<dd><code>remoteableServletUri</code> - </dd>
-<dd><code>remoteableServiceUriMap</code> - </dd>
-<dd><code>rootUri</code> - </dd>
-<dd><code>retryOn</code> - </dd>
-<dd><code>retries</code> - </dd>
-<dd><code>retryInterval</code> - </dd>
-<dd><code>debug</code> - </dd>
-<dd><code>executorService</code> - </dd>
-<dd><code>executorServiceShutdownOnClose</code> - </dd>
-</dl>
-</li>
-</ul>
-</li>
-</ul>
 <!-- ============ METHOD DETAIL ========== -->
 <ul class="blockList">
 <li class="blockList"><a name="method.detail">
@@ -392,7 +309,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>close</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.149">close</a>()
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.133">close</a>()
            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Calls <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true#close--" title="class or interface in java.io"><code>Closeable.close()</code></a> on the underlying <code>CloseableHttpClient</code>.
  It's good practice to call this method after the client is no longer used.</div>
@@ -408,7 +325,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>closeQuietly</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.162">closeQuietly</a>()</pre>
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.146">closeQuietly</a>()</pre>
 <div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestClient.html#close--"><code>close()</code></a>, but ignores any exceptions.</div>
 </li>
 </ul>
@@ -418,7 +335,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>execute</h4>
-<pre>protected&nbsp;org.apache.http.HttpResponse&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.182">execute</a>(org.apache.http.client.methods.HttpUriRequest&nbsp;req)
+<pre>protected&nbsp;org.apache.http.HttpResponse&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.166">execute</a>(org.apache.http.client.methods.HttpUriRequest&nbsp;req)
                                         throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Execute the specified request.
  Subclasses can override this method to provide specialized handling.</div>
@@ -438,7 +355,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>doGet</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.194">doGet</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url)
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.178">doGet</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url)
                throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
 <div class="block">Perform a <code>GET</code> request against the specified URL.</div>
 <dl>
@@ -458,7 +375,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>doPut</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.214">doPut</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url,
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.198">doPut</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url,
                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)
                throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
 <div class="block">Perform a <code>PUT</code> request against the specified URL.</div>
@@ -487,7 +404,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>doPost</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.234">doPost</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url,
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.218">doPost</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url,
                        <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)
                 throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
 <div class="block">Perform a <code>POST</code> request against the specified URL.</div>
@@ -510,13 +427,36 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 </dl>
 </li>
 </ul>
+<a name="doPost-java.lang.Object-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>doPost</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.233">doPost</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url)
+                throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestClient.html#doPost-java.lang.Object-java.lang.Object-"><code>doPost(Object, Object)</code></a> but don't specify the input yet.
+ <p>
+ You must call either <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#input-java.lang.Object-"><code>RestCall.input(Object)</code></a> or <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#formData-java.lang.String-java.lang.Object-"><code>RestCall.formData(String, Object)</code></a>
+ to set the contents on the result object.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>url</code> - The URL of the remote REST resource.  Can be any of the following:  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net"><code>URI</code></a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net"><code>URL</code></a>.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client"><code>RestCall</code></a> object that can be further tailored before executing the request
+   and getting the response as a parsed object.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></code></dd>
+</dl>
+</li>
+</ul>
 <a name="doDelete-java.lang.Object-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>doDelete</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.246">doDelete</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url)
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.245">doDelete</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url)
                   throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
 <div class="block">Perform a <code>DELETE</code> request against the specified URL.</div>
 <dl>
@@ -536,7 +476,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>doOptions</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.258">doOptions</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url)
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.257">doOptions</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url)
                    throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
 <div class="block">Perform an <code>OPTIONS</code> request against the specified URL.</div>
 <dl>
@@ -556,7 +496,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>doFormPost</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.272">doFormPost</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url,
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.271">doFormPost</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;url,
                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)
                     throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
 <div class="block">Perform a <code>POST</code> request with a content type of <code>application/x-www-form-urlencoded</code> against the specified URL.</div>
@@ -579,7 +519,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>doCallback</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.297">doCallback</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;callString)
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.296">doCallback</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;callString)
                     throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
 <div class="block">Performs a REST call where the entire call is specified in a simple string.
  <p>
@@ -627,6 +567,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
    <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> - Raw contents of <code>InputStream</code> will be serialized to remote resource.
    <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a> - POJO to be converted to text using the <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer"><code>Serializer</code></a> registered with the <a href="../../../../../org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client"><code>RestClient</code></a>.
    <li><code>HttpEntity</code> - Bypass Juneau serialization and pass HttpEntity directly to HttpClient.
+   <li><a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a> - Converted to a URL-encoded FORM post.
  </ul>
  This parameter is IGNORED if <a href="../../../../../org/apache/juneau/rest/client/HttpMethod.html#hasContent--"><code>HttpMethod.hasContent()</code></a> is <jk>false</jk>.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -667,16 +608,61 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>getRemoteableProxy</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.431">getRemoteableProxy</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;interfaceClass)</pre>
-<div class="block">Create a new proxy interface for the specified remoteable service interface.</div>
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.476">getRemoteableProxy</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;interfaceClass)</pre>
+<div class="block">Create a new proxy interface against a REST interface.
+ <p>
+ The URL to the REST interface is based on the following values:
+ <ul>
+   <li>The <a href="../../../../../org/apache/juneau/remoteable/Remoteable.html#path--"><code>@Remoteable.path()</code></a> annotation on the interface (<code>remoteable-path</code>).
+   <li>The <a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#rootUrl-java.lang.Object-"><code>rootUrl</code></a> on the client (<code>root-url</code>).
+   <li>The fully-qualified class name of the interface (<code>class-name</code>).
+ </ul>
+ <p>
+ The URL calculation is as follows:
+ <ul>
+   <li><code>remoteable-path</code> - If remoteable path is absolute.
+   <li><code>root-url/remoteable-path</code> - If remoteable path is relative and root-url has been specified.
+   <li><code>root-url/class-name</code> - If remoteable path is not specified.
+ </ul>
+ <p>
+ If the information is not available to resolve to an absolute URL, a <a href="../../../../../org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable"><code>RemoteableMetadataException</code></a> is thrown.
+ <p>
+ Examples:
+ <p class='bcode'>
+   <jk>package</jk> org.apache.foo;
+
+   <ja>@Remoteable</ja>(path=<js>"http://hostname/resturl/myinterface1"</js>)
+   <jk>public interface</jk> MyInterface1 { ... }
+
+   <ja>@Remoteable</ja>(path=<js>"/myinterface2"</js>)
+   <jk>public interface</jk> MyInterface2 { ... }
+
+   <jk>public interface</jk> MyInterface3 { ... }
+
+   <jc>// Resolves to "http://localhost/resturl/myinterface1"</jc>
+   MyInterface1 i1 = <jk>new</jk> RestClientBuilder()
+      .build()
+      .getRemoteableProxy(MyInterface1.<jk>class</jk>);
+
+   <jc>// Resolves to "http://hostname/resturl/myinterface2"</jc>
+   MyInterface2 i2 = <jk>new</jk> RestClientBuilder()
+      .rootUrl(<js>"http://hostname/resturl"</js>)
+      .build()
+      .getRemoteableProxy(MyInterface2.<jk>class</jk>);
+
+   <jc>// Resolves to "http://hostname/resturl/org.apache.foo.MyInterface3"</jc>
+   MyInterface3 i3 = <jk>new</jk> RestClientBuilder()
+      .rootUrl(<js>"http://hostname/resturl"</js>)
+      .build()
+      .getRemoteableProxy(MyInterface3.<jk>class</jk>);
+ </p></div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>interfaceClass</code> - The interface to create a proxy for.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>The new proxy interface.</dd>
 <dt><span class="throwsLabel">Throws:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</a></code> - If the Remotable service URI has not been specified on this
-   client by calling <a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#remoteableServletUri-java.lang.String-"><code>RestClientBuilder.remoteableServletUri(String)</code></a>.</dd>
+<dd><code><a href="../../../../../org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable">RemoteableMetadataException</a></code> - If the REST URI cannot be determined based on the information given.</dd>
 </dl>
 </li>
 </ul>
@@ -686,13 +672,13 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>getRemoteableProxy</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.444">getRemoteableProxy</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;interfaceClass,
-                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;proxyUrl)</pre>
-<div class="block">Create a new proxy interface for the specified REST PROXY interface.</div>
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.487">getRemoteableProxy</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;interfaceClass,
+                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;restUrl)</pre>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-"><code>getRemoteableProxy(Class)</code></a> except explicitly specifies the URL of the REST interface.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>interfaceClass</code> - The interface to create a proxy for.</dd>
-<dd><code>proxyUrl</code> - The URL of the REST method annotated with <code><ja>@RestMethod</ja>(name=<js>"PROXY"</js>)</code>.</dd>
+<dd><code>restUrl</code> - The URL of the REST interface.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>The new proxy interface.</dd>
 </dl>
@@ -704,15 +690,15 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>getRemoteableProxy</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.458">getRemoteableProxy</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;interfaceClass,
-                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;proxyUrl,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.501">getRemoteableProxy</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;interfaceClass,
+                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;restUrl,
                                 <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&nbsp;serializer,
                                 <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;parser)</pre>
 <div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-java.lang.Object-"><code>getRemoteableProxy(Class, Object)</code></a> but allows you to override the serializer and parser used.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>interfaceClass</code> - The interface to create a proxy for.</dd>
-<dd><code>proxyUrl</code> - The URL of the REST method annotated with <code><ja>@RestMethod</ja>(name=<js>"PROXY"</js>)</code>.</dd>
+<dd><code>restUrl</code> - The URL of the REST interface.</dd>
 <dd><code>serializer</code> - The serializer used to serialize POJOs to the body of the HTTP request.</dd>
 <dd><code>parser</code> - The parser used to parse POJOs from the body of the HTTP response.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -726,7 +712,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <ul class="blockListLast">
 <li class="blockList">
 <h4>finalize</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.525">finalize</a>()
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClient.html#line.615">finalize</a>()
                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
@@ -790,13 +776,13 @@ extends <a href="../../../../../org/apache/juneau/CoreObject.html" title="class
 <li>Summary:&nbsp;</li>
 <li>Nested&nbsp;|&nbsp;</li>
 <li><a href="#fields.inherited.from.class.org.apache.juneau.CoreObject">Field</a>&nbsp;|&nbsp;</li>
-<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
 <li><a href="#method.summary">Method</a></li>
 </ul>
 <ul class="subNavList">
 <li>Detail:&nbsp;</li>
 <li>Field&nbsp;|&nbsp;</li>
-<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
 <li><a href="#method.detail">Method</a></li>
 </ul>
 </div>



[03/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.html b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.html
index 122c8c0..43d8259 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.html
@@ -254,7 +254,7 @@
 <span class="sourceLineNo">246</span>         // All other types can't be serialized as key/value pairs, so we create a<a name="line.246"></a>
 <span class="sourceLineNo">247</span>         // mock key/value pair with a "_value" key.<a name="line.247"></a>
 <span class="sourceLineNo">248</span>         out.append("_value=");<a name="line.248"></a>
-<span class="sourceLineNo">249</span>         super.serializeAnything(session, out, o, null, null, null);<a name="line.249"></a>
+<span class="sourceLineNo">249</span>         super.serializeAnything(session, out, o, null, null, null, session.plainTextParams());<a name="line.249"></a>
 <span class="sourceLineNo">250</span>      }<a name="line.250"></a>
 <span class="sourceLineNo">251</span><a name="line.251"></a>
 <span class="sourceLineNo">252</span>      session.pop();<a name="line.252"></a>
@@ -285,151 +285,164 @@
 <span class="sourceLineNo">277</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.277"></a>
 <span class="sourceLineNo">278</span>   private SerializerWriter serializeMap(UrlEncodingSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.278"></a>
 <span class="sourceLineNo">279</span><a name="line.279"></a>
-<span class="sourceLineNo">280</span>      m = session.sort(m);<a name="line.280"></a>
-<span class="sourceLineNo">281</span><a name="line.281"></a>
-<span class="sourceLineNo">282</span>      ClassMeta&lt;?&gt; keyType = type.getKeyType(), valueType = type.getValueType();<a name="line.282"></a>
-<span class="sourceLineNo">283</span><a name="line.283"></a>
-<span class="sourceLineNo">284</span>      int depth = session.getIndent();<a name="line.284"></a>
-<span class="sourceLineNo">285</span>      boolean addAmp = false;<a name="line.285"></a>
-<span class="sourceLineNo">286</span><a name="line.286"></a>
-<span class="sourceLineNo">287</span>      for (Map.Entry e : (Set&lt;Map.Entry&gt;)m.entrySet()) {<a name="line.287"></a>
-<span class="sourceLineNo">288</span>         Object key = session.generalize(e.getKey(), keyType);<a name="line.288"></a>
-<span class="sourceLineNo">289</span>         Object value = e.getValue();<a name="line.289"></a>
-<span class="sourceLineNo">290</span><a name="line.290"></a>
-<span class="sourceLineNo">291</span>         if (session.shouldUseExpandedParams(value)) {<a name="line.291"></a>
-<span class="sourceLineNo">292</span>            Iterator i = value instanceof Collection ? ((Collection)value).iterator() : ArrayUtils.iterator(value);<a name="line.292"></a>
-<span class="sourceLineNo">293</span>            while (i.hasNext()) {<a name="line.293"></a>
-<span class="sourceLineNo">294</span>               if (addAmp)<a name="line.294"></a>
-<span class="sourceLineNo">295</span>                  out.cr(depth).append('&amp;');<a name="line.295"></a>
-<span class="sourceLineNo">296</span>               out.appendObject(key, true).append('=');<a name="line.296"></a>
-<span class="sourceLineNo">297</span>               super.serializeAnything(session, out, i.next(), null, (key == null ? null : key.toString()), null);<a name="line.297"></a>
-<span class="sourceLineNo">298</span>               addAmp = true;<a name="line.298"></a>
-<span class="sourceLineNo">299</span>            }<a name="line.299"></a>
-<span class="sourceLineNo">300</span>         } else {<a name="line.300"></a>
-<span class="sourceLineNo">301</span>            if (addAmp)<a name="line.301"></a>
-<span class="sourceLineNo">302</span>               out.cr(depth).append('&amp;');<a name="line.302"></a>
-<span class="sourceLineNo">303</span>            out.appendObject(key, true).append('=');<a name="line.303"></a>
-<span class="sourceLineNo">304</span>            super.serializeAnything(session, out, value, valueType, (key == null ? null : key.toString()), null);<a name="line.304"></a>
-<span class="sourceLineNo">305</span>            addAmp = true;<a name="line.305"></a>
-<span class="sourceLineNo">306</span>         }<a name="line.306"></a>
-<span class="sourceLineNo">307</span>      }<a name="line.307"></a>
-<span class="sourceLineNo">308</span><a name="line.308"></a>
-<span class="sourceLineNo">309</span>      return out;<a name="line.309"></a>
-<span class="sourceLineNo">310</span>   }<a name="line.310"></a>
-<span class="sourceLineNo">311</span><a name="line.311"></a>
-<span class="sourceLineNo">312</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.312"></a>
-<span class="sourceLineNo">313</span>   private SerializerWriter serializeCollectionMap(UrlEncodingSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.313"></a>
-<span class="sourceLineNo">314</span><a name="line.314"></a>
-<span class="sourceLineNo">315</span>      ClassMeta&lt;?&gt; valueType = type.getValueType();<a name="line.315"></a>
-<span class="sourceLineNo">316</span><a name="line.316"></a>
-<span class="sourceLineNo">317</span>      int depth = session.getIndent();<a name="line.317"></a>
-<span class="sourceLineNo">318</span>      boolean addAmp = false;<a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span>      for (Map.Entry e : (Set&lt;Map.Entry&gt;)m.entrySet()) {<a name="line.320"></a>
-<span class="sourceLineNo">321</span>         if (addAmp)<a name="line.321"></a>
-<span class="sourceLineNo">322</span>            out.cr(depth).append('&amp;');<a name="line.322"></a>
-<span class="sourceLineNo">323</span>         out.append(e.getKey()).append('=');<a name="line.323"></a>
-<span class="sourceLineNo">324</span>         super.serializeAnything(session, out, e.getValue(), valueType, null, null);<a name="line.324"></a>
-<span class="sourceLineNo">325</span>         addAmp = true;<a name="line.325"></a>
-<span class="sourceLineNo">326</span>      }<a name="line.326"></a>
-<span class="sourceLineNo">327</span><a name="line.327"></a>
-<span class="sourceLineNo">328</span>      return out;<a name="line.328"></a>
-<span class="sourceLineNo">329</span>   }<a name="line.329"></a>
-<span class="sourceLineNo">330</span><a name="line.330"></a>
-<span class="sourceLineNo">331</span>   @SuppressWarnings({ "rawtypes" })<a name="line.331"></a>
-<span class="sourceLineNo">332</span>   private SerializerWriter serializeBeanMap(UrlEncodingSerializerSession session, UonWriter out, BeanMap&lt;?&gt; m, String typeName) throws Exception {<a name="line.332"></a>
-<span class="sourceLineNo">333</span>      int depth = session.getIndent();<a name="line.333"></a>
-<span class="sourceLineNo">334</span><a name="line.334"></a>
-<span class="sourceLineNo">335</span>      boolean addAmp = false;<a name="line.335"></a>
+<span class="sourceLineNo">280</span>      boolean plainTextParams = session.plainTextParams();<a name="line.280"></a>
+<span class="sourceLineNo">281</span>      m = session.sort(m);<a name="line.281"></a>
+<span class="sourceLineNo">282</span><a name="line.282"></a>
+<span class="sourceLineNo">283</span>      ClassMeta&lt;?&gt; keyType = type.getKeyType(), valueType = type.getValueType();<a name="line.283"></a>
+<span class="sourceLineNo">284</span><a name="line.284"></a>
+<span class="sourceLineNo">285</span>      int depth = session.getIndent();<a name="line.285"></a>
+<span class="sourceLineNo">286</span>      boolean addAmp = false;<a name="line.286"></a>
+<span class="sourceLineNo">287</span><a name="line.287"></a>
+<span class="sourceLineNo">288</span>      for (Map.Entry e : (Set&lt;Map.Entry&gt;)m.entrySet()) {<a name="line.288"></a>
+<span class="sourceLineNo">289</span>         Object key = session.generalize(e.getKey(), keyType);<a name="line.289"></a>
+<span class="sourceLineNo">290</span>         Object value = e.getValue();<a name="line.290"></a>
+<span class="sourceLineNo">291</span><a name="line.291"></a>
+<span class="sourceLineNo">292</span>         if (session.shouldUseExpandedParams(value)) {<a name="line.292"></a>
+<span class="sourceLineNo">293</span>            Iterator i = value instanceof Collection ? ((Collection)value).iterator() : ArrayUtils.iterator(value);<a name="line.293"></a>
+<span class="sourceLineNo">294</span>            while (i.hasNext()) {<a name="line.294"></a>
+<span class="sourceLineNo">295</span>               if (addAmp)<a name="line.295"></a>
+<span class="sourceLineNo">296</span>                  out.cr(depth).append('&amp;');<a name="line.296"></a>
+<span class="sourceLineNo">297</span>               out.appendObject(key, true, plainTextParams).append('=');<a name="line.297"></a>
+<span class="sourceLineNo">298</span>               super.serializeAnything(session, out, i.next(), null, (key == null ? null : key.toString()), null, plainTextParams);<a name="line.298"></a>
+<span class="sourceLineNo">299</span>               addAmp = true;<a name="line.299"></a>
+<span class="sourceLineNo">300</span>            }<a name="line.300"></a>
+<span class="sourceLineNo">301</span>         } else {<a name="line.301"></a>
+<span class="sourceLineNo">302</span>            if (addAmp)<a name="line.302"></a>
+<span class="sourceLineNo">303</span>               out.cr(depth).append('&amp;');<a name="line.303"></a>
+<span class="sourceLineNo">304</span>            out.appendObject(key, true, plainTextParams).append('=');<a name="line.304"></a>
+<span class="sourceLineNo">305</span>            super.serializeAnything(session, out, value, valueType, (key == null ? null : key.toString()), null, plainTextParams);<a name="line.305"></a>
+<span class="sourceLineNo">306</span>            addAmp = true;<a name="line.306"></a>
+<span class="sourceLineNo">307</span>         }<a name="line.307"></a>
+<span class="sourceLineNo">308</span>      }<a name="line.308"></a>
+<span class="sourceLineNo">309</span><a name="line.309"></a>
+<span class="sourceLineNo">310</span>      return out;<a name="line.310"></a>
+<span class="sourceLineNo">311</span>   }<a name="line.311"></a>
+<span class="sourceLineNo">312</span><a name="line.312"></a>
+<span class="sourceLineNo">313</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.313"></a>
+<span class="sourceLineNo">314</span>   private SerializerWriter serializeCollectionMap(UrlEncodingSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.314"></a>
+<span class="sourceLineNo">315</span><a name="line.315"></a>
+<span class="sourceLineNo">316</span>      ClassMeta&lt;?&gt; valueType = type.getValueType();<a name="line.316"></a>
+<span class="sourceLineNo">317</span><a name="line.317"></a>
+<span class="sourceLineNo">318</span>      int depth = session.getIndent();<a name="line.318"></a>
+<span class="sourceLineNo">319</span>      boolean addAmp = false;<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span>      for (Map.Entry e : (Set&lt;Map.Entry&gt;)m.entrySet()) {<a name="line.321"></a>
+<span class="sourceLineNo">322</span>         if (addAmp)<a name="line.322"></a>
+<span class="sourceLineNo">323</span>            out.cr(depth).append('&amp;');<a name="line.323"></a>
+<span class="sourceLineNo">324</span>         out.append(e.getKey()).append('=');<a name="line.324"></a>
+<span class="sourceLineNo">325</span>         super.serializeAnything(session, out, e.getValue(), valueType, null, null, session.plainTextParams());<a name="line.325"></a>
+<span class="sourceLineNo">326</span>         addAmp = true;<a name="line.326"></a>
+<span class="sourceLineNo">327</span>      }<a name="line.327"></a>
+<span class="sourceLineNo">328</span><a name="line.328"></a>
+<span class="sourceLineNo">329</span>      return out;<a name="line.329"></a>
+<span class="sourceLineNo">330</span>   }<a name="line.330"></a>
+<span class="sourceLineNo">331</span><a name="line.331"></a>
+<span class="sourceLineNo">332</span>   @SuppressWarnings({ "rawtypes" })<a name="line.332"></a>
+<span class="sourceLineNo">333</span>   private SerializerWriter serializeBeanMap(UrlEncodingSerializerSession session, UonWriter out, BeanMap&lt;?&gt; m, String typeName) throws Exception {<a name="line.333"></a>
+<span class="sourceLineNo">334</span>      int depth = session.getIndent();<a name="line.334"></a>
+<span class="sourceLineNo">335</span>      boolean plainTextParams = session.plainTextParams();<a name="line.335"></a>
 <span class="sourceLineNo">336</span><a name="line.336"></a>
-<span class="sourceLineNo">337</span>      for (BeanPropertyValue p : m.getValues(session.isTrimNulls(), typeName != null ? session.createBeanTypeNameProperty(m, typeName) : null)) {<a name="line.337"></a>
-<span class="sourceLineNo">338</span>         BeanPropertyMeta pMeta = p.getMeta();<a name="line.338"></a>
-<span class="sourceLineNo">339</span>         ClassMeta&lt;?&gt; cMeta = p.getClassMeta();<a name="line.339"></a>
-<span class="sourceLineNo">340</span><a name="line.340"></a>
-<span class="sourceLineNo">341</span>         String key = p.getName();<a name="line.341"></a>
-<span class="sourceLineNo">342</span>         Object value = p.getValue();<a name="line.342"></a>
-<span class="sourceLineNo">343</span>         Throwable t = p.getThrown();<a name="line.343"></a>
-<span class="sourceLineNo">344</span>         if (t != null)<a name="line.344"></a>
-<span class="sourceLineNo">345</span>            session.addBeanGetterWarning(pMeta, t);<a name="line.345"></a>
-<span class="sourceLineNo">346</span><a name="line.346"></a>
-<span class="sourceLineNo">347</span>         if (session.canIgnoreValue(cMeta, key, value))<a name="line.347"></a>
-<span class="sourceLineNo">348</span>            continue;<a name="line.348"></a>
-<span class="sourceLineNo">349</span><a name="line.349"></a>
-<span class="sourceLineNo">350</span>         if (value != null &amp;&amp; session.shouldUseExpandedParams(pMeta)) {<a name="line.350"></a>
-<span class="sourceLineNo">351</span>            // Transformed object array bean properties may be transformed resulting in ArrayLists,<a name="line.351"></a>
-<span class="sourceLineNo">352</span>            // so we need to check type if we think it's an array.<a name="line.352"></a>
-<span class="sourceLineNo">353</span>            Iterator i = (cMeta.isCollection() || value instanceof Collection) ? ((Collection)value).iterator() : ArrayUtils.iterator(value);<a name="line.353"></a>
-<span class="sourceLineNo">354</span>            while (i.hasNext()) {<a name="line.354"></a>
-<span class="sourceLineNo">355</span>               if (addAmp)<a name="line.355"></a>
-<span class="sourceLineNo">356</span>                  out.cr(depth).append('&amp;');<a name="line.356"></a>
-<span class="sourceLineNo">357</span><a name="line.357"></a>
-<span class="sourceLineNo">358</span>               out.appendObject(key, true).append('=');<a name="line.358"></a>
+<span class="sourceLineNo">337</span>      boolean addAmp = false;<a name="line.337"></a>
+<span class="sourceLineNo">338</span><a name="line.338"></a>
+<span class="sourceLineNo">339</span>      for (BeanPropertyValue p : m.getValues(session.isTrimNulls(), typeName != null ? session.createBeanTypeNameProperty(m, typeName) : null)) {<a name="line.339"></a>
+<span class="sourceLineNo">340</span>         BeanPropertyMeta pMeta = p.getMeta();<a name="line.340"></a>
+<span class="sourceLineNo">341</span>         ClassMeta&lt;?&gt; cMeta = p.getClassMeta();<a name="line.341"></a>
+<span class="sourceLineNo">342</span><a name="line.342"></a>
+<span class="sourceLineNo">343</span>         String key = p.getName();<a name="line.343"></a>
+<span class="sourceLineNo">344</span>         Object value = p.getValue();<a name="line.344"></a>
+<span class="sourceLineNo">345</span>         Throwable t = p.getThrown();<a name="line.345"></a>
+<span class="sourceLineNo">346</span>         if (t != null)<a name="line.346"></a>
+<span class="sourceLineNo">347</span>            session.addBeanGetterWarning(pMeta, t);<a name="line.347"></a>
+<span class="sourceLineNo">348</span><a name="line.348"></a>
+<span class="sourceLineNo">349</span>         if (session.canIgnoreValue(cMeta, key, value))<a name="line.349"></a>
+<span class="sourceLineNo">350</span>            continue;<a name="line.350"></a>
+<span class="sourceLineNo">351</span><a name="line.351"></a>
+<span class="sourceLineNo">352</span>         if (value != null &amp;&amp; session.shouldUseExpandedParams(pMeta)) {<a name="line.352"></a>
+<span class="sourceLineNo">353</span>            // Transformed object array bean properties may be transformed resulting in ArrayLists,<a name="line.353"></a>
+<span class="sourceLineNo">354</span>            // so we need to check type if we think it's an array.<a name="line.354"></a>
+<span class="sourceLineNo">355</span>            Iterator i = (cMeta.isCollection() || value instanceof Collection) ? ((Collection)value).iterator() : ArrayUtils.iterator(value);<a name="line.355"></a>
+<span class="sourceLineNo">356</span>            while (i.hasNext()) {<a name="line.356"></a>
+<span class="sourceLineNo">357</span>               if (addAmp)<a name="line.357"></a>
+<span class="sourceLineNo">358</span>                  out.cr(depth).append('&amp;');<a name="line.358"></a>
 <span class="sourceLineNo">359</span><a name="line.359"></a>
-<span class="sourceLineNo">360</span>               super.serializeAnything(session, out, i.next(), cMeta.getElementType(), key, pMeta);<a name="line.360"></a>
+<span class="sourceLineNo">360</span>               out.appendObject(key, true, plainTextParams).append('=');<a name="line.360"></a>
 <span class="sourceLineNo">361</span><a name="line.361"></a>
-<span class="sourceLineNo">362</span>               addAmp = true;<a name="line.362"></a>
-<span class="sourceLineNo">363</span>            }<a name="line.363"></a>
-<span class="sourceLineNo">364</span>         } else {<a name="line.364"></a>
-<span class="sourceLineNo">365</span>            if (addAmp)<a name="line.365"></a>
-<span class="sourceLineNo">366</span>               out.cr(depth).append('&amp;');<a name="line.366"></a>
-<span class="sourceLineNo">367</span><a name="line.367"></a>
-<span class="sourceLineNo">368</span>            out.appendObject(key, true).append('=');<a name="line.368"></a>
+<span class="sourceLineNo">362</span>               super.serializeAnything(session, out, i.next(), cMeta.getElementType(), key, pMeta, plainTextParams);<a name="line.362"></a>
+<span class="sourceLineNo">363</span><a name="line.363"></a>
+<span class="sourceLineNo">364</span>               addAmp = true;<a name="line.364"></a>
+<span class="sourceLineNo">365</span>            }<a name="line.365"></a>
+<span class="sourceLineNo">366</span>         } else {<a name="line.366"></a>
+<span class="sourceLineNo">367</span>            if (addAmp)<a name="line.367"></a>
+<span class="sourceLineNo">368</span>               out.cr(depth).append('&amp;');<a name="line.368"></a>
 <span class="sourceLineNo">369</span><a name="line.369"></a>
-<span class="sourceLineNo">370</span>            super.serializeAnything(session, out, value, cMeta, key, pMeta);<a name="line.370"></a>
+<span class="sourceLineNo">370</span>            out.appendObject(key, true, plainTextParams).append('=');<a name="line.370"></a>
 <span class="sourceLineNo">371</span><a name="line.371"></a>
-<span class="sourceLineNo">372</span>            addAmp = true;<a name="line.372"></a>
-<span class="sourceLineNo">373</span>         }<a name="line.373"></a>
-<span class="sourceLineNo">374</span><a name="line.374"></a>
-<span class="sourceLineNo">375</span>      }<a name="line.375"></a>
-<span class="sourceLineNo">376</span>      return out;<a name="line.376"></a>
-<span class="sourceLineNo">377</span>   }<a name="line.377"></a>
-<span class="sourceLineNo">378</span><a name="line.378"></a>
-<span class="sourceLineNo">379</span><a name="line.379"></a>
-<span class="sourceLineNo">380</span>   //--------------------------------------------------------------------------------<a name="line.380"></a>
-<span class="sourceLineNo">381</span>   // Methods for constructing individual parameter values.<a name="line.381"></a>
+<span class="sourceLineNo">372</span>            super.serializeAnything(session, out, value, cMeta, key, pMeta, plainTextParams);<a name="line.372"></a>
+<span class="sourceLineNo">373</span><a name="line.373"></a>
+<span class="sourceLineNo">374</span>            addAmp = true;<a name="line.374"></a>
+<span class="sourceLineNo">375</span>         }<a name="line.375"></a>
+<span class="sourceLineNo">376</span><a name="line.376"></a>
+<span class="sourceLineNo">377</span>      }<a name="line.377"></a>
+<span class="sourceLineNo">378</span>      return out;<a name="line.378"></a>
+<span class="sourceLineNo">379</span>   }<a name="line.379"></a>
+<span class="sourceLineNo">380</span><a name="line.380"></a>
+<span class="sourceLineNo">381</span><a name="line.381"></a>
 <span class="sourceLineNo">382</span>   //--------------------------------------------------------------------------------<a name="line.382"></a>
-<span class="sourceLineNo">383</span><a name="line.383"></a>
-<span class="sourceLineNo">384</span>   /**<a name="line.384"></a>
-<span class="sourceLineNo">385</span>    * Converts the specified object to a string using this serializers {@link BeanSession#convertToType(Object, Class)} method<a name="line.385"></a>
-<span class="sourceLineNo">386</span>    *    and runs {@link URLEncoder#encode(String,String)} against the results.<a name="line.386"></a>
-<span class="sourceLineNo">387</span>    * Useful for constructing URL parts.<a name="line.387"></a>
-<span class="sourceLineNo">388</span>    *<a name="line.388"></a>
-<span class="sourceLineNo">389</span>    * @param o The object to serialize.<a name="line.389"></a>
-<span class="sourceLineNo">390</span>    * @return The serialized object.<a name="line.390"></a>
-<span class="sourceLineNo">391</span>    */<a name="line.391"></a>
-<span class="sourceLineNo">392</span>   public String serializeUrlPart(Object o) {<a name="line.392"></a>
-<span class="sourceLineNo">393</span>      try {<a name="line.393"></a>
-<span class="sourceLineNo">394</span>         // Shortcut for simple types.<a name="line.394"></a>
-<span class="sourceLineNo">395</span>         ClassMeta&lt;?&gt; cm = getBeanContext().getClassMetaForObject(o);<a name="line.395"></a>
-<span class="sourceLineNo">396</span>         if (cm != null)<a name="line.396"></a>
-<span class="sourceLineNo">397</span>            if (cm.isCharSequence() || cm.isNumber() || cm.isBoolean())<a name="line.397"></a>
-<span class="sourceLineNo">398</span>               return o.toString();<a name="line.398"></a>
-<span class="sourceLineNo">399</span><a name="line.399"></a>
-<span class="sourceLineNo">400</span>         StringWriter w = new StringWriter();<a name="line.400"></a>
-<span class="sourceLineNo">401</span>         UonSerializerSession s = createSession(w, null, null, null, null, MediaType.UON);<a name="line.401"></a>
-<span class="sourceLineNo">402</span>         super.doSerialize(s, o);<a name="line.402"></a>
-<span class="sourceLineNo">403</span>         return w.toString();<a name="line.403"></a>
-<span class="sourceLineNo">404</span>      } catch (Exception e) {<a name="line.404"></a>
-<span class="sourceLineNo">405</span>         throw new RuntimeException(e);<a name="line.405"></a>
-<span class="sourceLineNo">406</span>      }<a name="line.406"></a>
-<span class="sourceLineNo">407</span>   }<a name="line.407"></a>
-<span class="sourceLineNo">408</span><a name="line.408"></a>
-<span class="sourceLineNo">409</span><a name="line.409"></a>
-<span class="sourceLineNo">410</span>   //--------------------------------------------------------------------------------<a name="line.410"></a>
-<span class="sourceLineNo">411</span>   // Entry point methods<a name="line.411"></a>
-<span class="sourceLineNo">412</span>   //--------------------------------------------------------------------------------<a name="line.412"></a>
-<span class="sourceLineNo">413</span><a name="line.413"></a>
-<span class="sourceLineNo">414</span>   @Override /* Serializer */<a name="line.414"></a>
-<span class="sourceLineNo">415</span>   public UrlEncodingSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.415"></a>
-<span class="sourceLineNo">416</span>      return new UrlEncodingSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.416"></a>
-<span class="sourceLineNo">417</span>   }<a name="line.417"></a>
-<span class="sourceLineNo">418</span><a name="line.418"></a>
-<span class="sourceLineNo">419</span>   @Override /* Serializer */<a name="line.419"></a>
-<span class="sourceLineNo">420</span>   protected void doSerialize(SerializerSession session, Object o) throws Exception {<a name="line.420"></a>
-<span class="sourceLineNo">421</span>      UrlEncodingSerializerSession s = (UrlEncodingSerializerSession)session;<a name="line.421"></a>
-<span class="sourceLineNo">422</span>      serializeAnything(s, s.getWriter(), o);<a name="line.422"></a>
-<span class="sourceLineNo">423</span>   }<a name="line.423"></a>
-<span class="sourceLineNo">424</span>}<a name="line.424"></a>
+<span class="sourceLineNo">383</span>   // Methods for constructing individual parameter values.<a name="line.383"></a>
+<span class="sourceLineNo">384</span>   //--------------------------------------------------------------------------------<a name="line.384"></a>
+<span class="sourceLineNo">385</span><a name="line.385"></a>
+<span class="sourceLineNo">386</span>   /**<a name="line.386"></a>
+<span class="sourceLineNo">387</span>    * Converts the specified object to a string using this serializers {@link BeanSession#convertToType(Object, Class)} method<a name="line.387"></a>
+<span class="sourceLineNo">388</span>    *    and runs {@link URLEncoder#encode(String,String)} against the results.<a name="line.388"></a>
+<span class="sourceLineNo">389</span>    * Useful for constructing URL parts.<a name="line.389"></a>
+<span class="sourceLineNo">390</span>    *<a name="line.390"></a>
+<span class="sourceLineNo">391</span>    * @param o The object to serialize.<a name="line.391"></a>
+<span class="sourceLineNo">392</span>    * @param urlEncode URL-encode the string if necessary.<a name="line.392"></a>
+<span class="sourceLineNo">393</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then uses the value of the {@link UonSerializerContext#UON_encodeChars} setting.<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    * @param plainTextParams Whether we're using plain-text params.<a name="line.394"></a>
+<span class="sourceLineNo">395</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then uses the value from the {@link UrlEncodingSerializerContext#URLENC_paramFormat} setting.<a name="line.395"></a>
+<span class="sourceLineNo">396</span>    * @return The serialized object.<a name="line.396"></a>
+<span class="sourceLineNo">397</span>    */<a name="line.397"></a>
+<span class="sourceLineNo">398</span>   public String serializePart(Object o, Boolean urlEncode, Boolean plainTextParams) {<a name="line.398"></a>
+<span class="sourceLineNo">399</span>      try {<a name="line.399"></a>
+<span class="sourceLineNo">400</span>         // Shortcut for simple types.<a name="line.400"></a>
+<span class="sourceLineNo">401</span>         ClassMeta&lt;?&gt; cm = getBeanContext().getClassMetaForObject(o);<a name="line.401"></a>
+<span class="sourceLineNo">402</span>         if (cm != null) {<a name="line.402"></a>
+<span class="sourceLineNo">403</span>            if (cm.isNumber() || cm.isBoolean())<a name="line.403"></a>
+<span class="sourceLineNo">404</span>               return o.toString();<a name="line.404"></a>
+<span class="sourceLineNo">405</span>            if (cm.isCharSequence()) {<a name="line.405"></a>
+<span class="sourceLineNo">406</span>               String s = o.toString();<a name="line.406"></a>
+<span class="sourceLineNo">407</span>               boolean ptt = (plainTextParams != null ? plainTextParams : ctx.plainTextParams);<a name="line.407"></a>
+<span class="sourceLineNo">408</span>               if (ptt || ! UonUtils.needsQuotes(s))<a name="line.408"></a>
+<span class="sourceLineNo">409</span>                  return (urlEncode ? StringUtils.urlEncode(s) : s);<a name="line.409"></a>
+<span class="sourceLineNo">410</span>            }<a name="line.410"></a>
+<span class="sourceLineNo">411</span>         }<a name="line.411"></a>
+<span class="sourceLineNo">412</span><a name="line.412"></a>
+<span class="sourceLineNo">413</span>         StringWriter w = new StringWriter();<a name="line.413"></a>
+<span class="sourceLineNo">414</span>         UonSerializerSession s = new UrlEncodingSerializerSession(ctx, urlEncode, null, w, null, null, null, MediaType.UON);<a name="line.414"></a>
+<span class="sourceLineNo">415</span>         super.doSerialize(s, o);<a name="line.415"></a>
+<span class="sourceLineNo">416</span>         return w.toString();<a name="line.416"></a>
+<span class="sourceLineNo">417</span>      } catch (Exception e) {<a name="line.417"></a>
+<span class="sourceLineNo">418</span>         throw new RuntimeException(e);<a name="line.418"></a>
+<span class="sourceLineNo">419</span>      }<a name="line.419"></a>
+<span class="sourceLineNo">420</span>   }<a name="line.420"></a>
+<span class="sourceLineNo">421</span><a name="line.421"></a>
+<span class="sourceLineNo">422</span><a name="line.422"></a>
+<span class="sourceLineNo">423</span>   //--------------------------------------------------------------------------------<a name="line.423"></a>
+<span class="sourceLineNo">424</span>   // Entry point methods<a name="line.424"></a>
+<span class="sourceLineNo">425</span>   //--------------------------------------------------------------------------------<a name="line.425"></a>
+<span class="sourceLineNo">426</span><a name="line.426"></a>
+<span class="sourceLineNo">427</span>   @Override /* Serializer */<a name="line.427"></a>
+<span class="sourceLineNo">428</span>   public UrlEncodingSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.428"></a>
+<span class="sourceLineNo">429</span>      return new UrlEncodingSerializerSession(ctx, null, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.429"></a>
+<span class="sourceLineNo">430</span>   }<a name="line.430"></a>
+<span class="sourceLineNo">431</span><a name="line.431"></a>
+<span class="sourceLineNo">432</span>   @Override /* Serializer */<a name="line.432"></a>
+<span class="sourceLineNo">433</span>   protected void doSerialize(SerializerSession session, Object o) throws Exception {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>      UrlEncodingSerializerSession s = (UrlEncodingSerializerSession)session;<a name="line.434"></a>
+<span class="sourceLineNo">435</span>      serializeAnything(s, s.getWriter(), o);<a name="line.435"></a>
+<span class="sourceLineNo">436</span>   }<a name="line.436"></a>
+<span class="sourceLineNo">437</span>}<a name="line.437"></a>
 
 
 


[04/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.Expanded.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.Expanded.html b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.Expanded.html
index 122c8c0..43d8259 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.Expanded.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.Expanded.html
@@ -254,7 +254,7 @@
 <span class="sourceLineNo">246</span>         // All other types can't be serialized as key/value pairs, so we create a<a name="line.246"></a>
 <span class="sourceLineNo">247</span>         // mock key/value pair with a "_value" key.<a name="line.247"></a>
 <span class="sourceLineNo">248</span>         out.append("_value=");<a name="line.248"></a>
-<span class="sourceLineNo">249</span>         super.serializeAnything(session, out, o, null, null, null);<a name="line.249"></a>
+<span class="sourceLineNo">249</span>         super.serializeAnything(session, out, o, null, null, null, session.plainTextParams());<a name="line.249"></a>
 <span class="sourceLineNo">250</span>      }<a name="line.250"></a>
 <span class="sourceLineNo">251</span><a name="line.251"></a>
 <span class="sourceLineNo">252</span>      session.pop();<a name="line.252"></a>
@@ -285,151 +285,164 @@
 <span class="sourceLineNo">277</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.277"></a>
 <span class="sourceLineNo">278</span>   private SerializerWriter serializeMap(UrlEncodingSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.278"></a>
 <span class="sourceLineNo">279</span><a name="line.279"></a>
-<span class="sourceLineNo">280</span>      m = session.sort(m);<a name="line.280"></a>
-<span class="sourceLineNo">281</span><a name="line.281"></a>
-<span class="sourceLineNo">282</span>      ClassMeta&lt;?&gt; keyType = type.getKeyType(), valueType = type.getValueType();<a name="line.282"></a>
-<span class="sourceLineNo">283</span><a name="line.283"></a>
-<span class="sourceLineNo">284</span>      int depth = session.getIndent();<a name="line.284"></a>
-<span class="sourceLineNo">285</span>      boolean addAmp = false;<a name="line.285"></a>
-<span class="sourceLineNo">286</span><a name="line.286"></a>
-<span class="sourceLineNo">287</span>      for (Map.Entry e : (Set&lt;Map.Entry&gt;)m.entrySet()) {<a name="line.287"></a>
-<span class="sourceLineNo">288</span>         Object key = session.generalize(e.getKey(), keyType);<a name="line.288"></a>
-<span class="sourceLineNo">289</span>         Object value = e.getValue();<a name="line.289"></a>
-<span class="sourceLineNo">290</span><a name="line.290"></a>
-<span class="sourceLineNo">291</span>         if (session.shouldUseExpandedParams(value)) {<a name="line.291"></a>
-<span class="sourceLineNo">292</span>            Iterator i = value instanceof Collection ? ((Collection)value).iterator() : ArrayUtils.iterator(value);<a name="line.292"></a>
-<span class="sourceLineNo">293</span>            while (i.hasNext()) {<a name="line.293"></a>
-<span class="sourceLineNo">294</span>               if (addAmp)<a name="line.294"></a>
-<span class="sourceLineNo">295</span>                  out.cr(depth).append('&amp;');<a name="line.295"></a>
-<span class="sourceLineNo">296</span>               out.appendObject(key, true).append('=');<a name="line.296"></a>
-<span class="sourceLineNo">297</span>               super.serializeAnything(session, out, i.next(), null, (key == null ? null : key.toString()), null);<a name="line.297"></a>
-<span class="sourceLineNo">298</span>               addAmp = true;<a name="line.298"></a>
-<span class="sourceLineNo">299</span>            }<a name="line.299"></a>
-<span class="sourceLineNo">300</span>         } else {<a name="line.300"></a>
-<span class="sourceLineNo">301</span>            if (addAmp)<a name="line.301"></a>
-<span class="sourceLineNo">302</span>               out.cr(depth).append('&amp;');<a name="line.302"></a>
-<span class="sourceLineNo">303</span>            out.appendObject(key, true).append('=');<a name="line.303"></a>
-<span class="sourceLineNo">304</span>            super.serializeAnything(session, out, value, valueType, (key == null ? null : key.toString()), null);<a name="line.304"></a>
-<span class="sourceLineNo">305</span>            addAmp = true;<a name="line.305"></a>
-<span class="sourceLineNo">306</span>         }<a name="line.306"></a>
-<span class="sourceLineNo">307</span>      }<a name="line.307"></a>
-<span class="sourceLineNo">308</span><a name="line.308"></a>
-<span class="sourceLineNo">309</span>      return out;<a name="line.309"></a>
-<span class="sourceLineNo">310</span>   }<a name="line.310"></a>
-<span class="sourceLineNo">311</span><a name="line.311"></a>
-<span class="sourceLineNo">312</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.312"></a>
-<span class="sourceLineNo">313</span>   private SerializerWriter serializeCollectionMap(UrlEncodingSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.313"></a>
-<span class="sourceLineNo">314</span><a name="line.314"></a>
-<span class="sourceLineNo">315</span>      ClassMeta&lt;?&gt; valueType = type.getValueType();<a name="line.315"></a>
-<span class="sourceLineNo">316</span><a name="line.316"></a>
-<span class="sourceLineNo">317</span>      int depth = session.getIndent();<a name="line.317"></a>
-<span class="sourceLineNo">318</span>      boolean addAmp = false;<a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span>      for (Map.Entry e : (Set&lt;Map.Entry&gt;)m.entrySet()) {<a name="line.320"></a>
-<span class="sourceLineNo">321</span>         if (addAmp)<a name="line.321"></a>
-<span class="sourceLineNo">322</span>            out.cr(depth).append('&amp;');<a name="line.322"></a>
-<span class="sourceLineNo">323</span>         out.append(e.getKey()).append('=');<a name="line.323"></a>
-<span class="sourceLineNo">324</span>         super.serializeAnything(session, out, e.getValue(), valueType, null, null);<a name="line.324"></a>
-<span class="sourceLineNo">325</span>         addAmp = true;<a name="line.325"></a>
-<span class="sourceLineNo">326</span>      }<a name="line.326"></a>
-<span class="sourceLineNo">327</span><a name="line.327"></a>
-<span class="sourceLineNo">328</span>      return out;<a name="line.328"></a>
-<span class="sourceLineNo">329</span>   }<a name="line.329"></a>
-<span class="sourceLineNo">330</span><a name="line.330"></a>
-<span class="sourceLineNo">331</span>   @SuppressWarnings({ "rawtypes" })<a name="line.331"></a>
-<span class="sourceLineNo">332</span>   private SerializerWriter serializeBeanMap(UrlEncodingSerializerSession session, UonWriter out, BeanMap&lt;?&gt; m, String typeName) throws Exception {<a name="line.332"></a>
-<span class="sourceLineNo">333</span>      int depth = session.getIndent();<a name="line.333"></a>
-<span class="sourceLineNo">334</span><a name="line.334"></a>
-<span class="sourceLineNo">335</span>      boolean addAmp = false;<a name="line.335"></a>
+<span class="sourceLineNo">280</span>      boolean plainTextParams = session.plainTextParams();<a name="line.280"></a>
+<span class="sourceLineNo">281</span>      m = session.sort(m);<a name="line.281"></a>
+<span class="sourceLineNo">282</span><a name="line.282"></a>
+<span class="sourceLineNo">283</span>      ClassMeta&lt;?&gt; keyType = type.getKeyType(), valueType = type.getValueType();<a name="line.283"></a>
+<span class="sourceLineNo">284</span><a name="line.284"></a>
+<span class="sourceLineNo">285</span>      int depth = session.getIndent();<a name="line.285"></a>
+<span class="sourceLineNo">286</span>      boolean addAmp = false;<a name="line.286"></a>
+<span class="sourceLineNo">287</span><a name="line.287"></a>
+<span class="sourceLineNo">288</span>      for (Map.Entry e : (Set&lt;Map.Entry&gt;)m.entrySet()) {<a name="line.288"></a>
+<span class="sourceLineNo">289</span>         Object key = session.generalize(e.getKey(), keyType);<a name="line.289"></a>
+<span class="sourceLineNo">290</span>         Object value = e.getValue();<a name="line.290"></a>
+<span class="sourceLineNo">291</span><a name="line.291"></a>
+<span class="sourceLineNo">292</span>         if (session.shouldUseExpandedParams(value)) {<a name="line.292"></a>
+<span class="sourceLineNo">293</span>            Iterator i = value instanceof Collection ? ((Collection)value).iterator() : ArrayUtils.iterator(value);<a name="line.293"></a>
+<span class="sourceLineNo">294</span>            while (i.hasNext()) {<a name="line.294"></a>
+<span class="sourceLineNo">295</span>               if (addAmp)<a name="line.295"></a>
+<span class="sourceLineNo">296</span>                  out.cr(depth).append('&amp;');<a name="line.296"></a>
+<span class="sourceLineNo">297</span>               out.appendObject(key, true, plainTextParams).append('=');<a name="line.297"></a>
+<span class="sourceLineNo">298</span>               super.serializeAnything(session, out, i.next(), null, (key == null ? null : key.toString()), null, plainTextParams);<a name="line.298"></a>
+<span class="sourceLineNo">299</span>               addAmp = true;<a name="line.299"></a>
+<span class="sourceLineNo">300</span>            }<a name="line.300"></a>
+<span class="sourceLineNo">301</span>         } else {<a name="line.301"></a>
+<span class="sourceLineNo">302</span>            if (addAmp)<a name="line.302"></a>
+<span class="sourceLineNo">303</span>               out.cr(depth).append('&amp;');<a name="line.303"></a>
+<span class="sourceLineNo">304</span>            out.appendObject(key, true, plainTextParams).append('=');<a name="line.304"></a>
+<span class="sourceLineNo">305</span>            super.serializeAnything(session, out, value, valueType, (key == null ? null : key.toString()), null, plainTextParams);<a name="line.305"></a>
+<span class="sourceLineNo">306</span>            addAmp = true;<a name="line.306"></a>
+<span class="sourceLineNo">307</span>         }<a name="line.307"></a>
+<span class="sourceLineNo">308</span>      }<a name="line.308"></a>
+<span class="sourceLineNo">309</span><a name="line.309"></a>
+<span class="sourceLineNo">310</span>      return out;<a name="line.310"></a>
+<span class="sourceLineNo">311</span>   }<a name="line.311"></a>
+<span class="sourceLineNo">312</span><a name="line.312"></a>
+<span class="sourceLineNo">313</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.313"></a>
+<span class="sourceLineNo">314</span>   private SerializerWriter serializeCollectionMap(UrlEncodingSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.314"></a>
+<span class="sourceLineNo">315</span><a name="line.315"></a>
+<span class="sourceLineNo">316</span>      ClassMeta&lt;?&gt; valueType = type.getValueType();<a name="line.316"></a>
+<span class="sourceLineNo">317</span><a name="line.317"></a>
+<span class="sourceLineNo">318</span>      int depth = session.getIndent();<a name="line.318"></a>
+<span class="sourceLineNo">319</span>      boolean addAmp = false;<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span>      for (Map.Entry e : (Set&lt;Map.Entry&gt;)m.entrySet()) {<a name="line.321"></a>
+<span class="sourceLineNo">322</span>         if (addAmp)<a name="line.322"></a>
+<span class="sourceLineNo">323</span>            out.cr(depth).append('&amp;');<a name="line.323"></a>
+<span class="sourceLineNo">324</span>         out.append(e.getKey()).append('=');<a name="line.324"></a>
+<span class="sourceLineNo">325</span>         super.serializeAnything(session, out, e.getValue(), valueType, null, null, session.plainTextParams());<a name="line.325"></a>
+<span class="sourceLineNo">326</span>         addAmp = true;<a name="line.326"></a>
+<span class="sourceLineNo">327</span>      }<a name="line.327"></a>
+<span class="sourceLineNo">328</span><a name="line.328"></a>
+<span class="sourceLineNo">329</span>      return out;<a name="line.329"></a>
+<span class="sourceLineNo">330</span>   }<a name="line.330"></a>
+<span class="sourceLineNo">331</span><a name="line.331"></a>
+<span class="sourceLineNo">332</span>   @SuppressWarnings({ "rawtypes" })<a name="line.332"></a>
+<span class="sourceLineNo">333</span>   private SerializerWriter serializeBeanMap(UrlEncodingSerializerSession session, UonWriter out, BeanMap&lt;?&gt; m, String typeName) throws Exception {<a name="line.333"></a>
+<span class="sourceLineNo">334</span>      int depth = session.getIndent();<a name="line.334"></a>
+<span class="sourceLineNo">335</span>      boolean plainTextParams = session.plainTextParams();<a name="line.335"></a>
 <span class="sourceLineNo">336</span><a name="line.336"></a>
-<span class="sourceLineNo">337</span>      for (BeanPropertyValue p : m.getValues(session.isTrimNulls(), typeName != null ? session.createBeanTypeNameProperty(m, typeName) : null)) {<a name="line.337"></a>
-<span class="sourceLineNo">338</span>         BeanPropertyMeta pMeta = p.getMeta();<a name="line.338"></a>
-<span class="sourceLineNo">339</span>         ClassMeta&lt;?&gt; cMeta = p.getClassMeta();<a name="line.339"></a>
-<span class="sourceLineNo">340</span><a name="line.340"></a>
-<span class="sourceLineNo">341</span>         String key = p.getName();<a name="line.341"></a>
-<span class="sourceLineNo">342</span>         Object value = p.getValue();<a name="line.342"></a>
-<span class="sourceLineNo">343</span>         Throwable t = p.getThrown();<a name="line.343"></a>
-<span class="sourceLineNo">344</span>         if (t != null)<a name="line.344"></a>
-<span class="sourceLineNo">345</span>            session.addBeanGetterWarning(pMeta, t);<a name="line.345"></a>
-<span class="sourceLineNo">346</span><a name="line.346"></a>
-<span class="sourceLineNo">347</span>         if (session.canIgnoreValue(cMeta, key, value))<a name="line.347"></a>
-<span class="sourceLineNo">348</span>            continue;<a name="line.348"></a>
-<span class="sourceLineNo">349</span><a name="line.349"></a>
-<span class="sourceLineNo">350</span>         if (value != null &amp;&amp; session.shouldUseExpandedParams(pMeta)) {<a name="line.350"></a>
-<span class="sourceLineNo">351</span>            // Transformed object array bean properties may be transformed resulting in ArrayLists,<a name="line.351"></a>
-<span class="sourceLineNo">352</span>            // so we need to check type if we think it's an array.<a name="line.352"></a>
-<span class="sourceLineNo">353</span>            Iterator i = (cMeta.isCollection() || value instanceof Collection) ? ((Collection)value).iterator() : ArrayUtils.iterator(value);<a name="line.353"></a>
-<span class="sourceLineNo">354</span>            while (i.hasNext()) {<a name="line.354"></a>
-<span class="sourceLineNo">355</span>               if (addAmp)<a name="line.355"></a>
-<span class="sourceLineNo">356</span>                  out.cr(depth).append('&amp;');<a name="line.356"></a>
-<span class="sourceLineNo">357</span><a name="line.357"></a>
-<span class="sourceLineNo">358</span>               out.appendObject(key, true).append('=');<a name="line.358"></a>
+<span class="sourceLineNo">337</span>      boolean addAmp = false;<a name="line.337"></a>
+<span class="sourceLineNo">338</span><a name="line.338"></a>
+<span class="sourceLineNo">339</span>      for (BeanPropertyValue p : m.getValues(session.isTrimNulls(), typeName != null ? session.createBeanTypeNameProperty(m, typeName) : null)) {<a name="line.339"></a>
+<span class="sourceLineNo">340</span>         BeanPropertyMeta pMeta = p.getMeta();<a name="line.340"></a>
+<span class="sourceLineNo">341</span>         ClassMeta&lt;?&gt; cMeta = p.getClassMeta();<a name="line.341"></a>
+<span class="sourceLineNo">342</span><a name="line.342"></a>
+<span class="sourceLineNo">343</span>         String key = p.getName();<a name="line.343"></a>
+<span class="sourceLineNo">344</span>         Object value = p.getValue();<a name="line.344"></a>
+<span class="sourceLineNo">345</span>         Throwable t = p.getThrown();<a name="line.345"></a>
+<span class="sourceLineNo">346</span>         if (t != null)<a name="line.346"></a>
+<span class="sourceLineNo">347</span>            session.addBeanGetterWarning(pMeta, t);<a name="line.347"></a>
+<span class="sourceLineNo">348</span><a name="line.348"></a>
+<span class="sourceLineNo">349</span>         if (session.canIgnoreValue(cMeta, key, value))<a name="line.349"></a>
+<span class="sourceLineNo">350</span>            continue;<a name="line.350"></a>
+<span class="sourceLineNo">351</span><a name="line.351"></a>
+<span class="sourceLineNo">352</span>         if (value != null &amp;&amp; session.shouldUseExpandedParams(pMeta)) {<a name="line.352"></a>
+<span class="sourceLineNo">353</span>            // Transformed object array bean properties may be transformed resulting in ArrayLists,<a name="line.353"></a>
+<span class="sourceLineNo">354</span>            // so we need to check type if we think it's an array.<a name="line.354"></a>
+<span class="sourceLineNo">355</span>            Iterator i = (cMeta.isCollection() || value instanceof Collection) ? ((Collection)value).iterator() : ArrayUtils.iterator(value);<a name="line.355"></a>
+<span class="sourceLineNo">356</span>            while (i.hasNext()) {<a name="line.356"></a>
+<span class="sourceLineNo">357</span>               if (addAmp)<a name="line.357"></a>
+<span class="sourceLineNo">358</span>                  out.cr(depth).append('&amp;');<a name="line.358"></a>
 <span class="sourceLineNo">359</span><a name="line.359"></a>
-<span class="sourceLineNo">360</span>               super.serializeAnything(session, out, i.next(), cMeta.getElementType(), key, pMeta);<a name="line.360"></a>
+<span class="sourceLineNo">360</span>               out.appendObject(key, true, plainTextParams).append('=');<a name="line.360"></a>
 <span class="sourceLineNo">361</span><a name="line.361"></a>
-<span class="sourceLineNo">362</span>               addAmp = true;<a name="line.362"></a>
-<span class="sourceLineNo">363</span>            }<a name="line.363"></a>
-<span class="sourceLineNo">364</span>         } else {<a name="line.364"></a>
-<span class="sourceLineNo">365</span>            if (addAmp)<a name="line.365"></a>
-<span class="sourceLineNo">366</span>               out.cr(depth).append('&amp;');<a name="line.366"></a>
-<span class="sourceLineNo">367</span><a name="line.367"></a>
-<span class="sourceLineNo">368</span>            out.appendObject(key, true).append('=');<a name="line.368"></a>
+<span class="sourceLineNo">362</span>               super.serializeAnything(session, out, i.next(), cMeta.getElementType(), key, pMeta, plainTextParams);<a name="line.362"></a>
+<span class="sourceLineNo">363</span><a name="line.363"></a>
+<span class="sourceLineNo">364</span>               addAmp = true;<a name="line.364"></a>
+<span class="sourceLineNo">365</span>            }<a name="line.365"></a>
+<span class="sourceLineNo">366</span>         } else {<a name="line.366"></a>
+<span class="sourceLineNo">367</span>            if (addAmp)<a name="line.367"></a>
+<span class="sourceLineNo">368</span>               out.cr(depth).append('&amp;');<a name="line.368"></a>
 <span class="sourceLineNo">369</span><a name="line.369"></a>
-<span class="sourceLineNo">370</span>            super.serializeAnything(session, out, value, cMeta, key, pMeta);<a name="line.370"></a>
+<span class="sourceLineNo">370</span>            out.appendObject(key, true, plainTextParams).append('=');<a name="line.370"></a>
 <span class="sourceLineNo">371</span><a name="line.371"></a>
-<span class="sourceLineNo">372</span>            addAmp = true;<a name="line.372"></a>
-<span class="sourceLineNo">373</span>         }<a name="line.373"></a>
-<span class="sourceLineNo">374</span><a name="line.374"></a>
-<span class="sourceLineNo">375</span>      }<a name="line.375"></a>
-<span class="sourceLineNo">376</span>      return out;<a name="line.376"></a>
-<span class="sourceLineNo">377</span>   }<a name="line.377"></a>
-<span class="sourceLineNo">378</span><a name="line.378"></a>
-<span class="sourceLineNo">379</span><a name="line.379"></a>
-<span class="sourceLineNo">380</span>   //--------------------------------------------------------------------------------<a name="line.380"></a>
-<span class="sourceLineNo">381</span>   // Methods for constructing individual parameter values.<a name="line.381"></a>
+<span class="sourceLineNo">372</span>            super.serializeAnything(session, out, value, cMeta, key, pMeta, plainTextParams);<a name="line.372"></a>
+<span class="sourceLineNo">373</span><a name="line.373"></a>
+<span class="sourceLineNo">374</span>            addAmp = true;<a name="line.374"></a>
+<span class="sourceLineNo">375</span>         }<a name="line.375"></a>
+<span class="sourceLineNo">376</span><a name="line.376"></a>
+<span class="sourceLineNo">377</span>      }<a name="line.377"></a>
+<span class="sourceLineNo">378</span>      return out;<a name="line.378"></a>
+<span class="sourceLineNo">379</span>   }<a name="line.379"></a>
+<span class="sourceLineNo">380</span><a name="line.380"></a>
+<span class="sourceLineNo">381</span><a name="line.381"></a>
 <span class="sourceLineNo">382</span>   //--------------------------------------------------------------------------------<a name="line.382"></a>
-<span class="sourceLineNo">383</span><a name="line.383"></a>
-<span class="sourceLineNo">384</span>   /**<a name="line.384"></a>
-<span class="sourceLineNo">385</span>    * Converts the specified object to a string using this serializers {@link BeanSession#convertToType(Object, Class)} method<a name="line.385"></a>
-<span class="sourceLineNo">386</span>    *    and runs {@link URLEncoder#encode(String,String)} against the results.<a name="line.386"></a>
-<span class="sourceLineNo">387</span>    * Useful for constructing URL parts.<a name="line.387"></a>
-<span class="sourceLineNo">388</span>    *<a name="line.388"></a>
-<span class="sourceLineNo">389</span>    * @param o The object to serialize.<a name="line.389"></a>
-<span class="sourceLineNo">390</span>    * @return The serialized object.<a name="line.390"></a>
-<span class="sourceLineNo">391</span>    */<a name="line.391"></a>
-<span class="sourceLineNo">392</span>   public String serializeUrlPart(Object o) {<a name="line.392"></a>
-<span class="sourceLineNo">393</span>      try {<a name="line.393"></a>
-<span class="sourceLineNo">394</span>         // Shortcut for simple types.<a name="line.394"></a>
-<span class="sourceLineNo">395</span>         ClassMeta&lt;?&gt; cm = getBeanContext().getClassMetaForObject(o);<a name="line.395"></a>
-<span class="sourceLineNo">396</span>         if (cm != null)<a name="line.396"></a>
-<span class="sourceLineNo">397</span>            if (cm.isCharSequence() || cm.isNumber() || cm.isBoolean())<a name="line.397"></a>
-<span class="sourceLineNo">398</span>               return o.toString();<a name="line.398"></a>
-<span class="sourceLineNo">399</span><a name="line.399"></a>
-<span class="sourceLineNo">400</span>         StringWriter w = new StringWriter();<a name="line.400"></a>
-<span class="sourceLineNo">401</span>         UonSerializerSession s = createSession(w, null, null, null, null, MediaType.UON);<a name="line.401"></a>
-<span class="sourceLineNo">402</span>         super.doSerialize(s, o);<a name="line.402"></a>
-<span class="sourceLineNo">403</span>         return w.toString();<a name="line.403"></a>
-<span class="sourceLineNo">404</span>      } catch (Exception e) {<a name="line.404"></a>
-<span class="sourceLineNo">405</span>         throw new RuntimeException(e);<a name="line.405"></a>
-<span class="sourceLineNo">406</span>      }<a name="line.406"></a>
-<span class="sourceLineNo">407</span>   }<a name="line.407"></a>
-<span class="sourceLineNo">408</span><a name="line.408"></a>
-<span class="sourceLineNo">409</span><a name="line.409"></a>
-<span class="sourceLineNo">410</span>   //--------------------------------------------------------------------------------<a name="line.410"></a>
-<span class="sourceLineNo">411</span>   // Entry point methods<a name="line.411"></a>
-<span class="sourceLineNo">412</span>   //--------------------------------------------------------------------------------<a name="line.412"></a>
-<span class="sourceLineNo">413</span><a name="line.413"></a>
-<span class="sourceLineNo">414</span>   @Override /* Serializer */<a name="line.414"></a>
-<span class="sourceLineNo">415</span>   public UrlEncodingSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.415"></a>
-<span class="sourceLineNo">416</span>      return new UrlEncodingSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.416"></a>
-<span class="sourceLineNo">417</span>   }<a name="line.417"></a>
-<span class="sourceLineNo">418</span><a name="line.418"></a>
-<span class="sourceLineNo">419</span>   @Override /* Serializer */<a name="line.419"></a>
-<span class="sourceLineNo">420</span>   protected void doSerialize(SerializerSession session, Object o) throws Exception {<a name="line.420"></a>
-<span class="sourceLineNo">421</span>      UrlEncodingSerializerSession s = (UrlEncodingSerializerSession)session;<a name="line.421"></a>
-<span class="sourceLineNo">422</span>      serializeAnything(s, s.getWriter(), o);<a name="line.422"></a>
-<span class="sourceLineNo">423</span>   }<a name="line.423"></a>
-<span class="sourceLineNo">424</span>}<a name="line.424"></a>
+<span class="sourceLineNo">383</span>   // Methods for constructing individual parameter values.<a name="line.383"></a>
+<span class="sourceLineNo">384</span>   //--------------------------------------------------------------------------------<a name="line.384"></a>
+<span class="sourceLineNo">385</span><a name="line.385"></a>
+<span class="sourceLineNo">386</span>   /**<a name="line.386"></a>
+<span class="sourceLineNo">387</span>    * Converts the specified object to a string using this serializers {@link BeanSession#convertToType(Object, Class)} method<a name="line.387"></a>
+<span class="sourceLineNo">388</span>    *    and runs {@link URLEncoder#encode(String,String)} against the results.<a name="line.388"></a>
+<span class="sourceLineNo">389</span>    * Useful for constructing URL parts.<a name="line.389"></a>
+<span class="sourceLineNo">390</span>    *<a name="line.390"></a>
+<span class="sourceLineNo">391</span>    * @param o The object to serialize.<a name="line.391"></a>
+<span class="sourceLineNo">392</span>    * @param urlEncode URL-encode the string if necessary.<a name="line.392"></a>
+<span class="sourceLineNo">393</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then uses the value of the {@link UonSerializerContext#UON_encodeChars} setting.<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    * @param plainTextParams Whether we're using plain-text params.<a name="line.394"></a>
+<span class="sourceLineNo">395</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then uses the value from the {@link UrlEncodingSerializerContext#URLENC_paramFormat} setting.<a name="line.395"></a>
+<span class="sourceLineNo">396</span>    * @return The serialized object.<a name="line.396"></a>
+<span class="sourceLineNo">397</span>    */<a name="line.397"></a>
+<span class="sourceLineNo">398</span>   public String serializePart(Object o, Boolean urlEncode, Boolean plainTextParams) {<a name="line.398"></a>
+<span class="sourceLineNo">399</span>      try {<a name="line.399"></a>
+<span class="sourceLineNo">400</span>         // Shortcut for simple types.<a name="line.400"></a>
+<span class="sourceLineNo">401</span>         ClassMeta&lt;?&gt; cm = getBeanContext().getClassMetaForObject(o);<a name="line.401"></a>
+<span class="sourceLineNo">402</span>         if (cm != null) {<a name="line.402"></a>
+<span class="sourceLineNo">403</span>            if (cm.isNumber() || cm.isBoolean())<a name="line.403"></a>
+<span class="sourceLineNo">404</span>               return o.toString();<a name="line.404"></a>
+<span class="sourceLineNo">405</span>            if (cm.isCharSequence()) {<a name="line.405"></a>
+<span class="sourceLineNo">406</span>               String s = o.toString();<a name="line.406"></a>
+<span class="sourceLineNo">407</span>               boolean ptt = (plainTextParams != null ? plainTextParams : ctx.plainTextParams);<a name="line.407"></a>
+<span class="sourceLineNo">408</span>               if (ptt || ! UonUtils.needsQuotes(s))<a name="line.408"></a>
+<span class="sourceLineNo">409</span>                  return (urlEncode ? StringUtils.urlEncode(s) : s);<a name="line.409"></a>
+<span class="sourceLineNo">410</span>            }<a name="line.410"></a>
+<span class="sourceLineNo">411</span>         }<a name="line.411"></a>
+<span class="sourceLineNo">412</span><a name="line.412"></a>
+<span class="sourceLineNo">413</span>         StringWriter w = new StringWriter();<a name="line.413"></a>
+<span class="sourceLineNo">414</span>         UonSerializerSession s = new UrlEncodingSerializerSession(ctx, urlEncode, null, w, null, null, null, MediaType.UON);<a name="line.414"></a>
+<span class="sourceLineNo">415</span>         super.doSerialize(s, o);<a name="line.415"></a>
+<span class="sourceLineNo">416</span>         return w.toString();<a name="line.416"></a>
+<span class="sourceLineNo">417</span>      } catch (Exception e) {<a name="line.417"></a>
+<span class="sourceLineNo">418</span>         throw new RuntimeException(e);<a name="line.418"></a>
+<span class="sourceLineNo">419</span>      }<a name="line.419"></a>
+<span class="sourceLineNo">420</span>   }<a name="line.420"></a>
+<span class="sourceLineNo">421</span><a name="line.421"></a>
+<span class="sourceLineNo">422</span><a name="line.422"></a>
+<span class="sourceLineNo">423</span>   //--------------------------------------------------------------------------------<a name="line.423"></a>
+<span class="sourceLineNo">424</span>   // Entry point methods<a name="line.424"></a>
+<span class="sourceLineNo">425</span>   //--------------------------------------------------------------------------------<a name="line.425"></a>
+<span class="sourceLineNo">426</span><a name="line.426"></a>
+<span class="sourceLineNo">427</span>   @Override /* Serializer */<a name="line.427"></a>
+<span class="sourceLineNo">428</span>   public UrlEncodingSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.428"></a>
+<span class="sourceLineNo">429</span>      return new UrlEncodingSerializerSession(ctx, null, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.429"></a>
+<span class="sourceLineNo">430</span>   }<a name="line.430"></a>
+<span class="sourceLineNo">431</span><a name="line.431"></a>
+<span class="sourceLineNo">432</span>   @Override /* Serializer */<a name="line.432"></a>
+<span class="sourceLineNo">433</span>   protected void doSerialize(SerializerSession session, Object o) throws Exception {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>      UrlEncodingSerializerSession s = (UrlEncodingSerializerSession)session;<a name="line.434"></a>
+<span class="sourceLineNo">435</span>      serializeAnything(s, s.getWriter(), o);<a name="line.435"></a>
+<span class="sourceLineNo">436</span>   }<a name="line.436"></a>
+<span class="sourceLineNo">437</span>}<a name="line.437"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.Readable.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.Readable.html b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.Readable.html
index 122c8c0..43d8259 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.Readable.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.Readable.html
@@ -254,7 +254,7 @@
 <span class="sourceLineNo">246</span>         // All other types can't be serialized as key/value pairs, so we create a<a name="line.246"></a>
 <span class="sourceLineNo">247</span>         // mock key/value pair with a "_value" key.<a name="line.247"></a>
 <span class="sourceLineNo">248</span>         out.append("_value=");<a name="line.248"></a>
-<span class="sourceLineNo">249</span>         super.serializeAnything(session, out, o, null, null, null);<a name="line.249"></a>
+<span class="sourceLineNo">249</span>         super.serializeAnything(session, out, o, null, null, null, session.plainTextParams());<a name="line.249"></a>
 <span class="sourceLineNo">250</span>      }<a name="line.250"></a>
 <span class="sourceLineNo">251</span><a name="line.251"></a>
 <span class="sourceLineNo">252</span>      session.pop();<a name="line.252"></a>
@@ -285,151 +285,164 @@
 <span class="sourceLineNo">277</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.277"></a>
 <span class="sourceLineNo">278</span>   private SerializerWriter serializeMap(UrlEncodingSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.278"></a>
 <span class="sourceLineNo">279</span><a name="line.279"></a>
-<span class="sourceLineNo">280</span>      m = session.sort(m);<a name="line.280"></a>
-<span class="sourceLineNo">281</span><a name="line.281"></a>
-<span class="sourceLineNo">282</span>      ClassMeta&lt;?&gt; keyType = type.getKeyType(), valueType = type.getValueType();<a name="line.282"></a>
-<span class="sourceLineNo">283</span><a name="line.283"></a>
-<span class="sourceLineNo">284</span>      int depth = session.getIndent();<a name="line.284"></a>
-<span class="sourceLineNo">285</span>      boolean addAmp = false;<a name="line.285"></a>
-<span class="sourceLineNo">286</span><a name="line.286"></a>
-<span class="sourceLineNo">287</span>      for (Map.Entry e : (Set&lt;Map.Entry&gt;)m.entrySet()) {<a name="line.287"></a>
-<span class="sourceLineNo">288</span>         Object key = session.generalize(e.getKey(), keyType);<a name="line.288"></a>
-<span class="sourceLineNo">289</span>         Object value = e.getValue();<a name="line.289"></a>
-<span class="sourceLineNo">290</span><a name="line.290"></a>
-<span class="sourceLineNo">291</span>         if (session.shouldUseExpandedParams(value)) {<a name="line.291"></a>
-<span class="sourceLineNo">292</span>            Iterator i = value instanceof Collection ? ((Collection)value).iterator() : ArrayUtils.iterator(value);<a name="line.292"></a>
-<span class="sourceLineNo">293</span>            while (i.hasNext()) {<a name="line.293"></a>
-<span class="sourceLineNo">294</span>               if (addAmp)<a name="line.294"></a>
-<span class="sourceLineNo">295</span>                  out.cr(depth).append('&amp;');<a name="line.295"></a>
-<span class="sourceLineNo">296</span>               out.appendObject(key, true).append('=');<a name="line.296"></a>
-<span class="sourceLineNo">297</span>               super.serializeAnything(session, out, i.next(), null, (key == null ? null : key.toString()), null);<a name="line.297"></a>
-<span class="sourceLineNo">298</span>               addAmp = true;<a name="line.298"></a>
-<span class="sourceLineNo">299</span>            }<a name="line.299"></a>
-<span class="sourceLineNo">300</span>         } else {<a name="line.300"></a>
-<span class="sourceLineNo">301</span>            if (addAmp)<a name="line.301"></a>
-<span class="sourceLineNo">302</span>               out.cr(depth).append('&amp;');<a name="line.302"></a>
-<span class="sourceLineNo">303</span>            out.appendObject(key, true).append('=');<a name="line.303"></a>
-<span class="sourceLineNo">304</span>            super.serializeAnything(session, out, value, valueType, (key == null ? null : key.toString()), null);<a name="line.304"></a>
-<span class="sourceLineNo">305</span>            addAmp = true;<a name="line.305"></a>
-<span class="sourceLineNo">306</span>         }<a name="line.306"></a>
-<span class="sourceLineNo">307</span>      }<a name="line.307"></a>
-<span class="sourceLineNo">308</span><a name="line.308"></a>
-<span class="sourceLineNo">309</span>      return out;<a name="line.309"></a>
-<span class="sourceLineNo">310</span>   }<a name="line.310"></a>
-<span class="sourceLineNo">311</span><a name="line.311"></a>
-<span class="sourceLineNo">312</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.312"></a>
-<span class="sourceLineNo">313</span>   private SerializerWriter serializeCollectionMap(UrlEncodingSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.313"></a>
-<span class="sourceLineNo">314</span><a name="line.314"></a>
-<span class="sourceLineNo">315</span>      ClassMeta&lt;?&gt; valueType = type.getValueType();<a name="line.315"></a>
-<span class="sourceLineNo">316</span><a name="line.316"></a>
-<span class="sourceLineNo">317</span>      int depth = session.getIndent();<a name="line.317"></a>
-<span class="sourceLineNo">318</span>      boolean addAmp = false;<a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span>      for (Map.Entry e : (Set&lt;Map.Entry&gt;)m.entrySet()) {<a name="line.320"></a>
-<span class="sourceLineNo">321</span>         if (addAmp)<a name="line.321"></a>
-<span class="sourceLineNo">322</span>            out.cr(depth).append('&amp;');<a name="line.322"></a>
-<span class="sourceLineNo">323</span>         out.append(e.getKey()).append('=');<a name="line.323"></a>
-<span class="sourceLineNo">324</span>         super.serializeAnything(session, out, e.getValue(), valueType, null, null);<a name="line.324"></a>
-<span class="sourceLineNo">325</span>         addAmp = true;<a name="line.325"></a>
-<span class="sourceLineNo">326</span>      }<a name="line.326"></a>
-<span class="sourceLineNo">327</span><a name="line.327"></a>
-<span class="sourceLineNo">328</span>      return out;<a name="line.328"></a>
-<span class="sourceLineNo">329</span>   }<a name="line.329"></a>
-<span class="sourceLineNo">330</span><a name="line.330"></a>
-<span class="sourceLineNo">331</span>   @SuppressWarnings({ "rawtypes" })<a name="line.331"></a>
-<span class="sourceLineNo">332</span>   private SerializerWriter serializeBeanMap(UrlEncodingSerializerSession session, UonWriter out, BeanMap&lt;?&gt; m, String typeName) throws Exception {<a name="line.332"></a>
-<span class="sourceLineNo">333</span>      int depth = session.getIndent();<a name="line.333"></a>
-<span class="sourceLineNo">334</span><a name="line.334"></a>
-<span class="sourceLineNo">335</span>      boolean addAmp = false;<a name="line.335"></a>
+<span class="sourceLineNo">280</span>      boolean plainTextParams = session.plainTextParams();<a name="line.280"></a>
+<span class="sourceLineNo">281</span>      m = session.sort(m);<a name="line.281"></a>
+<span class="sourceLineNo">282</span><a name="line.282"></a>
+<span class="sourceLineNo">283</span>      ClassMeta&lt;?&gt; keyType = type.getKeyType(), valueType = type.getValueType();<a name="line.283"></a>
+<span class="sourceLineNo">284</span><a name="line.284"></a>
+<span class="sourceLineNo">285</span>      int depth = session.getIndent();<a name="line.285"></a>
+<span class="sourceLineNo">286</span>      boolean addAmp = false;<a name="line.286"></a>
+<span class="sourceLineNo">287</span><a name="line.287"></a>
+<span class="sourceLineNo">288</span>      for (Map.Entry e : (Set&lt;Map.Entry&gt;)m.entrySet()) {<a name="line.288"></a>
+<span class="sourceLineNo">289</span>         Object key = session.generalize(e.getKey(), keyType);<a name="line.289"></a>
+<span class="sourceLineNo">290</span>         Object value = e.getValue();<a name="line.290"></a>
+<span class="sourceLineNo">291</span><a name="line.291"></a>
+<span class="sourceLineNo">292</span>         if (session.shouldUseExpandedParams(value)) {<a name="line.292"></a>
+<span class="sourceLineNo">293</span>            Iterator i = value instanceof Collection ? ((Collection)value).iterator() : ArrayUtils.iterator(value);<a name="line.293"></a>
+<span class="sourceLineNo">294</span>            while (i.hasNext()) {<a name="line.294"></a>
+<span class="sourceLineNo">295</span>               if (addAmp)<a name="line.295"></a>
+<span class="sourceLineNo">296</span>                  out.cr(depth).append('&amp;');<a name="line.296"></a>
+<span class="sourceLineNo">297</span>               out.appendObject(key, true, plainTextParams).append('=');<a name="line.297"></a>
+<span class="sourceLineNo">298</span>               super.serializeAnything(session, out, i.next(), null, (key == null ? null : key.toString()), null, plainTextParams);<a name="line.298"></a>
+<span class="sourceLineNo">299</span>               addAmp = true;<a name="line.299"></a>
+<span class="sourceLineNo">300</span>            }<a name="line.300"></a>
+<span class="sourceLineNo">301</span>         } else {<a name="line.301"></a>
+<span class="sourceLineNo">302</span>            if (addAmp)<a name="line.302"></a>
+<span class="sourceLineNo">303</span>               out.cr(depth).append('&amp;');<a name="line.303"></a>
+<span class="sourceLineNo">304</span>            out.appendObject(key, true, plainTextParams).append('=');<a name="line.304"></a>
+<span class="sourceLineNo">305</span>            super.serializeAnything(session, out, value, valueType, (key == null ? null : key.toString()), null, plainTextParams);<a name="line.305"></a>
+<span class="sourceLineNo">306</span>            addAmp = true;<a name="line.306"></a>
+<span class="sourceLineNo">307</span>         }<a name="line.307"></a>
+<span class="sourceLineNo">308</span>      }<a name="line.308"></a>
+<span class="sourceLineNo">309</span><a name="line.309"></a>
+<span class="sourceLineNo">310</span>      return out;<a name="line.310"></a>
+<span class="sourceLineNo">311</span>   }<a name="line.311"></a>
+<span class="sourceLineNo">312</span><a name="line.312"></a>
+<span class="sourceLineNo">313</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.313"></a>
+<span class="sourceLineNo">314</span>   private SerializerWriter serializeCollectionMap(UrlEncodingSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.314"></a>
+<span class="sourceLineNo">315</span><a name="line.315"></a>
+<span class="sourceLineNo">316</span>      ClassMeta&lt;?&gt; valueType = type.getValueType();<a name="line.316"></a>
+<span class="sourceLineNo">317</span><a name="line.317"></a>
+<span class="sourceLineNo">318</span>      int depth = session.getIndent();<a name="line.318"></a>
+<span class="sourceLineNo">319</span>      boolean addAmp = false;<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span>      for (Map.Entry e : (Set&lt;Map.Entry&gt;)m.entrySet()) {<a name="line.321"></a>
+<span class="sourceLineNo">322</span>         if (addAmp)<a name="line.322"></a>
+<span class="sourceLineNo">323</span>            out.cr(depth).append('&amp;');<a name="line.323"></a>
+<span class="sourceLineNo">324</span>         out.append(e.getKey()).append('=');<a name="line.324"></a>
+<span class="sourceLineNo">325</span>         super.serializeAnything(session, out, e.getValue(), valueType, null, null, session.plainTextParams());<a name="line.325"></a>
+<span class="sourceLineNo">326</span>         addAmp = true;<a name="line.326"></a>
+<span class="sourceLineNo">327</span>      }<a name="line.327"></a>
+<span class="sourceLineNo">328</span><a name="line.328"></a>
+<span class="sourceLineNo">329</span>      return out;<a name="line.329"></a>
+<span class="sourceLineNo">330</span>   }<a name="line.330"></a>
+<span class="sourceLineNo">331</span><a name="line.331"></a>
+<span class="sourceLineNo">332</span>   @SuppressWarnings({ "rawtypes" })<a name="line.332"></a>
+<span class="sourceLineNo">333</span>   private SerializerWriter serializeBeanMap(UrlEncodingSerializerSession session, UonWriter out, BeanMap&lt;?&gt; m, String typeName) throws Exception {<a name="line.333"></a>
+<span class="sourceLineNo">334</span>      int depth = session.getIndent();<a name="line.334"></a>
+<span class="sourceLineNo">335</span>      boolean plainTextParams = session.plainTextParams();<a name="line.335"></a>
 <span class="sourceLineNo">336</span><a name="line.336"></a>
-<span class="sourceLineNo">337</span>      for (BeanPropertyValue p : m.getValues(session.isTrimNulls(), typeName != null ? session.createBeanTypeNameProperty(m, typeName) : null)) {<a name="line.337"></a>
-<span class="sourceLineNo">338</span>         BeanPropertyMeta pMeta = p.getMeta();<a name="line.338"></a>
-<span class="sourceLineNo">339</span>         ClassMeta&lt;?&gt; cMeta = p.getClassMeta();<a name="line.339"></a>
-<span class="sourceLineNo">340</span><a name="line.340"></a>
-<span class="sourceLineNo">341</span>         String key = p.getName();<a name="line.341"></a>
-<span class="sourceLineNo">342</span>         Object value = p.getValue();<a name="line.342"></a>
-<span class="sourceLineNo">343</span>         Throwable t = p.getThrown();<a name="line.343"></a>
-<span class="sourceLineNo">344</span>         if (t != null)<a name="line.344"></a>
-<span class="sourceLineNo">345</span>            session.addBeanGetterWarning(pMeta, t);<a name="line.345"></a>
-<span class="sourceLineNo">346</span><a name="line.346"></a>
-<span class="sourceLineNo">347</span>         if (session.canIgnoreValue(cMeta, key, value))<a name="line.347"></a>
-<span class="sourceLineNo">348</span>            continue;<a name="line.348"></a>
-<span class="sourceLineNo">349</span><a name="line.349"></a>
-<span class="sourceLineNo">350</span>         if (value != null &amp;&amp; session.shouldUseExpandedParams(pMeta)) {<a name="line.350"></a>
-<span class="sourceLineNo">351</span>            // Transformed object array bean properties may be transformed resulting in ArrayLists,<a name="line.351"></a>
-<span class="sourceLineNo">352</span>            // so we need to check type if we think it's an array.<a name="line.352"></a>
-<span class="sourceLineNo">353</span>            Iterator i = (cMeta.isCollection() || value instanceof Collection) ? ((Collection)value).iterator() : ArrayUtils.iterator(value);<a name="line.353"></a>
-<span class="sourceLineNo">354</span>            while (i.hasNext()) {<a name="line.354"></a>
-<span class="sourceLineNo">355</span>               if (addAmp)<a name="line.355"></a>
-<span class="sourceLineNo">356</span>                  out.cr(depth).append('&amp;');<a name="line.356"></a>
-<span class="sourceLineNo">357</span><a name="line.357"></a>
-<span class="sourceLineNo">358</span>               out.appendObject(key, true).append('=');<a name="line.358"></a>
+<span class="sourceLineNo">337</span>      boolean addAmp = false;<a name="line.337"></a>
+<span class="sourceLineNo">338</span><a name="line.338"></a>
+<span class="sourceLineNo">339</span>      for (BeanPropertyValue p : m.getValues(session.isTrimNulls(), typeName != null ? session.createBeanTypeNameProperty(m, typeName) : null)) {<a name="line.339"></a>
+<span class="sourceLineNo">340</span>         BeanPropertyMeta pMeta = p.getMeta();<a name="line.340"></a>
+<span class="sourceLineNo">341</span>         ClassMeta&lt;?&gt; cMeta = p.getClassMeta();<a name="line.341"></a>
+<span class="sourceLineNo">342</span><a name="line.342"></a>
+<span class="sourceLineNo">343</span>         String key = p.getName();<a name="line.343"></a>
+<span class="sourceLineNo">344</span>         Object value = p.getValue();<a name="line.344"></a>
+<span class="sourceLineNo">345</span>         Throwable t = p.getThrown();<a name="line.345"></a>
+<span class="sourceLineNo">346</span>         if (t != null)<a name="line.346"></a>
+<span class="sourceLineNo">347</span>            session.addBeanGetterWarning(pMeta, t);<a name="line.347"></a>
+<span class="sourceLineNo">348</span><a name="line.348"></a>
+<span class="sourceLineNo">349</span>         if (session.canIgnoreValue(cMeta, key, value))<a name="line.349"></a>
+<span class="sourceLineNo">350</span>            continue;<a name="line.350"></a>
+<span class="sourceLineNo">351</span><a name="line.351"></a>
+<span class="sourceLineNo">352</span>         if (value != null &amp;&amp; session.shouldUseExpandedParams(pMeta)) {<a name="line.352"></a>
+<span class="sourceLineNo">353</span>            // Transformed object array bean properties may be transformed resulting in ArrayLists,<a name="line.353"></a>
+<span class="sourceLineNo">354</span>            // so we need to check type if we think it's an array.<a name="line.354"></a>
+<span class="sourceLineNo">355</span>            Iterator i = (cMeta.isCollection() || value instanceof Collection) ? ((Collection)value).iterator() : ArrayUtils.iterator(value);<a name="line.355"></a>
+<span class="sourceLineNo">356</span>            while (i.hasNext()) {<a name="line.356"></a>
+<span class="sourceLineNo">357</span>               if (addAmp)<a name="line.357"></a>
+<span class="sourceLineNo">358</span>                  out.cr(depth).append('&amp;');<a name="line.358"></a>
 <span class="sourceLineNo">359</span><a name="line.359"></a>
-<span class="sourceLineNo">360</span>               super.serializeAnything(session, out, i.next(), cMeta.getElementType(), key, pMeta);<a name="line.360"></a>
+<span class="sourceLineNo">360</span>               out.appendObject(key, true, plainTextParams).append('=');<a name="line.360"></a>
 <span class="sourceLineNo">361</span><a name="line.361"></a>
-<span class="sourceLineNo">362</span>               addAmp = true;<a name="line.362"></a>
-<span class="sourceLineNo">363</span>            }<a name="line.363"></a>
-<span class="sourceLineNo">364</span>         } else {<a name="line.364"></a>
-<span class="sourceLineNo">365</span>            if (addAmp)<a name="line.365"></a>
-<span class="sourceLineNo">366</span>               out.cr(depth).append('&amp;');<a name="line.366"></a>
-<span class="sourceLineNo">367</span><a name="line.367"></a>
-<span class="sourceLineNo">368</span>            out.appendObject(key, true).append('=');<a name="line.368"></a>
+<span class="sourceLineNo">362</span>               super.serializeAnything(session, out, i.next(), cMeta.getElementType(), key, pMeta, plainTextParams);<a name="line.362"></a>
+<span class="sourceLineNo">363</span><a name="line.363"></a>
+<span class="sourceLineNo">364</span>               addAmp = true;<a name="line.364"></a>
+<span class="sourceLineNo">365</span>            }<a name="line.365"></a>
+<span class="sourceLineNo">366</span>         } else {<a name="line.366"></a>
+<span class="sourceLineNo">367</span>            if (addAmp)<a name="line.367"></a>
+<span class="sourceLineNo">368</span>               out.cr(depth).append('&amp;');<a name="line.368"></a>
 <span class="sourceLineNo">369</span><a name="line.369"></a>
-<span class="sourceLineNo">370</span>            super.serializeAnything(session, out, value, cMeta, key, pMeta);<a name="line.370"></a>
+<span class="sourceLineNo">370</span>            out.appendObject(key, true, plainTextParams).append('=');<a name="line.370"></a>
 <span class="sourceLineNo">371</span><a name="line.371"></a>
-<span class="sourceLineNo">372</span>            addAmp = true;<a name="line.372"></a>
-<span class="sourceLineNo">373</span>         }<a name="line.373"></a>
-<span class="sourceLineNo">374</span><a name="line.374"></a>
-<span class="sourceLineNo">375</span>      }<a name="line.375"></a>
-<span class="sourceLineNo">376</span>      return out;<a name="line.376"></a>
-<span class="sourceLineNo">377</span>   }<a name="line.377"></a>
-<span class="sourceLineNo">378</span><a name="line.378"></a>
-<span class="sourceLineNo">379</span><a name="line.379"></a>
-<span class="sourceLineNo">380</span>   //--------------------------------------------------------------------------------<a name="line.380"></a>
-<span class="sourceLineNo">381</span>   // Methods for constructing individual parameter values.<a name="line.381"></a>
+<span class="sourceLineNo">372</span>            super.serializeAnything(session, out, value, cMeta, key, pMeta, plainTextParams);<a name="line.372"></a>
+<span class="sourceLineNo">373</span><a name="line.373"></a>
+<span class="sourceLineNo">374</span>            addAmp = true;<a name="line.374"></a>
+<span class="sourceLineNo">375</span>         }<a name="line.375"></a>
+<span class="sourceLineNo">376</span><a name="line.376"></a>
+<span class="sourceLineNo">377</span>      }<a name="line.377"></a>
+<span class="sourceLineNo">378</span>      return out;<a name="line.378"></a>
+<span class="sourceLineNo">379</span>   }<a name="line.379"></a>
+<span class="sourceLineNo">380</span><a name="line.380"></a>
+<span class="sourceLineNo">381</span><a name="line.381"></a>
 <span class="sourceLineNo">382</span>   //--------------------------------------------------------------------------------<a name="line.382"></a>
-<span class="sourceLineNo">383</span><a name="line.383"></a>
-<span class="sourceLineNo">384</span>   /**<a name="line.384"></a>
-<span class="sourceLineNo">385</span>    * Converts the specified object to a string using this serializers {@link BeanSession#convertToType(Object, Class)} method<a name="line.385"></a>
-<span class="sourceLineNo">386</span>    *    and runs {@link URLEncoder#encode(String,String)} against the results.<a name="line.386"></a>
-<span class="sourceLineNo">387</span>    * Useful for constructing URL parts.<a name="line.387"></a>
-<span class="sourceLineNo">388</span>    *<a name="line.388"></a>
-<span class="sourceLineNo">389</span>    * @param o The object to serialize.<a name="line.389"></a>
-<span class="sourceLineNo">390</span>    * @return The serialized object.<a name="line.390"></a>
-<span class="sourceLineNo">391</span>    */<a name="line.391"></a>
-<span class="sourceLineNo">392</span>   public String serializeUrlPart(Object o) {<a name="line.392"></a>
-<span class="sourceLineNo">393</span>      try {<a name="line.393"></a>
-<span class="sourceLineNo">394</span>         // Shortcut for simple types.<a name="line.394"></a>
-<span class="sourceLineNo">395</span>         ClassMeta&lt;?&gt; cm = getBeanContext().getClassMetaForObject(o);<a name="line.395"></a>
-<span class="sourceLineNo">396</span>         if (cm != null)<a name="line.396"></a>
-<span class="sourceLineNo">397</span>            if (cm.isCharSequence() || cm.isNumber() || cm.isBoolean())<a name="line.397"></a>
-<span class="sourceLineNo">398</span>               return o.toString();<a name="line.398"></a>
-<span class="sourceLineNo">399</span><a name="line.399"></a>
-<span class="sourceLineNo">400</span>         StringWriter w = new StringWriter();<a name="line.400"></a>
-<span class="sourceLineNo">401</span>         UonSerializerSession s = createSession(w, null, null, null, null, MediaType.UON);<a name="line.401"></a>
-<span class="sourceLineNo">402</span>         super.doSerialize(s, o);<a name="line.402"></a>
-<span class="sourceLineNo">403</span>         return w.toString();<a name="line.403"></a>
-<span class="sourceLineNo">404</span>      } catch (Exception e) {<a name="line.404"></a>
-<span class="sourceLineNo">405</span>         throw new RuntimeException(e);<a name="line.405"></a>
-<span class="sourceLineNo">406</span>      }<a name="line.406"></a>
-<span class="sourceLineNo">407</span>   }<a name="line.407"></a>
-<span class="sourceLineNo">408</span><a name="line.408"></a>
-<span class="sourceLineNo">409</span><a name="line.409"></a>
-<span class="sourceLineNo">410</span>   //--------------------------------------------------------------------------------<a name="line.410"></a>
-<span class="sourceLineNo">411</span>   // Entry point methods<a name="line.411"></a>
-<span class="sourceLineNo">412</span>   //--------------------------------------------------------------------------------<a name="line.412"></a>
-<span class="sourceLineNo">413</span><a name="line.413"></a>
-<span class="sourceLineNo">414</span>   @Override /* Serializer */<a name="line.414"></a>
-<span class="sourceLineNo">415</span>   public UrlEncodingSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.415"></a>
-<span class="sourceLineNo">416</span>      return new UrlEncodingSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.416"></a>
-<span class="sourceLineNo">417</span>   }<a name="line.417"></a>
-<span class="sourceLineNo">418</span><a name="line.418"></a>
-<span class="sourceLineNo">419</span>   @Override /* Serializer */<a name="line.419"></a>
-<span class="sourceLineNo">420</span>   protected void doSerialize(SerializerSession session, Object o) throws Exception {<a name="line.420"></a>
-<span class="sourceLineNo">421</span>      UrlEncodingSerializerSession s = (UrlEncodingSerializerSession)session;<a name="line.421"></a>
-<span class="sourceLineNo">422</span>      serializeAnything(s, s.getWriter(), o);<a name="line.422"></a>
-<span class="sourceLineNo">423</span>   }<a name="line.423"></a>
-<span class="sourceLineNo">424</span>}<a name="line.424"></a>
+<span class="sourceLineNo">383</span>   // Methods for constructing individual parameter values.<a name="line.383"></a>
+<span class="sourceLineNo">384</span>   //--------------------------------------------------------------------------------<a name="line.384"></a>
+<span class="sourceLineNo">385</span><a name="line.385"></a>
+<span class="sourceLineNo">386</span>   /**<a name="line.386"></a>
+<span class="sourceLineNo">387</span>    * Converts the specified object to a string using this serializers {@link BeanSession#convertToType(Object, Class)} method<a name="line.387"></a>
+<span class="sourceLineNo">388</span>    *    and runs {@link URLEncoder#encode(String,String)} against the results.<a name="line.388"></a>
+<span class="sourceLineNo">389</span>    * Useful for constructing URL parts.<a name="line.389"></a>
+<span class="sourceLineNo">390</span>    *<a name="line.390"></a>
+<span class="sourceLineNo">391</span>    * @param o The object to serialize.<a name="line.391"></a>
+<span class="sourceLineNo">392</span>    * @param urlEncode URL-encode the string if necessary.<a name="line.392"></a>
+<span class="sourceLineNo">393</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then uses the value of the {@link UonSerializerContext#UON_encodeChars} setting.<a name="line.393"></a>
+<span class="sourceLineNo">394</span>    * @param plainTextParams Whether we're using plain-text params.<a name="line.394"></a>
+<span class="sourceLineNo">395</span>    * If &lt;jk&gt;null&lt;/jk&gt;, then uses the value from the {@link UrlEncodingSerializerContext#URLENC_paramFormat} setting.<a name="line.395"></a>
+<span class="sourceLineNo">396</span>    * @return The serialized object.<a name="line.396"></a>
+<span class="sourceLineNo">397</span>    */<a name="line.397"></a>
+<span class="sourceLineNo">398</span>   public String serializePart(Object o, Boolean urlEncode, Boolean plainTextParams) {<a name="line.398"></a>
+<span class="sourceLineNo">399</span>      try {<a name="line.399"></a>
+<span class="sourceLineNo">400</span>         // Shortcut for simple types.<a name="line.400"></a>
+<span class="sourceLineNo">401</span>         ClassMeta&lt;?&gt; cm = getBeanContext().getClassMetaForObject(o);<a name="line.401"></a>
+<span class="sourceLineNo">402</span>         if (cm != null) {<a name="line.402"></a>
+<span class="sourceLineNo">403</span>            if (cm.isNumber() || cm.isBoolean())<a name="line.403"></a>
+<span class="sourceLineNo">404</span>               return o.toString();<a name="line.404"></a>
+<span class="sourceLineNo">405</span>            if (cm.isCharSequence()) {<a name="line.405"></a>
+<span class="sourceLineNo">406</span>               String s = o.toString();<a name="line.406"></a>
+<span class="sourceLineNo">407</span>               boolean ptt = (plainTextParams != null ? plainTextParams : ctx.plainTextParams);<a name="line.407"></a>
+<span class="sourceLineNo">408</span>               if (ptt || ! UonUtils.needsQuotes(s))<a name="line.408"></a>
+<span class="sourceLineNo">409</span>                  return (urlEncode ? StringUtils.urlEncode(s) : s);<a name="line.409"></a>
+<span class="sourceLineNo">410</span>            }<a name="line.410"></a>
+<span class="sourceLineNo">411</span>         }<a name="line.411"></a>
+<span class="sourceLineNo">412</span><a name="line.412"></a>
+<span class="sourceLineNo">413</span>         StringWriter w = new StringWriter();<a name="line.413"></a>
+<span class="sourceLineNo">414</span>         UonSerializerSession s = new UrlEncodingSerializerSession(ctx, urlEncode, null, w, null, null, null, MediaType.UON);<a name="line.414"></a>
+<span class="sourceLineNo">415</span>         super.doSerialize(s, o);<a name="line.415"></a>
+<span class="sourceLineNo">416</span>         return w.toString();<a name="line.416"></a>
+<span class="sourceLineNo">417</span>      } catch (Exception e) {<a name="line.417"></a>
+<span class="sourceLineNo">418</span>         throw new RuntimeException(e);<a name="line.418"></a>
+<span class="sourceLineNo">419</span>      }<a name="line.419"></a>
+<span class="sourceLineNo">420</span>   }<a name="line.420"></a>
+<span class="sourceLineNo">421</span><a name="line.421"></a>
+<span class="sourceLineNo">422</span><a name="line.422"></a>
+<span class="sourceLineNo">423</span>   //--------------------------------------------------------------------------------<a name="line.423"></a>
+<span class="sourceLineNo">424</span>   // Entry point methods<a name="line.424"></a>
+<span class="sourceLineNo">425</span>   //--------------------------------------------------------------------------------<a name="line.425"></a>
+<span class="sourceLineNo">426</span><a name="line.426"></a>
+<span class="sourceLineNo">427</span>   @Override /* Serializer */<a name="line.427"></a>
+<span class="sourceLineNo">428</span>   public UrlEncodingSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.428"></a>
+<span class="sourceLineNo">429</span>      return new UrlEncodingSerializerSession(ctx, null, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.429"></a>
+<span class="sourceLineNo">430</span>   }<a name="line.430"></a>
+<span class="sourceLineNo">431</span><a name="line.431"></a>
+<span class="sourceLineNo">432</span>   @Override /* Serializer */<a name="line.432"></a>
+<span class="sourceLineNo">433</span>   protected void doSerialize(SerializerSession session, Object o) throws Exception {<a name="line.433"></a>
+<span class="sourceLineNo">434</span>      UrlEncodingSerializerSession s = (UrlEncodingSerializerSession)session;<a name="line.434"></a>
+<span class="sourceLineNo">435</span>      serializeAnything(s, s.getWriter(), o);<a name="line.435"></a>
+<span class="sourceLineNo">436</span>   }<a name="line.436"></a>
+<span class="sourceLineNo">437</span>}<a name="line.437"></a>
 
 
 


[22/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/annotation/Remoteable.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/annotation/Remoteable.html b/content/site/apidocs/src-html/org/apache/juneau/annotation/Remoteable.html
deleted file mode 100644
index 011abba..0000000
--- a/content/site/apidocs/src-html/org/apache/juneau/annotation/Remoteable.html
+++ /dev/null
@@ -1,99 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="en">
-<head>
-<title>Source code</title>
-<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
-</head>
-<body>
-<div class="sourceContainer">
-<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
-<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
-<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
-<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
-<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
-<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
-<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
-<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
-<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
-<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
-<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
-<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
-<span class="sourceLineNo">013</span>package org.apache.juneau.annotation;<a name="line.13"></a>
-<span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import static java.lang.annotation.ElementType.*;<a name="line.15"></a>
-<span class="sourceLineNo">016</span>import static java.lang.annotation.RetentionPolicy.*;<a name="line.16"></a>
-<span class="sourceLineNo">017</span><a name="line.17"></a>
-<span class="sourceLineNo">018</span>import java.lang.annotation.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>/**<a name="line.20"></a>
-<span class="sourceLineNo">021</span> * Identifies services whose Java class or methods can be invoked remotely.<a name="line.21"></a>
-<span class="sourceLineNo">022</span> */<a name="line.22"></a>
-<span class="sourceLineNo">023</span>@Documented<a name="line.23"></a>
-<span class="sourceLineNo">024</span>@Target({TYPE,METHOD})<a name="line.24"></a>
-<span class="sourceLineNo">025</span>@Retention(RUNTIME)<a name="line.25"></a>
-<span class="sourceLineNo">026</span>@Inherited<a name="line.26"></a>
-<span class="sourceLineNo">027</span>public @interface Remoteable {}<a name="line.27"></a>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-</pre>
-</div>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/dto/Link.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/dto/Link.html b/content/site/apidocs/src-html/org/apache/juneau/dto/Link.html
index 784000f..62bc93a 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/dto/Link.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/dto/Link.html
@@ -112,7 +112,7 @@
 <span class="sourceLineNo">104</span>    */<a name="line.104"></a>
 <span class="sourceLineNo">105</span>   public Link setHref(String href, Object...args) {<a name="line.105"></a>
 <span class="sourceLineNo">106</span>      for (int i = 0; i &lt; args.length; i++)<a name="line.106"></a>
-<span class="sourceLineNo">107</span>         args[i] = UrlEncodingSerializer.DEFAULT.serializeUrlPart(args[i]);<a name="line.107"></a>
+<span class="sourceLineNo">107</span>         args[i] = UrlEncodingSerializer.DEFAULT.serializePart(args[i], null, null);<a name="line.107"></a>
 <span class="sourceLineNo">108</span>      this.href = (args.length &gt; 0 ? MessageFormat.format(href, args) : href);<a name="line.108"></a>
 <span class="sourceLineNo">109</span>      return this;<a name="line.109"></a>
 <span class="sourceLineNo">110</span>   }<a name="line.110"></a>


[02/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html
index b03bd25..2ab1bda 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html
@@ -105,504 +105,546 @@
 <span class="sourceLineNo">097</span>      return property(UrlEncodingContext.URLENC_expandedParams, value);<a name="line.97"></a>
 <span class="sourceLineNo">098</span>   }<a name="line.98"></a>
 <span class="sourceLineNo">099</span><a name="line.99"></a>
-<span class="sourceLineNo">100</span>   @Override /* UonSerializerBuilder */<a name="line.100"></a>
-<span class="sourceLineNo">101</span>   public UrlEncodingSerializerBuilder encodeChars(boolean value) {<a name="line.101"></a>
-<span class="sourceLineNo">102</span>      super.encodeChars(value);<a name="line.102"></a>
-<span class="sourceLineNo">103</span>      return this;<a name="line.103"></a>
-<span class="sourceLineNo">104</span>   }<a name="line.104"></a>
-<span class="sourceLineNo">105</span><a name="line.105"></a>
-<span class="sourceLineNo">106</span>   @Override /* UonSerializerBuilder */<a name="line.106"></a>
-<span class="sourceLineNo">107</span>   public UrlEncodingSerializerBuilder encoding() {<a name="line.107"></a>
-<span class="sourceLineNo">108</span>      super.encoding();<a name="line.108"></a>
-<span class="sourceLineNo">109</span>      return this;<a name="line.109"></a>
-<span class="sourceLineNo">110</span>   }<a name="line.110"></a>
-<span class="sourceLineNo">111</span><a name="line.111"></a>
-<span class="sourceLineNo">112</span>   @Override /* SerializerBuilder */<a name="line.112"></a>
-<span class="sourceLineNo">113</span>   public UrlEncodingSerializerBuilder maxDepth(int value) {<a name="line.113"></a>
-<span class="sourceLineNo">114</span>      super.maxDepth(value);<a name="line.114"></a>
-<span class="sourceLineNo">115</span>      return this;<a name="line.115"></a>
-<span class="sourceLineNo">116</span>   }<a name="line.116"></a>
-<span class="sourceLineNo">117</span><a name="line.117"></a>
-<span class="sourceLineNo">118</span>   @Override /* SerializerBuilder */<a name="line.118"></a>
-<span class="sourceLineNo">119</span>   public UrlEncodingSerializerBuilder initialDepth(int value) {<a name="line.119"></a>
-<span class="sourceLineNo">120</span>      super.initialDepth(value);<a name="line.120"></a>
-<span class="sourceLineNo">121</span>      return this;<a name="line.121"></a>
-<span class="sourceLineNo">122</span>   }<a name="line.122"></a>
-<span class="sourceLineNo">123</span><a name="line.123"></a>
-<span class="sourceLineNo">124</span>   @Override /* SerializerBuilder */<a name="line.124"></a>
-<span class="sourceLineNo">125</span>   public UrlEncodingSerializerBuilder detectRecursions(boolean value) {<a name="line.125"></a>
-<span class="sourceLineNo">126</span>      super.detectRecursions(value);<a name="line.126"></a>
-<span class="sourceLineNo">127</span>      return this;<a name="line.127"></a>
-<span class="sourceLineNo">128</span>   }<a name="line.128"></a>
-<span class="sourceLineNo">129</span><a name="line.129"></a>
-<span class="sourceLineNo">130</span>   @Override /* SerializerBuilder */<a name="line.130"></a>
-<span class="sourceLineNo">131</span>   public UrlEncodingSerializerBuilder ignoreRecursions(boolean value) {<a name="line.131"></a>
-<span class="sourceLineNo">132</span>      super.ignoreRecursions(value);<a name="line.132"></a>
-<span class="sourceLineNo">133</span>      return this;<a name="line.133"></a>
-<span class="sourceLineNo">134</span>   }<a name="line.134"></a>
-<span class="sourceLineNo">135</span><a name="line.135"></a>
-<span class="sourceLineNo">136</span>   @Override /* SerializerBuilder */<a name="line.136"></a>
-<span class="sourceLineNo">137</span>   public UrlEncodingSerializerBuilder useWhitespace(boolean value) {<a name="line.137"></a>
-<span class="sourceLineNo">138</span>      super.useWhitespace(value);<a name="line.138"></a>
-<span class="sourceLineNo">139</span>      return this;<a name="line.139"></a>
+<span class="sourceLineNo">100</span>   /**<a name="line.100"></a>
+<span class="sourceLineNo">101</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Format to use for top-level query names and simple parameters.<a name="line.101"></a>
+<span class="sourceLineNo">102</span>    * &lt;p&gt;<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    * &lt;ul&gt;<a name="line.103"></a>
+<span class="sourceLineNo">104</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"UrlEncodingSerializer.paramFormat"&lt;/js&gt;<a name="line.104"></a>
+<span class="sourceLineNo">105</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;String&lt;/code&gt;<a name="line.105"></a>
+<span class="sourceLineNo">106</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;js&gt;"UON"&lt;/js&gt;<a name="line.106"></a>
+<span class="sourceLineNo">107</span>    *    &lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a name="line.107"></a>
+<span class="sourceLineNo">108</span>    * &lt;/ul&gt;<a name="line.108"></a>
+<span class="sourceLineNo">109</span>    * &lt;p&gt;<a name="line.109"></a>
+<span class="sourceLineNo">110</span>    * Specifies the format to use for URL GET parameter keys and values.<a name="line.110"></a>
+<span class="sourceLineNo">111</span>    * &lt;p&gt;<a name="line.111"></a>
+<span class="sourceLineNo">112</span>    * The possible values are:<a name="line.112"></a>
+<span class="sourceLineNo">113</span>    * &lt;ul&gt;<a name="line.113"></a>
+<span class="sourceLineNo">114</span>    *    &lt;li&gt;&lt;js&gt;"UON"&lt;/js&gt; (default) - Use UON notation for values.<a name="line.114"></a>
+<span class="sourceLineNo">115</span>    *       &lt;br&gt;String values such as &lt;js&gt;"(foo='bar')"&lt;/js&gt; will end up being quoted and escaped to &lt;js&gt;"'(foo=bar~'baz~')'"&lt;/js&gt;.<a name="line.115"></a>
+<span class="sourceLineNo">116</span>    *       &lt;br&gt;Similarly, boolean and numeric values will also end up quoted.<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    *    &lt;li&gt;&lt;js&gt;"PLAINTEXT"&lt;/js&gt; (default) - Serialize as plain text.<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    *       &lt;br&gt;Strings will never be quoted or escaped.<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    *       &lt;br&gt;Note that this can cause errors during parsing if you're using the URL-encoding parser to parse<a name="line.119"></a>
+<span class="sourceLineNo">120</span>    *       the results since UON constructs won't be differentiatable.<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    *       &lt;br&gt;However, this is not an issue if you're simply creating queries or form posts against 3rd-party interfaces.<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    * &lt;/ul&gt;<a name="line.122"></a>
+<span class="sourceLineNo">123</span>    *<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    * @param paramFormat The new value for this property.<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    * @return This object (for method chaining).<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    * @see UrlEncodingSerializerContext#URLENC_paramFormat<a name="line.126"></a>
+<span class="sourceLineNo">127</span>    */<a name="line.127"></a>
+<span class="sourceLineNo">128</span>   public UrlEncodingSerializerBuilder paramFormat(String paramFormat) {<a name="line.128"></a>
+<span class="sourceLineNo">129</span>      return property(UrlEncodingSerializerContext.URLENC_paramFormat, paramFormat);<a name="line.129"></a>
+<span class="sourceLineNo">130</span>   }<a name="line.130"></a>
+<span class="sourceLineNo">131</span><a name="line.131"></a>
+<span class="sourceLineNo">132</span>   /**<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    * Shortcut for calling &lt;code&gt;paramFormat(&lt;js&gt;"PLAINTEXT"&lt;/js&gt;)&lt;/code&gt;.<a name="line.133"></a>
+<span class="sourceLineNo">134</span>    *<a name="line.134"></a>
+<span class="sourceLineNo">135</span>    * @return This object (for method chaining).<a name="line.135"></a>
+<span class="sourceLineNo">136</span>    * @see UrlEncodingSerializerContext#URLENC_paramFormat<a name="line.136"></a>
+<span class="sourceLineNo">137</span>    */<a name="line.137"></a>
+<span class="sourceLineNo">138</span>   public UrlEncodingSerializerBuilder plainTextParams() {<a name="line.138"></a>
+<span class="sourceLineNo">139</span>      return paramFormat("PLAINTEXT");<a name="line.139"></a>
 <span class="sourceLineNo">140</span>   }<a name="line.140"></a>
 <span class="sourceLineNo">141</span><a name="line.141"></a>
-<span class="sourceLineNo">142</span>   @Override /* SerializerBuilder */<a name="line.142"></a>
-<span class="sourceLineNo">143</span>   public UrlEncodingSerializerBuilder ws() {<a name="line.143"></a>
-<span class="sourceLineNo">144</span>      super.ws();<a name="line.144"></a>
+<span class="sourceLineNo">142</span>   @Override /* UonSerializerBuilder */<a name="line.142"></a>
+<span class="sourceLineNo">143</span>   public UrlEncodingSerializerBuilder encodeChars(boolean value) {<a name="line.143"></a>
+<span class="sourceLineNo">144</span>      super.encodeChars(value);<a name="line.144"></a>
 <span class="sourceLineNo">145</span>      return this;<a name="line.145"></a>
 <span class="sourceLineNo">146</span>   }<a name="line.146"></a>
 <span class="sourceLineNo">147</span><a name="line.147"></a>
-<span class="sourceLineNo">148</span>   @Override /* SerializerBuilder */<a name="line.148"></a>
-<span class="sourceLineNo">149</span>   public UrlEncodingSerializerBuilder addBeanTypeProperties(boolean value) {<a name="line.149"></a>
-<span class="sourceLineNo">150</span>      super.addBeanTypeProperties(value);<a name="line.150"></a>
+<span class="sourceLineNo">148</span>   @Override /* UonSerializerBuilder */<a name="line.148"></a>
+<span class="sourceLineNo">149</span>   public UrlEncodingSerializerBuilder encoding() {<a name="line.149"></a>
+<span class="sourceLineNo">150</span>      super.encoding();<a name="line.150"></a>
 <span class="sourceLineNo">151</span>      return this;<a name="line.151"></a>
 <span class="sourceLineNo">152</span>   }<a name="line.152"></a>
 <span class="sourceLineNo">153</span><a name="line.153"></a>
 <span class="sourceLineNo">154</span>   @Override /* SerializerBuilder */<a name="line.154"></a>
-<span class="sourceLineNo">155</span>   public UrlEncodingSerializerBuilder quoteChar(char value) {<a name="line.155"></a>
-<span class="sourceLineNo">156</span>      super.quoteChar(value);<a name="line.156"></a>
+<span class="sourceLineNo">155</span>   public UrlEncodingSerializerBuilder maxDepth(int value) {<a name="line.155"></a>
+<span class="sourceLineNo">156</span>      super.maxDepth(value);<a name="line.156"></a>
 <span class="sourceLineNo">157</span>      return this;<a name="line.157"></a>
 <span class="sourceLineNo">158</span>   }<a name="line.158"></a>
 <span class="sourceLineNo">159</span><a name="line.159"></a>
 <span class="sourceLineNo">160</span>   @Override /* SerializerBuilder */<a name="line.160"></a>
-<span class="sourceLineNo">161</span>   public UrlEncodingSerializerBuilder sq() {<a name="line.161"></a>
-<span class="sourceLineNo">162</span>      super.sq();<a name="line.162"></a>
+<span class="sourceLineNo">161</span>   public UrlEncodingSerializerBuilder initialDepth(int value) {<a name="line.161"></a>
+<span class="sourceLineNo">162</span>      super.initialDepth(value);<a name="line.162"></a>
 <span class="sourceLineNo">163</span>      return this;<a name="line.163"></a>
 <span class="sourceLineNo">164</span>   }<a name="line.164"></a>
 <span class="sourceLineNo">165</span><a name="line.165"></a>
 <span class="sourceLineNo">166</span>   @Override /* SerializerBuilder */<a name="line.166"></a>
-<span class="sourceLineNo">167</span>   public UrlEncodingSerializerBuilder trimNullProperties(boolean value) {<a name="line.167"></a>
-<span class="sourceLineNo">168</span>      super.trimNullProperties(value);<a name="line.168"></a>
+<span class="sourceLineNo">167</span>   public UrlEncodingSerializerBuilder detectRecursions(boolean value) {<a name="line.167"></a>
+<span class="sourceLineNo">168</span>      super.detectRecursions(value);<a name="line.168"></a>
 <span class="sourceLineNo">169</span>      return this;<a name="line.169"></a>
 <span class="sourceLineNo">170</span>   }<a name="line.170"></a>
 <span class="sourceLineNo">171</span><a name="line.171"></a>
 <span class="sourceLineNo">172</span>   @Override /* SerializerBuilder */<a name="line.172"></a>
-<span class="sourceLineNo">173</span>   public UrlEncodingSerializerBuilder trimEmptyCollections(boolean value) {<a name="line.173"></a>
-<span class="sourceLineNo">174</span>      super.trimEmptyCollections(value);<a name="line.174"></a>
+<span class="sourceLineNo">173</span>   public UrlEncodingSerializerBuilder ignoreRecursions(boolean value) {<a name="line.173"></a>
+<span class="sourceLineNo">174</span>      super.ignoreRecursions(value);<a name="line.174"></a>
 <span class="sourceLineNo">175</span>      return this;<a name="line.175"></a>
 <span class="sourceLineNo">176</span>   }<a name="line.176"></a>
 <span class="sourceLineNo">177</span><a name="line.177"></a>
 <span class="sourceLineNo">178</span>   @Override /* SerializerBuilder */<a name="line.178"></a>
-<span class="sourceLineNo">179</span>   public UrlEncodingSerializerBuilder trimEmptyMaps(boolean value) {<a name="line.179"></a>
-<span class="sourceLineNo">180</span>      super.trimEmptyMaps(value);<a name="line.180"></a>
+<span class="sourceLineNo">179</span>   public UrlEncodingSerializerBuilder useWhitespace(boolean value) {<a name="line.179"></a>
+<span class="sourceLineNo">180</span>      super.useWhitespace(value);<a name="line.180"></a>
 <span class="sourceLineNo">181</span>      return this;<a name="line.181"></a>
 <span class="sourceLineNo">182</span>   }<a name="line.182"></a>
 <span class="sourceLineNo">183</span><a name="line.183"></a>
 <span class="sourceLineNo">184</span>   @Override /* SerializerBuilder */<a name="line.184"></a>
-<span class="sourceLineNo">185</span>   public UrlEncodingSerializerBuilder trimStrings(boolean value) {<a name="line.185"></a>
-<span class="sourceLineNo">186</span>      super.trimStrings(value);<a name="line.186"></a>
+<span class="sourceLineNo">185</span>   public UrlEncodingSerializerBuilder ws() {<a name="line.185"></a>
+<span class="sourceLineNo">186</span>      super.ws();<a name="line.186"></a>
 <span class="sourceLineNo">187</span>      return this;<a name="line.187"></a>
 <span class="sourceLineNo">188</span>   }<a name="line.188"></a>
 <span class="sourceLineNo">189</span><a name="line.189"></a>
 <span class="sourceLineNo">190</span>   @Override /* SerializerBuilder */<a name="line.190"></a>
-<span class="sourceLineNo">191</span>   public UrlEncodingSerializerBuilder relativeUriBase(String value) {<a name="line.191"></a>
-<span class="sourceLineNo">192</span>      super.relativeUriBase(value);<a name="line.192"></a>
+<span class="sourceLineNo">191</span>   public UrlEncodingSerializerBuilder addBeanTypeProperties(boolean value) {<a name="line.191"></a>
+<span class="sourceLineNo">192</span>      super.addBeanTypeProperties(value);<a name="line.192"></a>
 <span class="sourceLineNo">193</span>      return this;<a name="line.193"></a>
 <span class="sourceLineNo">194</span>   }<a name="line.194"></a>
 <span class="sourceLineNo">195</span><a name="line.195"></a>
 <span class="sourceLineNo">196</span>   @Override /* SerializerBuilder */<a name="line.196"></a>
-<span class="sourceLineNo">197</span>   public UrlEncodingSerializerBuilder absolutePathUriBase(String value) {<a name="line.197"></a>
-<span class="sourceLineNo">198</span>      super.absolutePathUriBase(value);<a name="line.198"></a>
+<span class="sourceLineNo">197</span>   public UrlEncodingSerializerBuilder quoteChar(char value) {<a name="line.197"></a>
+<span class="sourceLineNo">198</span>      super.quoteChar(value);<a name="line.198"></a>
 <span class="sourceLineNo">199</span>      return this;<a name="line.199"></a>
 <span class="sourceLineNo">200</span>   }<a name="line.200"></a>
 <span class="sourceLineNo">201</span><a name="line.201"></a>
 <span class="sourceLineNo">202</span>   @Override /* SerializerBuilder */<a name="line.202"></a>
-<span class="sourceLineNo">203</span>   public UrlEncodingSerializerBuilder sortCollections(boolean value) {<a name="line.203"></a>
-<span class="sourceLineNo">204</span>      super.sortCollections(value);<a name="line.204"></a>
+<span class="sourceLineNo">203</span>   public UrlEncodingSerializerBuilder sq() {<a name="line.203"></a>
+<span class="sourceLineNo">204</span>      super.sq();<a name="line.204"></a>
 <span class="sourceLineNo">205</span>      return this;<a name="line.205"></a>
 <span class="sourceLineNo">206</span>   }<a name="line.206"></a>
 <span class="sourceLineNo">207</span><a name="line.207"></a>
 <span class="sourceLineNo">208</span>   @Override /* SerializerBuilder */<a name="line.208"></a>
-<span class="sourceLineNo">209</span>   public UrlEncodingSerializerBuilder sortMaps(boolean value) {<a name="line.209"></a>
-<span class="sourceLineNo">210</span>      super.sortMaps(value);<a name="line.210"></a>
+<span class="sourceLineNo">209</span>   public UrlEncodingSerializerBuilder trimNullProperties(boolean value) {<a name="line.209"></a>
+<span class="sourceLineNo">210</span>      super.trimNullProperties(value);<a name="line.210"></a>
 <span class="sourceLineNo">211</span>      return this;<a name="line.211"></a>
 <span class="sourceLineNo">212</span>   }<a name="line.212"></a>
 <span class="sourceLineNo">213</span><a name="line.213"></a>
 <span class="sourceLineNo">214</span>   @Override /* SerializerBuilder */<a name="line.214"></a>
-<span class="sourceLineNo">215</span>   public UrlEncodingSerializerBuilder abridged(boolean value) {<a name="line.215"></a>
-<span class="sourceLineNo">216</span>      super.abridged(value);<a name="line.216"></a>
+<span class="sourceLineNo">215</span>   public UrlEncodingSerializerBuilder trimEmptyCollections(boolean value) {<a name="line.215"></a>
+<span class="sourceLineNo">216</span>      super.trimEmptyCollections(value);<a name="line.216"></a>
 <span class="sourceLineNo">217</span>      return this;<a name="line.217"></a>
 <span class="sourceLineNo">218</span>   }<a name="line.218"></a>
 <span class="sourceLineNo">219</span><a name="line.219"></a>
-<span class="sourceLineNo">220</span>   @Override /* CoreObjectBuilder */<a name="line.220"></a>
-<span class="sourceLineNo">221</span>   public UrlEncodingSerializerBuilder beansRequireDefaultConstructor(boolean value) {<a name="line.221"></a>
-<span class="sourceLineNo">222</span>      super.beansRequireDefaultConstructor(value);<a name="line.222"></a>
+<span class="sourceLineNo">220</span>   @Override /* SerializerBuilder */<a name="line.220"></a>
+<span class="sourceLineNo">221</span>   public UrlEncodingSerializerBuilder trimEmptyMaps(boolean value) {<a name="line.221"></a>
+<span class="sourceLineNo">222</span>      super.trimEmptyMaps(value);<a name="line.222"></a>
 <span class="sourceLineNo">223</span>      return this;<a name="line.223"></a>
 <span class="sourceLineNo">224</span>   }<a name="line.224"></a>
 <span class="sourceLineNo">225</span><a name="line.225"></a>
-<span class="sourceLineNo">226</span>   @Override /* CoreObjectBuilder */<a name="line.226"></a>
-<span class="sourceLineNo">227</span>   public UrlEncodingSerializerBuilder beansRequireSerializable(boolean value) {<a name="line.227"></a>
-<span class="sourceLineNo">228</span>      super.beansRequireSerializable(value);<a name="line.228"></a>
+<span class="sourceLineNo">226</span>   @Override /* SerializerBuilder */<a name="line.226"></a>
+<span class="sourceLineNo">227</span>   public UrlEncodingSerializerBuilder trimStrings(boolean value) {<a name="line.227"></a>
+<span class="sourceLineNo">228</span>      super.trimStrings(value);<a name="line.228"></a>
 <span class="sourceLineNo">229</span>      return this;<a name="line.229"></a>
 <span class="sourceLineNo">230</span>   }<a name="line.230"></a>
 <span class="sourceLineNo">231</span><a name="line.231"></a>
-<span class="sourceLineNo">232</span>   @Override /* CoreObjectBuilder */<a name="line.232"></a>
-<span class="sourceLineNo">233</span>   public UrlEncodingSerializerBuilder beansRequireSettersForGetters(boolean value) {<a name="line.233"></a>
-<span class="sourceLineNo">234</span>      super.beansRequireSettersForGetters(value);<a name="line.234"></a>
+<span class="sourceLineNo">232</span>   @Override /* SerializerBuilder */<a name="line.232"></a>
+<span class="sourceLineNo">233</span>   public UrlEncodingSerializerBuilder relativeUriBase(String value) {<a name="line.233"></a>
+<span class="sourceLineNo">234</span>      super.relativeUriBase(value);<a name="line.234"></a>
 <span class="sourceLineNo">235</span>      return this;<a name="line.235"></a>
 <span class="sourceLineNo">236</span>   }<a name="line.236"></a>
 <span class="sourceLineNo">237</span><a name="line.237"></a>
-<span class="sourceLineNo">238</span>   @Override /* CoreObjectBuilder */<a name="line.238"></a>
-<span class="sourceLineNo">239</span>   public UrlEncodingSerializerBuilder beansRequireSomeProperties(boolean value) {<a name="line.239"></a>
-<span class="sourceLineNo">240</span>      super.beansRequireSomeProperties(value);<a name="line.240"></a>
+<span class="sourceLineNo">238</span>   @Override /* SerializerBuilder */<a name="line.238"></a>
+<span class="sourceLineNo">239</span>   public UrlEncodingSerializerBuilder absolutePathUriBase(String value) {<a name="line.239"></a>
+<span class="sourceLineNo">240</span>      super.absolutePathUriBase(value);<a name="line.240"></a>
 <span class="sourceLineNo">241</span>      return this;<a name="line.241"></a>
 <span class="sourceLineNo">242</span>   }<a name="line.242"></a>
 <span class="sourceLineNo">243</span><a name="line.243"></a>
-<span class="sourceLineNo">244</span>   @Override /* CoreObjectBuilder */<a name="line.244"></a>
-<span class="sourceLineNo">245</span>   public UrlEncodingSerializerBuilder beanMapPutReturnsOldValue(boolean value) {<a name="line.245"></a>
-<span class="sourceLineNo">246</span>      super.beanMapPutReturnsOldValue(value);<a name="line.246"></a>
+<span class="sourceLineNo">244</span>   @Override /* SerializerBuilder */<a name="line.244"></a>
+<span class="sourceLineNo">245</span>   public UrlEncodingSerializerBuilder sortCollections(boolean value) {<a name="line.245"></a>
+<span class="sourceLineNo">246</span>      super.sortCollections(value);<a name="line.246"></a>
 <span class="sourceLineNo">247</span>      return this;<a name="line.247"></a>
 <span class="sourceLineNo">248</span>   }<a name="line.248"></a>
 <span class="sourceLineNo">249</span><a name="line.249"></a>
-<span class="sourceLineNo">250</span>   @Override /* CoreObjectBuilder */<a name="line.250"></a>
-<span class="sourceLineNo">251</span>   public UrlEncodingSerializerBuilder beanConstructorVisibility(Visibility value) {<a name="line.251"></a>
-<span class="sourceLineNo">252</span>      super.beanConstructorVisibility(value);<a name="line.252"></a>
+<span class="sourceLineNo">250</span>   @Override /* SerializerBuilder */<a name="line.250"></a>
+<span class="sourceLineNo">251</span>   public UrlEncodingSerializerBuilder sortMaps(boolean value) {<a name="line.251"></a>
+<span class="sourceLineNo">252</span>      super.sortMaps(value);<a name="line.252"></a>
 <span class="sourceLineNo">253</span>      return this;<a name="line.253"></a>
 <span class="sourceLineNo">254</span>   }<a name="line.254"></a>
 <span class="sourceLineNo">255</span><a name="line.255"></a>
-<span class="sourceLineNo">256</span>   @Override /* CoreObjectBuilder */<a name="line.256"></a>
-<span class="sourceLineNo">257</span>   public UrlEncodingSerializerBuilder beanClassVisibility(Visibility value) {<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      super.beanClassVisibility(value);<a name="line.258"></a>
+<span class="sourceLineNo">256</span>   @Override /* SerializerBuilder */<a name="line.256"></a>
+<span class="sourceLineNo">257</span>   public UrlEncodingSerializerBuilder abridged(boolean value) {<a name="line.257"></a>
+<span class="sourceLineNo">258</span>      super.abridged(value);<a name="line.258"></a>
 <span class="sourceLineNo">259</span>      return this;<a name="line.259"></a>
 <span class="sourceLineNo">260</span>   }<a name="line.260"></a>
 <span class="sourceLineNo">261</span><a name="line.261"></a>
 <span class="sourceLineNo">262</span>   @Override /* CoreObjectBuilder */<a name="line.262"></a>
-<span class="sourceLineNo">263</span>   public UrlEncodingSerializerBuilder beanFieldVisibility(Visibility value) {<a name="line.263"></a>
-<span class="sourceLineNo">264</span>      super.beanFieldVisibility(value);<a name="line.264"></a>
+<span class="sourceLineNo">263</span>   public UrlEncodingSerializerBuilder beansRequireDefaultConstructor(boolean value) {<a name="line.263"></a>
+<span class="sourceLineNo">264</span>      super.beansRequireDefaultConstructor(value);<a name="line.264"></a>
 <span class="sourceLineNo">265</span>      return this;<a name="line.265"></a>
 <span class="sourceLineNo">266</span>   }<a name="line.266"></a>
 <span class="sourceLineNo">267</span><a name="line.267"></a>
 <span class="sourceLineNo">268</span>   @Override /* CoreObjectBuilder */<a name="line.268"></a>
-<span class="sourceLineNo">269</span>   public UrlEncodingSerializerBuilder methodVisibility(Visibility value) {<a name="line.269"></a>
-<span class="sourceLineNo">270</span>      super.methodVisibility(value);<a name="line.270"></a>
+<span class="sourceLineNo">269</span>   public UrlEncodingSerializerBuilder beansRequireSerializable(boolean value) {<a name="line.269"></a>
+<span class="sourceLineNo">270</span>      super.beansRequireSerializable(value);<a name="line.270"></a>
 <span class="sourceLineNo">271</span>      return this;<a name="line.271"></a>
 <span class="sourceLineNo">272</span>   }<a name="line.272"></a>
 <span class="sourceLineNo">273</span><a name="line.273"></a>
 <span class="sourceLineNo">274</span>   @Override /* CoreObjectBuilder */<a name="line.274"></a>
-<span class="sourceLineNo">275</span>   public UrlEncodingSerializerBuilder useJavaBeanIntrospector(boolean value) {<a name="line.275"></a>
-<span class="sourceLineNo">276</span>      super.useJavaBeanIntrospector(value);<a name="line.276"></a>
+<span class="sourceLineNo">275</span>   public UrlEncodingSerializerBuilder beansRequireSettersForGetters(boolean value) {<a name="line.275"></a>
+<span class="sourceLineNo">276</span>      super.beansRequireSettersForGetters(value);<a name="line.276"></a>
 <span class="sourceLineNo">277</span>      return this;<a name="line.277"></a>
 <span class="sourceLineNo">278</span>   }<a name="line.278"></a>
 <span class="sourceLineNo">279</span><a name="line.279"></a>
 <span class="sourceLineNo">280</span>   @Override /* CoreObjectBuilder */<a name="line.280"></a>
-<span class="sourceLineNo">281</span>   public UrlEncodingSerializerBuilder useInterfaceProxies(boolean value) {<a name="line.281"></a>
-<span class="sourceLineNo">282</span>      super.useInterfaceProxies(value);<a name="line.282"></a>
+<span class="sourceLineNo">281</span>   public UrlEncodingSerializerBuilder beansRequireSomeProperties(boolean value) {<a name="line.281"></a>
+<span class="sourceLineNo">282</span>      super.beansRequireSomeProperties(value);<a name="line.282"></a>
 <span class="sourceLineNo">283</span>      return this;<a name="line.283"></a>
 <span class="sourceLineNo">284</span>   }<a name="line.284"></a>
 <span class="sourceLineNo">285</span><a name="line.285"></a>
 <span class="sourceLineNo">286</span>   @Override /* CoreObjectBuilder */<a name="line.286"></a>
-<span class="sourceLineNo">287</span>   public UrlEncodingSerializerBuilder ignoreUnknownBeanProperties(boolean value) {<a name="line.287"></a>
-<span class="sourceLineNo">288</span>      super.ignoreUnknownBeanProperties(value);<a name="line.288"></a>
+<span class="sourceLineNo">287</span>   public UrlEncodingSerializerBuilder beanMapPutReturnsOldValue(boolean value) {<a name="line.287"></a>
+<span class="sourceLineNo">288</span>      super.beanMapPutReturnsOldValue(value);<a name="line.288"></a>
 <span class="sourceLineNo">289</span>      return this;<a name="line.289"></a>
 <span class="sourceLineNo">290</span>   }<a name="line.290"></a>
 <span class="sourceLineNo">291</span><a name="line.291"></a>
 <span class="sourceLineNo">292</span>   @Override /* CoreObjectBuilder */<a name="line.292"></a>
-<span class="sourceLineNo">293</span>   public UrlEncodingSerializerBuilder ignoreUnknownNullBeanProperties(boolean value) {<a name="line.293"></a>
-<span class="sourceLineNo">294</span>      super.ignoreUnknownNullBeanProperties(value);<a name="line.294"></a>
+<span class="sourceLineNo">293</span>   public UrlEncodingSerializerBuilder beanConstructorVisibility(Visibility value) {<a name="line.293"></a>
+<span class="sourceLineNo">294</span>      super.beanConstructorVisibility(value);<a name="line.294"></a>
 <span class="sourceLineNo">295</span>      return this;<a name="line.295"></a>
 <span class="sourceLineNo">296</span>   }<a name="line.296"></a>
 <span class="sourceLineNo">297</span><a name="line.297"></a>
 <span class="sourceLineNo">298</span>   @Override /* CoreObjectBuilder */<a name="line.298"></a>
-<span class="sourceLineNo">299</span>   public UrlEncodingSerializerBuilder ignorePropertiesWithoutSetters(boolean value) {<a name="line.299"></a>
-<span class="sourceLineNo">300</span>      super.ignorePropertiesWithoutSetters(value);<a name="line.300"></a>
+<span class="sourceLineNo">299</span>   public UrlEncodingSerializerBuilder beanClassVisibility(Visibility value) {<a name="line.299"></a>
+<span class="sourceLineNo">300</span>      super.beanClassVisibility(value);<a name="line.300"></a>
 <span class="sourceLineNo">301</span>      return this;<a name="line.301"></a>
 <span class="sourceLineNo">302</span>   }<a name="line.302"></a>
 <span class="sourceLineNo">303</span><a name="line.303"></a>
 <span class="sourceLineNo">304</span>   @Override /* CoreObjectBuilder */<a name="line.304"></a>
-<span class="sourceLineNo">305</span>   public UrlEncodingSerializerBuilder ignoreInvocationExceptionsOnGetters(boolean value) {<a name="line.305"></a>
-<span class="sourceLineNo">306</span>      super.ignoreInvocationExceptionsOnGetters(value);<a name="line.306"></a>
+<span class="sourceLineNo">305</span>   public UrlEncodingSerializerBuilder beanFieldVisibility(Visibility value) {<a name="line.305"></a>
+<span class="sourceLineNo">306</span>      super.beanFieldVisibility(value);<a name="line.306"></a>
 <span class="sourceLineNo">307</span>      return this;<a name="line.307"></a>
 <span class="sourceLineNo">308</span>   }<a name="line.308"></a>
 <span class="sourceLineNo">309</span><a name="line.309"></a>
 <span class="sourceLineNo">310</span>   @Override /* CoreObjectBuilder */<a name="line.310"></a>
-<span class="sourceLineNo">311</span>   public UrlEncodingSerializerBuilder ignoreInvocationExceptionsOnSetters(boolean value) {<a name="line.311"></a>
-<span class="sourceLineNo">312</span>      super.ignoreInvocationExceptionsOnSetters(value);<a name="line.312"></a>
+<span class="sourceLineNo">311</span>   public UrlEncodingSerializerBuilder methodVisibility(Visibility value) {<a name="line.311"></a>
+<span class="sourceLineNo">312</span>      super.methodVisibility(value);<a name="line.312"></a>
 <span class="sourceLineNo">313</span>      return this;<a name="line.313"></a>
 <span class="sourceLineNo">314</span>   }<a name="line.314"></a>
 <span class="sourceLineNo">315</span><a name="line.315"></a>
 <span class="sourceLineNo">316</span>   @Override /* CoreObjectBuilder */<a name="line.316"></a>
-<span class="sourceLineNo">317</span>   public UrlEncodingSerializerBuilder sortProperties(boolean value) {<a name="line.317"></a>
-<span class="sourceLineNo">318</span>      super.sortProperties(value);<a name="line.318"></a>
+<span class="sourceLineNo">317</span>   public UrlEncodingSerializerBuilder useJavaBeanIntrospector(boolean value) {<a name="line.317"></a>
+<span class="sourceLineNo">318</span>      super.useJavaBeanIntrospector(value);<a name="line.318"></a>
 <span class="sourceLineNo">319</span>      return this;<a name="line.319"></a>
 <span class="sourceLineNo">320</span>   }<a name="line.320"></a>
 <span class="sourceLineNo">321</span><a name="line.321"></a>
 <span class="sourceLineNo">322</span>   @Override /* CoreObjectBuilder */<a name="line.322"></a>
-<span class="sourceLineNo">323</span>   public UrlEncodingSerializerBuilder notBeanPackages(String...values) {<a name="line.323"></a>
-<span class="sourceLineNo">324</span>      super.notBeanPackages(values);<a name="line.324"></a>
+<span class="sourceLineNo">323</span>   public UrlEncodingSerializerBuilder useInterfaceProxies(boolean value) {<a name="line.323"></a>
+<span class="sourceLineNo">324</span>      super.useInterfaceProxies(value);<a name="line.324"></a>
 <span class="sourceLineNo">325</span>      return this;<a name="line.325"></a>
 <span class="sourceLineNo">326</span>   }<a name="line.326"></a>
 <span class="sourceLineNo">327</span><a name="line.327"></a>
 <span class="sourceLineNo">328</span>   @Override /* CoreObjectBuilder */<a name="line.328"></a>
-<span class="sourceLineNo">329</span>   public UrlEncodingSerializerBuilder notBeanPackages(Collection&lt;String&gt; values) {<a name="line.329"></a>
-<span class="sourceLineNo">330</span>      super.notBeanPackages(values);<a name="line.330"></a>
+<span class="sourceLineNo">329</span>   public UrlEncodingSerializerBuilder ignoreUnknownBeanProperties(boolean value) {<a name="line.329"></a>
+<span class="sourceLineNo">330</span>      super.ignoreUnknownBeanProperties(value);<a name="line.330"></a>
 <span class="sourceLineNo">331</span>      return this;<a name="line.331"></a>
 <span class="sourceLineNo">332</span>   }<a name="line.332"></a>
 <span class="sourceLineNo">333</span><a name="line.333"></a>
 <span class="sourceLineNo">334</span>   @Override /* CoreObjectBuilder */<a name="line.334"></a>
-<span class="sourceLineNo">335</span>   public UrlEncodingSerializerBuilder setNotBeanPackages(String...values) {<a name="line.335"></a>
-<span class="sourceLineNo">336</span>      super.setNotBeanPackages(values);<a name="line.336"></a>
+<span class="sourceLineNo">335</span>   public UrlEncodingSerializerBuilder ignoreUnknownNullBeanProperties(boolean value) {<a name="line.335"></a>
+<span class="sourceLineNo">336</span>      super.ignoreUnknownNullBeanProperties(value);<a name="line.336"></a>
 <span class="sourceLineNo">337</span>      return this;<a name="line.337"></a>
 <span class="sourceLineNo">338</span>   }<a name="line.338"></a>
 <span class="sourceLineNo">339</span><a name="line.339"></a>
 <span class="sourceLineNo">340</span>   @Override /* CoreObjectBuilder */<a name="line.340"></a>
-<span class="sourceLineNo">341</span>   public UrlEncodingSerializerBuilder setNotBeanPackages(Collection&lt;String&gt; values) {<a name="line.341"></a>
-<span class="sourceLineNo">342</span>      super.setNotBeanPackages(values);<a name="line.342"></a>
+<span class="sourceLineNo">341</span>   public UrlEncodingSerializerBuilder ignorePropertiesWithoutSetters(boolean value) {<a name="line.341"></a>
+<span class="sourceLineNo">342</span>      super.ignorePropertiesWithoutSetters(value);<a name="line.342"></a>
 <span class="sourceLineNo">343</span>      return this;<a name="line.343"></a>
 <span class="sourceLineNo">344</span>   }<a name="line.344"></a>
 <span class="sourceLineNo">345</span><a name="line.345"></a>
 <span class="sourceLineNo">346</span>   @Override /* CoreObjectBuilder */<a name="line.346"></a>
-<span class="sourceLineNo">347</span>   public UrlEncodingSerializerBuilder removeNotBeanPackages(String...values) {<a name="line.347"></a>
-<span class="sourceLineNo">348</span>      super.removeNotBeanPackages(values);<a name="line.348"></a>
+<span class="sourceLineNo">347</span>   public UrlEncodingSerializerBuilder ignoreInvocationExceptionsOnGetters(boolean value) {<a name="line.347"></a>
+<span class="sourceLineNo">348</span>      super.ignoreInvocationExceptionsOnGetters(value);<a name="line.348"></a>
 <span class="sourceLineNo">349</span>      return this;<a name="line.349"></a>
 <span class="sourceLineNo">350</span>   }<a name="line.350"></a>
 <span class="sourceLineNo">351</span><a name="line.351"></a>
 <span class="sourceLineNo">352</span>   @Override /* CoreObjectBuilder */<a name="line.352"></a>
-<span class="sourceLineNo">353</span>   public UrlEncodingSerializerBuilder removeNotBeanPackages(Collection&lt;String&gt; values) {<a name="line.353"></a>
-<span class="sourceLineNo">354</span>      super.removeNotBeanPackages(values);<a name="line.354"></a>
+<span class="sourceLineNo">353</span>   public UrlEncodingSerializerBuilder ignoreInvocationExceptionsOnSetters(boolean value) {<a name="line.353"></a>
+<span class="sourceLineNo">354</span>      super.ignoreInvocationExceptionsOnSetters(value);<a name="line.354"></a>
 <span class="sourceLineNo">355</span>      return this;<a name="line.355"></a>
 <span class="sourceLineNo">356</span>   }<a name="line.356"></a>
 <span class="sourceLineNo">357</span><a name="line.357"></a>
 <span class="sourceLineNo">358</span>   @Override /* CoreObjectBuilder */<a name="line.358"></a>
-<span class="sourceLineNo">359</span>   public UrlEncodingSerializerBuilder notBeanClasses(Class&lt;?&gt;...values) {<a name="line.359"></a>
-<span class="sourceLineNo">360</span>      super.notBeanClasses(values);<a name="line.360"></a>
+<span class="sourceLineNo">359</span>   public UrlEncodingSerializerBuilder sortProperties(boolean value) {<a name="line.359"></a>
+<span class="sourceLineNo">360</span>      super.sortProperties(value);<a name="line.360"></a>
 <span class="sourceLineNo">361</span>      return this;<a name="line.361"></a>
 <span class="sourceLineNo">362</span>   }<a name="line.362"></a>
 <span class="sourceLineNo">363</span><a name="line.363"></a>
 <span class="sourceLineNo">364</span>   @Override /* CoreObjectBuilder */<a name="line.364"></a>
-<span class="sourceLineNo">365</span>   public UrlEncodingSerializerBuilder notBeanClasses(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.365"></a>
-<span class="sourceLineNo">366</span>      super.notBeanClasses(values);<a name="line.366"></a>
+<span class="sourceLineNo">365</span>   public UrlEncodingSerializerBuilder notBeanPackages(String...values) {<a name="line.365"></a>
+<span class="sourceLineNo">366</span>      super.notBeanPackages(values);<a name="line.366"></a>
 <span class="sourceLineNo">367</span>      return this;<a name="line.367"></a>
 <span class="sourceLineNo">368</span>   }<a name="line.368"></a>
 <span class="sourceLineNo">369</span><a name="line.369"></a>
 <span class="sourceLineNo">370</span>   @Override /* CoreObjectBuilder */<a name="line.370"></a>
-<span class="sourceLineNo">371</span>   public UrlEncodingSerializerBuilder setNotBeanClasses(Class&lt;?&gt;...values) {<a name="line.371"></a>
-<span class="sourceLineNo">372</span>      super.setNotBeanClasses(values);<a name="line.372"></a>
+<span class="sourceLineNo">371</span>   public UrlEncodingSerializerBuilder notBeanPackages(Collection&lt;String&gt; values) {<a name="line.371"></a>
+<span class="sourceLineNo">372</span>      super.notBeanPackages(values);<a name="line.372"></a>
 <span class="sourceLineNo">373</span>      return this;<a name="line.373"></a>
 <span class="sourceLineNo">374</span>   }<a name="line.374"></a>
 <span class="sourceLineNo">375</span><a name="line.375"></a>
 <span class="sourceLineNo">376</span>   @Override /* CoreObjectBuilder */<a name="line.376"></a>
-<span class="sourceLineNo">377</span>   public UrlEncodingSerializerBuilder setNotBeanClasses(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.377"></a>
-<span class="sourceLineNo">378</span>      super.setNotBeanClasses(values);<a name="line.378"></a>
+<span class="sourceLineNo">377</span>   public UrlEncodingSerializerBuilder setNotBeanPackages(String...values) {<a name="line.377"></a>
+<span class="sourceLineNo">378</span>      super.setNotBeanPackages(values);<a name="line.378"></a>
 <span class="sourceLineNo">379</span>      return this;<a name="line.379"></a>
 <span class="sourceLineNo">380</span>   }<a name="line.380"></a>
 <span class="sourceLineNo">381</span><a name="line.381"></a>
 <span class="sourceLineNo">382</span>   @Override /* CoreObjectBuilder */<a name="line.382"></a>
-<span class="sourceLineNo">383</span>   public UrlEncodingSerializerBuilder removeNotBeanClasses(Class&lt;?&gt;...values) {<a name="line.383"></a>
-<span class="sourceLineNo">384</span>      super.removeNotBeanClasses(values);<a name="line.384"></a>
+<span class="sourceLineNo">383</span>   public UrlEncodingSerializerBuilder setNotBeanPackages(Collection&lt;String&gt; values) {<a name="line.383"></a>
+<span class="sourceLineNo">384</span>      super.setNotBeanPackages(values);<a name="line.384"></a>
 <span class="sourceLineNo">385</span>      return this;<a name="line.385"></a>
 <span class="sourceLineNo">386</span>   }<a name="line.386"></a>
 <span class="sourceLineNo">387</span><a name="line.387"></a>
 <span class="sourceLineNo">388</span>   @Override /* CoreObjectBuilder */<a name="line.388"></a>
-<span class="sourceLineNo">389</span>   public UrlEncodingSerializerBuilder removeNotBeanClasses(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.389"></a>
-<span class="sourceLineNo">390</span>      super.removeNotBeanClasses(values);<a name="line.390"></a>
+<span class="sourceLineNo">389</span>   public UrlEncodingSerializerBuilder removeNotBeanPackages(String...values) {<a name="line.389"></a>
+<span class="sourceLineNo">390</span>      super.removeNotBeanPackages(values);<a name="line.390"></a>
 <span class="sourceLineNo">391</span>      return this;<a name="line.391"></a>
 <span class="sourceLineNo">392</span>   }<a name="line.392"></a>
 <span class="sourceLineNo">393</span><a name="line.393"></a>
 <span class="sourceLineNo">394</span>   @Override /* CoreObjectBuilder */<a name="line.394"></a>
-<span class="sourceLineNo">395</span>   public UrlEncodingSerializerBuilder beanFilters(Class&lt;?&gt;...values) {<a name="line.395"></a>
-<span class="sourceLineNo">396</span>      super.beanFilters(values);<a name="line.396"></a>
+<span class="sourceLineNo">395</span>   public UrlEncodingSerializerBuilder removeNotBeanPackages(Collection&lt;String&gt; values) {<a name="line.395"></a>
+<span class="sourceLineNo">396</span>      super.removeNotBeanPackages(values);<a name="line.396"></a>
 <span class="sourceLineNo">397</span>      return this;<a name="line.397"></a>
 <span class="sourceLineNo">398</span>   }<a name="line.398"></a>
 <span class="sourceLineNo">399</span><a name="line.399"></a>
 <span class="sourceLineNo">400</span>   @Override /* CoreObjectBuilder */<a name="line.400"></a>
-<span class="sourceLineNo">401</span>   public UrlEncodingSerializerBuilder beanFilters(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.401"></a>
-<span class="sourceLineNo">402</span>      super.beanFilters(values);<a name="line.402"></a>
+<span class="sourceLineNo">401</span>   public UrlEncodingSerializerBuilder notBeanClasses(Class&lt;?&gt;...values) {<a name="line.401"></a>
+<span class="sourceLineNo">402</span>      super.notBeanClasses(values);<a name="line.402"></a>
 <span class="sourceLineNo">403</span>      return this;<a name="line.403"></a>
 <span class="sourceLineNo">404</span>   }<a name="line.404"></a>
 <span class="sourceLineNo">405</span><a name="line.405"></a>
 <span class="sourceLineNo">406</span>   @Override /* CoreObjectBuilder */<a name="line.406"></a>
-<span class="sourceLineNo">407</span>   public UrlEncodingSerializerBuilder setBeanFilters(Class&lt;?&gt;...values) {<a name="line.407"></a>
-<span class="sourceLineNo">408</span>      super.setBeanFilters(values);<a name="line.408"></a>
+<span class="sourceLineNo">407</span>   public UrlEncodingSerializerBuilder notBeanClasses(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.407"></a>
+<span class="sourceLineNo">408</span>      super.notBeanClasses(values);<a name="line.408"></a>
 <span class="sourceLineNo">409</span>      return this;<a name="line.409"></a>
 <span class="sourceLineNo">410</span>   }<a name="line.410"></a>
 <span class="sourceLineNo">411</span><a name="line.411"></a>
 <span class="sourceLineNo">412</span>   @Override /* CoreObjectBuilder */<a name="line.412"></a>
-<span class="sourceLineNo">413</span>   public UrlEncodingSerializerBuilder setBeanFilters(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.413"></a>
-<span class="sourceLineNo">414</span>      super.setBeanFilters(values);<a name="line.414"></a>
+<span class="sourceLineNo">413</span>   public UrlEncodingSerializerBuilder setNotBeanClasses(Class&lt;?&gt;...values) {<a name="line.413"></a>
+<span class="sourceLineNo">414</span>      super.setNotBeanClasses(values);<a name="line.414"></a>
 <span class="sourceLineNo">415</span>      return this;<a name="line.415"></a>
 <span class="sourceLineNo">416</span>   }<a name="line.416"></a>
 <span class="sourceLineNo">417</span><a name="line.417"></a>
 <span class="sourceLineNo">418</span>   @Override /* CoreObjectBuilder */<a name="line.418"></a>
-<span class="sourceLineNo">419</span>   public UrlEncodingSerializerBuilder removeBeanFilters(Class&lt;?&gt;...values) {<a name="line.419"></a>
-<span class="sourceLineNo">420</span>      super.removeBeanFilters(values);<a name="line.420"></a>
+<span class="sourceLineNo">419</span>   public UrlEncodingSerializerBuilder setNotBeanClasses(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.419"></a>
+<span class="sourceLineNo">420</span>      super.setNotBeanClasses(values);<a name="line.420"></a>
 <span class="sourceLineNo">421</span>      return this;<a name="line.421"></a>
 <span class="sourceLineNo">422</span>   }<a name="line.422"></a>
 <span class="sourceLineNo">423</span><a name="line.423"></a>
 <span class="sourceLineNo">424</span>   @Override /* CoreObjectBuilder */<a name="line.424"></a>
-<span class="sourceLineNo">425</span>   public UrlEncodingSerializerBuilder removeBeanFilters(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.425"></a>
-<span class="sourceLineNo">426</span>      super.removeBeanFilters(values);<a name="line.426"></a>
+<span class="sourceLineNo">425</span>   public UrlEncodingSerializerBuilder removeNotBeanClasses(Class&lt;?&gt;...values) {<a name="line.425"></a>
+<span class="sourceLineNo">426</span>      super.removeNotBeanClasses(values);<a name="line.426"></a>
 <span class="sourceLineNo">427</span>      return this;<a name="line.427"></a>
 <span class="sourceLineNo">428</span>   }<a name="line.428"></a>
 <span class="sourceLineNo">429</span><a name="line.429"></a>
 <span class="sourceLineNo">430</span>   @Override /* CoreObjectBuilder */<a name="line.430"></a>
-<span class="sourceLineNo">431</span>   public UrlEncodingSerializerBuilder pojoSwaps(Class&lt;?&gt;...values) {<a name="line.431"></a>
-<span class="sourceLineNo">432</span>      super.pojoSwaps(values);<a name="line.432"></a>
+<span class="sourceLineNo">431</span>   public UrlEncodingSerializerBuilder removeNotBeanClasses(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.431"></a>
+<span class="sourceLineNo">432</span>      super.removeNotBeanClasses(values);<a name="line.432"></a>
 <span class="sourceLineNo">433</span>      return this;<a name="line.433"></a>
 <span class="sourceLineNo">434</span>   }<a name="line.434"></a>
 <span class="sourceLineNo">435</span><a name="line.435"></a>
 <span class="sourceLineNo">436</span>   @Override /* CoreObjectBuilder */<a name="line.436"></a>
-<span class="sourceLineNo">437</span>   public UrlEncodingSerializerBuilder pojoSwaps(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.437"></a>
-<span class="sourceLineNo">438</span>      super.pojoSwaps(values);<a name="line.438"></a>
+<span class="sourceLineNo">437</span>   public UrlEncodingSerializerBuilder beanFilters(Class&lt;?&gt;...values) {<a name="line.437"></a>
+<span class="sourceLineNo">438</span>      super.beanFilters(values);<a name="line.438"></a>
 <span class="sourceLineNo">439</span>      return this;<a name="line.439"></a>
 <span class="sourceLineNo">440</span>   }<a name="line.440"></a>
 <span class="sourceLineNo">441</span><a name="line.441"></a>
 <span class="sourceLineNo">442</span>   @Override /* CoreObjectBuilder */<a name="line.442"></a>
-<span class="sourceLineNo">443</span>   public UrlEncodingSerializerBuilder setPojoSwaps(Class&lt;?&gt;...values) {<a name="line.443"></a>
-<span class="sourceLineNo">444</span>      super.setPojoSwaps(values);<a name="line.444"></a>
+<span class="sourceLineNo">443</span>   public UrlEncodingSerializerBuilder beanFilters(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.443"></a>
+<span class="sourceLineNo">444</span>      super.beanFilters(values);<a name="line.444"></a>
 <span class="sourceLineNo">445</span>      return this;<a name="line.445"></a>
 <span class="sourceLineNo">446</span>   }<a name="line.446"></a>
 <span class="sourceLineNo">447</span><a name="line.447"></a>
 <span class="sourceLineNo">448</span>   @Override /* CoreObjectBuilder */<a name="line.448"></a>
-<span class="sourceLineNo">449</span>   public UrlEncodingSerializerBuilder setPojoSwaps(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.449"></a>
-<span class="sourceLineNo">450</span>      super.setPojoSwaps(values);<a name="line.450"></a>
+<span class="sourceLineNo">449</span>   public UrlEncodingSerializerBuilder setBeanFilters(Class&lt;?&gt;...values) {<a name="line.449"></a>
+<span class="sourceLineNo">450</span>      super.setBeanFilters(values);<a name="line.450"></a>
 <span class="sourceLineNo">451</span>      return this;<a name="line.451"></a>
 <span class="sourceLineNo">452</span>   }<a name="line.452"></a>
 <span class="sourceLineNo">453</span><a name="line.453"></a>
 <span class="sourceLineNo">454</span>   @Override /* CoreObjectBuilder */<a name="line.454"></a>
-<span class="sourceLineNo">455</span>   public UrlEncodingSerializerBuilder removePojoSwaps(Class&lt;?&gt;...values) {<a name="line.455"></a>
-<span class="sourceLineNo">456</span>      super.removePojoSwaps(values);<a name="line.456"></a>
+<span class="sourceLineNo">455</span>   public UrlEncodingSerializerBuilder setBeanFilters(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.455"></a>
+<span class="sourceLineNo">456</span>      super.setBeanFilters(values);<a name="line.456"></a>
 <span class="sourceLineNo">457</span>      return this;<a name="line.457"></a>
 <span class="sourceLineNo">458</span>   }<a name="line.458"></a>
 <span class="sourceLineNo">459</span><a name="line.459"></a>
 <span class="sourceLineNo">460</span>   @Override /* CoreObjectBuilder */<a name="line.460"></a>
-<span class="sourceLineNo">461</span>   public UrlEncodingSerializerBuilder removePojoSwaps(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.461"></a>
-<span class="sourceLineNo">462</span>      super.removePojoSwaps(values);<a name="line.462"></a>
+<span class="sourceLineNo">461</span>   public UrlEncodingSerializerBuilder removeBeanFilters(Class&lt;?&gt;...values) {<a name="line.461"></a>
+<span class="sourceLineNo">462</span>      super.removeBeanFilters(values);<a name="line.462"></a>
 <span class="sourceLineNo">463</span>      return this;<a name="line.463"></a>
 <span class="sourceLineNo">464</span>   }<a name="line.464"></a>
 <span class="sourceLineNo">465</span><a name="line.465"></a>
 <span class="sourceLineNo">466</span>   @Override /* CoreObjectBuilder */<a name="line.466"></a>
-<span class="sourceLineNo">467</span>   public UrlEncodingSerializerBuilder implClasses(Map&lt;Class&lt;?&gt;,Class&lt;?&gt;&gt; values) {<a name="line.467"></a>
-<span class="sourceLineNo">468</span>      super.implClasses(values);<a name="line.468"></a>
+<span class="sourceLineNo">467</span>   public UrlEncodingSerializerBuilder removeBeanFilters(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.467"></a>
+<span class="sourceLineNo">468</span>      super.removeBeanFilters(values);<a name="line.468"></a>
 <span class="sourceLineNo">469</span>      return this;<a name="line.469"></a>
 <span class="sourceLineNo">470</span>   }<a name="line.470"></a>
 <span class="sourceLineNo">471</span><a name="line.471"></a>
 <span class="sourceLineNo">472</span>   @Override /* CoreObjectBuilder */<a name="line.472"></a>
-<span class="sourceLineNo">473</span>   public &lt;T&gt; UrlEncodingSerializerBuilder implClass(Class&lt;T&gt; interfaceClass, Class&lt;? extends T&gt; implClass) {<a name="line.473"></a>
-<span class="sourceLineNo">474</span>      super.implClass(interfaceClass, implClass);<a name="line.474"></a>
+<span class="sourceLineNo">473</span>   public UrlEncodingSerializerBuilder pojoSwaps(Class&lt;?&gt;...values) {<a name="line.473"></a>
+<span class="sourceLineNo">474</span>      super.pojoSwaps(values);<a name="line.474"></a>
 <span class="sourceLineNo">475</span>      return this;<a name="line.475"></a>
 <span class="sourceLineNo">476</span>   }<a name="line.476"></a>
 <span class="sourceLineNo">477</span><a name="line.477"></a>
 <span class="sourceLineNo">478</span>   @Override /* CoreObjectBuilder */<a name="line.478"></a>
-<span class="sourceLineNo">479</span>   public UrlEncodingSerializerBuilder beanDictionary(Class&lt;?&gt;...values) {<a name="line.479"></a>
-<span class="sourceLineNo">480</span>      super.beanDictionary(values);<a name="line.480"></a>
+<span class="sourceLineNo">479</span>   public UrlEncodingSerializerBuilder pojoSwaps(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.479"></a>
+<span class="sourceLineNo">480</span>      super.pojoSwaps(values);<a name="line.480"></a>
 <span class="sourceLineNo">481</span>      return this;<a name="line.481"></a>
 <span class="sourceLineNo">482</span>   }<a name="line.482"></a>
 <span class="sourceLineNo">483</span><a name="line.483"></a>
 <span class="sourceLineNo">484</span>   @Override /* CoreObjectBuilder */<a name="line.484"></a>
-<span class="sourceLineNo">485</span>   public UrlEncodingSerializerBuilder beanDictionary(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.485"></a>
-<span class="sourceLineNo">486</span>      super.beanDictionary(values);<a name="line.486"></a>
+<span class="sourceLineNo">485</span>   public UrlEncodingSerializerBuilder setPojoSwaps(Class&lt;?&gt;...values) {<a name="line.485"></a>
+<span class="sourceLineNo">486</span>      super.setPojoSwaps(values);<a name="line.486"></a>
 <span class="sourceLineNo">487</span>      return this;<a name="line.487"></a>
 <span class="sourceLineNo">488</span>   }<a name="line.488"></a>
 <span class="sourceLineNo">489</span><a name="line.489"></a>
 <span class="sourceLineNo">490</span>   @Override /* CoreObjectBuilder */<a name="line.490"></a>
-<span class="sourceLineNo">491</span>   public UrlEncodingSerializerBuilder setBeanDictionary(Class&lt;?&gt;...values) {<a name="line.491"></a>
-<span class="sourceLineNo">492</span>      super.setBeanDictionary(values);<a name="line.492"></a>
+<span class="sourceLineNo">491</span>   public UrlEncodingSerializerBuilder setPojoSwaps(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.491"></a>
+<span class="sourceLineNo">492</span>      super.setPojoSwaps(values);<a name="line.492"></a>
 <span class="sourceLineNo">493</span>      return this;<a name="line.493"></a>
 <span class="sourceLineNo">494</span>   }<a name="line.494"></a>
 <span class="sourceLineNo">495</span><a name="line.495"></a>
 <span class="sourceLineNo">496</span>   @Override /* CoreObjectBuilder */<a name="line.496"></a>
-<span class="sourceLineNo">497</span>   public UrlEncodingSerializerBuilder setBeanDictionary(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.497"></a>
-<span class="sourceLineNo">498</span>      super.setBeanDictionary(values);<a name="line.498"></a>
+<span class="sourceLineNo">497</span>   public UrlEncodingSerializerBuilder removePojoSwaps(Class&lt;?&gt;...values) {<a name="line.497"></a>
+<span class="sourceLineNo">498</span>      super.removePojoSwaps(values);<a name="line.498"></a>
 <span class="sourceLineNo">499</span>      return this;<a name="line.499"></a>
 <span class="sourceLineNo">500</span>   }<a name="line.500"></a>
 <span class="sourceLineNo">501</span><a name="line.501"></a>
 <span class="sourceLineNo">502</span>   @Override /* CoreObjectBuilder */<a name="line.502"></a>
-<span class="sourceLineNo">503</span>   public UrlEncodingSerializerBuilder removeFromBeanDictionary(Class&lt;?&gt;...values) {<a name="line.503"></a>
-<span class="sourceLineNo">504</span>      super.removeFromBeanDictionary(values);<a name="line.504"></a>
+<span class="sourceLineNo">503</span>   public UrlEncodingSerializerBuilder removePojoSwaps(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.503"></a>
+<span class="sourceLineNo">504</span>      super.removePojoSwaps(values);<a name="line.504"></a>
 <span class="sourceLineNo">505</span>      return this;<a name="line.505"></a>
 <span class="sourceLineNo">506</span>   }<a name="line.506"></a>
 <span class="sourceLineNo">507</span><a name="line.507"></a>
 <span class="sourceLineNo">508</span>   @Override /* CoreObjectBuilder */<a name="line.508"></a>
-<span class="sourceLineNo">509</span>   public UrlEncodingSerializerBuilder removeFromBeanDictionary(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.509"></a>
-<span class="sourceLineNo">510</span>      super.removeFromBeanDictionary(values);<a name="line.510"></a>
+<span class="sourceLineNo">509</span>   public UrlEncodingSerializerBuilder implClasses(Map&lt;Class&lt;?&gt;,Class&lt;?&gt;&gt; values) {<a name="line.509"></a>
+<span class="sourceLineNo">510</span>      super.implClasses(values);<a name="line.510"></a>
 <span class="sourceLineNo">511</span>      return this;<a name="line.511"></a>
 <span class="sourceLineNo">512</span>   }<a name="line.512"></a>
 <span class="sourceLineNo">513</span><a name="line.513"></a>
 <span class="sourceLineNo">514</span>   @Override /* CoreObjectBuilder */<a name="line.514"></a>
-<span class="sourceLineNo">515</span>   public UrlEncodingSerializerBuilder beanTypePropertyName(String value) {<a name="line.515"></a>
-<span class="sourceLineNo">516</span>      super.beanTypePropertyName(value);<a name="line.516"></a>
+<span class="sourceLineNo">515</span>   public &lt;T&gt; UrlEncodingSerializerBuilder implClass(Class&lt;T&gt; interfaceClass, Class&lt;? extends T&gt; implClass) {<a name="line.515"></a>
+<span class="sourceLineNo">516</span>      super.implClass(interfaceClass, implClass);<a name="line.516"></a>
 <span class="sourceLineNo">517</span>      return this;<a name="line.517"></a>
 <span class="sourceLineNo">518</span>   }<a name="line.518"></a>
 <span class="sourceLineNo">519</span><a name="line.519"></a>
 <span class="sourceLineNo">520</span>   @Override /* CoreObjectBuilder */<a name="line.520"></a>
-<span class="sourceLineNo">521</span>   public UrlEncodingSerializerBuilder defaultParser(Class&lt;?&gt; value) {<a name="line.521"></a>
-<span class="sourceLineNo">522</span>      super.defaultParser(value);<a name="line.522"></a>
+<span class="sourceLineNo">521</span>   public UrlEncodingSerializerBuilder beanDictionary(Class&lt;?&gt;...values) {<a name="line.521"></a>
+<span class="sourceLineNo">522</span>      super.beanDictionary(values);<a name="line.522"></a>
 <span class="sourceLineNo">523</span>      return this;<a name="line.523"></a>
 <span class="sourceLineNo">524</span>   }<a name="line.524"></a>
 <span class="sourceLineNo">525</span><a name="line.525"></a>
 <span class="sourceLineNo">526</span>   @Override /* CoreObjectBuilder */<a name="line.526"></a>
-<span class="sourceLineNo">527</span>   public UrlEncodingSerializerBuilder locale(Locale value) {<a name="line.527"></a>
-<span class="sourceLineNo">528</span>      super.locale(value);<a name="line.528"></a>
+<span class="sourceLineNo">527</span>   public UrlEncodingSerializerBuilder beanDictionary(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.527"></a>
+<span class="sourceLineNo">528</span>      super.beanDictionary(values);<a name="line.528"></a>
 <span class="sourceLineNo">529</span>      return this;<a name="line.529"></a>
 <span class="sourceLineNo">530</span>   }<a name="line.530"></a>
 <span class="sourceLineNo">531</span><a name="line.531"></a>
 <span class="sourceLineNo">532</span>   @Override /* CoreObjectBuilder */<a name="line.532"></a>
-<span class="sourceLineNo">533</span>   public UrlEncodingSerializerBuilder timeZone(TimeZone value) {<a name="line.533"></a>
-<span class="sourceLineNo">534</span>      super.timeZone(value);<a name="line.534"></a>
+<span class="sourceLineNo">533</span>   public UrlEncodingSerializerBuilder setBeanDictionary(Class&lt;?&gt;...values) {<a name="line.533"></a>
+<span class="sourceLineNo">534</span>      super.setBeanDictionary(values);<a name="line.534"></a>
 <span class="sourceLineNo">535</span>      return this;<a name="line.535"></a>
 <span class="sourceLineNo">536</span>   }<a name="line.536"></a>
 <span class="sourceLineNo">537</span><a name="line.537"></a>
 <span class="sourceLineNo">538</span>   @Override /* CoreObjectBuilder */<a name="line.538"></a>
-<span class="sourceLineNo">539</span>   public UrlEncodingSerializerBuilder mediaType(MediaType value) {<a name="line.539"></a>
-<span class="sourceLineNo">540</span>      super.mediaType(value);<a name="line.540"></a>
+<span class="sourceLineNo">539</span>   public UrlEncodingSerializerBuilder setBeanDictionary(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.539"></a>
+<span class="sourceLineNo">540</span>      super.setBeanDictionary(values);<a name="line.540"></a>
 <span class="sourceLineNo">541</span>      return this;<a name="line.541"></a>
 <span class="sourceLineNo">542</span>   }<a name="line.542"></a>
 <span class="sourceLineNo">543</span><a name="line.543"></a>
 <span class="sourceLineNo">544</span>   @Override /* CoreObjectBuilder */<a name="line.544"></a>
-<span class="sourceLineNo">545</span>   public UrlEncodingSerializerBuilder debug(boolean value) {<a name="line.545"></a>
-<span class="sourceLineNo">546</span>      super.debug(value);<a name="line.546"></a>
+<span class="sourceLineNo">545</span>   public UrlEncodingSerializerBuilder removeFromBeanDictionary(Class&lt;?&gt;...values) {<a name="line.545"></a>
+<span class="sourceLineNo">546</span>      super.removeFromBeanDictionary(values);<a name="line.546"></a>
 <span class="sourceLineNo">547</span>      return this;<a name="line.547"></a>
 <span class="sourceLineNo">548</span>   }<a name="line.548"></a>
 <span class="sourceLineNo">549</span><a name="line.549"></a>
 <span class="sourceLineNo">550</span>   @Override /* CoreObjectBuilder */<a name="line.550"></a>
-<span class="sourceLineNo">551</span>   public UrlEncodingSerializerBuilder property(String name, Object value) {<a name="line.551"></a>
-<span class="sourceLineNo">552</span>      super.property(name, value);<a name="line.552"></a>
+<span class="sourceLineNo">551</span>   public UrlEncodingSerializerBuilder removeFromBeanDictionary(Collection&lt;Class&lt;?&gt;&gt; values) {<a name="line.551"></a>
+<span class="sourceLineNo">552</span>      super.removeFromBeanDictionary(values);<a name="line.552"></a>
 <span class="sourceLineNo">553</span>      return this;<a name="line.553"></a>
 <span class="sourceLineNo">554</span>   }<a name="line.554"></a>
 <span class="sourceLineNo">555</span><a name="line.555"></a>
 <span class="sourceLineNo">556</span>   @Override /* CoreObjectBuilder */<a name="line.556"></a>
-<span class="sourceLineNo">557</span>   public UrlEncodingSerializerBuilder properties(Map&lt;String,Object&gt; properties) {<a name="line.557"></a>
-<span class="sourceLineNo">558</span>      super.properties(properties);<a name="line.558"></a>
+<span class="sourceLineNo">557</span>   public UrlEncodingSerializerBuilder beanTypePropertyName(String value) {<a name="line.557"></a>
+<span class="sourceLineNo">558</span>      super.beanTypePropertyName(value);<a name="line.558"></a>
 <span class="sourceLineNo">559</span>      return this;<a name="line.559"></a>
 <span class="sourceLineNo">560</span>   }<a name="line.560"></a>
 <span class="sourceLineNo">561</span><a name="line.561"></a>
 <span class="sourceLineNo">562</span>   @Override /* CoreObjectBuilder */<a name="line.562"></a>
-<span class="sourceLineNo">563</span>   public UrlEncodingSerializerBuilder addToProperty(String name, Object value) {<a name="line.563"></a>
-<span class="sourceLineNo">564</span>      super.addToProperty(name, value);<a name="line.564"></a>
+<span class="sourceLineNo">563</span>   public UrlEncodingSerializerBuilder defaultParser(Class&lt;?&gt; value) {<a name="line.563"></a>
+<span class="sourceLineNo">564</span>      super.defaultParser(value);<a name="line.564"></a>
 <span class="sourceLineNo">565</span>      return this;<a name="line.565"></a>
 <span class="sourceLineNo">566</span>   }<a name="line.566"></a>
 <span class="sourceLineNo">567</span><a name="line.567"></a>
 <span class="sourceLineNo">568</span>   @Override /* CoreObjectBuilder */<a name="line.568"></a>
-<span class="sourceLineNo">569</span>   public UrlEncodingSerializerBuilder putToProperty(String name, Object key, Object value) {<a name="line.569"></a>
-<span class="sourceLineNo">570</span>      super.putToProperty(name, key, value);<a name="line.570"></a>
+<span class="sourceLineNo">569</span>   public UrlEncodingSerializerBuilder locale(Locale value) {<a name="line.569"></a>
+<span class="sourceLineNo">570</span>      super.locale(value);<a name="line.570"></a>
 <span class="sourceLineNo">571</span>      return this;<a name="line.571"></a>
 <span class="sourceLineNo">572</span>   }<a name="line.572"></a>
 <span class="sourceLineNo">573</span><a name="line.573"></a>
 <span class="sourceLineNo">574</span>   @Override /* CoreObjectBuilder */<a name="line.574"></a>
-<span class="sourceLineNo">575</span>   public UrlEncodingSerializerBuilder putToProperty(String name, Object value) {<a name="line.575"></a>
-<span class="sourceLineNo">576</span>      super.putToProperty(name, value);<a name="line.576"></a>
+<span class="sourceLineNo">575</span>   public UrlEncodingSerializerBuilder timeZone(TimeZone value) {<a name="line.575"></a>
+<span class="sourceLineNo">576</span>      super.timeZone(value);<a name="line.576"></a>
 <span class="sourceLineNo">577</span>      return this;<a name="line.577"></a>
 <span class="sourceLineNo">578</span>   }<a name="line.578"></a>
 <span class="sourceLineNo">579</span><a name="line.579"></a>
 <span class="sourceLineNo">580</span>   @Override /* CoreObjectBuilder */<a name="line.580"></a>
-<span class="sourceLineNo">581</span>   public UrlEncodingSerializerBuilder removeFromProperty(String name, Object value) {<a name="line.581"></a>
-<span class="sourceLineNo">582</span>      super.removeFromProperty(name, value);<a name="line.582"></a>
+<span class="sourceLineNo">581</span>   public UrlEncodingSerializerBuilder mediaType(MediaType value) {<a name="line.581"></a>
+<span class="sourceLineNo">582</span>      super.mediaType(value);<a name="line.582"></a>
 <span class="sourceLineNo">583</span>      return this;<a name="line.583"></a>
 <span class="sourceLineNo">584</span>   }<a name="line.584"></a>
 <span class="sourceLineNo">585</span><a name="line.585"></a>
 <span class="sourceLineNo">586</span>   @Override /* CoreObjectBuilder */<a name="line.586"></a>
-<span class="sourceLineNo">587</span>   public UrlEncodingSerializerBuilder classLoader(ClassLoader classLoader) {<a name="line.587"></a>
-<span class="sourceLineNo">588</span>      super.classLoader(classLoader);<a name="line.588"></a>
+<span class="sourceLineNo">587</span>   public UrlEncodingSerializerBuilder debug(boolean value) {<a name="line.587"></a>
+<span class="sourceLineNo">588</span>      super.debug(value);<a name="line.588"></a>
 <span class="sourceLineNo">589</span>      return this;<a name="line.589"></a>
 <span class="sourceLineNo">590</span>   }<a name="line.590"></a>
 <span class="sourceLineNo">591</span><a name="line.591"></a>
 <span class="sourceLineNo">592</span>   @Override /* CoreObjectBuilder */<a name="line.592"></a>
-<span class="sourceLineNo">593</span>   public UrlEncodingSerializerBuilder apply(PropertyStore copyFrom) {<a name="line.593"></a>
-<span class="sourceLineNo">594</span>      super.apply(copyFrom);<a name="line.594"></a>
+<span class="sourceLineNo">593</span>   public UrlEncodingSerializerBuilder property(String name, Object value) {<a name="line.593"></a>
+<span class="sourceLineNo">594</span>      super.property(name, value);<a name="line.594"></a>
 <span class="sourceLineNo">595</span>      return this;<a name="line.595"></a>
 <span class="sourceLineNo">596</span>   }<a name="line.596"></a>
-<span class="sourceLineNo">597</span>}<a name="line.597"></a>
+<span class="sourceLineNo">597</span><a name="line.597"></a>
+<span class="sourceLineNo">598</span>   @Override /* CoreObjectBuilder */<a name="line.598"></a>
+<span class="sourceLineNo">599</span>   public UrlEncodingSerializerBuilder properties(Map&lt;String,Object&gt; properties) {<a name="line.599"></a>
+<span class="sourceLineNo">600</span>      super.properties(properties);<a name="line.600"></a>
+<span class="sourceLineNo">601</span>      return this;<a name="line.601"></a>
+<span class="sourceLineNo">602</span>   }<a name="line.602"></a>
+<span class="sourceLineNo">603</span><a name="line.603"></a>
+<span class="sourceLineNo">604</span>   @Override /* CoreObjectBuilder */<a name="line.604"></a>
+<span class="sourceLineNo">605</span>   public UrlEncodingSerializerBuilder addToProperty(String name, Object value) {<a name="line.605"></a>
+<span class="sourceLineNo">606</span>      super.addToProperty(name, value);<a name="line.606"></a>
+<span class="sourceLineNo">607</span>      return this;<a name="line.607"></a>
+<span class="sourceLineNo">608</span>   }<a name="line.608"></a>
+<span class="sourceLineNo">609</span><a name="line.609"></a>
+<span class="sourceLineNo">610</span>   @Override /* CoreObjectBuilder */<a name="line.610"></a>
+<span class="sourceLineNo">611</span>   public UrlEncodingSerializerBuilder putToProperty(String name, Object key, Object value) {<a name="line.611"></a>
+<span class="sourceLineNo">612</span>      super.putToProperty(name, key, value);<a name="line.612"></a>
+<span class="sourceLineNo">613</span>      return this;<a name="line.613"></a>
+<span class="sourceLineNo">614</span>   }<a name="line.614"></a>
+<span class="sourceLineNo">615</span><a name="line.615"></a>
+<span class="sourceLineNo">616</span>   @Override /* CoreObjectBuilder */<a name="line.616"></a>
+<span class="sourceLineNo">617</span>   public UrlEncodingSerializerBuilder putToProperty(String name, Object value) {<a name="line.617"></a>
+<span class="sourceLineNo">618</span>      super.putToProperty(name, value);<a name="line.618"></a>
+<span class="sourceLineNo">619</span>      return this;<a name="line.619"></a>
+<span class="sourceLineNo">620</span>   }<a name="line.620"></a>
+<span class="sourceLineNo">621</span><a name="line.621"></a>
+<span class="sourceLineNo">622</span>   @Override /* CoreObjectBuilder */<a name="line.622"></a>
+<span class="sourceLineNo">623</span>   public UrlEncodingSerializerBuilder removeFromProperty(String name, Object value) {<a name="line.623"></a>
+<span class="sourceLineNo">624</span>      super.removeFromProperty(name, value);<a name="line.624"></a>
+<span class="sourceLineNo">625</span>      return this;<a name="line.625"></a>
+<span class="sourceLineNo">626</span>   }<a name="line.626"></a>
+<span class="sourceLineNo">627</span><a name="line.627"></a>
+<span class="sourceLineNo">628</span>   @Override /* CoreObjectBuilder */<a name="line.628"></a>
+<span class="sourceLineNo">629</span>   public UrlEncodingSerializerBuilder classLoader(ClassLoader classLoader) {<a name="line.629"></a>
+<span class="sourceLineNo">630</span>      super.classLoader(classLoader);<a name="line.630"></a>
+<span class="sourceLineNo">631</span>      return this;<a name="line.631"></a>
+<span class="sourceLineNo">632</span>   }<a name="line.632"></a>
+<span class="sourceLineNo">633</span><a name="line.633"></a>
+<span class="sourceLineNo">634</span>   @Override /* CoreObjectBuilder */<a name="line.634"></a>
+<span class="sourceLineNo">635</span>   public UrlEncodingSerializerBuilder apply(PropertyStore copyFrom) {<a name="line.635"></a>
+<span class="sourceLineNo">636</span>      super.apply(copyFrom);<a name="line.636"></a>
+<span class="sourceLineNo">637</span>      return this;<a name="line.637"></a>
+<span class="sourceLineNo">638</span>   }<a name="line.638"></a>
+<span class="sourceLineNo">639</span>}<a name="line.639"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html
index a93fd17..fb2ed76 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html
@@ -33,29 +33,59 @@
 <span class="sourceLineNo">025</span> */<a name="line.25"></a>
 <span class="sourceLineNo">026</span>public class UrlEncodingSerializerContext extends UonSerializerContext {<a name="line.26"></a>
 <span class="sourceLineNo">027</span><a name="line.27"></a>
-<span class="sourceLineNo">028</span>   final boolean<a name="line.28"></a>
-<span class="sourceLineNo">029</span>      expandedParams;<a name="line.29"></a>
-<span class="sourceLineNo">030</span><a name="line.30"></a>
-<span class="sourceLineNo">031</span>   /**<a name="line.31"></a>
-<span class="sourceLineNo">032</span>    * Constructor.<a name="line.32"></a>
-<span class="sourceLineNo">033</span>    * &lt;p&gt;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>    * Typically only called from {@link PropertyStore#getContext(Class)}.<a name="line.34"></a>
-<span class="sourceLineNo">035</span>    *<a name="line.35"></a>
-<span class="sourceLineNo">036</span>    * @param ps The property store that created this context.<a name="line.36"></a>
-<span class="sourceLineNo">037</span>    */<a name="line.37"></a>
-<span class="sourceLineNo">038</span>   public UrlEncodingSerializerContext(PropertyStore ps) {<a name="line.38"></a>
-<span class="sourceLineNo">039</span>      super(ps);<a name="line.39"></a>
-<span class="sourceLineNo">040</span>      this.expandedParams = ps.getProperty(UrlEncodingContext.URLENC_expandedParams, boolean.class, false);<a name="line.40"></a>
-<span class="sourceLineNo">041</span>   }<a name="line.41"></a>
-<span class="sourceLineNo">042</span><a name="line.42"></a>
-<span class="sourceLineNo">043</span>   @Override /* Context */<a name="line.43"></a>
-<span class="sourceLineNo">044</span>   public ObjectMap asMap() {<a name="line.44"></a>
-<span class="sourceLineNo">045</span>      return super.asMap()<a name="line.45"></a>
-<span class="sourceLineNo">046</span>         .append("UrlEncodingSerializerContext", new ObjectMap()<a name="line.46"></a>
-<span class="sourceLineNo">047</span>            .append("expandedParams", expandedParams)<a name="line.47"></a>
-<span class="sourceLineNo">048</span>         );<a name="line.48"></a>
-<span class="sourceLineNo">049</span>   }<a name="line.49"></a>
-<span class="sourceLineNo">050</span>}<a name="line.50"></a>
+<span class="sourceLineNo">028</span>   /**<a name="line.28"></a>
+<span class="sourceLineNo">029</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Format to use for top-level query names and simple parameters.<a name="line.29"></a>
+<span class="sourceLineNo">030</span>    * &lt;p&gt;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>    * &lt;ul&gt;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"UrlEncodingSerializer.paramFormat"&lt;/js&gt;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;String&lt;/code&gt;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;js&gt;"UON"&lt;/js&gt;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>    *    &lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>    * &lt;/ul&gt;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>    * &lt;p&gt;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>    * Specifies the format to use for URL GET parameter keys and values.<a name="line.38"></a>
+<span class="sourceLineNo">039</span>    * &lt;p&gt;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>    * The possible values are:<a name="line.40"></a>
+<span class="sourceLineNo">041</span>    * &lt;ul&gt;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>    *    &lt;li&gt;&lt;js&gt;"UON"&lt;/js&gt; (default) - Use UON notation for values.<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    *       &lt;br&gt;String values such as &lt;js&gt;"(foo='bar')"&lt;/js&gt; will end up being quoted and escaped to &lt;js&gt;"'(foo=bar~'baz~')'"&lt;/js&gt;.<a name="line.43"></a>
+<span class="sourceLineNo">044</span>    *       &lt;br&gt;Similarly, boolean and numeric values will also end up quoted.<a name="line.44"></a>
+<span class="sourceLineNo">045</span>    *    &lt;li&gt;&lt;js&gt;"PLAINTEXT"&lt;/js&gt; (default) - Serialize as plain text.<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    *       &lt;br&gt;Strings will never be quoted or escaped.<a name="line.46"></a>
+<span class="sourceLineNo">047</span>    *       &lt;br&gt;Note that this can cause errors during parsing if you're using the URL-encoding parser to parse<a name="line.47"></a>
+<span class="sourceLineNo">048</span>    *       the results since UON constructs won't be differentiatable.<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    *       &lt;br&gt;However, this is not an issue if you're simply creating queries or form posts against 3rd-party interfaces.<a name="line.49"></a>
+<span class="sourceLineNo">050</span>    * &lt;/ul&gt;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    */<a name="line.51"></a>
+<span class="sourceLineNo">052</span>   public static final String URLENC_paramFormat = "UrlEncodingSerializer.paramFormat";<a name="line.52"></a>
+<span class="sourceLineNo">053</span><a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span>   final boolean<a name="line.55"></a>
+<span class="sourceLineNo">056</span>      expandedParams,<a name="line.56"></a>
+<span class="sourceLineNo">057</span>      plainTextParams;<a name="line.57"></a>
+<span class="sourceLineNo">058</span><a name="line.58"></a>
+<span class="sourceLineNo">059</span>   /**<a name="line.59"></a>
+<span class="sourceLineNo">060</span>    * Constructor.<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    * &lt;p&gt;<a name="line.61"></a>
+<span class="sourceLineNo">062</span>    * Typically only called from {@link PropertyStore#getContext(Class)}.<a name="line.62"></a>
+<span class="sourceLineNo">063</span>    *<a name="line.63"></a>
+<span class="sourceLineNo">064</span>    * @param ps The property store that created this context.<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    */<a name="line.65"></a>
+<span class="sourceLineNo">066</span>   public UrlEncodingSerializerContext(PropertyStore ps) {<a name="line.66"></a>
+<span class="sourceLineNo">067</span>      super(ps);<a name="line.67"></a>
+<span class="sourceLineNo">068</span>      this.expandedParams = ps.getProperty(UrlEncodingContext.URLENC_expandedParams, boolean.class, false);<a name="line.68"></a>
+<span class="sourceLineNo">069</span>      this.plainTextParams = ps.getProperty(UrlEncodingSerializerContext.URLENC_paramFormat, String.class, "UON").equals("PLAINTEXT");<a name="line.69"></a>
+<span class="sourceLineNo">070</span>   }<a name="line.70"></a>
+<span class="sourceLineNo">071</span><a name="line.71"></a>
+<span class="sourceLineNo">072</span>   @Override /* Context */<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   public ObjectMap asMap() {<a name="line.73"></a>
+<span class="sourceLineNo">074</span>      return super.asMap()<a name="line.74"></a>
+<span class="sourceLineNo">075</span>         .append("UrlEncodingSerializerContext", new ObjectMap()<a name="line.75"></a>
+<span class="sourceLineNo">076</span>            .append("expandedParams", expandedParams)<a name="line.76"></a>
+<span class="sourceLineNo">077</span>            .append("plainTextParams", plainTextParams)<a name="line.77"></a>
+<span class="sourceLineNo">078</span>         );<a name="line.78"></a>
+<span class="sourceLineNo">079</span>   }<a name="line.79"></a>
+<span class="sourceLineNo">080</span>}<a name="line.80"></a>
 
 
 


[12/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/RestUtils.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RestUtils.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RestUtils.html
index 1ea40ae..0452a5e 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/RestUtils.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RestUtils.html
@@ -20,249 +20,158 @@
 <span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
 <span class="sourceLineNo">013</span>package org.apache.juneau.rest;<a name="line.13"></a>
 <span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import java.io.*;<a name="line.15"></a>
-<span class="sourceLineNo">016</span>import java.net.*;<a name="line.16"></a>
-<span class="sourceLineNo">017</span>import java.util.*;<a name="line.17"></a>
+<span class="sourceLineNo">015</span>import java.util.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import javax.servlet.http.*;<a name="line.17"></a>
 <span class="sourceLineNo">018</span><a name="line.18"></a>
-<span class="sourceLineNo">019</span>import javax.servlet.http.*;<a name="line.19"></a>
+<span class="sourceLineNo">019</span>import org.apache.juneau.utils.*;<a name="line.19"></a>
 <span class="sourceLineNo">020</span><a name="line.20"></a>
-<span class="sourceLineNo">021</span>import org.apache.juneau.internal.*;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import org.apache.juneau.utils.*;<a name="line.22"></a>
-<span class="sourceLineNo">023</span><a name="line.23"></a>
-<span class="sourceLineNo">024</span>/**<a name="line.24"></a>
-<span class="sourceLineNo">025</span> * Various reusable utility methods.<a name="line.25"></a>
-<span class="sourceLineNo">026</span> */<a name="line.26"></a>
-<span class="sourceLineNo">027</span>public final class RestUtils {<a name="line.27"></a>
-<span class="sourceLineNo">028</span><a name="line.28"></a>
-<span class="sourceLineNo">029</span>   /**<a name="line.29"></a>
-<span class="sourceLineNo">030</span>    * Returns readable text for an HTTP response code.<a name="line.30"></a>
-<span class="sourceLineNo">031</span>    *<a name="line.31"></a>
-<span class="sourceLineNo">032</span>    * @param rc The HTTP response code.<a name="line.32"></a>
-<span class="sourceLineNo">033</span>    * @return Readable text for an HTTP response code, or &lt;jk&gt;null&lt;/jk&gt; if it's an invalid code.<a name="line.33"></a>
-<span class="sourceLineNo">034</span>    */<a name="line.34"></a>
-<span class="sourceLineNo">035</span>   public static String getHttpResponseText(int rc) {<a name="line.35"></a>
-<span class="sourceLineNo">036</span>      return httpMsgs.get(rc);<a name="line.36"></a>
-<span class="sourceLineNo">037</span>   }<a name="line.37"></a>
-<span class="sourceLineNo">038</span><a name="line.38"></a>
-<span class="sourceLineNo">039</span>   private static Map&lt;Integer,String&gt; httpMsgs = new AMap&lt;Integer,String&gt;()<a name="line.39"></a>
-<span class="sourceLineNo">040</span>      .append(200, "OK")<a name="line.40"></a>
-<span class="sourceLineNo">041</span>      .append(201, "Created")<a name="line.41"></a>
-<span class="sourceLineNo">042</span>      .append(202, "Accepted")<a name="line.42"></a>
-<span class="sourceLineNo">043</span>      .append(203, "Non-Authoritative Information")<a name="line.43"></a>
-<span class="sourceLineNo">044</span>      .append(204, "No Content")<a name="line.44"></a>
-<span class="sourceLineNo">045</span>      .append(205, "Reset Content")<a name="line.45"></a>
-<span class="sourceLineNo">046</span>      .append(206, "Partial Content")<a name="line.46"></a>
-<span class="sourceLineNo">047</span>      .append(300, "Multiple Choices")<a name="line.47"></a>
-<span class="sourceLineNo">048</span>      .append(301, "Moved Permanently")<a name="line.48"></a>
-<span class="sourceLineNo">049</span>      .append(302, "Temporary Redirect")<a name="line.49"></a>
-<span class="sourceLineNo">050</span>      .append(303, "See Other")<a name="line.50"></a>
-<span class="sourceLineNo">051</span>      .append(304, "Not Modified")<a name="line.51"></a>
-<span class="sourceLineNo">052</span>      .append(305, "Use Proxy")<a name="line.52"></a>
-<span class="sourceLineNo">053</span>      .append(307, "Temporary Redirect")<a name="line.53"></a>
-<span class="sourceLineNo">054</span>      .append(400, "Bad Request")<a name="line.54"></a>
-<span class="sourceLineNo">055</span>      .append(401, "Unauthorized")<a name="line.55"></a>
-<span class="sourceLineNo">056</span>      .append(402, "Payment Required")<a name="line.56"></a>
-<span class="sourceLineNo">057</span>      .append(403, "Forbidden")<a name="line.57"></a>
-<span class="sourceLineNo">058</span>      .append(404, "Not Found")<a name="line.58"></a>
-<span class="sourceLineNo">059</span>      .append(405, "Method Not Allowed")<a name="line.59"></a>
-<span class="sourceLineNo">060</span>      .append(406, "Not Acceptable")<a name="line.60"></a>
-<span class="sourceLineNo">061</span>      .append(407, "Proxy Authentication Required")<a name="line.61"></a>
-<span class="sourceLineNo">062</span>      .append(408, "Request Time-Out")<a name="line.62"></a>
-<span class="sourceLineNo">063</span>      .append(409, "Conflict")<a name="line.63"></a>
-<span class="sourceLineNo">064</span>      .append(410, "Gone")<a name="line.64"></a>
-<span class="sourceLineNo">065</span>      .append(411, "Length Required")<a name="line.65"></a>
-<span class="sourceLineNo">066</span>      .append(412, "Precondition Failed")<a name="line.66"></a>
-<span class="sourceLineNo">067</span>      .append(413, "Request Entity Too Large")<a name="line.67"></a>
-<span class="sourceLineNo">068</span>      .append(414, "Request-URI Too Large")<a name="line.68"></a>
-<span class="sourceLineNo">069</span>      .append(415, "Unsupported Media Type")<a name="line.69"></a>
-<span class="sourceLineNo">070</span>      .append(500, "Internal Server Error")<a name="line.70"></a>
-<span class="sourceLineNo">071</span>      .append(501, "Not Implemented")<a name="line.71"></a>
-<span class="sourceLineNo">072</span>      .append(502, "Bad Gateway")<a name="line.72"></a>
-<span class="sourceLineNo">073</span>      .append(503, "Service Unavailable")<a name="line.73"></a>
-<span class="sourceLineNo">074</span>      .append(504, "Gateway Timeout")<a name="line.74"></a>
-<span class="sourceLineNo">075</span>      .append(505, "HTTP Version Not Supported")<a name="line.75"></a>
-<span class="sourceLineNo">076</span>   ;<a name="line.76"></a>
-<span class="sourceLineNo">077</span><a name="line.77"></a>
-<span class="sourceLineNo">078</span>   /**<a name="line.78"></a>
-<span class="sourceLineNo">079</span>    * Trims &lt;js&gt;'/'&lt;/js&gt; characters from both the start and end of the specified string.<a name="line.79"></a>
-<span class="sourceLineNo">080</span>    *<a name="line.80"></a>
-<span class="sourceLineNo">081</span>    * @param s The string to trim.<a name="line.81"></a>
-<span class="sourceLineNo">082</span>    * @return A new trimmed string, or the same string if no trimming was necessary.<a name="line.82"></a>
-<span class="sourceLineNo">083</span>    */<a name="line.83"></a>
-<span class="sourceLineNo">084</span>   public static String trimSlashes(String s) {<a name="line.84"></a>
-<span class="sourceLineNo">085</span>      if (s == null)<a name="line.85"></a>
-<span class="sourceLineNo">086</span>         return null;<a name="line.86"></a>
-<span class="sourceLineNo">087</span>      while (StringUtils.endsWith(s, '/'))<a name="line.87"></a>
-<span class="sourceLineNo">088</span>         s = s.substring(0, s.length()-1);<a name="line.88"></a>
-<span class="sourceLineNo">089</span>      while (s.length() &gt; 0 &amp;&amp; s.charAt(0) == '/')<a name="line.89"></a>
-<span class="sourceLineNo">090</span>         s = s.substring(1);<a name="line.90"></a>
-<span class="sourceLineNo">091</span>      return s;<a name="line.91"></a>
-<span class="sourceLineNo">092</span>   }<a name="line.92"></a>
-<span class="sourceLineNo">093</span><a name="line.93"></a>
-<span class="sourceLineNo">094</span>   /**<a name="line.94"></a>
-<span class="sourceLineNo">095</span>    * Trims &lt;js&gt;'/'&lt;/js&gt; characters from the end of the specified string.<a name="line.95"></a>
-<span class="sourceLineNo">096</span>    *<a name="line.96"></a>
-<span class="sourceLineNo">097</span>    * @param s The string to trim.<a name="line.97"></a>
-<span class="sourceLineNo">098</span>    * @return A new trimmed string, or the same string if no trimming was necessary.<a name="line.98"></a>
-<span class="sourceLineNo">099</span>    */<a name="line.99"></a>
-<span class="sourceLineNo">100</span>   public static String trimTrailingSlashes(String s) {<a name="line.100"></a>
-<span class="sourceLineNo">101</span>      if (s == null)<a name="line.101"></a>
-<span class="sourceLineNo">102</span>         return null;<a name="line.102"></a>
-<span class="sourceLineNo">103</span>      while (StringUtils.endsWith(s, '/'))<a name="line.103"></a>
-<span class="sourceLineNo">104</span>         s = s.substring(0, s.length()-1);<a name="line.104"></a>
-<span class="sourceLineNo">105</span>      return s;<a name="line.105"></a>
-<span class="sourceLineNo">106</span>   }<a name="line.106"></a>
-<span class="sourceLineNo">107</span><a name="line.107"></a>
-<span class="sourceLineNo">108</span>   /**<a name="line.108"></a>
-<span class="sourceLineNo">109</span>    * Trims &lt;js&gt;'/'&lt;/js&gt; characters from the end of the specified string.<a name="line.109"></a>
-<span class="sourceLineNo">110</span>    *<a name="line.110"></a>
-<span class="sourceLineNo">111</span>    * @param s The string to trim.<a name="line.111"></a>
-<span class="sourceLineNo">112</span>    * @return The same string buffer.<a name="line.112"></a>
-<span class="sourceLineNo">113</span>    */<a name="line.113"></a>
-<span class="sourceLineNo">114</span>   public static StringBuffer trimTrailingSlashes(StringBuffer s) {<a name="line.114"></a>
-<span class="sourceLineNo">115</span>      if (s == null)<a name="line.115"></a>
-<span class="sourceLineNo">116</span>         return null;<a name="line.116"></a>
-<span class="sourceLineNo">117</span>      while (s.length() &gt; 0 &amp;&amp; s.charAt(s.length()-1) == '/')<a name="line.117"></a>
-<span class="sourceLineNo">118</span>         s.setLength(s.length()-1);<a name="line.118"></a>
-<span class="sourceLineNo">119</span>      return s;<a name="line.119"></a>
-<span class="sourceLineNo">120</span>   }<a name="line.120"></a>
-<span class="sourceLineNo">121</span><a name="line.121"></a>
-<span class="sourceLineNo">122</span>   /**<a name="line.122"></a>
-<span class="sourceLineNo">123</span>    * Decodes a &lt;code&gt;application/x-www-form-urlencoded&lt;/code&gt; string using &lt;code&gt;UTF-8&lt;/code&gt; encoding scheme.<a name="line.123"></a>
-<span class="sourceLineNo">124</span>    *<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    * @param s The string to decode.<a name="line.125"></a>
-<span class="sourceLineNo">126</span>    * @return The decoded string, or &lt;jk&gt;null&lt;/jk&gt; if input is &lt;jk&gt;null&lt;/jk&gt;.<a name="line.126"></a>
-<span class="sourceLineNo">127</span>    */<a name="line.127"></a>
-<span class="sourceLineNo">128</span>   public static String decode(String s) {<a name="line.128"></a>
-<span class="sourceLineNo">129</span>      if (s == null)<a name="line.129"></a>
-<span class="sourceLineNo">130</span>         return s;<a name="line.130"></a>
-<span class="sourceLineNo">131</span>      boolean needsDecode = false;<a name="line.131"></a>
-<span class="sourceLineNo">132</span>      for (int i = 0; i &lt; s.length() &amp;&amp; ! needsDecode; i++) {<a name="line.132"></a>
-<span class="sourceLineNo">133</span>         char c = s.charAt(i);<a name="line.133"></a>
-<span class="sourceLineNo">134</span>         if (c == '+' || c == '%')<a name="line.134"></a>
-<span class="sourceLineNo">135</span>            needsDecode = true;<a name="line.135"></a>
-<span class="sourceLineNo">136</span>      }<a name="line.136"></a>
-<span class="sourceLineNo">137</span>      if (needsDecode)<a name="line.137"></a>
-<span class="sourceLineNo">138</span>      try {<a name="line.138"></a>
-<span class="sourceLineNo">139</span>            return URLDecoder.decode(s, "UTF-8");<a name="line.139"></a>
-<span class="sourceLineNo">140</span>         } catch (UnsupportedEncodingException e) {/* Won't happen */}<a name="line.140"></a>
-<span class="sourceLineNo">141</span>      return s;<a name="line.141"></a>
-<span class="sourceLineNo">142</span>   }<a name="line.142"></a>
-<span class="sourceLineNo">143</span><a name="line.143"></a>
-<span class="sourceLineNo">144</span>   // Characters that do not need to be URL-encoded<a name="line.144"></a>
-<span class="sourceLineNo">145</span>   private static final AsciiSet unencodedChars = new AsciiSet("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.!~*'()\\");<a name="line.145"></a>
-<span class="sourceLineNo">146</span><a name="line.146"></a>
-<span class="sourceLineNo">147</span>   /**<a name="line.147"></a>
-<span class="sourceLineNo">148</span>    * Encodes a &lt;code&gt;application/x-www-form-urlencoded&lt;/code&gt; string using &lt;code&gt;UTF-8&lt;/code&gt; encoding scheme.<a name="line.148"></a>
-<span class="sourceLineNo">149</span>    *<a name="line.149"></a>
-<span class="sourceLineNo">150</span>    * @param s The string to encode.<a name="line.150"></a>
-<span class="sourceLineNo">151</span>    * @return The encoded string, or &lt;jk&gt;null&lt;/jk&gt; if input is &lt;jk&gt;null&lt;/jk&gt;.<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    */<a name="line.152"></a>
-<span class="sourceLineNo">153</span>   public static String encode(String s) {<a name="line.153"></a>
-<span class="sourceLineNo">154</span>      if (s == null)<a name="line.154"></a>
-<span class="sourceLineNo">155</span>         return null;<a name="line.155"></a>
-<span class="sourceLineNo">156</span>      boolean needsEncode = false;<a name="line.156"></a>
-<span class="sourceLineNo">157</span>      for (int i = 0; i &lt; s.length() &amp;&amp; ! needsEncode; i++)<a name="line.157"></a>
-<span class="sourceLineNo">158</span>         needsEncode |= (! unencodedChars.contains(s.charAt(i)));<a name="line.158"></a>
-<span class="sourceLineNo">159</span>      if (needsEncode)<a name="line.159"></a>
-<span class="sourceLineNo">160</span>      try {<a name="line.160"></a>
-<span class="sourceLineNo">161</span>            return URLEncoder.encode(s, "UTF-8");<a name="line.161"></a>
-<span class="sourceLineNo">162</span>         } catch (UnsupportedEncodingException e) {/* Won't happen */}<a name="line.162"></a>
-<span class="sourceLineNo">163</span>      return s;<a name="line.163"></a>
-<span class="sourceLineNo">164</span>   }<a name="line.164"></a>
-<span class="sourceLineNo">165</span><a name="line.165"></a>
-<span class="sourceLineNo">166</span>   /**<a name="line.166"></a>
-<span class="sourceLineNo">167</span>    * Identical to {@link HttpServletRequest#getPathInfo()} but doesn't decode encoded characters.<a name="line.167"></a>
-<span class="sourceLineNo">168</span>    *<a name="line.168"></a>
-<span class="sourceLineNo">169</span>    * @param req The HTTP request<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    * @return The undecoded path info.<a name="line.170"></a>
-<span class="sourceLineNo">171</span>    */<a name="line.171"></a>
-<span class="sourceLineNo">172</span>   public static String getPathInfoUndecoded(HttpServletRequest req) {<a name="line.172"></a>
-<span class="sourceLineNo">173</span>      String requestURI = req.getRequestURI();<a name="line.173"></a>
-<span class="sourceLineNo">174</span>      String contextPath = req.getContextPath();<a name="line.174"></a>
-<span class="sourceLineNo">175</span>      String servletPath = req.getServletPath();<a name="line.175"></a>
-<span class="sourceLineNo">176</span>      int l = contextPath.length() + servletPath.length();<a name="line.176"></a>
-<span class="sourceLineNo">177</span>      if (requestURI.length() == l)<a name="line.177"></a>
-<span class="sourceLineNo">178</span>         return null;<a name="line.178"></a>
-<span class="sourceLineNo">179</span>      return requestURI.substring(l);<a name="line.179"></a>
-<span class="sourceLineNo">180</span>   }<a name="line.180"></a>
-<span class="sourceLineNo">181</span><a name="line.181"></a>
-<span class="sourceLineNo">182</span>   /**<a name="line.182"></a>
-<span class="sourceLineNo">183</span>    * Efficiently trims the path info part from a request URI.<a name="line.183"></a>
-<span class="sourceLineNo">184</span>    * &lt;p&gt;<a name="line.184"></a>
-<span class="sourceLineNo">185</span>    * The result is the URI of the servlet itself.<a name="line.185"></a>
-<span class="sourceLineNo">186</span>    *<a name="line.186"></a>
-<span class="sourceLineNo">187</span>    * @param requestURI The value returned by {@link HttpServletRequest#getRequestURL()}<a name="line.187"></a>
-<span class="sourceLineNo">188</span>    * @param contextPath The value returned by {@link HttpServletRequest#getContextPath()}<a name="line.188"></a>
-<span class="sourceLineNo">189</span>    * @param servletPath The value returned by {@link HttpServletRequest#getServletPath()}<a name="line.189"></a>
-<span class="sourceLineNo">190</span>    * @return The same StringBuilder with remainder trimmed.<a name="line.190"></a>
-<span class="sourceLineNo">191</span>    */<a name="line.191"></a>
-<span class="sourceLineNo">192</span>   public static StringBuffer trimPathInfo(StringBuffer requestURI, String contextPath, String servletPath) {<a name="line.192"></a>
-<span class="sourceLineNo">193</span>      if (servletPath.equals("/"))<a name="line.193"></a>
-<span class="sourceLineNo">194</span>         servletPath = "";<a name="line.194"></a>
-<span class="sourceLineNo">195</span>      if (contextPath.equals("/"))<a name="line.195"></a>
-<span class="sourceLineNo">196</span>         contextPath = "";<a name="line.196"></a>
-<span class="sourceLineNo">197</span><a name="line.197"></a>
-<span class="sourceLineNo">198</span>      try {<a name="line.198"></a>
-<span class="sourceLineNo">199</span>         // Given URL:  http://hostname:port/servletPath/extra<a name="line.199"></a>
-<span class="sourceLineNo">200</span>         // We want:    http://hostname:port/servletPath<a name="line.200"></a>
-<span class="sourceLineNo">201</span>         int sc = 0;<a name="line.201"></a>
-<span class="sourceLineNo">202</span>         for (int i = 0; i &lt; requestURI.length(); i++) {<a name="line.202"></a>
-<span class="sourceLineNo">203</span>            char c = requestURI.charAt(i);<a name="line.203"></a>
-<span class="sourceLineNo">204</span>            if (c == '/') {<a name="line.204"></a>
-<span class="sourceLineNo">205</span>               sc++;<a name="line.205"></a>
-<span class="sourceLineNo">206</span>               if (sc == 3) {<a name="line.206"></a>
-<span class="sourceLineNo">207</span>                  if (servletPath.isEmpty()) {<a name="line.207"></a>
-<span class="sourceLineNo">208</span>                     requestURI.setLength(i);<a name="line.208"></a>
-<span class="sourceLineNo">209</span>                     return requestURI;<a name="line.209"></a>
-<span class="sourceLineNo">210</span>                  }<a name="line.210"></a>
-<span class="sourceLineNo">211</span><a name="line.211"></a>
-<span class="sourceLineNo">212</span>                  // Make sure context path follows the authority.<a name="line.212"></a>
-<span class="sourceLineNo">213</span>                  for (int j = 0; j &lt; contextPath.length(); i++, j++)<a name="line.213"></a>
-<span class="sourceLineNo">214</span>                     if (requestURI.charAt(i) != contextPath.charAt(j))<a name="line.214"></a>
-<span class="sourceLineNo">215</span>                        throw new Exception("case=1");<a name="line.215"></a>
-<span class="sourceLineNo">216</span><a name="line.216"></a>
-<span class="sourceLineNo">217</span>                  // Make sure servlet path follows the authority.<a name="line.217"></a>
-<span class="sourceLineNo">218</span>                  for (int j = 0; j &lt; servletPath.length(); i++, j++)<a name="line.218"></a>
-<span class="sourceLineNo">219</span>                     if (requestURI.charAt(i) != servletPath.charAt(j))<a name="line.219"></a>
-<span class="sourceLineNo">220</span>                        throw new Exception("case=2");<a name="line.220"></a>
-<span class="sourceLineNo">221</span><a name="line.221"></a>
-<span class="sourceLineNo">222</span>                  // Make sure servlet path isn't a false match (e.g. /foo2 should not match /foo)<a name="line.222"></a>
-<span class="sourceLineNo">223</span>                  c = (requestURI.length() == i ? '/' : requestURI.charAt(i));<a name="line.223"></a>
-<span class="sourceLineNo">224</span>                  if (c == '/' || c == '?') {<a name="line.224"></a>
-<span class="sourceLineNo">225</span>                     requestURI.setLength(i);<a name="line.225"></a>
-<span class="sourceLineNo">226</span>                     return requestURI;<a name="line.226"></a>
-<span class="sourceLineNo">227</span>                  }<a name="line.227"></a>
-<span class="sourceLineNo">228</span><a name="line.228"></a>
-<span class="sourceLineNo">229</span>                  throw new Exception("case=3");<a name="line.229"></a>
-<span class="sourceLineNo">230</span>               }<a name="line.230"></a>
-<span class="sourceLineNo">231</span>            } else if (c == '?') {<a name="line.231"></a>
-<span class="sourceLineNo">232</span>               if (sc != 2)<a name="line.232"></a>
-<span class="sourceLineNo">233</span>                  throw new Exception("case=4");<a name="line.233"></a>
-<span class="sourceLineNo">234</span>               if (servletPath.isEmpty()) {<a name="line.234"></a>
-<span class="sourceLineNo">235</span>                  requestURI.setLength(i);<a name="line.235"></a>
-<span class="sourceLineNo">236</span>                  return requestURI;<a name="line.236"></a>
-<span class="sourceLineNo">237</span>               }<a name="line.237"></a>
-<span class="sourceLineNo">238</span>               throw new Exception("case=5");<a name="line.238"></a>
-<span class="sourceLineNo">239</span>            }<a name="line.239"></a>
-<span class="sourceLineNo">240</span>         }<a name="line.240"></a>
-<span class="sourceLineNo">241</span>         if (servletPath.isEmpty())<a name="line.241"></a>
-<span class="sourceLineNo">242</span>            return requestURI;<a name="line.242"></a>
-<span class="sourceLineNo">243</span>         throw new Exception("case=6");<a name="line.243"></a>
-<span class="sourceLineNo">244</span>      } catch (Exception e) {<a name="line.244"></a>
-<span class="sourceLineNo">245</span>         throw new RuntimeException("Could not find servlet path in request URI.  URI=["+requestURI+"], servletPath=["+servletPath+"]", e);<a name="line.245"></a>
-<span class="sourceLineNo">246</span>      }<a name="line.246"></a>
-<span class="sourceLineNo">247</span>   }<a name="line.247"></a>
-<span class="sourceLineNo">248</span><a name="line.248"></a>
-<span class="sourceLineNo">249</span>   static String[] parseHeader(String s) {<a name="line.249"></a>
-<span class="sourceLineNo">250</span>      int i = s.indexOf(':');<a name="line.250"></a>
-<span class="sourceLineNo">251</span>      if (i == -1)<a name="line.251"></a>
-<span class="sourceLineNo">252</span>         return null;<a name="line.252"></a>
-<span class="sourceLineNo">253</span>      String name = s.substring(0, i).trim().toLowerCase(Locale.ENGLISH);<a name="line.253"></a>
-<span class="sourceLineNo">254</span>      String val = s.substring(i+1).trim();<a name="line.254"></a>
-<span class="sourceLineNo">255</span>      return new String[]{name,val};<a name="line.255"></a>
-<span class="sourceLineNo">256</span>   }<a name="line.256"></a>
-<span class="sourceLineNo">257</span>}<a name="line.257"></a>
+<span class="sourceLineNo">021</span>/**<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Various reusable utility methods.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> */<a name="line.23"></a>
+<span class="sourceLineNo">024</span>public final class RestUtils {<a name="line.24"></a>
+<span class="sourceLineNo">025</span><a name="line.25"></a>
+<span class="sourceLineNo">026</span>   /**<a name="line.26"></a>
+<span class="sourceLineNo">027</span>    * Returns readable text for an HTTP response code.<a name="line.27"></a>
+<span class="sourceLineNo">028</span>    *<a name="line.28"></a>
+<span class="sourceLineNo">029</span>    * @param rc The HTTP response code.<a name="line.29"></a>
+<span class="sourceLineNo">030</span>    * @return Readable text for an HTTP response code, or &lt;jk&gt;null&lt;/jk&gt; if it's an invalid code.<a name="line.30"></a>
+<span class="sourceLineNo">031</span>    */<a name="line.31"></a>
+<span class="sourceLineNo">032</span>   public static String getHttpResponseText(int rc) {<a name="line.32"></a>
+<span class="sourceLineNo">033</span>      return httpMsgs.get(rc);<a name="line.33"></a>
+<span class="sourceLineNo">034</span>   }<a name="line.34"></a>
+<span class="sourceLineNo">035</span><a name="line.35"></a>
+<span class="sourceLineNo">036</span>   private static Map&lt;Integer,String&gt; httpMsgs = new AMap&lt;Integer,String&gt;()<a name="line.36"></a>
+<span class="sourceLineNo">037</span>      .append(200, "OK")<a name="line.37"></a>
+<span class="sourceLineNo">038</span>      .append(201, "Created")<a name="line.38"></a>
+<span class="sourceLineNo">039</span>      .append(202, "Accepted")<a name="line.39"></a>
+<span class="sourceLineNo">040</span>      .append(203, "Non-Authoritative Information")<a name="line.40"></a>
+<span class="sourceLineNo">041</span>      .append(204, "No Content")<a name="line.41"></a>
+<span class="sourceLineNo">042</span>      .append(205, "Reset Content")<a name="line.42"></a>
+<span class="sourceLineNo">043</span>      .append(206, "Partial Content")<a name="line.43"></a>
+<span class="sourceLineNo">044</span>      .append(300, "Multiple Choices")<a name="line.44"></a>
+<span class="sourceLineNo">045</span>      .append(301, "Moved Permanently")<a name="line.45"></a>
+<span class="sourceLineNo">046</span>      .append(302, "Temporary Redirect")<a name="line.46"></a>
+<span class="sourceLineNo">047</span>      .append(303, "See Other")<a name="line.47"></a>
+<span class="sourceLineNo">048</span>      .append(304, "Not Modified")<a name="line.48"></a>
+<span class="sourceLineNo">049</span>      .append(305, "Use Proxy")<a name="line.49"></a>
+<span class="sourceLineNo">050</span>      .append(307, "Temporary Redirect")<a name="line.50"></a>
+<span class="sourceLineNo">051</span>      .append(400, "Bad Request")<a name="line.51"></a>
+<span class="sourceLineNo">052</span>      .append(401, "Unauthorized")<a name="line.52"></a>
+<span class="sourceLineNo">053</span>      .append(402, "Payment Required")<a name="line.53"></a>
+<span class="sourceLineNo">054</span>      .append(403, "Forbidden")<a name="line.54"></a>
+<span class="sourceLineNo">055</span>      .append(404, "Not Found")<a name="line.55"></a>
+<span class="sourceLineNo">056</span>      .append(405, "Method Not Allowed")<a name="line.56"></a>
+<span class="sourceLineNo">057</span>      .append(406, "Not Acceptable")<a name="line.57"></a>
+<span class="sourceLineNo">058</span>      .append(407, "Proxy Authentication Required")<a name="line.58"></a>
+<span class="sourceLineNo">059</span>      .append(408, "Request Time-Out")<a name="line.59"></a>
+<span class="sourceLineNo">060</span>      .append(409, "Conflict")<a name="line.60"></a>
+<span class="sourceLineNo">061</span>      .append(410, "Gone")<a name="line.61"></a>
+<span class="sourceLineNo">062</span>      .append(411, "Length Required")<a name="line.62"></a>
+<span class="sourceLineNo">063</span>      .append(412, "Precondition Failed")<a name="line.63"></a>
+<span class="sourceLineNo">064</span>      .append(413, "Request Entity Too Large")<a name="line.64"></a>
+<span class="sourceLineNo">065</span>      .append(414, "Request-URI Too Large")<a name="line.65"></a>
+<span class="sourceLineNo">066</span>      .append(415, "Unsupported Media Type")<a name="line.66"></a>
+<span class="sourceLineNo">067</span>      .append(500, "Internal Server Error")<a name="line.67"></a>
+<span class="sourceLineNo">068</span>      .append(501, "Not Implemented")<a name="line.68"></a>
+<span class="sourceLineNo">069</span>      .append(502, "Bad Gateway")<a name="line.69"></a>
+<span class="sourceLineNo">070</span>      .append(503, "Service Unavailable")<a name="line.70"></a>
+<span class="sourceLineNo">071</span>      .append(504, "Gateway Timeout")<a name="line.71"></a>
+<span class="sourceLineNo">072</span>      .append(505, "HTTP Version Not Supported")<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   ;<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span>   /**<a name="line.75"></a>
+<span class="sourceLineNo">076</span>    * Identical to {@link HttpServletRequest#getPathInfo()} but doesn't decode encoded characters.<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    *<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    * @param req The HTTP request<a name="line.78"></a>
+<span class="sourceLineNo">079</span>    * @return The undecoded path info.<a name="line.79"></a>
+<span class="sourceLineNo">080</span>    */<a name="line.80"></a>
+<span class="sourceLineNo">081</span>   public static String getPathInfoUndecoded(HttpServletRequest req) {<a name="line.81"></a>
+<span class="sourceLineNo">082</span>      String requestURI = req.getRequestURI();<a name="line.82"></a>
+<span class="sourceLineNo">083</span>      String contextPath = req.getContextPath();<a name="line.83"></a>
+<span class="sourceLineNo">084</span>      String servletPath = req.getServletPath();<a name="line.84"></a>
+<span class="sourceLineNo">085</span>      int l = contextPath.length() + servletPath.length();<a name="line.85"></a>
+<span class="sourceLineNo">086</span>      if (requestURI.length() == l)<a name="line.86"></a>
+<span class="sourceLineNo">087</span>         return null;<a name="line.87"></a>
+<span class="sourceLineNo">088</span>      return requestURI.substring(l);<a name="line.88"></a>
+<span class="sourceLineNo">089</span>   }<a name="line.89"></a>
+<span class="sourceLineNo">090</span><a name="line.90"></a>
+<span class="sourceLineNo">091</span>   /**<a name="line.91"></a>
+<span class="sourceLineNo">092</span>    * Efficiently trims the path info part from a request URI.<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    * &lt;p&gt;<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    * The result is the URI of the servlet itself.<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    *<a name="line.95"></a>
+<span class="sourceLineNo">096</span>    * @param requestURI The value returned by {@link HttpServletRequest#getRequestURL()}<a name="line.96"></a>
+<span class="sourceLineNo">097</span>    * @param contextPath The value returned by {@link HttpServletRequest#getContextPath()}<a name="line.97"></a>
+<span class="sourceLineNo">098</span>    * @param servletPath The value returned by {@link HttpServletRequest#getServletPath()}<a name="line.98"></a>
+<span class="sourceLineNo">099</span>    * @return The same StringBuilder with remainder trimmed.<a name="line.99"></a>
+<span class="sourceLineNo">100</span>    */<a name="line.100"></a>
+<span class="sourceLineNo">101</span>   public static StringBuffer trimPathInfo(StringBuffer requestURI, String contextPath, String servletPath) {<a name="line.101"></a>
+<span class="sourceLineNo">102</span>      if (servletPath.equals("/"))<a name="line.102"></a>
+<span class="sourceLineNo">103</span>         servletPath = "";<a name="line.103"></a>
+<span class="sourceLineNo">104</span>      if (contextPath.equals("/"))<a name="line.104"></a>
+<span class="sourceLineNo">105</span>         contextPath = "";<a name="line.105"></a>
+<span class="sourceLineNo">106</span><a name="line.106"></a>
+<span class="sourceLineNo">107</span>      try {<a name="line.107"></a>
+<span class="sourceLineNo">108</span>         // Given URL:  http://hostname:port/servletPath/extra<a name="line.108"></a>
+<span class="sourceLineNo">109</span>         // We want:    http://hostname:port/servletPath<a name="line.109"></a>
+<span class="sourceLineNo">110</span>         int sc = 0;<a name="line.110"></a>
+<span class="sourceLineNo">111</span>         for (int i = 0; i &lt; requestURI.length(); i++) {<a name="line.111"></a>
+<span class="sourceLineNo">112</span>            char c = requestURI.charAt(i);<a name="line.112"></a>
+<span class="sourceLineNo">113</span>            if (c == '/') {<a name="line.113"></a>
+<span class="sourceLineNo">114</span>               sc++;<a name="line.114"></a>
+<span class="sourceLineNo">115</span>               if (sc == 3) {<a name="line.115"></a>
+<span class="sourceLineNo">116</span>                  if (servletPath.isEmpty()) {<a name="line.116"></a>
+<span class="sourceLineNo">117</span>                     requestURI.setLength(i);<a name="line.117"></a>
+<span class="sourceLineNo">118</span>                     return requestURI;<a name="line.118"></a>
+<span class="sourceLineNo">119</span>                  }<a name="line.119"></a>
+<span class="sourceLineNo">120</span><a name="line.120"></a>
+<span class="sourceLineNo">121</span>                  // Make sure context path follows the authority.<a name="line.121"></a>
+<span class="sourceLineNo">122</span>                  for (int j = 0; j &lt; contextPath.length(); i++, j++)<a name="line.122"></a>
+<span class="sourceLineNo">123</span>                     if (requestURI.charAt(i) != contextPath.charAt(j))<a name="line.123"></a>
+<span class="sourceLineNo">124</span>                        throw new Exception("case=1");<a name="line.124"></a>
+<span class="sourceLineNo">125</span><a name="line.125"></a>
+<span class="sourceLineNo">126</span>                  // Make sure servlet path follows the authority.<a name="line.126"></a>
+<span class="sourceLineNo">127</span>                  for (int j = 0; j &lt; servletPath.length(); i++, j++)<a name="line.127"></a>
+<span class="sourceLineNo">128</span>                     if (requestURI.charAt(i) != servletPath.charAt(j))<a name="line.128"></a>
+<span class="sourceLineNo">129</span>                        throw new Exception("case=2");<a name="line.129"></a>
+<span class="sourceLineNo">130</span><a name="line.130"></a>
+<span class="sourceLineNo">131</span>                  // Make sure servlet path isn't a false match (e.g. /foo2 should not match /foo)<a name="line.131"></a>
+<span class="sourceLineNo">132</span>                  c = (requestURI.length() == i ? '/' : requestURI.charAt(i));<a name="line.132"></a>
+<span class="sourceLineNo">133</span>                  if (c == '/' || c == '?') {<a name="line.133"></a>
+<span class="sourceLineNo">134</span>                     requestURI.setLength(i);<a name="line.134"></a>
+<span class="sourceLineNo">135</span>                     return requestURI;<a name="line.135"></a>
+<span class="sourceLineNo">136</span>                  }<a name="line.136"></a>
+<span class="sourceLineNo">137</span><a name="line.137"></a>
+<span class="sourceLineNo">138</span>                  throw new Exception("case=3");<a name="line.138"></a>
+<span class="sourceLineNo">139</span>               }<a name="line.139"></a>
+<span class="sourceLineNo">140</span>            } else if (c == '?') {<a name="line.140"></a>
+<span class="sourceLineNo">141</span>               if (sc != 2)<a name="line.141"></a>
+<span class="sourceLineNo">142</span>                  throw new Exception("case=4");<a name="line.142"></a>
+<span class="sourceLineNo">143</span>               if (servletPath.isEmpty()) {<a name="line.143"></a>
+<span class="sourceLineNo">144</span>                  requestURI.setLength(i);<a name="line.144"></a>
+<span class="sourceLineNo">145</span>                  return requestURI;<a name="line.145"></a>
+<span class="sourceLineNo">146</span>               }<a name="line.146"></a>
+<span class="sourceLineNo">147</span>               throw new Exception("case=5");<a name="line.147"></a>
+<span class="sourceLineNo">148</span>            }<a name="line.148"></a>
+<span class="sourceLineNo">149</span>         }<a name="line.149"></a>
+<span class="sourceLineNo">150</span>         if (servletPath.isEmpty())<a name="line.150"></a>
+<span class="sourceLineNo">151</span>            return requestURI;<a name="line.151"></a>
+<span class="sourceLineNo">152</span>         throw new Exception("case=6");<a name="line.152"></a>
+<span class="sourceLineNo">153</span>      } catch (Exception e) {<a name="line.153"></a>
+<span class="sourceLineNo">154</span>         throw new RuntimeException("Could not find servlet path in request URI.  URI=["+requestURI+"], servletPath=["+servletPath+"]", e);<a name="line.154"></a>
+<span class="sourceLineNo">155</span>      }<a name="line.155"></a>
+<span class="sourceLineNo">156</span>   }<a name="line.156"></a>
+<span class="sourceLineNo">157</span><a name="line.157"></a>
+<span class="sourceLineNo">158</span>   static String[] parseHeader(String s) {<a name="line.158"></a>
+<span class="sourceLineNo">159</span>      int i = s.indexOf(':');<a name="line.159"></a>
+<span class="sourceLineNo">160</span>      if (i == -1)<a name="line.160"></a>
+<span class="sourceLineNo">161</span>         return null;<a name="line.161"></a>
+<span class="sourceLineNo">162</span>      String name = s.substring(0, i).trim().toLowerCase(Locale.ENGLISH);<a name="line.162"></a>
+<span class="sourceLineNo">163</span>      String val = s.substring(i+1).trim();<a name="line.163"></a>
+<span class="sourceLineNo">164</span>      return new String[]{name,val};<a name="line.164"></a>
+<span class="sourceLineNo">165</span>   }<a name="line.165"></a>
+<span class="sourceLineNo">166</span>}<a name="line.166"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/UrlPathPattern.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/UrlPathPattern.html b/content/site/apidocs/src-html/org/apache/juneau/rest/UrlPathPattern.html
index 6d5735c..77b8205 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/UrlPathPattern.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/UrlPathPattern.html
@@ -20,181 +20,180 @@
 <span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
 <span class="sourceLineNo">013</span>package org.apache.juneau.rest;<a name="line.13"></a>
 <span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import static org.apache.juneau.rest.RestUtils.*;<a name="line.15"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.15"></a>
 <span class="sourceLineNo">016</span><a name="line.16"></a>
 <span class="sourceLineNo">017</span>import java.util.*;<a name="line.17"></a>
 <span class="sourceLineNo">018</span>import java.util.regex.*;<a name="line.18"></a>
 <span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>import org.apache.juneau.internal.*;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import org.apache.juneau.rest.annotation.*;<a name="line.21"></a>
-<span class="sourceLineNo">022</span><a name="line.22"></a>
-<span class="sourceLineNo">023</span>/**<a name="line.23"></a>
-<span class="sourceLineNo">024</span> * A parsed path pattern constructed from a {@link RestMethod#path()} value.<a name="line.24"></a>
-<span class="sourceLineNo">025</span> * &lt;p&gt;<a name="line.25"></a>
-<span class="sourceLineNo">026</span> * Handles aspects of matching and precedence ordering.<a name="line.26"></a>
-<span class="sourceLineNo">027</span> */<a name="line.27"></a>
-<span class="sourceLineNo">028</span>public final class UrlPathPattern implements Comparable&lt;UrlPathPattern&gt; {<a name="line.28"></a>
-<span class="sourceLineNo">029</span><a name="line.29"></a>
-<span class="sourceLineNo">030</span>   private final Pattern pattern;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>   private final String patternString;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>   private final boolean isOnlyDotAll, isDotAll;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>   private final String[] vars;<a name="line.33"></a>
-<span class="sourceLineNo">034</span><a name="line.34"></a>
-<span class="sourceLineNo">035</span>   /**<a name="line.35"></a>
-<span class="sourceLineNo">036</span>    * Constructor.<a name="line.36"></a>
-<span class="sourceLineNo">037</span>    *<a name="line.37"></a>
-<span class="sourceLineNo">038</span>    * @param patternString The raw pattern string from the {@link RestMethod#path()} annotation.<a name="line.38"></a>
-<span class="sourceLineNo">039</span>    */<a name="line.39"></a>
-<span class="sourceLineNo">040</span>   public UrlPathPattern(String patternString) {<a name="line.40"></a>
-<span class="sourceLineNo">041</span>      this.patternString = patternString;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>      Builder b = new Builder(patternString);<a name="line.42"></a>
-<span class="sourceLineNo">043</span>      pattern = b.pattern;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>      isDotAll = b.isDotAll;<a name="line.44"></a>
-<span class="sourceLineNo">045</span>      isOnlyDotAll = b.isOnlyDotAll;<a name="line.45"></a>
-<span class="sourceLineNo">046</span>      vars = b.vars.toArray(new String[b.vars.size()]);<a name="line.46"></a>
-<span class="sourceLineNo">047</span>   }<a name="line.47"></a>
-<span class="sourceLineNo">048</span><a name="line.48"></a>
-<span class="sourceLineNo">049</span>   @SuppressWarnings("hiding")<a name="line.49"></a>
-<span class="sourceLineNo">050</span>   class Builder {<a name="line.50"></a>
-<span class="sourceLineNo">051</span>      boolean isDotAll, isOnlyDotAll;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>      Pattern pattern;<a name="line.52"></a>
-<span class="sourceLineNo">053</span>      List&lt;String&gt; vars = new LinkedList&lt;String&gt;();<a name="line.53"></a>
-<span class="sourceLineNo">054</span><a name="line.54"></a>
-<span class="sourceLineNo">055</span>      private Builder(String patternString) {<a name="line.55"></a>
-<span class="sourceLineNo">056</span>         if (! StringUtils.startsWith(patternString, '/'))<a name="line.56"></a>
-<span class="sourceLineNo">057</span>            patternString = '/' + patternString;<a name="line.57"></a>
-<span class="sourceLineNo">058</span>         if (patternString.equals("/*")) {<a name="line.58"></a>
-<span class="sourceLineNo">059</span>            isOnlyDotAll = true;<a name="line.59"></a>
-<span class="sourceLineNo">060</span>            return;<a name="line.60"></a>
-<span class="sourceLineNo">061</span>         }<a name="line.61"></a>
-<span class="sourceLineNo">062</span>         if (patternString.endsWith("/*"))<a name="line.62"></a>
-<span class="sourceLineNo">063</span>            isDotAll = true;<a name="line.63"></a>
-<span class="sourceLineNo">064</span><a name="line.64"></a>
-<span class="sourceLineNo">065</span>         // Find all {xxx} variables.<a name="line.65"></a>
-<span class="sourceLineNo">066</span>         Pattern p = Pattern.compile("\\{([^\\}]+)\\}");<a name="line.66"></a>
-<span class="sourceLineNo">067</span>         Matcher m = p.matcher(patternString);<a name="line.67"></a>
-<span class="sourceLineNo">068</span>         while (m.find())<a name="line.68"></a>
-<span class="sourceLineNo">069</span>            vars.add(m.group(1));<a name="line.69"></a>
-<span class="sourceLineNo">070</span><a name="line.70"></a>
-<span class="sourceLineNo">071</span>         patternString = patternString.replaceAll("\\{[^\\}]+\\}", "([^\\/]+)");<a name="line.71"></a>
-<span class="sourceLineNo">072</span>         patternString = patternString.replaceAll("\\/\\*$", "((?:)|(?:\\/.*))");<a name="line.72"></a>
-<span class="sourceLineNo">073</span>         pattern = Pattern.compile(patternString);<a name="line.73"></a>
-<span class="sourceLineNo">074</span>      }<a name="line.74"></a>
-<span class="sourceLineNo">075</span>   }<a name="line.75"></a>
-<span class="sourceLineNo">076</span><a name="line.76"></a>
-<span class="sourceLineNo">077</span>   /**<a name="line.77"></a>
-<span class="sourceLineNo">078</span>    * Returns a non-&lt;jk&gt;null&lt;/jk&gt; value if the specified path matches this pattern.<a name="line.78"></a>
-<span class="sourceLineNo">079</span>    *<a name="line.79"></a>
-<span class="sourceLineNo">080</span>    * @param path The path to match against.<a name="line.80"></a>
-<span class="sourceLineNo">081</span>    * @return An array of values matched against &lt;js&gt;"{var}"&lt;/js&gt; variable in the pattern,<a name="line.81"></a>
-<span class="sourceLineNo">082</span>    *    or an empty array if the pattern matched but no vars were present, or &lt;jk&gt;null&lt;/jk&gt;<a name="line.82"></a>
-<span class="sourceLineNo">083</span>    *    if the specified path didn't match the pattern.<a name="line.83"></a>
-<span class="sourceLineNo">084</span>    */<a name="line.84"></a>
-<span class="sourceLineNo">085</span>   protected String[] match(String path) {<a name="line.85"></a>
-<span class="sourceLineNo">086</span><a name="line.86"></a>
-<span class="sourceLineNo">087</span>      if (isOnlyDotAll) {<a name="line.87"></a>
-<span class="sourceLineNo">088</span>         // Remainder always gets leading slash trimmed.<a name="line.88"></a>
-<span class="sourceLineNo">089</span>         if (path != null)<a name="line.89"></a>
-<span class="sourceLineNo">090</span>            path = path.substring(1);<a name="line.90"></a>
-<span class="sourceLineNo">091</span>         return new String[]{path};<a name="line.91"></a>
-<span class="sourceLineNo">092</span>      }<a name="line.92"></a>
-<span class="sourceLineNo">093</span><a name="line.93"></a>
-<span class="sourceLineNo">094</span>      if (path == null)<a name="line.94"></a>
-<span class="sourceLineNo">095</span>         return (patternString.equals("/") ? new String[]{} : null);<a name="line.95"></a>
-<span class="sourceLineNo">096</span><a name="line.96"></a>
-<span class="sourceLineNo">097</span>      Matcher m = pattern.matcher(path);<a name="line.97"></a>
-<span class="sourceLineNo">098</span>      if (! m.matches())<a name="line.98"></a>
-<span class="sourceLineNo">099</span>         return null;<a name="line.99"></a>
-<span class="sourceLineNo">100</span><a name="line.100"></a>
-<span class="sourceLineNo">101</span>      int len = m.groupCount();<a name="line.101"></a>
-<span class="sourceLineNo">102</span>      String[] v = new String[len];<a name="line.102"></a>
-<span class="sourceLineNo">103</span><a name="line.103"></a>
-<span class="sourceLineNo">104</span>      for (int i = 0; i &lt; len; i++) {<a name="line.104"></a>
-<span class="sourceLineNo">105</span>         if (isDotAll &amp;&amp; i == len-1)<a name="line.105"></a>
-<span class="sourceLineNo">106</span>            v[i] = m.group(i+1).isEmpty() ? null : m.group(i+1).substring(1);<a name="line.106"></a>
-<span class="sourceLineNo">107</span>         else<a name="line.107"></a>
-<span class="sourceLineNo">108</span>         v[i] = decode(m.group(i+1));<a name="line.108"></a>
-<span class="sourceLineNo">109</span>      }<a name="line.109"></a>
-<span class="sourceLineNo">110</span><a name="line.110"></a>
-<span class="sourceLineNo">111</span>      return v;<a name="line.111"></a>
-<span class="sourceLineNo">112</span>   }<a name="line.112"></a>
-<span class="sourceLineNo">113</span><a name="line.113"></a>
-<span class="sourceLineNo">114</span>   /**<a name="line.114"></a>
-<span class="sourceLineNo">115</span>    * Comparator for this object.<a name="line.115"></a>
-<span class="sourceLineNo">116</span>    * The comparator is designed to order URL pattern from most-specific to least-specific.<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    * For example, the following patterns would be ordered as follows:<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    * &lt;ol&gt;<a name="line.118"></a>
-<span class="sourceLineNo">119</span>    *    &lt;li&gt;&lt;code&gt;/foo/bar&lt;/code&gt;<a name="line.119"></a>
-<span class="sourceLineNo">120</span>    *    &lt;li&gt;&lt;code&gt;/foo/bar/*&lt;/code&gt;<a name="line.120"></a>
-<span class="sourceLineNo">121</span>    *    &lt;li&gt;&lt;code&gt;/foo/{id}/bar&lt;/code&gt;<a name="line.121"></a>
-<span class="sourceLineNo">122</span>    *    &lt;li&gt;&lt;code&gt;/foo/{id}/bar/*&lt;/code&gt;<a name="line.122"></a>
-<span class="sourceLineNo">123</span>    *    &lt;li&gt;&lt;code&gt;/foo/{id}&lt;/code&gt;<a name="line.123"></a>
-<span class="sourceLineNo">124</span>    *    &lt;li&gt;&lt;code&gt;/foo/{id}/*&lt;/code&gt;<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    *    &lt;li&gt;&lt;code&gt;/foo&lt;/code&gt;<a name="line.125"></a>
-<span class="sourceLineNo">126</span>    *    &lt;li&gt;&lt;code&gt;/foo/*&lt;/code&gt;<a name="line.126"></a>
-<span class="sourceLineNo">127</span>    * &lt;/ol&gt;<a name="line.127"></a>
-<span class="sourceLineNo">128</span>    */<a name="line.128"></a>
-<span class="sourceLineNo">129</span>   @Override /* Comparable */<a name="line.129"></a>
-<span class="sourceLineNo">130</span>   public int compareTo(UrlPathPattern o) {<a name="line.130"></a>
-<span class="sourceLineNo">131</span>      String s1 = patternString.replaceAll("\\{[^\\}]+\\}", ".").replaceAll("\\w+", "X").replaceAll("\\.", "W");<a name="line.131"></a>
-<span class="sourceLineNo">132</span>      String s2 = o.patternString.replaceAll("\\{[^\\}]+\\}", ".").replaceAll("\\w+", "X").replaceAll("\\.", "W");<a name="line.132"></a>
-<span class="sourceLineNo">133</span>      if (s1.isEmpty())<a name="line.133"></a>
-<span class="sourceLineNo">134</span>         s1 = "+";<a name="line.134"></a>
-<span class="sourceLineNo">135</span>      if (s2.isEmpty())<a name="line.135"></a>
-<span class="sourceLineNo">136</span>         s2 = "+";<a name="line.136"></a>
-<span class="sourceLineNo">137</span>      if (! s1.endsWith("/*"))<a name="line.137"></a>
-<span class="sourceLineNo">138</span>         s1 = s1 + "/W";<a name="line.138"></a>
-<span class="sourceLineNo">139</span>      if (! s2.endsWith("/*"))<a name="line.139"></a>
-<span class="sourceLineNo">140</span>         s2 = s2 + "/W";<a name="line.140"></a>
-<span class="sourceLineNo">141</span>      int c = s2.compareTo(s1);<a name="line.141"></a>
-<span class="sourceLineNo">142</span>      if (c == 0)<a name="line.142"></a>
-<span class="sourceLineNo">143</span>         return o.toRegEx().compareTo(toRegEx());<a name="line.143"></a>
-<span class="sourceLineNo">144</span>      return c;<a name="line.144"></a>
-<span class="sourceLineNo">145</span>   }<a name="line.145"></a>
-<span class="sourceLineNo">146</span><a name="line.146"></a>
-<span class="sourceLineNo">147</span>   @Override /* Object */<a name="line.147"></a>
-<span class="sourceLineNo">148</span>   public boolean equals(Object o) {<a name="line.148"></a>
-<span class="sourceLineNo">149</span>      if (! (o instanceof UrlPathPattern))<a name="line.149"></a>
-<span class="sourceLineNo">150</span>         return false;<a name="line.150"></a>
-<span class="sourceLineNo">151</span>      return (compareTo((UrlPathPattern)o) == 0);<a name="line.151"></a>
-<span class="sourceLineNo">152</span>   }<a name="line.152"></a>
-<span class="sourceLineNo">153</span><a name="line.153"></a>
-<span class="sourceLineNo">154</span>   @Override /* Object */<a name="line.154"></a>
-<span class="sourceLineNo">155</span>   public int hashCode() {<a name="line.155"></a>
-<span class="sourceLineNo">156</span>      return super.hashCode();<a name="line.156"></a>
-<span class="sourceLineNo">157</span>   }<a name="line.157"></a>
-<span class="sourceLineNo">158</span><a name="line.158"></a>
-<span class="sourceLineNo">159</span>   @Override /* Object */<a name="line.159"></a>
-<span class="sourceLineNo">160</span>   public String toString() {<a name="line.160"></a>
-<span class="sourceLineNo">161</span>      return patternString;<a name="line.161"></a>
-<span class="sourceLineNo">162</span>   }<a name="line.162"></a>
-<span class="sourceLineNo">163</span><a name="line.163"></a>
-<span class="sourceLineNo">164</span>   /**<a name="line.164"></a>
-<span class="sourceLineNo">165</span>    * Returns this path pattern as the compiled regular expression.<a name="line.165"></a>
-<span class="sourceLineNo">166</span>    * Useful for debugging.<a name="line.166"></a>
-<span class="sourceLineNo">167</span>    *<a name="line.167"></a>
-<span class="sourceLineNo">168</span>    * @return The path pattern.<a name="line.168"></a>
-<span class="sourceLineNo">169</span>    */<a name="line.169"></a>
-<span class="sourceLineNo">170</span>   public String toRegEx() {<a name="line.170"></a>
-<span class="sourceLineNo">171</span>      return isOnlyDotAll ? "*" : pattern.pattern();<a name="line.171"></a>
-<span class="sourceLineNo">172</span>   }<a name="line.172"></a>
-<span class="sourceLineNo">173</span><a name="line.173"></a>
-<span class="sourceLineNo">174</span>   /**<a name="line.174"></a>
-<span class="sourceLineNo">175</span>    * Bean property getter:  &lt;property&gt;vars&lt;/property&gt;.<a name="line.175"></a>
-<span class="sourceLineNo">176</span>    * @return The value of the &lt;property&gt;vars&lt;/property&gt; property on this bean, or &lt;jk&gt;null&lt;/jk&gt; if it is not set.<a name="line.176"></a>
-<span class="sourceLineNo">177</span>    */<a name="line.177"></a>
-<span class="sourceLineNo">178</span>   public String[] getVars() {<a name="line.178"></a>
-<span class="sourceLineNo">179</span>      return vars;<a name="line.179"></a>
-<span class="sourceLineNo">180</span>   }<a name="line.180"></a>
-<span class="sourceLineNo">181</span><a name="line.181"></a>
-<span class="sourceLineNo">182</span>   /**<a name="line.182"></a>
-<span class="sourceLineNo">183</span>    * Bean property getter:  &lt;property&gt;patternString&lt;/property&gt;.<a name="line.183"></a>
-<span class="sourceLineNo">184</span>    * @return The value of the &lt;property&gt;patternString&lt;/property&gt; property on this bean, or &lt;jk&gt;null&lt;/jk&gt; if it is not set.<a name="line.184"></a>
-<span class="sourceLineNo">185</span>    */<a name="line.185"></a>
-<span class="sourceLineNo">186</span>   public String getPatternString() {<a name="line.186"></a>
-<span class="sourceLineNo">187</span>      return patternString;<a name="line.187"></a>
-<span class="sourceLineNo">188</span>   }<a name="line.188"></a>
-<span class="sourceLineNo">189</span>}<a name="line.189"></a>
+<span class="sourceLineNo">020</span>import org.apache.juneau.rest.annotation.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>/**<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * A parsed path pattern constructed from a {@link RestMethod#path()} value.<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * &lt;p&gt;<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * Handles aspects of matching and precedence ordering.<a name="line.25"></a>
+<span class="sourceLineNo">026</span> */<a name="line.26"></a>
+<span class="sourceLineNo">027</span>public final class UrlPathPattern implements Comparable&lt;UrlPathPattern&gt; {<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span>   private final Pattern pattern;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>   private final String patternString;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>   private final boolean isOnlyDotAll, isDotAll;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>   private final String[] vars;<a name="line.32"></a>
+<span class="sourceLineNo">033</span><a name="line.33"></a>
+<span class="sourceLineNo">034</span>   /**<a name="line.34"></a>
+<span class="sourceLineNo">035</span>    * Constructor.<a name="line.35"></a>
+<span class="sourceLineNo">036</span>    *<a name="line.36"></a>
+<span class="sourceLineNo">037</span>    * @param patternString The raw pattern string from the {@link RestMethod#path()} annotation.<a name="line.37"></a>
+<span class="sourceLineNo">038</span>    */<a name="line.38"></a>
+<span class="sourceLineNo">039</span>   public UrlPathPattern(String patternString) {<a name="line.39"></a>
+<span class="sourceLineNo">040</span>      this.patternString = patternString;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>      Builder b = new Builder(patternString);<a name="line.41"></a>
+<span class="sourceLineNo">042</span>      pattern = b.pattern;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>      isDotAll = b.isDotAll;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>      isOnlyDotAll = b.isOnlyDotAll;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>      vars = b.vars.toArray(new String[b.vars.size()]);<a name="line.45"></a>
+<span class="sourceLineNo">046</span>   }<a name="line.46"></a>
+<span class="sourceLineNo">047</span><a name="line.47"></a>
+<span class="sourceLineNo">048</span>   @SuppressWarnings("hiding")<a name="line.48"></a>
+<span class="sourceLineNo">049</span>   class Builder {<a name="line.49"></a>
+<span class="sourceLineNo">050</span>      boolean isDotAll, isOnlyDotAll;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>      Pattern pattern;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>      List&lt;String&gt; vars = new LinkedList&lt;String&gt;();<a name="line.52"></a>
+<span class="sourceLineNo">053</span><a name="line.53"></a>
+<span class="sourceLineNo">054</span>      private Builder(String patternString) {<a name="line.54"></a>
+<span class="sourceLineNo">055</span>         if (! startsWith(patternString, '/'))<a name="line.55"></a>
+<span class="sourceLineNo">056</span>            patternString = '/' + patternString;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>         if (patternString.equals("/*")) {<a name="line.57"></a>
+<span class="sourceLineNo">058</span>            isOnlyDotAll = true;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>            return;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>         }<a name="line.60"></a>
+<span class="sourceLineNo">061</span>         if (patternString.endsWith("/*"))<a name="line.61"></a>
+<span class="sourceLineNo">062</span>            isDotAll = true;<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span>         // Find all {xxx} variables.<a name="line.64"></a>
+<span class="sourceLineNo">065</span>         Pattern p = Pattern.compile("\\{([^\\}]+)\\}");<a name="line.65"></a>
+<span class="sourceLineNo">066</span>         Matcher m = p.matcher(patternString);<a name="line.66"></a>
+<span class="sourceLineNo">067</span>         while (m.find())<a name="line.67"></a>
+<span class="sourceLineNo">068</span>            vars.add(m.group(1));<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span>         patternString = patternString.replaceAll("\\{[^\\}]+\\}", "([^\\/]+)");<a name="line.70"></a>
+<span class="sourceLineNo">071</span>         patternString = patternString.replaceAll("\\/\\*$", "((?:)|(?:\\/.*))");<a name="line.71"></a>
+<span class="sourceLineNo">072</span>         pattern = Pattern.compile(patternString);<a name="line.72"></a>
+<span class="sourceLineNo">073</span>      }<a name="line.73"></a>
+<span class="sourceLineNo">074</span>   }<a name="line.74"></a>
+<span class="sourceLineNo">075</span><a name="line.75"></a>
+<span class="sourceLineNo">076</span>   /**<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    * Returns a non-&lt;jk&gt;null&lt;/jk&gt; value if the specified path matches this pattern.<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    *<a name="line.78"></a>
+<span class="sourceLineNo">079</span>    * @param path The path to match against.<a name="line.79"></a>
+<span class="sourceLineNo">080</span>    * @return An array of values matched against &lt;js&gt;"{var}"&lt;/js&gt; variable in the pattern,<a name="line.80"></a>
+<span class="sourceLineNo">081</span>    *    or an empty array if the pattern matched but no vars were present, or &lt;jk&gt;null&lt;/jk&gt;<a name="line.81"></a>
+<span class="sourceLineNo">082</span>    *    if the specified path didn't match the pattern.<a name="line.82"></a>
+<span class="sourceLineNo">083</span>    */<a name="line.83"></a>
+<span class="sourceLineNo">084</span>   protected String[] match(String path) {<a name="line.84"></a>
+<span class="sourceLineNo">085</span><a name="line.85"></a>
+<span class="sourceLineNo">086</span>      if (isOnlyDotAll) {<a name="line.86"></a>
+<span class="sourceLineNo">087</span>         // Remainder always gets leading slash trimmed.<a name="line.87"></a>
+<span class="sourceLineNo">088</span>         if (path != null)<a name="line.88"></a>
+<span class="sourceLineNo">089</span>            path = path.substring(1);<a name="line.89"></a>
+<span class="sourceLineNo">090</span>         return new String[]{path};<a name="line.90"></a>
+<span class="sourceLineNo">091</span>      }<a name="line.91"></a>
+<span class="sourceLineNo">092</span><a name="line.92"></a>
+<span class="sourceLineNo">093</span>      if (path == null)<a name="line.93"></a>
+<span class="sourceLineNo">094</span>         return (patternString.equals("/") ? new String[]{} : null);<a name="line.94"></a>
+<span class="sourceLineNo">095</span><a name="line.95"></a>
+<span class="sourceLineNo">096</span>      Matcher m = pattern.matcher(path);<a name="line.96"></a>
+<span class="sourceLineNo">097</span>      if (! m.matches())<a name="line.97"></a>
+<span class="sourceLineNo">098</span>         return null;<a name="line.98"></a>
+<span class="sourceLineNo">099</span><a name="line.99"></a>
+<span class="sourceLineNo">100</span>      int len = m.groupCount();<a name="line.100"></a>
+<span class="sourceLineNo">101</span>      String[] v = new String[len];<a name="line.101"></a>
+<span class="sourceLineNo">102</span><a name="line.102"></a>
+<span class="sourceLineNo">103</span>      for (int i = 0; i &lt; len; i++) {<a name="line.103"></a>
+<span class="sourceLineNo">104</span>         if (isDotAll &amp;&amp; i == len-1)<a name="line.104"></a>
+<span class="sourceLineNo">105</span>            v[i] = m.group(i+1).isEmpty() ? null : m.group(i+1).substring(1);<a name="line.105"></a>
+<span class="sourceLineNo">106</span>         else<a name="line.106"></a>
+<span class="sourceLineNo">107</span>         v[i] = urlDecode(m.group(i+1));<a name="line.107"></a>
+<span class="sourceLineNo">108</span>      }<a name="line.108"></a>
+<span class="sourceLineNo">109</span><a name="line.109"></a>
+<span class="sourceLineNo">110</span>      return v;<a name="line.110"></a>
+<span class="sourceLineNo">111</span>   }<a name="line.111"></a>
+<span class="sourceLineNo">112</span><a name="line.112"></a>
+<span class="sourceLineNo">113</span>   /**<a name="line.113"></a>
+<span class="sourceLineNo">114</span>    * Comparator for this object.<a name="line.114"></a>
+<span class="sourceLineNo">115</span>    * The comparator is designed to order URL pattern from most-specific to least-specific.<a name="line.115"></a>
+<span class="sourceLineNo">116</span>    * For example, the following patterns would be ordered as follows:<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    * &lt;ol&gt;<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    *    &lt;li&gt;&lt;code&gt;/foo/bar&lt;/code&gt;<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    *    &lt;li&gt;&lt;code&gt;/foo/bar/*&lt;/code&gt;<a name="line.119"></a>
+<span class="sourceLineNo">120</span>    *    &lt;li&gt;&lt;code&gt;/foo/{id}/bar&lt;/code&gt;<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    *    &lt;li&gt;&lt;code&gt;/foo/{id}/bar/*&lt;/code&gt;<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    *    &lt;li&gt;&lt;code&gt;/foo/{id}&lt;/code&gt;<a name="line.122"></a>
+<span class="sourceLineNo">123</span>    *    &lt;li&gt;&lt;code&gt;/foo/{id}/*&lt;/code&gt;<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    *    &lt;li&gt;&lt;code&gt;/foo&lt;/code&gt;<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    *    &lt;li&gt;&lt;code&gt;/foo/*&lt;/code&gt;<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    * &lt;/ol&gt;<a name="line.126"></a>
+<span class="sourceLineNo">127</span>    */<a name="line.127"></a>
+<span class="sourceLineNo">128</span>   @Override /* Comparable */<a name="line.128"></a>
+<span class="sourceLineNo">129</span>   public int compareTo(UrlPathPattern o) {<a name="line.129"></a>
+<span class="sourceLineNo">130</span>      String s1 = patternString.replaceAll("\\{[^\\}]+\\}", ".").replaceAll("\\w+", "X").replaceAll("\\.", "W");<a name="line.130"></a>
+<span class="sourceLineNo">131</span>      String s2 = o.patternString.replaceAll("\\{[^\\}]+\\}", ".").replaceAll("\\w+", "X").replaceAll("\\.", "W");<a name="line.131"></a>
+<span class="sourceLineNo">132</span>      if (s1.isEmpty())<a name="line.132"></a>
+<span class="sourceLineNo">133</span>         s1 = "+";<a name="line.133"></a>
+<span class="sourceLineNo">134</span>      if (s2.isEmpty())<a name="line.134"></a>
+<span class="sourceLineNo">135</span>         s2 = "+";<a name="line.135"></a>
+<span class="sourceLineNo">136</span>      if (! s1.endsWith("/*"))<a name="line.136"></a>
+<span class="sourceLineNo">137</span>         s1 = s1 + "/W";<a name="line.137"></a>
+<span class="sourceLineNo">138</span>      if (! s2.endsWith("/*"))<a name="line.138"></a>
+<span class="sourceLineNo">139</span>         s2 = s2 + "/W";<a name="line.139"></a>
+<span class="sourceLineNo">140</span>      int c = s2.compareTo(s1);<a name="line.140"></a>
+<span class="sourceLineNo">141</span>      if (c == 0)<a name="line.141"></a>
+<span class="sourceLineNo">142</span>         return o.toRegEx().compareTo(toRegEx());<a name="line.142"></a>
+<span class="sourceLineNo">143</span>      return c;<a name="line.143"></a>
+<span class="sourceLineNo">144</span>   }<a name="line.144"></a>
+<span class="sourceLineNo">145</span><a name="line.145"></a>
+<span class="sourceLineNo">146</span>   @Override /* Object */<a name="line.146"></a>
+<span class="sourceLineNo">147</span>   public boolean equals(Object o) {<a name="line.147"></a>
+<span class="sourceLineNo">148</span>      if (! (o instanceof UrlPathPattern))<a name="line.148"></a>
+<span class="sourceLineNo">149</span>         return false;<a name="line.149"></a>
+<span class="sourceLineNo">150</span>      return (compareTo((UrlPathPattern)o) == 0);<a name="line.150"></a>
+<span class="sourceLineNo">151</span>   }<a name="line.151"></a>
+<span class="sourceLineNo">152</span><a name="line.152"></a>
+<span class="sourceLineNo">153</span>   @Override /* Object */<a name="line.153"></a>
+<span class="sourceLineNo">154</span>   public int hashCode() {<a name="line.154"></a>
+<span class="sourceLineNo">155</span>      return super.hashCode();<a name="line.155"></a>
+<span class="sourceLineNo">156</span>   }<a name="line.156"></a>
+<span class="sourceLineNo">157</span><a name="line.157"></a>
+<span class="sourceLineNo">158</span>   @Override /* Object */<a name="line.158"></a>
+<span class="sourceLineNo">159</span>   public String toString() {<a name="line.159"></a>
+<span class="sourceLineNo">160</span>      return patternString;<a name="line.160"></a>
+<span class="sourceLineNo">161</span>   }<a name="line.161"></a>
+<span class="sourceLineNo">162</span><a name="line.162"></a>
+<span class="sourceLineNo">163</span>   /**<a name="line.163"></a>
+<span class="sourceLineNo">164</span>    * Returns this path pattern as the compiled regular expression.<a name="line.164"></a>
+<span class="sourceLineNo">165</span>    * Useful for debugging.<a name="line.165"></a>
+<span class="sourceLineNo">166</span>    *<a name="line.166"></a>
+<span class="sourceLineNo">167</span>    * @return The path pattern.<a name="line.167"></a>
+<span class="sourceLineNo">168</span>    */<a name="line.168"></a>
+<span class="sourceLineNo">169</span>   public String toRegEx() {<a name="line.169"></a>
+<span class="sourceLineNo">170</span>      return isOnlyDotAll ? "*" : pattern.pattern();<a name="line.170"></a>
+<span class="sourceLineNo">171</span>   }<a name="line.171"></a>
+<span class="sourceLineNo">172</span><a name="line.172"></a>
+<span class="sourceLineNo">173</span>   /**<a name="line.173"></a>
+<span class="sourceLineNo">174</span>    * Bean property getter:  &lt;property&gt;vars&lt;/property&gt;.<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    * @return The value of the &lt;property&gt;vars&lt;/property&gt; property on this bean, or &lt;jk&gt;null&lt;/jk&gt; if it is not set.<a name="line.175"></a>
+<span class="sourceLineNo">176</span>    */<a name="line.176"></a>
+<span class="sourceLineNo">177</span>   public String[] getVars() {<a name="line.177"></a>
+<span class="sourceLineNo">178</span>      return vars;<a name="line.178"></a>
+<span class="sourceLineNo">179</span>   }<a name="line.179"></a>
+<span class="sourceLineNo">180</span><a name="line.180"></a>
+<span class="sourceLineNo">181</span>   /**<a name="line.181"></a>
+<span class="sourceLineNo">182</span>    * Bean property getter:  &lt;property&gt;patternString&lt;/property&gt;.<a name="line.182"></a>
+<span class="sourceLineNo">183</span>    * @return The value of the &lt;property&gt;patternString&lt;/property&gt; property on this bean, or &lt;jk&gt;null&lt;/jk&gt; if it is not set.<a name="line.183"></a>
+<span class="sourceLineNo">184</span>    */<a name="line.184"></a>
+<span class="sourceLineNo">185</span>   public String getPatternString() {<a name="line.185"></a>
+<span class="sourceLineNo">186</span>      return patternString;<a name="line.186"></a>
+<span class="sourceLineNo">187</span>   }<a name="line.187"></a>
+<span class="sourceLineNo">188</span>}<a name="line.188"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/RestMethod.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/RestMethod.html b/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/RestMethod.html
index f3b0a35..843ff09 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/RestMethod.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/annotation/RestMethod.html
@@ -25,9 +25,9 @@
 <span class="sourceLineNo">017</span><a name="line.17"></a>
 <span class="sourceLineNo">018</span>import java.lang.annotation.*;<a name="line.18"></a>
 <span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>import org.apache.juneau.annotation.*;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import org.apache.juneau.encoders.*;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import org.apache.juneau.parser.*;<a name="line.22"></a>
+<span class="sourceLineNo">020</span>import org.apache.juneau.encoders.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import org.apache.juneau.parser.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import org.apache.juneau.remoteable.*;<a name="line.22"></a>
 <span class="sourceLineNo">023</span>import org.apache.juneau.rest.*;<a name="line.23"></a>
 <span class="sourceLineNo">024</span>import org.apache.juneau.serializer.*;<a name="line.24"></a>
 <span class="sourceLineNo">025</span><a name="line.25"></a>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/client/NameValuePairs.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/client/NameValuePairs.html b/content/site/apidocs/src-html/org/apache/juneau/rest/client/NameValuePairs.html
index 586f184..a5db356 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/client/NameValuePairs.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/client/NameValuePairs.html
@@ -24,34 +24,70 @@
 <span class="sourceLineNo">016</span><a name="line.16"></a>
 <span class="sourceLineNo">017</span>import org.apache.http.*;<a name="line.17"></a>
 <span class="sourceLineNo">018</span>import org.apache.http.client.entity.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>/**<a name="line.20"></a>
-<span class="sourceLineNo">021</span> * Convenience class for constructing instances of &lt;code&gt;List&amp;lt;NameValuePair&amp;gt;&lt;/code&gt;<a name="line.21"></a>
-<span class="sourceLineNo">022</span> *    for the {@link UrlEncodedFormEntity} class.<a name="line.22"></a>
-<span class="sourceLineNo">023</span> *<a name="line.23"></a>
-<span class="sourceLineNo">024</span> * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.24"></a>
-<span class="sourceLineNo">025</span> * &lt;p class='bcode'&gt;<a name="line.25"></a>
-<span class="sourceLineNo">026</span> *    NameValuePairs params = &lt;jk&gt;new&lt;/jk&gt; NameValuePairs()<a name="line.26"></a>
-<span class="sourceLineNo">027</span> *       .append(&lt;jk&gt;new&lt;/jk&gt; BasicNameValuePair(&lt;js&gt;"j_username"&lt;/js&gt;, user))<a name="line.27"></a>
-<span class="sourceLineNo">028</span> *       .append(&lt;jk&gt;new&lt;/jk&gt; BasicNameValuePair(&lt;js&gt;"j_password"&lt;/js&gt;, pw));<a name="line.28"></a>
-<span class="sourceLineNo">029</span> *    request.setEntity(&lt;jk&gt;new&lt;/jk&gt; UrlEncodedFormEntity(params));<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * &lt;/p&gt;<a name="line.30"></a>
-<span class="sourceLineNo">031</span> */<a name="line.31"></a>
-<span class="sourceLineNo">032</span>public final class NameValuePairs extends LinkedList&lt;NameValuePair&gt; {<a name="line.32"></a>
-<span class="sourceLineNo">033</span><a name="line.33"></a>
-<span class="sourceLineNo">034</span>   private static final long serialVersionUID = 1L;<a name="line.34"></a>
-<span class="sourceLineNo">035</span><a name="line.35"></a>
-<span class="sourceLineNo">036</span>   /**<a name="line.36"></a>
-<span class="sourceLineNo">037</span>    * Appends the specified pair to the end of this list.<a name="line.37"></a>
-<span class="sourceLineNo">038</span>    *<a name="line.38"></a>
-<span class="sourceLineNo">039</span>    * @param pair The pair to append to this list.<a name="line.39"></a>
-<span class="sourceLineNo">040</span>    * @return This object (for method chaining).<a name="line.40"></a>
-<span class="sourceLineNo">041</span>    */<a name="line.41"></a>
-<span class="sourceLineNo">042</span>   public NameValuePairs append(NameValuePair pair) {<a name="line.42"></a>
-<span class="sourceLineNo">043</span>      super.add(pair);<a name="line.43"></a>
-<span class="sourceLineNo">044</span>      return this;<a name="line.44"></a>
-<span class="sourceLineNo">045</span>   }<a name="line.45"></a>
-<span class="sourceLineNo">046</span>}<a name="line.46"></a>
+<span class="sourceLineNo">019</span>import org.apache.http.message.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import org.apache.juneau.internal.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import org.apache.juneau.urlencoding.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span>/**<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * Convenience class for constructing instances of &lt;code&gt;List&amp;lt;NameValuePair&amp;gt;&lt;/code&gt;<a name="line.24"></a>
+<span class="sourceLineNo">025</span> *    for the {@link UrlEncodedFormEntity} class.<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * &lt;p&gt;<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * Instances of this method can be passed directly to the {@link RestClient#doPost(Object, Object)} method or<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * {@link RestCall#input(Object)} methods to perform URL-encoded form posts.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> *<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * &lt;p class='bcode'&gt;<a name="line.31"></a>
+<span class="sourceLineNo">032</span> *    NameValuePairs params = &lt;jk&gt;new&lt;/jk&gt; NameValuePairs()<a name="line.32"></a>
+<span class="sourceLineNo">033</span> *       .append(&lt;js&gt;"j_username"&lt;/js&gt;, user)<a name="line.33"></a>
+<span class="sourceLineNo">034</span> *       .append(&lt;js&gt;"j_password"&lt;/js&gt;, pw);<a name="line.34"></a>
+<span class="sourceLineNo">035</span> *    restClient.doPost(url, params).run();<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * &lt;/p&gt;<a name="line.36"></a>
+<span class="sourceLineNo">037</span> */<a name="line.37"></a>
+<span class="sourceLineNo">038</span>public final class NameValuePairs extends LinkedList&lt;NameValuePair&gt; {<a name="line.38"></a>
+<span class="sourceLineNo">039</span><a name="line.39"></a>
+<span class="sourceLineNo">040</span>   private static final long serialVersionUID = 1L;<a name="line.40"></a>
+<span class="sourceLineNo">041</span><a name="line.41"></a>
+<span class="sourceLineNo">042</span>   /**<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    * Appends the specified pair to the end of this list.<a name="line.43"></a>
+<span class="sourceLineNo">044</span>    *<a name="line.44"></a>
+<span class="sourceLineNo">045</span>    * @param pair The pair to append to this list.<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    * @return This object (for method chaining).<a name="line.46"></a>
+<span class="sourceLineNo">047</span>    */<a name="line.47"></a>
+<span class="sourceLineNo">048</span>   public NameValuePairs append(NameValuePair pair) {<a name="line.48"></a>
+<span class="sourceLineNo">049</span>      super.add(pair);<a name="line.49"></a>
+<span class="sourceLineNo">050</span>      return this;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>   }<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span>   /**<a name="line.53"></a>
+<span class="sourceLineNo">054</span>    * Appends the specified name/value pair to the end of this list.<a name="line.54"></a>
+<span class="sourceLineNo">055</span>    * &lt;p&gt;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    * The value is simply converted to a string using &lt;code&gt;toString()&lt;/code&gt;, or &lt;js&gt;"null"&lt;/js&gt; if &lt;jk&gt;null&lt;/jk&gt;.<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    *<a name="line.57"></a>
+<span class="sourceLineNo">058</span>    * @param name The pair name.<a name="line.58"></a>
+<span class="sourceLineNo">059</span>    * @param value The pair value.<a name="line.59"></a>
+<span class="sourceLineNo">060</span>    * @return This object (for method chaining).<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    */<a name="line.61"></a>
+<span class="sourceLineNo">062</span>   public NameValuePairs append(String name, Object value) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span>      super.add(new BasicNameValuePair(name, StringUtils.toString(value)));<a name="line.63"></a>
+<span class="sourceLineNo">064</span>      return this;<a name="line.64"></a>
+<span class="sourceLineNo">065</span>   }<a name="line.65"></a>
+<span class="sourceLineNo">066</span><a name="line.66"></a>
+<span class="sourceLineNo">067</span>   /**<a name="line.67"></a>
+<span class="sourceLineNo">068</span>    * Appends the specified name/value pair to the end of this list.<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    * &lt;p&gt;<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    * The value is converted to UON notation using the {@link UrlEncodingSerializer#serializePart(Object, Boolean, Boolean)} method<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    * of the specified serializer.<a name="line.71"></a>
+<span class="sourceLineNo">072</span>    *<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    * @param name The pair name.<a name="line.73"></a>
+<span class="sourceLineNo">074</span>    * @param value The pair value.<a name="line.74"></a>
+<span class="sourceLineNo">075</span>    * @param serializer The serializer to use to convert the value to a string.<a name="line.75"></a>
+<span class="sourceLineNo">076</span>    * @return This object (for method chaining).<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    */<a name="line.77"></a>
+<span class="sourceLineNo">078</span>   public NameValuePairs append(String name, Object value, UrlEncodingSerializer serializer) {<a name="line.78"></a>
+<span class="sourceLineNo">079</span>      super.add(new SerializedNameValuePair(name, value, serializer));<a name="line.79"></a>
+<span class="sourceLineNo">080</span>      return this;<a name="line.80"></a>
+<span class="sourceLineNo">081</span>   }<a name="line.81"></a>
+<span class="sourceLineNo">082</span>}<a name="line.82"></a>
 
 
 


[09/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestClientBuilder.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestClientBuilder.html b/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestClientBuilder.html
index 566338a..ed890e6 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestClientBuilder.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestClientBuilder.html
@@ -56,7 +56,7 @@
 <span class="sourceLineNo">048</span>import org.apache.juneau.urlencoding.*;<a name="line.48"></a>
 <span class="sourceLineNo">049</span><a name="line.49"></a>
 <span class="sourceLineNo">050</span>/**<a name="line.50"></a>
-<span class="sourceLineNo">051</span> * Builder class for {@link RestClient} class.<a name="line.51"></a>
+<span class="sourceLineNo">051</span> * Builder class for the {@link RestClient} class.<a name="line.51"></a>
 <span class="sourceLineNo">052</span> */<a name="line.52"></a>
 <span class="sourceLineNo">053</span>@SuppressWarnings("hiding")<a name="line.53"></a>
 <span class="sourceLineNo">054</span>public class RestClientBuilder extends CoreObjectBuilder {<a name="line.54"></a>
@@ -75,1852 +75,1866 @@
 <span class="sourceLineNo">067</span><a name="line.67"></a>
 <span class="sourceLineNo">068</span>   private List&lt;RestCallInterceptor&gt; interceptors = new ArrayList&lt;RestCallInterceptor&gt;();<a name="line.68"></a>
 <span class="sourceLineNo">069</span><a name="line.69"></a>
-<span class="sourceLineNo">070</span>   private String remoteableServletUri;<a name="line.70"></a>
-<span class="sourceLineNo">071</span>   private Map&lt;Method,String&gt; remoteableServiceUriMap = new ConcurrentHashMap&lt;Method,String&gt;();<a name="line.71"></a>
-<span class="sourceLineNo">072</span>   private String rootUrl;<a name="line.72"></a>
-<span class="sourceLineNo">073</span>   private SSLOpts sslOpts;<a name="line.73"></a>
-<span class="sourceLineNo">074</span>   private boolean pooled;<a name="line.74"></a>
-<span class="sourceLineNo">075</span><a name="line.75"></a>
-<span class="sourceLineNo">076</span>   private int retries = 1;<a name="line.76"></a>
-<span class="sourceLineNo">077</span>   private long retryInterval = -1;<a name="line.77"></a>
-<span class="sourceLineNo">078</span>   private RetryOn retryOn = RetryOn.DEFAULT;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>   private boolean debug, executorServiceShutdownOnClose;<a name="line.79"></a>
-<span class="sourceLineNo">080</span>   private ExecutorService executorService;<a name="line.80"></a>
-<span class="sourceLineNo">081</span><a name="line.81"></a>
-<span class="sourceLineNo">082</span>   /**<a name="line.82"></a>
-<span class="sourceLineNo">083</span>    * Constructor, default settings.<a name="line.83"></a>
-<span class="sourceLineNo">084</span>    */<a name="line.84"></a>
-<span class="sourceLineNo">085</span>   public RestClientBuilder() {<a name="line.85"></a>
-<span class="sourceLineNo">086</span>      super();<a name="line.86"></a>
-<span class="sourceLineNo">087</span>   }<a name="line.87"></a>
-<span class="sourceLineNo">088</span><a name="line.88"></a>
-<span class="sourceLineNo">089</span>   /**<a name="line.89"></a>
-<span class="sourceLineNo">090</span>    * Constructor, default settings.<a name="line.90"></a>
-<span class="sourceLineNo">091</span>    * &lt;p&gt;<a name="line.91"></a>
-<span class="sourceLineNo">092</span>    * Shortcut for calling &lt;code&gt;&lt;jk&gt;new&lt;/jk&gt; RestClientBuilder().serializer(s).parser(p);&lt;/code&gt;<a name="line.92"></a>
-<span class="sourceLineNo">093</span>    *<a name="line.93"></a>
-<span class="sourceLineNo">094</span>    * @param s The serializer to use for output.<a name="line.94"></a>
-<span class="sourceLineNo">095</span>    * @param p The parser to use for input.<a name="line.95"></a>
-<span class="sourceLineNo">096</span>    */<a name="line.96"></a>
-<span class="sourceLineNo">097</span>   public RestClientBuilder(Serializer s, Parser p) {<a name="line.97"></a>
-<span class="sourceLineNo">098</span>      super();<a name="line.98"></a>
-<span class="sourceLineNo">099</span>      serializer(s);<a name="line.99"></a>
-<span class="sourceLineNo">100</span>      parser(p);<a name="line.100"></a>
-<span class="sourceLineNo">101</span>   }<a name="line.101"></a>
-<span class="sourceLineNo">102</span><a name="line.102"></a>
-<span class="sourceLineNo">103</span>   /**<a name="line.103"></a>
-<span class="sourceLineNo">104</span>    * Constructor, default settings.<a name="line.104"></a>
-<span class="sourceLineNo">105</span>    * &lt;p&gt;<a name="line.105"></a>
-<span class="sourceLineNo">106</span>    * Shortcut for calling &lt;code&gt;&lt;jk&gt;new&lt;/jk&gt; RestClientBuilder().serializer(s).parser(p);&lt;/code&gt;<a name="line.106"></a>
-<span class="sourceLineNo">107</span>    *<a name="line.107"></a>
-<span class="sourceLineNo">108</span>    * @param s The serializer class to use for output.<a name="line.108"></a>
-<span class="sourceLineNo">109</span>    * @param p The parser class to use for input.<a name="line.109"></a>
-<span class="sourceLineNo">110</span>    */<a name="line.110"></a>
-<span class="sourceLineNo">111</span>   public RestClientBuilder(Class&lt;? extends Serializer&gt; s, Class&lt;? extends Parser&gt; p) {<a name="line.111"></a>
-<span class="sourceLineNo">112</span>      super();<a name="line.112"></a>
-<span class="sourceLineNo">113</span>      serializer(s);<a name="line.113"></a>
-<span class="sourceLineNo">114</span>      parser(p);<a name="line.114"></a>
-<span class="sourceLineNo">115</span>   }<a name="line.115"></a>
-<span class="sourceLineNo">116</span><a name="line.116"></a>
-<span class="sourceLineNo">117</span>   /**<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    * Constructor.<a name="line.118"></a>
-<span class="sourceLineNo">119</span>    * @param propertyStore The initial configuration settings for this builder.<a name="line.119"></a>
-<span class="sourceLineNo">120</span>    */<a name="line.120"></a>
-<span class="sourceLineNo">121</span>   public RestClientBuilder(PropertyStore propertyStore) {<a name="line.121"></a>
-<span class="sourceLineNo">122</span>      super(propertyStore);<a name="line.122"></a>
-<span class="sourceLineNo">123</span>   }<a name="line.123"></a>
-<span class="sourceLineNo">124</span><a name="line.124"></a>
-<span class="sourceLineNo">125</span>   @Override /* CoreObjectBuilder */<a name="line.125"></a>
-<span class="sourceLineNo">126</span>   public RestClient build() {<a name="line.126"></a>
-<span class="sourceLineNo">127</span>      try {<a name="line.127"></a>
-<span class="sourceLineNo">128</span>         CloseableHttpClient httpClient = this.httpClient;<a name="line.128"></a>
-<span class="sourceLineNo">129</span>         if (httpClient == null)<a name="line.129"></a>
-<span class="sourceLineNo">130</span>            httpClient = createHttpClient();<a name="line.130"></a>
-<span class="sourceLineNo">131</span><a name="line.131"></a>
-<span class="sourceLineNo">132</span>         Serializer s =<a name="line.132"></a>
-<span class="sourceLineNo">133</span>            this.serializer != null<a name="line.133"></a>
-<span class="sourceLineNo">134</span>            ? this.serializer.builder().apply(propertyStore).build()<a name="line.134"></a>
-<span class="sourceLineNo">135</span>            : new SerializerBuilder(propertyStore).build(this.serializerClass);<a name="line.135"></a>
-<span class="sourceLineNo">136</span><a name="line.136"></a>
-<span class="sourceLineNo">137</span>         Parser p =<a name="line.137"></a>
-<span class="sourceLineNo">138</span>            this.parser != null<a name="line.138"></a>
-<span class="sourceLineNo">139</span>            ? this.parser.builder().apply(propertyStore).build()<a name="line.139"></a>
-<span class="sourceLineNo">140</span>            : new ParserBuilder(propertyStore).build(this.parserClass);<a name="line.140"></a>
+<span class="sourceLineNo">070</span>   private String rootUrl;<a name="line.70"></a>
+<span class="sourceLineNo">071</span>   private SSLOpts sslOpts;<a name="line.71"></a>
+<span class="sourceLineNo">072</span>   private boolean pooled;<a name="line.72"></a>
+<span class="sourceLineNo">073</span><a name="line.73"></a>
+<span class="sourceLineNo">074</span>   private int retries = 1;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>   private long retryInterval = -1;<a name="line.75"></a>
+<span class="sourceLineNo">076</span>   private RetryOn retryOn = RetryOn.DEFAULT;<a name="line.76"></a>
+<span class="sourceLineNo">077</span>   private boolean debug, executorServiceShutdownOnClose;<a name="line.77"></a>
+<span class="sourceLineNo">078</span>   private ExecutorService executorService;<a name="line.78"></a>
+<span class="sourceLineNo">079</span><a name="line.79"></a>
+<span class="sourceLineNo">080</span>   /**<a name="line.80"></a>
+<span class="sourceLineNo">081</span>    * Constructor, default settings.<a name="line.81"></a>
+<span class="sourceLineNo">082</span>    */<a name="line.82"></a>
+<span class="sourceLineNo">083</span>   public RestClientBuilder() {<a name="line.83"></a>
+<span class="sourceLineNo">084</span>      super();<a name="line.84"></a>
+<span class="sourceLineNo">085</span>   }<a name="line.85"></a>
+<span class="sourceLineNo">086</span><a name="line.86"></a>
+<span class="sourceLineNo">087</span>   /**<a name="line.87"></a>
+<span class="sourceLineNo">088</span>    * Constructor, default settings.<a name="line.88"></a>
+<span class="sourceLineNo">089</span>    * &lt;p&gt;<a name="line.89"></a>
+<span class="sourceLineNo">090</span>    * Shortcut for calling &lt;code&gt;&lt;jk&gt;new&lt;/jk&gt; RestClientBuilder().serializer(s).parser(p);&lt;/code&gt;<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    *<a name="line.91"></a>
+<span class="sourceLineNo">092</span>    * @param s The serializer to use for output.<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    * @param p The parser to use for input.<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    */<a name="line.94"></a>
+<span class="sourceLineNo">095</span>   public RestClientBuilder(Serializer s, Parser p) {<a name="line.95"></a>
+<span class="sourceLineNo">096</span>      super();<a name="line.96"></a>
+<span class="sourceLineNo">097</span>      serializer(s);<a name="line.97"></a>
+<span class="sourceLineNo">098</span>      parser(p);<a name="line.98"></a>
+<span class="sourceLineNo">099</span>   }<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>   /**<a name="line.101"></a>
+<span class="sourceLineNo">102</span>    * Constructor, default settings.<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    * &lt;p&gt;<a name="line.103"></a>
+<span class="sourceLineNo">104</span>    * Shortcut for calling &lt;code&gt;&lt;jk&gt;new&lt;/jk&gt; RestClientBuilder().serializer(s).parser(p);&lt;/code&gt;<a name="line.104"></a>
+<span class="sourceLineNo">105</span>    *<a name="line.105"></a>
+<span class="sourceLineNo">106</span>    * @param s The serializer class to use for output.<a name="line.106"></a>
+<span class="sourceLineNo">107</span>    * @param p The parser class to use for input.<a name="line.107"></a>
+<span class="sourceLineNo">108</span>    */<a name="line.108"></a>
+<span class="sourceLineNo">109</span>   public RestClientBuilder(Class&lt;? extends Serializer&gt; s, Class&lt;? extends Parser&gt; p) {<a name="line.109"></a>
+<span class="sourceLineNo">110</span>      super();<a name="line.110"></a>
+<span class="sourceLineNo">111</span>      serializer(s);<a name="line.111"></a>
+<span class="sourceLineNo">112</span>      parser(p);<a name="line.112"></a>
+<span class="sourceLineNo">113</span>   }<a name="line.113"></a>
+<span class="sourceLineNo">114</span><a name="line.114"></a>
+<span class="sourceLineNo">115</span>   /**<a name="line.115"></a>
+<span class="sourceLineNo">116</span>    * Constructor.<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    * @param propertyStore The initial configuration settings for this builder.<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    */<a name="line.118"></a>
+<span class="sourceLineNo">119</span>   public RestClientBuilder(PropertyStore propertyStore) {<a name="line.119"></a>
+<span class="sourceLineNo">120</span>      super(propertyStore);<a name="line.120"></a>
+<span class="sourceLineNo">121</span>   }<a name="line.121"></a>
+<span class="sourceLineNo">122</span><a name="line.122"></a>
+<span class="sourceLineNo">123</span>   @Override /* CoreObjectBuilder */<a name="line.123"></a>
+<span class="sourceLineNo">124</span>   public RestClient build() {<a name="line.124"></a>
+<span class="sourceLineNo">125</span>      try {<a name="line.125"></a>
+<span class="sourceLineNo">126</span>         CloseableHttpClient httpClient = this.httpClient;<a name="line.126"></a>
+<span class="sourceLineNo">127</span>         if (httpClient == null)<a name="line.127"></a>
+<span class="sourceLineNo">128</span>            httpClient = createHttpClient();<a name="line.128"></a>
+<span class="sourceLineNo">129</span><a name="line.129"></a>
+<span class="sourceLineNo">130</span>         Serializer s =<a name="line.130"></a>
+<span class="sourceLineNo">131</span>            this.serializer != null<a name="line.131"></a>
+<span class="sourceLineNo">132</span>            ? this.serializer.builder().apply(propertyStore).build()<a name="line.132"></a>
+<span class="sourceLineNo">133</span>            : new SerializerBuilder(propertyStore).build(this.serializerClass);<a name="line.133"></a>
+<span class="sourceLineNo">134</span><a name="line.134"></a>
+<span class="sourceLineNo">135</span>         Parser p =<a name="line.135"></a>
+<span class="sourceLineNo">136</span>            this.parser != null<a name="line.136"></a>
+<span class="sourceLineNo">137</span>            ? this.parser.builder().apply(propertyStore).build()<a name="line.137"></a>
+<span class="sourceLineNo">138</span>            : new ParserBuilder(propertyStore).build(this.parserClass);<a name="line.138"></a>
+<span class="sourceLineNo">139</span><a name="line.139"></a>
+<span class="sourceLineNo">140</span>         UrlEncodingSerializer us = new SerializerBuilder(propertyStore).build(UrlEncodingSerializer.class);<a name="line.140"></a>
 <span class="sourceLineNo">141</span><a name="line.141"></a>
-<span class="sourceLineNo">142</span>         UrlEncodingSerializer us = new SerializerBuilder(propertyStore).build(UrlEncodingSerializer.class);<a name="line.142"></a>
-<span class="sourceLineNo">143</span><a name="line.143"></a>
-<span class="sourceLineNo">144</span>         return new RestClient(propertyStore, httpClient, keepHttpClientOpen, s, p, us, headers, interceptors, remoteableServletUri, remoteableServiceUriMap, rootUrl, retryOn, retries, retryInterval, debug, executorService, executorServiceShutdownOnClose);<a name="line.144"></a>
-<span class="sourceLineNo">145</span>      } catch (Exception e) {<a name="line.145"></a>
-<span class="sourceLineNo">146</span>         throw new RuntimeException(e);<a name="line.146"></a>
-<span class="sourceLineNo">147</span>      }<a name="line.147"></a>
-<span class="sourceLineNo">148</span>   }<a name="line.148"></a>
-<span class="sourceLineNo">149</span><a name="line.149"></a>
-<span class="sourceLineNo">150</span>   /**<a name="line.150"></a>
-<span class="sourceLineNo">151</span>    * Creates an instance of an {@link HttpClient} to be used to handle all HTTP communications with the target server.<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    * &lt;p&gt;<a name="line.152"></a>
-<span class="sourceLineNo">153</span>    * This HTTP client is used when the HTTP client is not specified through one of the constructors or the<a name="line.153"></a>
-<span class="sourceLineNo">154</span>    *    {@link #httpClient(CloseableHttpClient, boolean)} method.<a name="line.154"></a>
-<span class="sourceLineNo">155</span>    * &lt;p&gt;<a name="line.155"></a>
-<span class="sourceLineNo">156</span>    * Subclasses can override this method to provide specially-configured HTTP clients to handle<a name="line.156"></a>
-<span class="sourceLineNo">157</span>    *    stuff such as SSL/TLS certificate handling, authentication, etc.<a name="line.157"></a>
-<span class="sourceLineNo">158</span>    * &lt;p&gt;<a name="line.158"></a>
-<span class="sourceLineNo">159</span>    * The default implementation returns an instance of {@link HttpClient} using the client builder<a name="line.159"></a>
-<span class="sourceLineNo">160</span>    *    returned by {@link #createHttpClientBuilder()}.<a name="line.160"></a>
-<span class="sourceLineNo">161</span>    *<a name="line.161"></a>
-<span class="sourceLineNo">162</span>    * @return The HTTP client to use.<a name="line.162"></a>
-<span class="sourceLineNo">163</span>    * @throws Exception<a name="line.163"></a>
-<span class="sourceLineNo">164</span>    */<a name="line.164"></a>
-<span class="sourceLineNo">165</span>   protected CloseableHttpClient createHttpClient() throws Exception {<a name="line.165"></a>
-<span class="sourceLineNo">166</span>      // Don't call createConnectionManager() if RestClient.setConnectionManager() was called.<a name="line.166"></a>
-<span class="sourceLineNo">167</span>      if (httpClientConnectionManager == null)<a name="line.167"></a>
-<span class="sourceLineNo">168</span>         httpClientBuilder.setConnectionManager(createConnectionManager());<a name="line.168"></a>
-<span class="sourceLineNo">169</span>      return httpClientBuilder.build();<a name="line.169"></a>
-<span class="sourceLineNo">170</span>   }<a name="line.170"></a>
-<span class="sourceLineNo">171</span><a name="line.171"></a>
-<span class="sourceLineNo">172</span>   /**<a name="line.172"></a>
-<span class="sourceLineNo">173</span>    * Creates an instance of an {@link HttpClientBuilder} to be used to create<a name="line.173"></a>
-<span class="sourceLineNo">174</span>    *    the {@link HttpClient}.<a name="line.174"></a>
+<span class="sourceLineNo">142</span>         return new RestClient(propertyStore, httpClient, keepHttpClientOpen, s, p, us, headers, interceptors, rootUrl, retryOn, retries, retryInterval, debug, executorService, executorServiceShutdownOnClose);<a name="line.142"></a>
+<span class="sourceLineNo">143</span>      } catch (Exception e) {<a name="line.143"></a>
+<span class="sourceLineNo">144</span>         throw new RuntimeException(e);<a name="line.144"></a>
+<span class="sourceLineNo">145</span>      }<a name="line.145"></a>
+<span class="sourceLineNo">146</span>   }<a name="line.146"></a>
+<span class="sourceLineNo">147</span><a name="line.147"></a>
+<span class="sourceLineNo">148</span>   /**<a name="line.148"></a>
+<span class="sourceLineNo">149</span>    * Creates an instance of an {@link HttpClient} to be used to handle all HTTP communications with the target server.<a name="line.149"></a>
+<span class="sourceLineNo">150</span>    * &lt;p&gt;<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    * This HTTP client is used when the HTTP client is not specified through one of the constructors or the<a name="line.151"></a>
+<span class="sourceLineNo">152</span>    *    {@link #httpClient(CloseableHttpClient, boolean)} method.<a name="line.152"></a>
+<span class="sourceLineNo">153</span>    * &lt;p&gt;<a name="line.153"></a>
+<span class="sourceLineNo">154</span>    * Subclasses can override this method to provide specially-configured HTTP clients to handle<a name="line.154"></a>
+<span class="sourceLineNo">155</span>    *    stuff such as SSL/TLS certificate handling, authentication, etc.<a name="line.155"></a>
+<span class="sourceLineNo">156</span>    * &lt;p&gt;<a name="line.156"></a>
+<span class="sourceLineNo">157</span>    * The default implementation returns an instance of {@link HttpClient} using the client builder<a name="line.157"></a>
+<span class="sourceLineNo">158</span>    *    returned by {@link #createHttpClientBuilder()}.<a name="line.158"></a>
+<span class="sourceLineNo">159</span>    *<a name="line.159"></a>
+<span class="sourceLineNo">160</span>    * @return The HTTP client to use.<a name="line.160"></a>
+<span class="sourceLineNo">161</span>    * @throws Exception<a name="line.161"></a>
+<span class="sourceLineNo">162</span>    */<a name="line.162"></a>
+<span class="sourceLineNo">163</span>   protected CloseableHttpClient createHttpClient() throws Exception {<a name="line.163"></a>
+<span class="sourceLineNo">164</span>      // Don't call createConnectionManager() if RestClient.setConnectionManager() was called.<a name="line.164"></a>
+<span class="sourceLineNo">165</span>      if (httpClientConnectionManager == null)<a name="line.165"></a>
+<span class="sourceLineNo">166</span>         httpClientBuilder.setConnectionManager(createConnectionManager());<a name="line.166"></a>
+<span class="sourceLineNo">167</span>      return httpClientBuilder.build();<a name="line.167"></a>
+<span class="sourceLineNo">168</span>   }<a name="line.168"></a>
+<span class="sourceLineNo">169</span><a name="line.169"></a>
+<span class="sourceLineNo">170</span>   /**<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    * Creates an instance of an {@link HttpClientBuilder} to be used to create<a name="line.171"></a>
+<span class="sourceLineNo">172</span>    *    the {@link HttpClient}.<a name="line.172"></a>
+<span class="sourceLineNo">173</span>    * &lt;p&gt;<a name="line.173"></a>
+<span class="sourceLineNo">174</span>    * Subclasses can override this method to provide their own client builder.<a name="line.174"></a>
 <span class="sourceLineNo">175</span>    * &lt;p&gt;<a name="line.175"></a>
-<span class="sourceLineNo">176</span>    * Subclasses can override this method to provide their own client builder.<a name="line.176"></a>
-<span class="sourceLineNo">177</span>    * &lt;p&gt;<a name="line.177"></a>
-<span class="sourceLineNo">178</span>    * The predefined method returns an {@link HttpClientBuilder} with the following settings:<a name="line.178"></a>
-<span class="sourceLineNo">179</span>    * &lt;ul&gt;<a name="line.179"></a>
-<span class="sourceLineNo">180</span>    *    &lt;li&gt;Lax redirect strategy.<a name="line.180"></a>
-<span class="sourceLineNo">181</span>    *    &lt;li&gt;The connection manager returned by {@link #createConnectionManager()}.<a name="line.181"></a>
-<span class="sourceLineNo">182</span>    * &lt;/ul&gt;<a name="line.182"></a>
-<span class="sourceLineNo">183</span>    *<a name="line.183"></a>
-<span class="sourceLineNo">184</span>    * @return The HTTP client builder to use to create the HTTP client.<a name="line.184"></a>
-<span class="sourceLineNo">185</span>    */<a name="line.185"></a>
-<span class="sourceLineNo">186</span>   protected HttpClientBuilder createHttpClientBuilder() {<a name="line.186"></a>
-<span class="sourceLineNo">187</span>      HttpClientBuilder b = HttpClientBuilder.create();<a name="line.187"></a>
-<span class="sourceLineNo">188</span>      b.setRedirectStrategy(new AllowAllRedirects());<a name="line.188"></a>
-<span class="sourceLineNo">189</span>      return b;<a name="line.189"></a>
-<span class="sourceLineNo">190</span>   }<a name="line.190"></a>
-<span class="sourceLineNo">191</span><a name="line.191"></a>
-<span class="sourceLineNo">192</span>   /**<a name="line.192"></a>
-<span class="sourceLineNo">193</span>    * Creates the {@link HttpClientConnectionManager} returned by {@link #createConnectionManager()}.<a name="line.193"></a>
+<span class="sourceLineNo">176</span>    * The predefined method returns an {@link HttpClientBuilder} with the following settings:<a name="line.176"></a>
+<span class="sourceLineNo">177</span>    * &lt;ul&gt;<a name="line.177"></a>
+<span class="sourceLineNo">178</span>    *    &lt;li&gt;Lax redirect strategy.<a name="line.178"></a>
+<span class="sourceLineNo">179</span>    *    &lt;li&gt;The connection manager returned by {@link #createConnectionManager()}.<a name="line.179"></a>
+<span class="sourceLineNo">180</span>    * &lt;/ul&gt;<a name="line.180"></a>
+<span class="sourceLineNo">181</span>    *<a name="line.181"></a>
+<span class="sourceLineNo">182</span>    * @return The HTTP client builder to use to create the HTTP client.<a name="line.182"></a>
+<span class="sourceLineNo">183</span>    */<a name="line.183"></a>
+<span class="sourceLineNo">184</span>   protected HttpClientBuilder createHttpClientBuilder() {<a name="line.184"></a>
+<span class="sourceLineNo">185</span>      HttpClientBuilder b = HttpClientBuilder.create();<a name="line.185"></a>
+<span class="sourceLineNo">186</span>      b.setRedirectStrategy(new AllowAllRedirects());<a name="line.186"></a>
+<span class="sourceLineNo">187</span>      return b;<a name="line.187"></a>
+<span class="sourceLineNo">188</span>   }<a name="line.188"></a>
+<span class="sourceLineNo">189</span><a name="line.189"></a>
+<span class="sourceLineNo">190</span>   /**<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    * Creates the {@link HttpClientConnectionManager} returned by {@link #createConnectionManager()}.<a name="line.191"></a>
+<span class="sourceLineNo">192</span>    * &lt;p&gt;<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    * Subclasses can override this method to provide their own connection manager.<a name="line.193"></a>
 <span class="sourceLineNo">194</span>    * &lt;p&gt;<a name="line.194"></a>
-<span class="sourceLineNo">195</span>    * Subclasses can override this method to provide their own connection manager.<a name="line.195"></a>
-<span class="sourceLineNo">196</span>    * &lt;p&gt;<a name="line.196"></a>
-<span class="sourceLineNo">197</span>    * The default implementation returns an instance of a {@link PoolingHttpClientConnectionManager}.<a name="line.197"></a>
-<span class="sourceLineNo">198</span>    *<a name="line.198"></a>
-<span class="sourceLineNo">199</span>    * @return The HTTP client builder to use to create the HTTP client.<a name="line.199"></a>
-<span class="sourceLineNo">200</span>    */<a name="line.200"></a>
-<span class="sourceLineNo">201</span>   protected HttpClientConnectionManager createConnectionManager() {<a name="line.201"></a>
-<span class="sourceLineNo">202</span>      if (sslOpts != null) {<a name="line.202"></a>
-<span class="sourceLineNo">203</span>         HostnameVerifier hv = null;<a name="line.203"></a>
-<span class="sourceLineNo">204</span>         switch (sslOpts.getHostVerify()) {<a name="line.204"></a>
-<span class="sourceLineNo">205</span>            case LAX: hv = new NoopHostnameVerifier(); break;<a name="line.205"></a>
-<span class="sourceLineNo">206</span>            case DEFAULT: hv = new DefaultHostnameVerifier(); break;<a name="line.206"></a>
-<span class="sourceLineNo">207</span>            default: throw new RuntimeException("Programmer error");<a name="line.207"></a>
-<span class="sourceLineNo">208</span>         }<a name="line.208"></a>
-<span class="sourceLineNo">209</span><a name="line.209"></a>
-<span class="sourceLineNo">210</span>         for (String p : StringUtils.split(sslOpts.getProtocols(), ',')) {<a name="line.210"></a>
-<span class="sourceLineNo">211</span>            try {<a name="line.211"></a>
-<span class="sourceLineNo">212</span>               TrustManager tm = new SimpleX509TrustManager(sslOpts.getCertValidate() == SSLOpts.CertValidate.LAX);<a name="line.212"></a>
-<span class="sourceLineNo">213</span><a name="line.213"></a>
-<span class="sourceLineNo">214</span>               SSLContext ctx = SSLContext.getInstance(p);<a name="line.214"></a>
-<span class="sourceLineNo">215</span>               ctx.init(null, new TrustManager[] { tm }, null);<a name="line.215"></a>
-<span class="sourceLineNo">216</span><a name="line.216"></a>
-<span class="sourceLineNo">217</span>               // Create a socket to ensure this algorithm is acceptable.<a name="line.217"></a>
-<span class="sourceLineNo">218</span>               // This will correctly disallow certain configurations (such as SSL_TLS under FIPS)<a name="line.218"></a>
-<span class="sourceLineNo">219</span>               ctx.getSocketFactory().createSocket().close();<a name="line.219"></a>
-<span class="sourceLineNo">220</span>               SSLConnectionSocketFactory sf = new SSLConnectionSocketFactory(ctx, hv);<a name="line.220"></a>
-<span class="sourceLineNo">221</span>               setSSLSocketFactory(sf);<a name="line.221"></a>
+<span class="sourceLineNo">195</span>    * The default implementation returns an instance of a {@link PoolingHttpClientConnectionManager}.<a name="line.195"></a>
+<span class="sourceLineNo">196</span>    *<a name="line.196"></a>
+<span class="sourceLineNo">197</span>    * @return The HTTP client builder to use to create the HTTP client.<a name="line.197"></a>
+<span class="sourceLineNo">198</span>    */<a name="line.198"></a>
+<span class="sourceLineNo">199</span>   protected HttpClientConnectionManager createConnectionManager() {<a name="line.199"></a>
+<span class="sourceLineNo">200</span>      if (sslOpts != null) {<a name="line.200"></a>
+<span class="sourceLineNo">201</span>         HostnameVerifier hv = null;<a name="line.201"></a>
+<span class="sourceLineNo">202</span>         switch (sslOpts.getHostVerify()) {<a name="line.202"></a>
+<span class="sourceLineNo">203</span>            case LAX: hv = new NoopHostnameVerifier(); break;<a name="line.203"></a>
+<span class="sourceLineNo">204</span>            case DEFAULT: hv = new DefaultHostnameVerifier(); break;<a name="line.204"></a>
+<span class="sourceLineNo">205</span>            default: throw new RuntimeException("Programmer error");<a name="line.205"></a>
+<span class="sourceLineNo">206</span>         }<a name="line.206"></a>
+<span class="sourceLineNo">207</span><a name="line.207"></a>
+<span class="sourceLineNo">208</span>         for (String p : StringUtils.split(sslOpts.getProtocols(), ',')) {<a name="line.208"></a>
+<span class="sourceLineNo">209</span>            try {<a name="line.209"></a>
+<span class="sourceLineNo">210</span>               TrustManager tm = new SimpleX509TrustManager(sslOpts.getCertValidate() == SSLOpts.CertValidate.LAX);<a name="line.210"></a>
+<span class="sourceLineNo">211</span><a name="line.211"></a>
+<span class="sourceLineNo">212</span>               SSLContext ctx = SSLContext.getInstance(p);<a name="line.212"></a>
+<span class="sourceLineNo">213</span>               ctx.init(null, new TrustManager[] { tm }, null);<a name="line.213"></a>
+<span class="sourceLineNo">214</span><a name="line.214"></a>
+<span class="sourceLineNo">215</span>               // Create a socket to ensure this algorithm is acceptable.<a name="line.215"></a>
+<span class="sourceLineNo">216</span>               // This will correctly disallow certain configurations (such as SSL_TLS under FIPS)<a name="line.216"></a>
+<span class="sourceLineNo">217</span>               ctx.getSocketFactory().createSocket().close();<a name="line.217"></a>
+<span class="sourceLineNo">218</span>               SSLConnectionSocketFactory sf = new SSLConnectionSocketFactory(ctx, hv);<a name="line.218"></a>
+<span class="sourceLineNo">219</span>               setSSLSocketFactory(sf);<a name="line.219"></a>
+<span class="sourceLineNo">220</span><a name="line.220"></a>
+<span class="sourceLineNo">221</span>               Registry&lt;ConnectionSocketFactory&gt; r = RegistryBuilder.&lt;ConnectionSocketFactory&gt; create().register("https", sf).build();<a name="line.221"></a>
 <span class="sourceLineNo">222</span><a name="line.222"></a>
-<span class="sourceLineNo">223</span>               Registry&lt;ConnectionSocketFactory&gt; r = RegistryBuilder.&lt;ConnectionSocketFactory&gt; create().register("https", sf).build();<a name="line.223"></a>
-<span class="sourceLineNo">224</span><a name="line.224"></a>
-<span class="sourceLineNo">225</span>               return (pooled ? new PoolingHttpClientConnectionManager(r) : new BasicHttpClientConnectionManager(r));<a name="line.225"></a>
-<span class="sourceLineNo">226</span>            } catch (Throwable t) {}<a name="line.226"></a>
-<span class="sourceLineNo">227</span>         }<a name="line.227"></a>
-<span class="sourceLineNo">228</span>      }<a name="line.228"></a>
-<span class="sourceLineNo">229</span><a name="line.229"></a>
-<span class="sourceLineNo">230</span>         // Using pooling connection so that this client is threadsafe.<a name="line.230"></a>
-<span class="sourceLineNo">231</span>      return (pooled ? new PoolingHttpClientConnectionManager() : new BasicHttpClientConnectionManager());<a name="line.231"></a>
-<span class="sourceLineNo">232</span>   }<a name="line.232"></a>
-<span class="sourceLineNo">233</span><a name="line.233"></a>
-<span class="sourceLineNo">234</span>   /**<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    * Sets the URI of the remoteable services REST servlet for invoking remoteable services.<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    *<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    * @param remoteableServletUri The URI of the REST resource implementing a remoteable services servlet.<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    *    (typically an instance of &lt;code&gt;RemoteableServlet&lt;/code&gt;).<a name="line.238"></a>
-<span class="sourceLineNo">239</span>    * @return This object (for method chaining).<a name="line.239"></a>
-<span class="sourceLineNo">240</span>    */<a name="line.240"></a>
-<span class="sourceLineNo">241</span>   public RestClientBuilder remoteableServletUri(String remoteableServletUri) {<a name="line.241"></a>
-<span class="sourceLineNo">242</span>      this.remoteableServletUri = remoteableServletUri;<a name="line.242"></a>
-<span class="sourceLineNo">243</span>      return this;<a name="line.243"></a>
-<span class="sourceLineNo">244</span>   }<a name="line.244"></a>
-<span class="sourceLineNo">245</span><a name="line.245"></a>
-<span class="sourceLineNo">246</span>   /**<a name="line.246"></a>
-<span class="sourceLineNo">247</span>    * Set a root URL for this client.<a name="line.247"></a>
-<span class="sourceLineNo">248</span>    * &lt;p&gt;<a name="line.248"></a>
-<span class="sourceLineNo">249</span>    * When set, URL strings passed in through the various rest call methods (e.g. {@link RestClient#doGet(Object)}<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    *    will be prefixed with the specified root.<a name="line.250"></a>
-<span class="sourceLineNo">251</span>    * This root URL is ignored on those methods if you pass in a {@link URL}, {@link URI}, or an absolute URL string.<a name="line.251"></a>
-<span class="sourceLineNo">252</span>    *<a name="line.252"></a>
-<span class="sourceLineNo">253</span>    * @param rootUrl The root URL to prefix to relative URL strings.  Trailing slashes are trimmed.<a name="line.253"></a>
-<span class="sourceLineNo">254</span>    * Usually a &lt;code&gt;String&lt;code&gt; but you can also pass in &lt;code&gt;URI&lt;/code&gt; and &lt;code&gt;URL&lt;/code&gt; objects as well.<a name="line.254"></a>
-<span class="sourceLineNo">255</span>    * @return This object (for method chaining).<a name="line.255"></a>
-<span class="sourceLineNo">256</span>    */<a name="line.256"></a>
-<span class="sourceLineNo">257</span>   public RestClientBuilder rootUrl(Object rootUrl) {<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      String s = rootUrl.toString();<a name="line.258"></a>
-<span class="sourceLineNo">259</span>      if (s.endsWith("/"))<a name="line.259"></a>
-<span class="sourceLineNo">260</span>         s = s.replaceAll("\\/$", "");<a name="line.260"></a>
-<span class="sourceLineNo">261</span>      this.rootUrl = s;<a name="line.261"></a>
+<span class="sourceLineNo">223</span>               return (pooled ? new PoolingHttpClientConnectionManager(r) : new BasicHttpClientConnectionManager(r));<a name="line.223"></a>
+<span class="sourceLineNo">224</span>            } catch (Throwable t) {}<a name="line.224"></a>
+<span class="sourceLineNo">225</span>         }<a name="line.225"></a>
+<span class="sourceLineNo">226</span>      }<a name="line.226"></a>
+<span class="sourceLineNo">227</span><a name="line.227"></a>
+<span class="sourceLineNo">228</span>         // Using pooling connection so that this client is threadsafe.<a name="line.228"></a>
+<span class="sourceLineNo">229</span>      return (pooled ? new PoolingHttpClientConnectionManager() : new BasicHttpClientConnectionManager());<a name="line.229"></a>
+<span class="sourceLineNo">230</span>   }<a name="line.230"></a>
+<span class="sourceLineNo">231</span><a name="line.231"></a>
+<span class="sourceLineNo">232</span>   /**<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    * Set a root URL for this client.<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    * &lt;p&gt;<a name="line.234"></a>
+<span class="sourceLineNo">235</span>    * When set, URL strings passed in through the various rest call methods (e.g. {@link RestClient#doGet(Object)}<a name="line.235"></a>
+<span class="sourceLineNo">236</span>    *    will be prefixed with the specified root.<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    * This root URL is ignored on those methods if you pass in a {@link URL}, {@link URI}, or an absolute URL string.<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    *<a name="line.238"></a>
+<span class="sourceLineNo">239</span>    * @param rootUrl The root URL to prefix to relative URL strings.  Trailing slashes are trimmed.<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    * Usually a &lt;code&gt;String&lt;code&gt; but you can also pass in &lt;code&gt;URI&lt;/code&gt; and &lt;code&gt;URL&lt;/code&gt; objects as well.<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    * @return This object (for method chaining).<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    */<a name="line.242"></a>
+<span class="sourceLineNo">243</span>   public RestClientBuilder rootUrl(Object rootUrl) {<a name="line.243"></a>
+<span class="sourceLineNo">244</span>      String s = rootUrl.toString();<a name="line.244"></a>
+<span class="sourceLineNo">245</span>      if (s.endsWith("/"))<a name="line.245"></a>
+<span class="sourceLineNo">246</span>         s = s.replaceAll("\\/$", "");<a name="line.246"></a>
+<span class="sourceLineNo">247</span>      this.rootUrl = s;<a name="line.247"></a>
+<span class="sourceLineNo">248</span>      return this;<a name="line.248"></a>
+<span class="sourceLineNo">249</span>   }<a name="line.249"></a>
+<span class="sourceLineNo">250</span><a name="line.250"></a>
+<span class="sourceLineNo">251</span>   /**<a name="line.251"></a>
+<span class="sourceLineNo">252</span>    * Enable SSL support on this client.<a name="line.252"></a>
+<span class="sourceLineNo">253</span>    *<a name="line.253"></a>
+<span class="sourceLineNo">254</span>    * @param opts The SSL configuration options.  See {@link SSLOpts} for details.<a name="line.254"></a>
+<span class="sourceLineNo">255</span>    * This method is a no-op if &lt;code&gt;sslConfig&lt;/code&gt; is &lt;jk&gt;null&lt;/jk&gt;.<a name="line.255"></a>
+<span class="sourceLineNo">256</span>    * @return This object (for method chaining).<a name="line.256"></a>
+<span class="sourceLineNo">257</span>    * @throws KeyStoreException<a name="line.257"></a>
+<span class="sourceLineNo">258</span>    * @throws NoSuchAlgorithmException<a name="line.258"></a>
+<span class="sourceLineNo">259</span>    */<a name="line.259"></a>
+<span class="sourceLineNo">260</span>   public RestClientBuilder enableSSL(SSLOpts opts) throws KeyStoreException, NoSuchAlgorithmException {<a name="line.260"></a>
+<span class="sourceLineNo">261</span>      this.sslOpts = opts;<a name="line.261"></a>
 <span class="sourceLineNo">262</span>      return this;<a name="line.262"></a>
 <span class="sourceLineNo">263</span>   }<a name="line.263"></a>
 <span class="sourceLineNo">264</span><a name="line.264"></a>
 <span class="sourceLineNo">265</span>   /**<a name="line.265"></a>
-<span class="sourceLineNo">266</span>    * Enable SSL support on this client.<a name="line.266"></a>
-<span class="sourceLineNo">267</span>    *<a name="line.267"></a>
-<span class="sourceLineNo">268</span>    * @param opts The SSL configuration options.  See {@link SSLOpts} for details.<a name="line.268"></a>
-<span class="sourceLineNo">269</span>    * This method is a no-op if &lt;code&gt;sslConfig&lt;/code&gt; is &lt;jk&gt;null&lt;/jk&gt;.<a name="line.269"></a>
+<span class="sourceLineNo">266</span>    * Enable LAX SSL support.<a name="line.266"></a>
+<span class="sourceLineNo">267</span>    * &lt;p&gt;<a name="line.267"></a>
+<span class="sourceLineNo">268</span>    * Certificate chain validation and hostname verification is disabled.<a name="line.268"></a>
+<span class="sourceLineNo">269</span>    *<a name="line.269"></a>
 <span class="sourceLineNo">270</span>    * @return This object (for method chaining).<a name="line.270"></a>
 <span class="sourceLineNo">271</span>    * @throws KeyStoreException<a name="line.271"></a>
 <span class="sourceLineNo">272</span>    * @throws NoSuchAlgorithmException<a name="line.272"></a>
 <span class="sourceLineNo">273</span>    */<a name="line.273"></a>
-<span class="sourceLineNo">274</span>   public RestClientBuilder enableSSL(SSLOpts opts) throws KeyStoreException, NoSuchAlgorithmException {<a name="line.274"></a>
-<span class="sourceLineNo">275</span>      this.sslOpts = opts;<a name="line.275"></a>
-<span class="sourceLineNo">276</span>      return this;<a name="line.276"></a>
-<span class="sourceLineNo">277</span>   }<a name="line.277"></a>
-<span class="sourceLineNo">278</span><a name="line.278"></a>
-<span class="sourceLineNo">279</span>   /**<a name="line.279"></a>
-<span class="sourceLineNo">280</span>    * Enable LAX SSL support.<a name="line.280"></a>
-<span class="sourceLineNo">281</span>    * &lt;p&gt;<a name="line.281"></a>
-<span class="sourceLineNo">282</span>    * Certificate chain validation and hostname verification is disabled.<a name="line.282"></a>
-<span class="sourceLineNo">283</span>    *<a name="line.283"></a>
-<span class="sourceLineNo">284</span>    * @return This object (for method chaining).<a name="line.284"></a>
-<span class="sourceLineNo">285</span>    * @throws KeyStoreException<a name="line.285"></a>
-<span class="sourceLineNo">286</span>    * @throws NoSuchAlgorithmException<a name="line.286"></a>
-<span class="sourceLineNo">287</span>    */<a name="line.287"></a>
-<span class="sourceLineNo">288</span>   public RestClientBuilder enableLaxSSL() throws KeyStoreException, NoSuchAlgorithmException {<a name="line.288"></a>
-<span class="sourceLineNo">289</span>      return enableSSL(SSLOpts.LAX);<a name="line.289"></a>
-<span class="sourceLineNo">290</span>   }<a name="line.290"></a>
-<span class="sourceLineNo">291</span><a name="line.291"></a>
-<span class="sourceLineNo">292</span>   /**<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    * Sets the client version by setting the value for the &lt;js&gt;"X-Client-Version"&lt;/js&gt; header.<a name="line.293"></a>
-<span class="sourceLineNo">294</span>    *<a name="line.294"></a>
-<span class="sourceLineNo">295</span>    * @param version The version string (e.g. &lt;js&gt;"1.2.3"&lt;/js&gt;)<a name="line.295"></a>
-<span class="sourceLineNo">296</span>    * @return This object (for method chaining).<a name="line.296"></a>
-<span class="sourceLineNo">297</span>    */<a name="line.297"></a>
-<span class="sourceLineNo">298</span>   public RestClientBuilder clientVersion(String version) {<a name="line.298"></a>
-<span class="sourceLineNo">299</span>      return header("X-Client-Version", version);<a name="line.299"></a>
-<span class="sourceLineNo">300</span>   }<a name="line.300"></a>
-<span class="sourceLineNo">301</span><a name="line.301"></a>
-<span class="sourceLineNo">302</span>   /**<a name="line.302"></a>
-<span class="sourceLineNo">303</span>    * Adds an interceptor that gets called immediately after a connection is made.<a name="line.303"></a>
-<span class="sourceLineNo">304</span>    *<a name="line.304"></a>
-<span class="sourceLineNo">305</span>    * @param interceptor The interceptor.<a name="line.305"></a>
-<span class="sourceLineNo">306</span>    * @return This object (for method chaining).<a name="line.306"></a>
-<span class="sourceLineNo">307</span>    */<a name="line.307"></a>
-<span class="sourceLineNo">308</span>   public RestClientBuilder interceptor(RestCallInterceptor interceptor) {<a name="line.308"></a>
-<span class="sourceLineNo">309</span>      interceptors.add(interceptor);<a name="line.309"></a>
-<span class="sourceLineNo">310</span>      return this;<a name="line.310"></a>
-<span class="sourceLineNo">311</span>   }<a name="line.311"></a>
-<span class="sourceLineNo">312</span><a name="line.312"></a>
-<span class="sourceLineNo">313</span>   /**<a name="line.313"></a>
-<span class="sourceLineNo">314</span>    * Adds a {@link RestCallLogger} to the list of interceptors on this class.<a name="line.314"></a>
-<span class="sourceLineNo">315</span>    *<a name="line.315"></a>
-<span class="sourceLineNo">316</span>    * @param level The log level to log messsages at.<a name="line.316"></a>
-<span class="sourceLineNo">317</span>    * @param log The logger to log messages to.<a name="line.317"></a>
+<span class="sourceLineNo">274</span>   public RestClientBuilder enableLaxSSL() throws KeyStoreException, NoSuchAlgorithmException {<a name="line.274"></a>
+<span class="sourceLineNo">275</span>      return enableSSL(SSLOpts.LAX);<a name="line.275"></a>
+<span class="sourceLineNo">276</span>   }<a name="line.276"></a>
+<span class="sourceLineNo">277</span><a name="line.277"></a>
+<span class="sourceLineNo">278</span>   /**<a name="line.278"></a>
+<span class="sourceLineNo">279</span>    * Sets the client version by setting the value for the &lt;js&gt;"X-Client-Version"&lt;/js&gt; header.<a name="line.279"></a>
+<span class="sourceLineNo">280</span>    *<a name="line.280"></a>
+<span class="sourceLineNo">281</span>    * @param version The version string (e.g. &lt;js&gt;"1.2.3"&lt;/js&gt;)<a name="line.281"></a>
+<span class="sourceLineNo">282</span>    * @return This object (for method chaining).<a name="line.282"></a>
+<span class="sourceLineNo">283</span>    */<a name="line.283"></a>
+<span class="sourceLineNo">284</span>   public RestClientBuilder clientVersion(String version) {<a name="line.284"></a>
+<span class="sourceLineNo">285</span>      return header("X-Client-Version", version);<a name="line.285"></a>
+<span class="sourceLineNo">286</span>   }<a name="line.286"></a>
+<span class="sourceLineNo">287</span><a name="line.287"></a>
+<span class="sourceLineNo">288</span>   /**<a name="line.288"></a>
+<span class="sourceLineNo">289</span>    * Adds an interceptor that gets called immediately after a connection is made.<a name="line.289"></a>
+<span class="sourceLineNo">290</span>    *<a name="line.290"></a>
+<span class="sourceLineNo">291</span>    * @param interceptor The interceptor.<a name="line.291"></a>
+<span class="sourceLineNo">292</span>    * @return This object (for method chaining).<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    */<a name="line.293"></a>
+<span class="sourceLineNo">294</span>   public RestClientBuilder interceptor(RestCallInterceptor interceptor) {<a name="line.294"></a>
+<span class="sourceLineNo">295</span>      interceptors.add(interceptor);<a name="line.295"></a>
+<span class="sourceLineNo">296</span>      return this;<a name="line.296"></a>
+<span class="sourceLineNo">297</span>   }<a name="line.297"></a>
+<span class="sourceLineNo">298</span><a name="line.298"></a>
+<span class="sourceLineNo">299</span>   /**<a name="line.299"></a>
+<span class="sourceLineNo">300</span>    * Adds a {@link RestCallLogger} to the list of interceptors on this class.<a name="line.300"></a>
+<span class="sourceLineNo">301</span>    *<a name="line.301"></a>
+<span class="sourceLineNo">302</span>    * @param level The log level to log messsages at.<a name="line.302"></a>
+<span class="sourceLineNo">303</span>    * @param log The logger to log messages to.<a name="line.303"></a>
+<span class="sourceLineNo">304</span>    * @return This object (for method chaining).<a name="line.304"></a>
+<span class="sourceLineNo">305</span>    */<a name="line.305"></a>
+<span class="sourceLineNo">306</span>   public RestClientBuilder logTo(Level level, Logger log) {<a name="line.306"></a>
+<span class="sourceLineNo">307</span>      interceptor(new RestCallLogger(level, log));<a name="line.307"></a>
+<span class="sourceLineNo">308</span>      return this;<a name="line.308"></a>
+<span class="sourceLineNo">309</span>   }<a name="line.309"></a>
+<span class="sourceLineNo">310</span><a name="line.310"></a>
+<span class="sourceLineNo">311</span>   /**<a name="line.311"></a>
+<span class="sourceLineNo">312</span>    * Make HTTP calls retryable if an error response (&gt;=400) is received.<a name="line.312"></a>
+<span class="sourceLineNo">313</span>    *<a name="line.313"></a>
+<span class="sourceLineNo">314</span>    * @param retries The number of retries to attempt.<a name="line.314"></a>
+<span class="sourceLineNo">315</span>    * @param interval The time in milliseconds between attempts.<a name="line.315"></a>
+<span class="sourceLineNo">316</span>    * @param retryOn Optional object used for determining whether a retry should be attempted.<a name="line.316"></a>
+<span class="sourceLineNo">317</span>    * If &lt;jk&gt;null&lt;/jk&gt;, uses {@link RetryOn#DEFAULT}.<a name="line.317"></a>
 <span class="sourceLineNo">318</span>    * @return This object (for method chaining).<a name="line.318"></a>
 <span class="sourceLineNo">319</span>    */<a name="line.319"></a>
-<span class="sourceLineNo">320</span>   public RestClientBuilder logTo(Level level, Logger log) {<a name="line.320"></a>
-<span class="sourceLineNo">321</span>      interceptor(new RestCallLogger(level, log));<a name="line.321"></a>
-<span class="sourceLineNo">322</span>      return this;<a name="line.322"></a>
-<span class="sourceLineNo">323</span>   }<a name="line.323"></a>
-<span class="sourceLineNo">324</span><a name="line.324"></a>
-<span class="sourceLineNo">325</span>   /**<a name="line.325"></a>
-<span class="sourceLineNo">326</span>    * Make HTTP calls retryable if an error response (&gt;=400) is received.<a name="line.326"></a>
-<span class="sourceLineNo">327</span>    *<a name="line.327"></a>
-<span class="sourceLineNo">328</span>    * @param retries The number of retries to attempt.<a name="line.328"></a>
-<span class="sourceLineNo">329</span>    * @param interval The time in milliseconds between attempts.<a name="line.329"></a>
-<span class="sourceLineNo">330</span>    * @param retryOn Optional object used for determining whether a retry should be attempted.<a name="line.330"></a>
-<span class="sourceLineNo">331</span>    * If &lt;jk&gt;null&lt;/jk&gt;, uses {@link RetryOn#DEFAULT}.<a name="line.331"></a>
-<span class="sourceLineNo">332</span>    * @return This object (for method chaining).<a name="line.332"></a>
-<span class="sourceLineNo">333</span>    */<a name="line.333"></a>
-<span class="sourceLineNo">334</span>   public RestClientBuilder retryable(int retries, long interval, RetryOn retryOn) {<a name="line.334"></a>
-<span class="sourceLineNo">335</span>      this.retries = retries;<a name="line.335"></a>
-<span class="sourceLineNo">336</span>      this.retryInterval = interval;<a name="line.336"></a>
-<span class="sourceLineNo">337</span>      this.retryOn = retryOn;<a name="line.337"></a>
-<span class="sourceLineNo">338</span>      return this;<a name="line.338"></a>
-<span class="sourceLineNo">339</span>   }<a name="line.339"></a>
-<span class="sourceLineNo">340</span><a name="line.340"></a>
-<span class="sourceLineNo">341</span>   /**<a name="line.341"></a>
-<span class="sourceLineNo">342</span>    * When called, the {@link #createConnectionManager()} method will return a {@link PoolingHttpClientConnectionManager}<a name="line.342"></a>
-<span class="sourceLineNo">343</span>    *    instead of a {@link BasicHttpClientConnectionManager}.<a name="line.343"></a>
-<span class="sourceLineNo">344</span>    *<a name="line.344"></a>
-<span class="sourceLineNo">345</span>    * @return This object (for method chaining).<a name="line.345"></a>
-<span class="sourceLineNo">346</span>    */<a name="line.346"></a>
-<span class="sourceLineNo">347</span>   public RestClientBuilder pooled() {<a name="line.347"></a>
-<span class="sourceLineNo">348</span>      this.pooled = true;<a name="line.348"></a>
-<span class="sourceLineNo">349</span>      return this;<a name="line.349"></a>
-<span class="sourceLineNo">350</span>   }<a name="line.350"></a>
-<span class="sourceLineNo">351</span><a name="line.351"></a>
-<span class="sourceLineNo">352</span>   /**<a name="line.352"></a>
-<span class="sourceLineNo">353</span>    * Sets the serializer used for serializing POJOs to the HTTP request message body.<a name="line.353"></a>
-<span class="sourceLineNo">354</span>    *<a name="line.354"></a>
-<span class="sourceLineNo">355</span>    * @param serializer The serializer.<a name="line.355"></a>
-<span class="sourceLineNo">356</span>    * @return This object (for method chaining).<a name="line.356"></a>
-<span class="sourceLineNo">357</span>    */<a name="line.357"></a>
-<span class="sourceLineNo">358</span>   public RestClientBuilder serializer(Serializer serializer) {<a name="line.358"></a>
-<span class="sourceLineNo">359</span>      this.serializer = serializer;<a name="line.359"></a>
-<span class="sourceLineNo">360</span>      return this;<a name="line.360"></a>
-<span class="sourceLineNo">361</span>   }<a name="line.361"></a>
-<span class="sourceLineNo">362</span><a name="line.362"></a>
-<span class="sourceLineNo">363</span>   /**<a name="line.363"></a>
-<span class="sourceLineNo">364</span>    * Same as {@link #serializer(Serializer)}, except takes in a serializer class that<a name="line.364"></a>
-<span class="sourceLineNo">365</span>    *    will be instantiated through a no-arg constructor.<a name="line.365"></a>
-<span class="sourceLineNo">366</span>    *<a name="line.366"></a>
-<span class="sourceLineNo">367</span>    * @param serializerClass The serializer class.<a name="line.367"></a>
-<span class="sourceLineNo">368</span>    * @return This object (for method chaining).<a name="line.368"></a>
-<span class="sourceLineNo">369</span>    */<a name="line.369"></a>
-<span class="sourceLineNo">370</span>   public RestClientBuilder serializer(Class&lt;? extends Serializer&gt; serializerClass) {<a name="line.370"></a>
-<span class="sourceLineNo">371</span>      this.serializerClass = serializerClass;<a name="line.371"></a>
-<span class="sourceLineNo">372</span>      return this;<a name="line.372"></a>
-<span class="sourceLineNo">373</span>   }<a name="line.373"></a>
-<span class="sourceLineNo">374</span><a name="line.374"></a>
-<span class="sourceLineNo">375</span>   /**<a name="line.375"></a>
-<span class="sourceLineNo">376</span>    * Sets the parser used for parsing POJOs from the HTTP response message body.<a name="line.376"></a>
-<span class="sourceLineNo">377</span>    *<a name="line.377"></a>
-<span class="sourceLineNo">378</span>    * @param parser The parser.<a name="line.378"></a>
-<span class="sourceLineNo">379</span>    * @return This object (for method chaining).<a name="line.379"></a>
-<span class="sourceLineNo">380</span>    */<a name="line.380"></a>
-<span class="sourceLineNo">381</span>   public RestClientBuilder parser(Parser parser) {<a name="line.381"></a>
-<span class="sourceLineNo">382</span>      this.parser = parser;<a name="line.382"></a>
-<span class="sourceLineNo">383</span>      return this;<a name="line.383"></a>
-<span class="sourceLineNo">384</span>   }<a name="line.384"></a>
-<span class="sourceLineNo">385</span><a name="line.385"></a>
-<span class="sourceLineNo">386</span>   /**<a name="line.386"></a>
-<span class="sourceLineNo">387</span>    * Same as {@link #parser(Parser)}, except takes in a parser class that<a name="line.387"></a>
-<span class="sourceLineNo">388</span>    *    will be instantiated through a no-arg constructor.<a name="line.388"></a>
-<span class="sourceLineNo">389</span>    *<a name="line.389"></a>
-<span class="sourceLineNo">390</span>    * @param parserClass The parser class.<a name="line.390"></a>
+<span class="sourceLineNo">320</span>   public RestClientBuilder retryable(int retries, long interval, RetryOn retryOn) {<a name="line.320"></a>
+<span class="sourceLineNo">321</span>      this.retries = retries;<a name="line.321"></a>
+<span class="sourceLineNo">322</span>      this.retryInterval = interval;<a name="line.322"></a>
+<span class="sourceLineNo">323</span>      this.retryOn = retryOn;<a name="line.323"></a>
+<span class="sourceLineNo">324</span>      return this;<a name="line.324"></a>
+<span class="sourceLineNo">325</span>   }<a name="line.325"></a>
+<span class="sourceLineNo">326</span><a name="line.326"></a>
+<span class="sourceLineNo">327</span>   /**<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    * When called, the {@link #createConnectionManager()} method will return a {@link PoolingHttpClientConnectionManager}<a name="line.328"></a>
+<span class="sourceLineNo">329</span>    *    instead of a {@link BasicHttpClientConnectionManager}.<a name="line.329"></a>
+<span class="sourceLineNo">330</span>    *<a name="line.330"></a>
+<span class="sourceLineNo">331</span>    * @return This object (for method chaining).<a name="line.331"></a>
+<span class="sourceLineNo">332</span>    */<a name="line.332"></a>
+<span class="sourceLineNo">333</span>   public RestClientBuilder pooled() {<a name="line.333"></a>
+<span class="sourceLineNo">334</span>      this.pooled = true;<a name="line.334"></a>
+<span class="sourceLineNo">335</span>      return this;<a name="line.335"></a>
+<span class="sourceLineNo">336</span>   }<a name="line.336"></a>
+<span class="sourceLineNo">337</span><a name="line.337"></a>
+<span class="sourceLineNo">338</span>   /**<a name="line.338"></a>
+<span class="sourceLineNo">339</span>    * Sets the serializer used for serializing POJOs to the HTTP request message body.<a name="line.339"></a>
+<span class="sourceLineNo">340</span>    *<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    * @param serializer The serializer.<a name="line.341"></a>
+<span class="sourceLineNo">342</span>    * @return This object (for method chaining).<a name="line.342"></a>
+<span class="sourceLineNo">343</span>    */<a name="line.343"></a>
+<span class="sourceLineNo">344</span>   public RestClientBuilder serializer(Serializer serializer) {<a name="line.344"></a>
+<span class="sourceLineNo">345</span>      this.serializer = serializer;<a name="line.345"></a>
+<span class="sourceLineNo">346</span>      return this;<a name="line.346"></a>
+<span class="sourceLineNo">347</span>   }<a name="line.347"></a>
+<span class="sourceLineNo">348</span><a name="line.348"></a>
+<span class="sourceLineNo">349</span>   /**<a name="line.349"></a>
+<span class="sourceLineNo">350</span>    * Same as {@link #serializer(Serializer)}, except takes in a serializer class that<a name="line.350"></a>
+<span class="sourceLineNo">351</span>    *    will be instantiated through a no-arg constructor.<a name="line.351"></a>
+<span class="sourceLineNo">352</span>    *<a name="line.352"></a>
+<span class="sourceLineNo">353</span>    * @param serializerClass The serializer class.<a name="line.353"></a>
+<span class="sourceLineNo">354</span>    * @return This object (for method chaining).<a name="line.354"></a>
+<span class="sourceLineNo">355</span>    */<a name="line.355"></a>
+<span class="sourceLineNo">356</span>   public RestClientBuilder serializer(Class&lt;? extends Serializer&gt; serializerClass) {<a name="line.356"></a>
+<span class="sourceLineNo">357</span>      this.serializerClass = serializerClass;<a name="line.357"></a>
+<span class="sourceLineNo">358</span>      return this;<a name="line.358"></a>
+<span class="sourceLineNo">359</span>   }<a name="line.359"></a>
+<span class="sourceLineNo">360</span><a name="line.360"></a>
+<span class="sourceLineNo">361</span>   /**<a name="line.361"></a>
+<span class="sourceLineNo">362</span>    * Sets the parser used for parsing POJOs from the HTTP response message body.<a name="line.362"></a>
+<span class="sourceLineNo">363</span>    *<a name="line.363"></a>
+<span class="sourceLineNo">364</span>    * @param parser The parser.<a name="line.364"></a>
+<span class="sourceLineNo">365</span>    * @return This object (for method chaining).<a name="line.365"></a>
+<span class="sourceLineNo">366</span>    */<a name="line.366"></a>
+<span class="sourceLineNo">367</span>   public RestClientBuilder parser(Parser parser) {<a name="line.367"></a>
+<span class="sourceLineNo">368</span>      this.parser = parser;<a name="line.368"></a>
+<span class="sourceLineNo">369</span>      return this;<a name="line.369"></a>
+<span class="sourceLineNo">370</span>   }<a name="line.370"></a>
+<span class="sourceLineNo">371</span><a name="line.371"></a>
+<span class="sourceLineNo">372</span>   /**<a name="line.372"></a>
+<span class="sourceLineNo">373</span>    * Same as {@link #parser(Parser)}, except takes in a parser class that<a name="line.373"></a>
+<span class="sourceLineNo">374</span>    *    will be instantiated through a no-arg constructor.<a name="line.374"></a>
+<span class="sourceLineNo">375</span>    *<a name="line.375"></a>
+<span class="sourceLineNo">376</span>    * @param parserClass The parser class.<a name="line.376"></a>
+<span class="sourceLineNo">377</span>    * @return This object (for method chaining).<a name="line.377"></a>
+<span class="sourceLineNo">378</span>    */<a name="line.378"></a>
+<span class="sourceLineNo">379</span>   public RestClientBuilder parser(Class&lt;? extends Parser&gt; parserClass) {<a name="line.379"></a>
+<span class="sourceLineNo">380</span>      this.parserClass = parserClass;<a name="line.380"></a>
+<span class="sourceLineNo">381</span>      return this;<a name="line.381"></a>
+<span class="sourceLineNo">382</span>   }<a name="line.382"></a>
+<span class="sourceLineNo">383</span><a name="line.383"></a>
+<span class="sourceLineNo">384</span>   /**<a name="line.384"></a>
+<span class="sourceLineNo">385</span>    * Set up this client to use BASIC auth.<a name="line.385"></a>
+<span class="sourceLineNo">386</span>    *<a name="line.386"></a>
+<span class="sourceLineNo">387</span>    * @param host The auth scope hostname.<a name="line.387"></a>
+<span class="sourceLineNo">388</span>    * @param port The auth scope port.<a name="line.388"></a>
+<span class="sourceLineNo">389</span>    * @param user The username.<a name="line.389"></a>
+<span class="sourceLineNo">390</span>    * @param pw The password.<a name="line.390"></a>
 <span class="sourceLineNo">391</span>    * @return This object (for method chaining).<a name="line.391"></a>
 <span class="sourceLineNo">392</span>    */<a name="line.392"></a>
-<span class="sourceLineNo">393</span>   public RestClientBuilder parser(Class&lt;? extends Parser&gt; parserClass) {<a name="line.393"></a>
-<span class="sourceLineNo">394</span>      this.parserClass = parserClass;<a name="line.394"></a>
-<span class="sourceLineNo">395</span>      return this;<a name="line.395"></a>
-<span class="sourceLineNo">396</span>   }<a name="line.396"></a>
-<span class="sourceLineNo">397</span><a name="line.397"></a>
-<span class="sourceLineNo">398</span>   /**<a name="line.398"></a>
-<span class="sourceLineNo">399</span>    * Set up this client to use BASIC auth.<a name="line.399"></a>
-<span class="sourceLineNo">400</span>    *<a name="line.400"></a>
-<span class="sourceLineNo">401</span>    * @param host The auth scope hostname.<a name="line.401"></a>
-<span class="sourceLineNo">402</span>    * @param port The auth scope port.<a name="line.402"></a>
-<span class="sourceLineNo">403</span>    * @param user The username.<a name="line.403"></a>
-<span class="sourceLineNo">404</span>    * @param pw The password.<a name="line.404"></a>
-<span class="sourceLineNo">405</span>    * @return This object (for method chaining).<a name="line.405"></a>
-<span class="sourceLineNo">406</span>    */<a name="line.406"></a>
-<span class="sourceLineNo">407</span>   public RestClientBuilder basicAuth(String host, int port, String user, String pw) {<a name="line.407"></a>
-<span class="sourceLineNo">408</span>      AuthScope scope = new AuthScope(host, port);<a name="line.408"></a>
-<span class="sourceLineNo">409</span>      Credentials up = new UsernamePasswordCredentials(user, pw);<a name="line.409"></a>
-<span class="sourceLineNo">410</span>      CredentialsProvider p = new BasicCredentialsProvider();<a name="line.410"></a>
-<span class="sourceLineNo">411</span>      p.setCredentials(scope, up);<a name="line.411"></a>
-<span class="sourceLineNo">412</span>      setDefaultCredentialsProvider(p);<a name="line.412"></a>
-<span class="sourceLineNo">413</span>      return this;<a name="line.413"></a>
-<span class="sourceLineNo">414</span>   }<a name="line.414"></a>
-<span class="sourceLineNo">415</span><a name="line.415"></a>
-<span class="sourceLineNo">416</span>   /**<a name="line.416"></a>
-<span class="sourceLineNo">417</span>    * Sets the internal {@link HttpClient} to use for handling HTTP communications.<a name="line.417"></a>
-<span class="sourceLineNo">418</span>    *<a name="line.418"></a>
-<span class="sourceLineNo">419</span>    * @param httpClient The HTTP client.<a name="line.419"></a>
-<span class="sourceLineNo">420</span>    * @param keepHttpClientOpen Don't close this client when the {@link RestClient#close()} method is called.<a name="line.420"></a>
-<span class="sourceLineNo">421</span>    * @return This object (for method chaining).<a name="line.421"></a>
-<span class="sourceLineNo">422</span>    */<a name="line.422"></a>
-<span class="sourceLineNo">423</span>   public RestClientBuilder httpClient(CloseableHttpClient httpClient, boolean keepHttpClientOpen) {<a name="line.423"></a>
-<span class="sourceLineNo">424</span>      this.httpClient = httpClient;<a name="line.424"></a>
-<span class="sourceLineNo">425</span>      this.keepHttpClientOpen = keepHttpClientOpen;<a name="line.425"></a>
-<span class="sourceLineNo">426</span>      return this;<a name="line.426"></a>
-<span class="sourceLineNo">427</span>   }<a name="line.427"></a>
-<span class="sourceLineNo">428</span><a name="line.428"></a>
-<span class="sourceLineNo">429</span>   /**<a name="line.429"></a>
-<span class="sourceLineNo">430</span>    * Defines the executor service to use when calling future methods on the {@link RestCall} class.<a name="line.430"></a>
-<span class="sourceLineNo">431</span>    * &lt;p&gt;<a name="line.431"></a>
-<span class="sourceLineNo">432</span>    * You must specify the executor service if you want to use any of the following methods:<a name="line.432"></a>
-<span class="sourceLineNo">433</span>    * &lt;ul&gt;<a name="line.433"></a>
-<span class="sourceLineNo">434</span>    *    &lt;li&gt;{@link RestCall#runFuture()}<a name="line.434"></a>
-<span class="sourceLineNo">435</span>    *    &lt;li&gt;{@link RestCall#getResponseFuture(Class)}<a name="line.435"></a>
-<span class="sourceLineNo">436</span>    *    &lt;li&gt;{@link RestCall#getResponseFuture(Type,Type...)}<a name="line.436"></a>
-<span class="sourceLineNo">437</span>    *    &lt;li&gt;{@link RestCall#getResponseAsString()}<a name="line.437"></a>
-<span class="sourceLineNo">438</span>    * &lt;/ul&gt;<a name="line.438"></a>
-<span class="sourceLineNo">439</span>    *<a name="line.439"></a>
-<span class="sourceLineNo">440</span>    * @param executorService The executor service.<a name="line.440"></a>
-<span class="sourceLineNo">441</span>    * @param shutdownOnClose Call {@link ExecutorService#shutdown()} when {@link RestClient#close()} is called.<a name="line.441"></a>
-<span class="sourceLineNo">442</span>    * @return This object (for method chaining).<a name="line.442"></a>
-<span class="sourceLineNo">443</span>    */<a name="line.443"></a>
-<span class="sourceLineNo">444</span>   public RestClientBuilder executorService(ExecutorService executorService, boolean shutdownOnClose) {<a name="line.444"></a>
-<span class="sourceLineNo">445</span>      this.executorService = executorService;<a name="line.445"></a>
-<span class="sourceLineNo">446</span>      this.executorServiceShutdownOnClose = shutdownOnClose;<a name="line.446"></a>
-<span class="sourceLineNo">447</span>      return this;<a name="line.447"></a>
-<span class="sourceLineNo">448</span>   }<a name="line.448"></a>
-<span class="sourceLineNo">449</span><a name="line.449"></a>
-<span class="sourceLineNo">450</span><a name="line.450"></a>
-<span class="sourceLineNo">451</span>   //--------------------------------------------------------------------------------<a name="line.451"></a>
-<span class="sourceLineNo">452</span>   // HTTP headers<a name="line.452"></a>
-<span class="sourceLineNo">453</span>   //--------------------------------------------------------------------------------<a name="line.453"></a>
-<span class="sourceLineNo">454</span><a name="line.454"></a>
-<span class="sourceLineNo">455</span>   /**<a name="line.455"></a>
-<span class="sourceLineNo">456</span>    * Specifies a request header property to add to all requests created by this client.<a name="line.456"></a>
-<span class="sourceLineNo">457</span>    *<a name="line.457"></a>
-<span class="sourceLineNo">458</span>    * @param name The HTTP header name.<a name="line.458"></a>
-<span class="sourceLineNo">459</span>    * @param value The HTTP header value.<a name="line.459"></a>
-<span class="sourceLineNo">460</span>    * @return This object (for method chaining).<a name="line.460"></a>
-<span class="sourceLineNo">461</span>    */<a name="line.461"></a>
-<span class="sourceLineNo">462</span>   public RestClientBuilder header(String name, Object value) {<a name="line.462"></a>
-<span class="sourceLineNo">463</span>      this.headers.put(name, value == null ? null : value.toString());<a name="line.463"></a>
-<span class="sourceLineNo">464</span>      return this;<a name="line.464"></a>
-<span class="sourceLineNo">465</span>   }<a name="line.465"></a>
-<span class="sourceLineNo">466</span><a name="line.466"></a>
-<span class="sourceLineNo">467</span>   /**<a name="line.467"></a>
-<span class="sourceLineNo">468</span>    * Sets the value for the &lt;code&gt;Accept&lt;/code&gt; request header.<a name="line.468"></a>
-<span class="sourceLineNo">469</span>    * &lt;p&gt;<a name="line.469"></a>
-<span class="sourceLineNo">470</span>    * This overrides the media type specified on the parser, but is overridden by calling &lt;code&gt;header(&lt;js&gt;"Accept"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.470"></a>
-<span class="sourceLineNo">471</span>    *<a name="line.471"></a>
-<span class="sourceLineNo">472</span>    * @param value The new header value.<a name="line.472"></a>
-<span class="sourceLineNo">473</span>    * @return This object (for method chaining).<a name="line.473"></a>
-<span class="sourceLineNo">474</span>    */<a name="line.474"></a>
-<span class="sourceLineNo">475</span>   public RestClientBuilder accept(Object value) {<a name="line.475"></a>
-<span class="sourceLineNo">476</span>      return header("Accept", value);<a name="line.476"></a>
-<span class="sourceLineNo">477</span>   }<a name="line.477"></a>
-<span class="sourceLineNo">478</span><a name="line.478"></a>
-<span class="sourceLineNo">479</span>   /**<a name="line.479"></a>
-<span class="sourceLineNo">480</span>    * Sets the value for the &lt;code&gt;Accept-Charset&lt;/code&gt; request header.<a name="line.480"></a>
-<span class="sourceLineNo">481</span>    * &lt;p&gt;<a name="line.481"></a>
-<span class="sourceLineNo">482</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Accept-Charset"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.482"></a>
-<span class="sourceLineNo">483</span>    *<a name="line.483"></a>
-<span class="sourceLineNo">484</span>    * @param value The new header value.<a name="line.484"></a>
-<span class="sourceLineNo">485</span>    * @return This object (for method chaining).<a name="line.485"></a>
-<span class="sourceLineNo">486</span>    */<a name="line.486"></a>
-<span class="sourceLineNo">487</span>   public RestClientBuilder acceptCharset(Object value) {<a name="line.487"></a>
-<span class="sourceLineNo">488</span>      return header("Accept-Charset", value);<a name="line.488"></a>
-<span class="sourceLineNo">489</span>   }<a name="line.489"></a>
-<span class="sourceLineNo">490</span><a name="line.490"></a>
-<span class="sourceLineNo">491</span>   /**<a name="line.491"></a>
-<span class="sourceLineNo">492</span>    * Sets the value for the &lt;code&gt;Accept-Encoding&lt;/code&gt; request header.<a name="line.492"></a>
-<span class="sourceLineNo">493</span>    * &lt;p&gt;<a name="line.493"></a>
-<span class="sourceLineNo">494</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Accept-Encoding"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.494"></a>
-<span class="sourceLineNo">495</span>    *<a name="line.495"></a>
-<span class="sourceLineNo">496</span>    * @param value The new header value.<a name="line.496"></a>
-<span class="sourceLineNo">497</span>    * @return This object (for method chaining).<a name="line.497"></a>
-<span class="sourceLineNo">498</span>    */<a name="line.498"></a>
-<span class="sourceLineNo">499</span>   public RestClientBuilder acceptEncoding(Object value) {<a name="line.499"></a>
-<span class="sourceLineNo">500</span>      return header("Accept-Encoding", value);<a name="line.500"></a>
-<span class="sourceLineNo">501</span>   }<a name="line.501"></a>
-<span class="sourceLineNo">502</span><a name="line.502"></a>
-<span class="sourceLineNo">503</span>   /**<a name="line.503"></a>
-<span class="sourceLineNo">504</span>    * Sets the value for the &lt;code&gt;Accept-Language&lt;/code&gt; request header.<a name="line.504"></a>
-<span class="sourceLineNo">505</span>    * &lt;p&gt;<a name="line.505"></a>
-<span class="sourceLineNo">506</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Accept-Language"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.506"></a>
-<span class="sourceLineNo">507</span>    *<a name="line.507"></a>
-<span class="sourceLineNo">508</span>    * @param value The new header value.<a name="line.508"></a>
-<span class="sourceLineNo">509</span>    * @return This object (for method chaining).<a name="line.509"></a>
-<span class="sourceLineNo">510</span>    */<a name="line.510"></a>
-<span class="sourceLineNo">511</span>   public RestClientBuilder acceptLanguage(Object value) {<a name="line.511"></a>
-<span class="sourceLineNo">512</span>      return header("Accept-Language", value);<a name="line.512"></a>
-<span class="sourceLineNo">513</span>   }<a name="line.513"></a>
-<span class="sourceLineNo">514</span><a name="line.514"></a>
-<span class="sourceLineNo">515</span>   /**<a name="line.515"></a>
-<span class="sourceLineNo">516</span>    * Sets the value for the &lt;code&gt;Authorization&lt;/code&gt; request header.<a name="line.516"></a>
-<span class="sourceLineNo">517</span>    * &lt;p&gt;<a name="line.517"></a>
-<span class="sourceLineNo">518</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Authorization"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.518"></a>
-<span class="sourceLineNo">519</span>    *<a name="line.519"></a>
-<span class="sourceLineNo">520</span>    * @param value The new header value.<a name="line.520"></a>
-<span class="sourceLineNo">521</span>    * @return This object (for method chaining).<a name="line.521"></a>
-<span class="sourceLineNo">522</span>    */<a name="line.522"></a>
-<span class="sourceLineNo">523</span>   public RestClientBuilder authorization(Object value) {<a name="line.523"></a>
-<span class="sourceLineNo">524</span>      return header("Authorization", value);<a name="line.524"></a>
-<span class="sourceLineNo">525</span>   }<a name="line.525"></a>
-<span class="sourceLineNo">526</span><a name="line.526"></a>
-<span class="sourceLineNo">527</span>   /**<a name="line.527"></a>
-<span class="sourceLineNo">528</span>    * Sets the value for the &lt;code&gt;Cache-Control&lt;/code&gt; request header.<a name="line.528"></a>
-<span class="sourceLineNo">529</span>    * &lt;p&gt;<a name="line.529"></a>
-<span class="sourceLineNo">530</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Cache-Control"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.530"></a>
-<span class="sourceLineNo">531</span>    *<a name="line.531"></a>
-<span class="sourceLineNo">532</span>    * @param value The new header value.<a name="line.532"></a>
-<span class="sourceLineNo">533</span>    * @return This object (for method chaining).<a name="line.533"></a>
-<span class="sourceLineNo">534</span>    */<a name="line.534"></a>
-<span class="sourceLineNo">535</span>   public RestClientBuilder cacheControl(Object value) {<a name="line.535"></a>
-<span class="sourceLineNo">536</span>      return header("Cache-Control", value);<a name="line.536"></a>
-<span class="sourceLineNo">537</span>   }<a name="line.537"></a>
-<span class="sourceLineNo">538</span><a name="line.538"></a>
-<span class="sourceLineNo">539</span>   /**<a name="line.539"></a>
-<span class="sourceLineNo">540</span>    * Sets the value for the &lt;code&gt;Connection&lt;/code&gt; request header.<a name="line.540"></a>
-<span class="sourceLineNo">541</span>    * &lt;p&gt;<a name="line.541"></a>
-<span class="sourceLineNo">542</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Connection"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.542"></a>
-<span class="sourceLineNo">543</span>    *<a name="line.543"></a>
-<span class="sourceLineNo">544</span>    * @param value The new header value.<a name="line.544"></a>
-<span class="sourceLineNo">545</span>    * @return This object (for method chaining).<a name="line.545"></a>
-<span class="sourceLineNo">546</span>    */<a name="line.546"></a>
-<span class="sourceLineNo">547</span>   public RestClientBuilder connection(Object value) {<a name="line.547"></a>
-<span class="sourceLineNo">548</span>      return header("Connection", value);<a name="line.548"></a>
-<span class="sourceLineNo">549</span>   }<a name="line.549"></a>
-<span class="sourceLineNo">550</span><a name="line.550"></a>
-<span class="sourceLineNo">551</span>   /**<a name="line.551"></a>
-<span class="sourceLineNo">552</span>    * Sets the value for the &lt;code&gt;Content-Length&lt;/code&gt; request header.<a name="line.552"></a>
-<span class="sourceLineNo">553</span>    * &lt;p&gt;<a name="line.553"></a>
-<span class="sourceLineNo">554</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Content-Length"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.554"></a>
-<span class="sourceLineNo">555</span>    *<a name="line.555"></a>
-<span class="sourceLineNo">556</span>    * @param value The new header value.<a name="line.556"></a>
-<span class="sourceLineNo">557</span>    * @return This object (for method chaining).<a name="line.557"></a>
-<span class="sourceLineNo">558</span>    */<a name="line.558"></a>
-<span class="sourceLineNo">559</span>   public RestClientBuilder contentLength(Object value) {<a name="line.559"></a>
-<span class="sourceLineNo">560</span>      return header("Content-Length", value);<a name="line.560"></a>
-<span class="sourceLineNo">561</span>   }<a name="line.561"></a>
-<span class="sourceLineNo">562</span><a name="line.562"></a>
-<span class="sourceLineNo">563</span>   /**<a name="line.563"></a>
-<span class="sourceLineNo">564</span>    * Sets the value for the &lt;code&gt;Content-Type&lt;/code&gt; request header.<a name="line.564"></a>
-<span class="sourceLineNo">565</span>    * &lt;p&gt;<a name="line.565"></a>
-<span class="sourceLineNo">566</span>    * This overrides the media type specified on the serializer, but is overridden by calling &lt;code&gt;header(&lt;js&gt;"Content-Type"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.566"></a>
-<span class="sourceLineNo">567</span>    *<a name="line.567"></a>
-<span class="sourceLineNo">568</span>    * @param value The new header value.<a name="line.568"></a>
-<span class="sourceLineNo">569</span>    * @return This object (for method chaining).<a name="line.569"></a>
-<span class="sourceLineNo">570</span>    */<a name="line.570"></a>
-<span class="sourceLineNo">571</span>   public RestClientBuilder contentType(Object value) {<a name="line.571"></a>
-<span class="sourceLineNo">572</span>      return header("Content-Type", value);<a name="line.572"></a>
-<span class="sourceLineNo">573</span>   }<a name="line.573"></a>
-<span class="sourceLineNo">574</span><a name="line.574"></a>
-<span class="sourceLineNo">575</span>   /**<a name="line.575"></a>
-<span class="sourceLineNo">576</span>    * Sets the value for the &lt;code&gt;Date&lt;/code&gt; request header.<a name="line.576"></a>
-<span class="sourceLineNo">577</span>    * &lt;p&gt;<a name="line.577"></a>
-<span class="sourceLineNo">578</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Date"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.578"></a>
-<span class="sourceLineNo">579</span>    *<a name="line.579"></a>
-<span class="sourceLineNo">580</span>    * @param value The new header value.<a name="line.580"></a>
-<span class="sourceLineNo">581</span>    * @return This object (for method chaining).<a name="line.581"></a>
-<span class="sourceLineNo">582</span>    */<a name="line.582"></a>
-<span class="sourceLineNo">583</span>   public RestClientBuilder date(Object value) {<a name="line.583"></a>
-<span class="sourceLineNo">584</span>      return header("Date", value);<a name="line.584"></a>
-<span class="sourceLineNo">585</span>   }<a name="line.585"></a>
-<span class="sourceLineNo">586</span><a name="line.586"></a>
-<span class="sourceLineNo">587</span>   /**<a name="line.587"></a>
-<span class="sourceLineNo">588</span>    * Sets the value for the &lt;code&gt;Expect&lt;/code&gt; request header.<a name="line.588"></a>
-<span class="sourceLineNo">589</span>    * &lt;p&gt;<a name="line.589"></a>
-<span class="sourceLineNo">590</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Expect"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.590"></a>
-<span class="sourceLineNo">591</span>    *<a name="line.591"></a>
-<span class="sourceLineNo">592</span>    * @param value The new header value.<a name="line.592"></a>
-<span class="sourceLineNo">593</span>    * @return This object (for method chaining).<a name="line.593"></a>
-<span class="sourceLineNo">594</span>    */<a name="line.594"></a>
-<span class="sourceLineNo">595</span>   public RestClientBuilder expect(Object value) {<a name="line.595"></a>
-<span class="sourceLineNo">596</span>      return header("Expect", value);<a name="line.596"></a>
-<span class="sourceLineNo">597</span>   }<a name="line.597"></a>
-<span class="sourceLineNo">598</span><a name="line.598"></a>
-<span class="sourceLineNo">599</span>   /**<a name="line.599"></a>
-<span class="sourceLineNo">600</span>    * Sets the value for the &lt;code&gt;Forwarded&lt;/code&gt; request header.<a name="line.600"></a>
-<span class="sourceLineNo">601</span>    * &lt;p&gt;<a name="line.601"></a>
-<span class="sourceLineNo">602</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Forwarded"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.602"></a>
-<span class="sourceLineNo">603</span>    *<a name="line.603"></a>
-<span class="sourceLineNo">604</span>    * @param value The new header value.<a name="line.604"></a>
-<span class="sourceLineNo">605</span>    * @return This object (for method chaining).<a name="line.605"></a>
-<span class="sourceLineNo">606</span>    */<a name="line.606"></a>
-<span class="sourceLineNo">607</span>   public RestClientBuilder forwarded(Object value) {<a name="line.607"></a>
-<span class="sourceLineNo">608</span>      return header("Forwarded", value);<a name="line.608"></a>
-<span class="sourceLineNo">609</span>   }<a name="line.609"></a>
-<span class="sourceLineNo">610</span><a name="line.610"></a>
-<span class="sourceLineNo">611</span>   /**<a name="line.611"></a>
-<span class="sourceLineNo">612</span>    * Sets the value for the &lt;code&gt;From&lt;/code&gt; request header.<a name="line.612"></a>
-<span class="sourceLineNo">613</span>    * &lt;p&gt;<a name="line.613"></a>
-<span class="sourceLineNo">614</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"From"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.614"></a>
-<span class="sourceLineNo">615</span>    *<a name="line.615"></a>
-<span class="sourceLineNo">616</span>    * @param value The new header value.<a name="line.616"></a>
-<span class="sourceLineNo">617</span>    * @return This object (for method chaining).<a name="line.617"></a>
-<span class="sourceLineNo">618</span>    */<a name="line.618"></a>
-<span class="sourceLineNo">619</span>   public RestClientBuilder from(Object value) {<a name="line.619"></a>
-<span class="sourceLineNo">620</span>      return header("From", value);<a name="line.620"></a>
-<span class="sourceLineNo">621</span>   }<a name="line.621"></a>
-<span class="sourceLineNo">622</span><a name="line.622"></a>
-<span class="sourceLineNo">623</span>   /**<a name="line.623"></a>
-<span class="sourceLineNo">624</span>    * Sets the value for the &lt;code&gt;Host&lt;/code&gt; request header.<a name="line.624"></a>
-<span class="sourceLineNo">625</span>    * &lt;p&gt;<a name="line.625"></a>
-<span class="sourceLineNo">626</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Host"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.626"></a>
-<span class="sourceLineNo">627</span>    *<a name="line.627"></a>
-<span class="sourceLineNo">628</span>    * @param value The new header value.<a name="line.628"></a>
-<span class="sourceLineNo">629</span>    * @return This object (for method chaining).<a name="line.629"></a>
-<span class="sourceLineNo">630</span>    */<a name="line.630"></a>
-<span class="sourceLineNo">631</span>   public RestClientBuilder host(Object value) {<a name="line.631"></a>
-<span class="sourceLineNo">632</span>      return header("Host", value);<a name="line.632"></a>
-<span class="sourceLineNo">633</span>   }<a name="line.633"></a>
-<span class="sourceLineNo">634</span><a name="line.634"></a>
-<span class="sourceLineNo">635</span>   /**<a name="line.635"></a>
-<span class="sourceLineNo">636</span>    * Sets the value for the &lt;code&gt;If-Match&lt;/code&gt; request header.<a name="line.636"></a>
-<span class="sourceLineNo">637</span>    * &lt;p&gt;<a name="line.637"></a>
-<span class="sourceLineNo">638</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"If-Match"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.638"></a>
-<span class="sourceLineNo">639</span>    *<a name="line.639"></a>
-<span class="sourceLineNo">640</span>    * @param value The new header value.<a name="line.640"></a>
-<span class="sourceLineNo">641</span>    * @return This object (for method chaining).<a name="line.641"></a>
-<span class="sourceLineNo">642</span>    */<a name="line.642"></a>
-<span class="sourceLineNo">643</span>   public RestClientBuilder ifMatch(Object value) {<a name="line.643"></a>
-<span class="sourceLineNo">644</span>      return header("If-Match", value);<a name="line.644"></a>
-<span class="sourceLineNo">645</span>   }<a name="line.645"></a>
-<span class="sourceLineNo">646</span><a name="line.646"></a>
-<span class="sourceLineNo">647</span>   /**<a name="line.647"></a>
-<span class="sourceLineNo">648</span>    * Sets the value for the &lt;code&gt;If-Modified-Since&lt;/code&gt; request header.<a name="line.648"></a>
-<span class="sourceLineNo">649</span>    * &lt;p&gt;<a name="line.649"></a>
-<span class="sourceLineNo">650</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"If-Modified-Since"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.650"></a>
-<span class="sourceLineNo">651</span>    *<a name="line.651"></a>
-<span class="sourceLineNo">652</span>    * @param value The new header value.<a name="line.652"></a>
-<span class="sourceLineNo">653</span>    * @return This object (for method chaining).<a name="line.653"></a>
-<span class="sourceLineNo">654</span>    */<a name="line.654"></a>
-<span class="sourceLineNo">655</span>   public RestClientBuilder ifModifiedSince(Object value) {<a name="line.655"></a>
-<span cl

<TRUNCATED>


[27/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/uon/UonUtils.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/uon/UonUtils.html b/content/site/apidocs/org/apache/juneau/uon/UonUtils.html
new file mode 100644
index 0000000..b15e9d3
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/uon/UonUtils.html
@@ -0,0 +1,283 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>UonUtils (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="UonUtils (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = {"i0":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/uon/UonUtils.html" target="_top">Frames</a></li>
+<li><a href="UonUtils.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.uon</div>
+<h2 title="Class UonUtils" class="title">Class UonUtils</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.uon.UonUtils</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/uon/UonUtils.html#line.20">UonUtils</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Utility methods for the UON and UrlEncoding serializers and parsers.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/uon/UonUtils.html#UonUtils--">UonUtils</a></span>()</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/uon/UonUtils.html#needsQuotes-java.lang.String-">needsQuotes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
+<div class="block">Returns <jk>true</jk> if the specified string needs to be quoted per UON notation.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="UonUtils--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>UonUtils</h4>
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonUtils.html#line.20">UonUtils</a>()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="needsQuotes-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>needsQuotes</h4>
+<pre>public static final&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonUtils.html#line.34">needsQuotes</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
+<div class="block">Returns <jk>true</jk> if the specified string needs to be quoted per UON notation.
+ <p>
+ For example, strings that start with '(' or '@' or look like boolean or numeric values
+ need to be quoted.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>s</code> - The string to test.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the specified string needs to be quoted per UON notation.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/uon/UonUtils.html" target="_top">Frames</a></li>
+<li><a href="UonUtils.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/uon/UonWriter.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/uon/UonWriter.html b/content/site/apidocs/org/apache/juneau/uon/UonWriter.html
index bbc1387..d854626 100644
--- a/content/site/apidocs/org/apache/juneau/uon/UonWriter.html
+++ b/content/site/apidocs/org/apache/juneau/uon/UonWriter.html
@@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
 <li>Next&nbsp;Class</li>
 </ul>
 <ul class="navList">
@@ -269,8 +269,9 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 </tr>
 <tr id="i11" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/uon/UonWriter.html#appendObject-java.lang.Object-boolean-">appendObject</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o,
-            boolean&nbsp;isTopAttrName)</code>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/uon/UonWriter.html#appendObject-java.lang.Object-boolean-boolean-">appendObject</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o,
+            boolean&nbsp;isTopAttrName,
+            boolean&nbsp;plainTextParams)</code>
 <div class="block">Serializes the specified simple object as a UON string value.</div>
 </td>
 </tr>
@@ -346,7 +347,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockListLast">
 <li class="blockList">
 <h4>UonWriter</h4>
-<pre>protected&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.60">UonWriter</a>(<a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon">UonSerializerSession</a>&nbsp;session,
+<pre>protected&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.58">UonWriter</a>(<a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon">UonSerializerSession</a>&nbsp;session,
                     <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;out,
                     boolean&nbsp;useWhitespace,
                     boolean&nbsp;encodeChars,
@@ -374,20 +375,22 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <!--   -->
 </a>
 <h3>Method Detail</h3>
-<a name="appendObject-java.lang.Object-boolean-">
+<a name="appendObject-java.lang.Object-boolean-boolean-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>appendObject</h4>
-<pre>public final&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.74">appendObject</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o,
-                                    boolean&nbsp;isTopAttrName)
+<pre>public final&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.73">appendObject</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o,
+                                    boolean&nbsp;isTopAttrName,
+                                    boolean&nbsp;plainTextParams)
                              throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Serializes the specified simple object as a UON string value.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>o</code> - The object being serialized.</dd>
 <dd><code>isTopAttrName</code> - If this is a top-level attribute name we're serializing.</dd>
+<dd><code>plainTextParams</code> - This is a top-level name or parameter we're serializing and the parameter format is PLAINTEXT.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -401,7 +404,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>appendBoolean</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.147">appendBoolean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.131">appendBoolean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)
                            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Appends a boolean value to the output.</div>
 <dl>
@@ -420,7 +423,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>appendNumber</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.159">appendNumber</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.143">appendNumber</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)
                           throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Appends a numeric value to the output.</div>
 <dl>
@@ -439,7 +442,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>appendUri</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/serializer/SerializerWriter.html" title="class in org.apache.juneau.serializer">SerializerWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.182">appendUri</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;uri)
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/serializer/SerializerWriter.html" title="class in org.apache.juneau.serializer">SerializerWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.166">appendUri</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;uri)
                            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Appends a URI to the output.</div>
 <dl>
@@ -460,7 +463,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>cr</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.205">cr</a>(int&nbsp;depth)
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.189">cr</a>(int&nbsp;depth)
              throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerWriter.html#cr-int-">SerializerWriter</a></code></span></div>
 <div class="block">Performs a carriage return.
@@ -484,7 +487,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>appendln</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.211">appendln</a>(int&nbsp;indent,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.195">appendln</a>(int&nbsp;indent,
                           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text)
                    throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerWriter.html#appendln-int-java.lang.String-">SerializerWriter</a></code></span></div>
@@ -509,7 +512,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>appendln</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.217">appendln</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text)
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.201">appendln</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text)
                    throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerWriter.html#appendln-java.lang.String-">SerializerWriter</a></code></span></div>
 <div class="block">Writes the specified text followed by a newline (if the <code>useWhitespace</code> setting is enabled).</div>
@@ -531,7 +534,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>append</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.223">append</a>(int&nbsp;indent,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.207">append</a>(int&nbsp;indent,
                         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text)
                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerWriter.html#append-int-java.lang.String-">SerializerWriter</a></code></span></div>
@@ -555,7 +558,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>append</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.229">append</a>(int&nbsp;indent,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.213">append</a>(int&nbsp;indent,
                         char&nbsp;c)
                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerWriter.html#append-int-char-">SerializerWriter</a></code></span></div>
@@ -579,7 +582,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>q</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.235">q</a>()
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.219">q</a>()
             throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerWriter.html#q--">SerializerWriter</a></code></span></div>
 <div class="block">Adds the quote character specified by the <code>quoteChar</code> setting to the output.</div>
@@ -599,7 +602,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>i</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.241">i</a>(int&nbsp;indent)
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.225">i</a>(int&nbsp;indent)
             throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerWriter.html#i-int-">SerializerWriter</a></code></span></div>
 <div class="block">Writes an indent to the writer if the <code>useWhitespace</code> setting is enabled.</div>
@@ -621,7 +624,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>nl</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.247">nl</a>()
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.231">nl</a>()
              throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerWriter.html#nl--">SerializerWriter</a></code></span></div>
 <div class="block">Writes a newline to the writer if the <code>useWhitespace</code> setting is enabled.</div>
@@ -641,7 +644,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>append</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.253">append</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;text)
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.237">append</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;text)
                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerWriter.html#append-java.lang.Object-">SerializerWriter</a></code></span></div>
 <div class="block">Writes the specified text to the writer.</div>
@@ -663,7 +666,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>append</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.259">append</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text)
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.243">append</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text)
                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerWriter.html#append-java.lang.String-">SerializerWriter</a></code></span></div>
 <div class="block">Writes the specified text to the writer.</div>
@@ -685,7 +688,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>appendIf</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.265">appendIf</a>(boolean&nbsp;b,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.249">appendIf</a>(boolean&nbsp;b,
                           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text)
                    throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerWriter.html#appendIf-boolean-java.lang.String-">SerializerWriter</a></code></span></div>
@@ -709,7 +712,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>appendIf</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.271">appendIf</a>(boolean&nbsp;b,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.255">appendIf</a>(boolean&nbsp;b,
                           char&nbsp;c)
                    throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerWriter.html#appendIf-boolean-char-">SerializerWriter</a></code></span></div>
@@ -733,7 +736,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 <ul class="blockListLast">
 <li class="blockList">
 <h4>append</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.277">append</a>(char&nbsp;c)
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonWriter.html#line.261">append</a>(char&nbsp;c)
                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -772,7 +775,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html"
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
 <li>Next&nbsp;Class</li>
 </ul>
 <ul class="navList">

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/uon/package-frame.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/uon/package-frame.html b/content/site/apidocs/org/apache/juneau/uon/package-frame.html
index 2781306..76cac54 100644
--- a/content/site/apidocs/org/apache/juneau/uon/package-frame.html
+++ b/content/site/apidocs/org/apache/juneau/uon/package-frame.html
@@ -25,6 +25,7 @@
 <li><a href="UonSerializerBuilder.html" title="class in org.apache.juneau.uon" target="classFrame">UonSerializerBuilder</a></li>
 <li><a href="UonSerializerContext.html" title="class in org.apache.juneau.uon" target="classFrame">UonSerializerContext</a></li>
 <li><a href="UonSerializerSession.html" title="class in org.apache.juneau.uon" target="classFrame">UonSerializerSession</a></li>
+<li><a href="UonUtils.html" title="class in org.apache.juneau.uon" target="classFrame">UonUtils</a></li>
 <li><a href="UonWriter.html" title="class in org.apache.juneau.uon" target="classFrame">UonWriter</a></li>
 </ul>
 </div>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/uon/package-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/uon/package-summary.html b/content/site/apidocs/org/apache/juneau/uon/package-summary.html
index c36e8b4..cae4a72 100644
--- a/content/site/apidocs/org/apache/juneau/uon/package-summary.html
+++ b/content/site/apidocs/org/apache/juneau/uon/package-summary.html
@@ -158,6 +158,12 @@
 </td>
 </tr>
 <tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon">UonUtils</a></td>
+<td class="colLast">
+<div class="block">Utility methods for the UON and UrlEncoding serializers and parsers.</div>
+</td>
+</tr>
+<tr class="rowColor">
 <td class="colFirst"><a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a></td>
 <td class="colLast">
 <div class="block">Specialized writer for serializing UON-encoded text.</div>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/uon/package-tree.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/uon/package-tree.html b/content/site/apidocs/org/apache/juneau/uon/package-tree.html
index f73ce36..e9b66de 100644
--- a/content/site/apidocs/org/apache/juneau/uon/package-tree.html
+++ b/content/site/apidocs/org/apache/juneau/uon/package-tree.html
@@ -170,6 +170,7 @@
 </li>
 </ul>
 </li>
+<li type="circle">org.apache.juneau.uon.<a href="../../../../org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">UonUtils</span></a></li>
 <li type="circle">java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><span class="typeNameLink">Writer</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Flushable.html?is-external=true" title="class or interface in java.io">Flushable</a>)
 <ul>
 <li type="circle">org.apache.juneau.serializer.<a href="../../../../org/apache/juneau/serializer/SerializerWriter.html" title="class in org.apache.juneau.serializer"><span class="typeNameLink">SerializerWriter</span></a>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingParser.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingParser.html b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingParser.html
index 75a9597..d135e85 100644
--- a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingParser.html
+++ b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingParser.html
@@ -289,25 +289,25 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
 </tr>
 <tr id="i6" class="altColor">
 <td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html#parseParameter-java.lang.CharSequence-java.lang.Class-">parseParameter</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;in,
-              <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)</code>
-<div class="block">Parses a single query parameter value into the specified class type.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html#parsePart-java.lang.String-java.lang.Class-">parsePart</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in,
+         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)</code>
+<div class="block">Parses a single query parameter or header value into the specified class type.</div>
 </td>
 </tr>
 <tr id="i7" class="rowColor">
 <td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html#parseParameter-java.lang.CharSequence-org.apache.juneau.ClassMeta-">parseParameter</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;in,
-              <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;T&gt;&nbsp;type)</code>
-<div class="block">Same as <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html#parseParameter-java.lang.CharSequence-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>parseParameter(CharSequence, Type, Type...)</code></a> except the type has already
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html#parsePart-java.lang.String-org.apache.juneau.ClassMeta-">parsePart</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in,
+         <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;T&gt;&nbsp;type)</code>
+<div class="block">Same as <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html#parsePart-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>parsePart(String, Type, Type...)</code></a> except the type has already
  been converted to a <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> object.</div>
 </td>
 </tr>
 <tr id="i8" class="altColor">
 <td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html#parseParameter-java.lang.CharSequence-java.lang.reflect.Type-java.lang.reflect.Type...-">parseParameter</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;in,
-              <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
-              <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)</code>
-<div class="block">Parses a single query parameter value into the specified class type.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html#parsePart-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">parsePart</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in,
+         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
+         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)</code>
+<div class="block">Parses a single query parameter or header value into the specified class type.</div>
 </td>
 </tr>
 </table>
@@ -458,17 +458,17 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
 </dl>
 </li>
 </ul>
-<a name="parseParameter-java.lang.CharSequence-java.lang.reflect.Type-java.lang.reflect.Type...-">
+<a name="parsePart-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
-<h4>parseParameter</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.429">parseParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;in,
-                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
-                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)
-                     throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
-<div class="block">Parses a single query parameter value into the specified class type.</div>
+<h4>parsePart</h4>
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.429">parsePart</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in,
+                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
+                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)
+                throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Parses a single query parameter or header value into the specified class type.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>in</code> - The input query string value.</dd>
@@ -484,16 +484,16 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
 </dl>
 </li>
 </ul>
-<a name="parseParameter-java.lang.CharSequence-java.lang.Class-">
+<a name="parsePart-java.lang.String-java.lang.Class-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
-<h4>parseParameter</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.453">parseParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;in,
-                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
-                     throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
-<div class="block">Parses a single query parameter value into the specified class type.</div>
+<h4>parsePart</h4>
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.443">parsePart</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in,
+                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
+                throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Parses a single query parameter or header value into the specified class type.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>in</code> - The input query string value.</dd>
@@ -505,16 +505,16 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
 </dl>
 </li>
 </ul>
-<a name="parseParameter-java.lang.CharSequence-org.apache.juneau.ClassMeta-">
+<a name="parsePart-java.lang.String-org.apache.juneau.ClassMeta-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
-<h4>parseParameter</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.478">parseParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;in,
-                            <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;T&gt;&nbsp;type)
-                     throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
-<div class="block">Same as <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html#parseParameter-java.lang.CharSequence-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>parseParameter(CharSequence, Type, Type...)</code></a> except the type has already
+<h4>parsePart</h4>
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.458">parsePart</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in,
+                       <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;T&gt;&nbsp;type)
+                throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
+<div class="block">Same as <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html#parsePart-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>parsePart(String, Type, Type...)</code></a> except the type has already
  been converted to a <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> object.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -533,7 +533,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>createSession</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParserSession.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParserSession</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.500">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParserSession.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParserSession</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.490">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
                                               <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;op,
                                               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;javaMethod,
                                               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer,
@@ -571,7 +571,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
 <ul class="blockList">
 <li class="blockList">
 <h4>doParse</h4>
-<pre>protected&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.505">doParse</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;session,
+<pre>protected&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.495">doParse</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;session,
                         <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;T&gt;&nbsp;type)
                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/parser/Parser.html#doParse-org.apache.juneau.parser.ParserSession-org.apache.juneau.ClassMeta-">Parser</a></code></span></div>
@@ -600,7 +600,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonParser.html" title="class
 <ul class="blockListLast">
 <li class="blockList">
 <h4>doParseIntoMap</h4>
-<pre>protected&nbsp;&lt;K,V&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;K,V&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.513">doParseIntoMap</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;session,
+<pre>protected&nbsp;&lt;K,V&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;K,V&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html#line.503">doParseIntoMap</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;session,
                                         <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;K,V&gt;&nbsp;m,
                                         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;keyType,
                                         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;valueType)

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.Expanded.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.Expanded.html b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.Expanded.html
index bf91459..83a6980 100644
--- a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.Expanded.html
+++ b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.Expanded.html
@@ -243,14 +243,14 @@ extends <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;org.apache.juneau.urlencoding.<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a></h3>
-<code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#builder--">builder</a>, <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">createSession</a>, <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#doSerialize-org.apache.juneau.serializer.SerializerSession-java.lang.Object-">doSerialize</a>, <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializeUrlPart-java.lang.Object-">serializeUrlPart</a></code></li>
+<code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#builder--">builder</a>, <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">createSession</a>, <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#doSerialize-org.apache.juneau.serializer.SerializerSession-java.lang.Object-">doSerialize</a>, <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-">serializePart</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.uon.UonSerializer">
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;org.apache.juneau.uon.<a href="../../../../org/apache/juneau/uon/UonSerializer.html" title="class in org.apache.juneau.uon">UonSerializer</a></h3>
-<code><a href="../../../../org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-">serializeAnything</a></code></li>
+<code><a href="../../../../org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-boolean-">serializeAnything</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.serializer.WriterSerializer">

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.Readable.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.Readable.html b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.Readable.html
index 0f23b5c..5e1bf1b 100644
--- a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.Readable.html
+++ b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.Readable.html
@@ -241,14 +241,14 @@ extends <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;org.apache.juneau.urlencoding.<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a></h3>
-<code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#builder--">builder</a>, <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">createSession</a>, <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#doSerialize-org.apache.juneau.serializer.SerializerSession-java.lang.Object-">doSerialize</a>, <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializeUrlPart-java.lang.Object-">serializeUrlPart</a></code></li>
+<code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#builder--">builder</a>, <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">createSession</a>, <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#doSerialize-org.apache.juneau.serializer.SerializerSession-java.lang.Object-">doSerialize</a>, <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-">serializePart</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.uon.UonSerializer">
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;org.apache.juneau.uon.<a href="../../../../org/apache/juneau/uon/UonSerializer.html" title="class in org.apache.juneau.uon">UonSerializer</a></h3>
-<code><a href="../../../../org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-">serializeAnything</a></code></li>
+<code><a href="../../../../org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-boolean-">serializeAnything</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.serializer.WriterSerializer">

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.html b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.html
index 445364d..843ab6c 100644
--- a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.html
+++ b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializer.html
@@ -387,7 +387,9 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializer.html" title="cl
 </tr>
 <tr id="i4" class="altColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializeUrlPart-java.lang.Object-">serializeUrlPart</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-">serializePart</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o,
+             <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;urlEncode,
+             <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;plainTextParams)</code>
 <div class="block">Converts the specified object to a string using this serializers <a href="../../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-java.lang.Class-"><code>BeanSession.convertToType(Object, Class)</code></a> method
    and runs <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URLEncoder.html?is-external=true#encode-java.lang.String-java.lang.String-" title="class or interface in java.net"><code>URLEncoder.encode(String,String)</code></a> against the results.</div>
 </td>
@@ -398,7 +400,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializer.html" title="cl
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;org.apache.juneau.uon.<a href="../../../../org/apache/juneau/uon/UonSerializer.html" title="class in org.apache.juneau.uon">UonSerializer</a></h3>
-<code><a href="../../../../org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-">serializeAnything</a></code></li>
+<code><a href="../../../../org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-boolean-">serializeAnything</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.serializer.WriterSerializer">
@@ -541,19 +543,25 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializer.html" title="cl
 </dl>
 </li>
 </ul>
-<a name="serializeUrlPart-java.lang.Object-">
+<a name="serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
-<h4>serializeUrlPart</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.html#line.392">serializeUrlPart</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
+<h4>serializePart</h4>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.html#line.398">serializePart</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o,
+                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;urlEncode,
+                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;plainTextParams)</pre>
 <div class="block">Converts the specified object to a string using this serializers <a href="../../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-java.lang.Class-"><code>BeanSession.convertToType(Object, Class)</code></a> method
    and runs <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URLEncoder.html?is-external=true#encode-java.lang.String-java.lang.String-" title="class or interface in java.net"><code>URLEncoder.encode(String,String)</code></a> against the results.
  Useful for constructing URL parts.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>o</code> - The object to serialize.</dd>
+<dd><code>urlEncode</code> - URL-encode the string if necessary.
+ If <jk>null</jk>, then uses the value of the <a href="../../../../org/apache/juneau/uon/UonSerializerContext.html#UON_encodeChars"><code>UonSerializerContext.UON_encodeChars</code></a> setting.</dd>
+<dd><code>plainTextParams</code> - Whether we're using plain-text params.
+ If <jk>null</jk>, then uses the value from the <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#URLENC_paramFormat"><code>UrlEncodingSerializerContext.URLENC_paramFormat</code></a> setting.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>The serialized object.</dd>
 </dl>
@@ -565,7 +573,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializer.html" title="cl
 <ul class="blockList">
 <li class="blockList">
 <h4>createSession</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerSession</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.html#line.415">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;output,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerSession</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.html#line.428">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;output,
                                                   <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;op,
                                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;javaMethod,
                                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&nbsp;locale,
@@ -612,7 +620,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializer.html" title="cl
 <ul class="blockListLast">
 <li class="blockList">
 <h4>doSerialize</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.html#line.420">doSerialize</a>(<a href="../../../../org/apache/juneau/serializer/SerializerSession.html" title="class in org.apache.juneau.serializer">SerializerSession</a>&nbsp;session,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializer.html#line.433">doSerialize</a>(<a href="../../../../org/apache/juneau/serializer/SerializerSession.html" title="class in org.apache.juneau.serializer">SerializerSession</a>&nbsp;session,
                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)
                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/Serializer.html#doSerialize-org.apache.juneau.serializer.SerializerSession-java.lang.Object-">Serializer</a></code></span></div>


[32/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/RestResponse.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RestResponse.html b/content/site/apidocs/org/apache/juneau/rest/RestResponse.html
index 988cc62..77b4298 100644
--- a/content/site/apidocs/org/apache/juneau/rest/RestResponse.html
+++ b/content/site/apidocs/org/apache/juneau/rest/RestResponse.html
@@ -365,7 +365,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getSerializerGroup</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/serializer/SerializerGroup.html" title="class in org.apache.juneau.serializer">SerializerGroup</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.123">getSerializerGroup</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/serializer/SerializerGroup.html" title="class in org.apache.juneau.serializer">SerializerGroup</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.124">getSerializerGroup</a>()</pre>
 <div class="block">Gets the serializer group for the response.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -379,7 +379,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getSupportedMediaTypes</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.132">getSupportedMediaTypes</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.133">getSupportedMediaTypes</a>()</pre>
 <div class="block">Returns the media types that are valid for <code>Accept</code> headers on the request.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -393,7 +393,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getSupportedEncodings</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.142">getSupportedEncodings</a>()
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.143">getSupportedEncodings</a>()
                                    throws <a href="../../../../org/apache/juneau/rest/RestServletException.html" title="class in org.apache.juneau.rest">RestServletException</a></pre>
 <div class="block">Returns the codings that are valid for <code>Accept-Encoding</code> and <code>Content-Encoding</code> headers on the request.</div>
 <dl>
@@ -410,7 +410,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>setOutput</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.163">setOutput</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;output)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.164">setOutput</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;output)</pre>
 <div class="block">Sets the HTTP output on the response.
  <p>
  Calling this method is functionally equivalent to returning the object in the REST Java method.
@@ -437,7 +437,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>setProperty</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.184">setProperty</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.185">setProperty</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
                                 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
 <div class="block">Add a serializer property to send to the serializers to override a default value.
  <p>
@@ -463,7 +463,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getProperties</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.194">getProperties</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.195">getProperties</a>()</pre>
 <div class="block">Returns the properties set via <a href="../../../../org/apache/juneau/rest/RestResponse.html#setProperty-java.lang.String-java.lang.Object-"><code>setProperty(String, Object)</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -477,7 +477,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>setOutputs</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.213">setOutputs</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;output)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.214">setOutputs</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;output)</pre>
 <div class="block">Shortcut method that allows you to use varargs to simplify setting array output.
 
  <h5 class='section'>Example:</h5>
@@ -502,7 +502,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getOutput</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.223">getOutput</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.224">getOutput</a>()</pre>
 <div class="block">Returns the output that was set by calling <a href="../../../../org/apache/juneau/rest/RestResponse.html#setOutput-java.lang.Object-"><code>setOutput(Object)</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -516,7 +516,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>hasOutput</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.232">hasOutput</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.233">hasOutput</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this response has any output associated with it.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -530,7 +530,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>sendPlainText</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.243">sendPlainText</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text)
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.244">sendPlainText</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;text)
                            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Sets the output to a plain-text message regardless of the content type.</div>
 <dl>
@@ -549,7 +549,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getNegotiatedOutputStream</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletOutputStream.html?is-external=true" title="class or interface in javax.servlet">ServletOutputStream</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.257">getNegotiatedOutputStream</a>()
+<pre>public&nbsp;<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletOutputStream.html?is-external=true" title="class or interface in javax.servlet">ServletOutputStream</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.258">getNegotiatedOutputStream</a>()
                                               throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Equivalent to <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletResponse.html?is-external=true#getOutputStream--" title="class or interface in javax.servlet"><code>ServletResponse.getOutputStream()</code></a>, except
    wraps the output stream if an <a href="../../../../org/apache/juneau/encoders/Encoder.html" title="class in org.apache.juneau.encoders"><code>Encoder</code></a> was found that matched
@@ -568,7 +568,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getOutputStream</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletOutputStream.html?is-external=true" title="class or interface in javax.servlet">ServletOutputStream</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.308">getOutputStream</a>()
+<pre>public&nbsp;<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletOutputStream.html?is-external=true" title="class or interface in javax.servlet">ServletOutputStream</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.309">getOutputStream</a>()
                                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -586,7 +586,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getOutputStreamCalled</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.319">getOutputStreamCalled</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.320">getOutputStreamCalled</a>()</pre>
 <div class="block">Returns <jk>true</jk> if <a href="../../../../org/apache/juneau/rest/RestResponse.html#getOutputStream--"><code>getOutputStream()</code></a> has been called.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -600,7 +600,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getWriter</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.329">getWriter</a>()
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.330">getWriter</a>()
                       throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Returns the writer to the response body.
  This methods bypasses any specified encoders and returns a regular unbuffered writer.
@@ -621,7 +621,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getDirectWriter</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.342">getDirectWriter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType)
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.343">getDirectWriter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType)
                             throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Convenience method meant to be used when rendering directly to a browser with no buffering.
  Sets the header <js>"x-content-type-options=nosniff"</js> so that output is rendered
@@ -642,7 +642,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getNegotiatedWriter</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.357">getNegotiatedWriter</a>()
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.358">getNegotiatedWriter</a>()
                                 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Equivalent to <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletResponse.html?is-external=true#getWriter--" title="class or interface in javax.servlet"><code>ServletResponse.getWriter()</code></a>, except
    wraps the output stream if an <a href="../../../../org/apache/juneau/encoders/Encoder.html" title="class in org.apache.juneau.encoders"><code>Encoder</code></a> was found that matched
@@ -662,7 +662,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getMediaType</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.382">getMediaType</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.383">getMediaType</a>()</pre>
 <div class="block">Returns the <code>Content-Type</code> header stripped of the charset attribute if present.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -676,7 +676,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>sendRedirect</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.394">sendRedirect</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;uri)
+<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.395">sendRedirect</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;uri)
                   throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Redirects to the specified URI.
  <p>
@@ -699,7 +699,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getUrlEncodingSerializer</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.406">getUrlEncodingSerializer</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.407">getUrlEncodingSerializer</a>()</pre>
 <div class="block">Returns the URL-encoding serializer associated with this response.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -713,7 +713,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>setHeader</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.411">setHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.412">setHeader</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -729,7 +729,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>setPageTitle</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.436">setPageTitle</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;title)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.437">setPageTitle</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;title)</pre>
 <div class="block">Sets the page title for HTML views.
  <p>
  This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageTitle--"><code>@RestResource#pageTitle()</code></a>/
@@ -755,7 +755,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>setPageText</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.455">setPageText</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;text)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.456">setPageText</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;text)</pre>
 <div class="block">Sets the page text for HTML views.
  <p>
  This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageText--"><code>@RestResource#pageText()</code></a>/
@@ -780,7 +780,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockListLast">
 <li class="blockList">
 <h4>setPageLinks</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.474">setPageLinks</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;links)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestResponse.html#line.475">setPageLinks</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;links)</pre>
 <div class="block">Sets the page text for HTML views.
  <p>
  This is the programmatic equivalent to the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageLinks--"><code>@RestResource#pageLinks()</code></a>/

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/RestServlet.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RestServlet.html b/content/site/apidocs/org/apache/juneau/rest/RestServlet.html
index 393a35f..61e521f 100644
--- a/content/site/apidocs/org/apache/juneau/rest/RestServlet.html
+++ b/content/site/apidocs/org/apache/juneau/rest/RestServlet.html
@@ -580,7 +580,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getMessages</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils">MessageBundle</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestServlet.html#line.261">getMessages</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils">MessageBundle</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestServlet.html#line.262">getMessages</a>()</pre>
 <div class="block">Convenience method for calling <code>getContext().getMessages();</code></div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -596,7 +596,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockList">
 <li class="blockList">
 <h4>getProperties</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestServlet.html#line.270">getProperties</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestServlet.html#line.271">getProperties</a>()</pre>
 <div class="block">Convenience method for calling <code>getContext().getProperties();</code></div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -612,7 +612,7 @@ extends <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServ
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getBeanContext</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestServlet.html#line.279">getBeanContext</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestServlet.html#line.280">getBeanContext</a>()</pre>
 <div class="block">Convenience method for calling <code>getContext().getBeanContext();</code></div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/RestUtils.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RestUtils.html b/content/site/apidocs/org/apache/juneau/rest/RestUtils.html
index ab33041..ea2627c 100644
--- a/content/site/apidocs/org/apache/juneau/rest/RestUtils.html
+++ b/content/site/apidocs/org/apache/juneau/rest/RestUtils.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9};
+var methods = {"i0":9,"i1":9,"i2":9};
 var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -108,7 +108,7 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <hr>
 <br>
-<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.27">RestUtils</a>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.24">RestUtils</a>
 extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
 <div class="block">Various reusable utility methods.</div>
 </li>
@@ -148,29 +148,17 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </tr>
 <tr id="i0" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestUtils.html#decode-java.lang.String-">decode</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
-<div class="block">Decodes a <code>application/x-www-form-urlencoded</code> string using <code>UTF-8</code> encoding scheme.</div>
-</td>
-</tr>
-<tr id="i1" class="rowColor">
-<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestUtils.html#encode-java.lang.String-">encode</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
-<div class="block">Encodes a <code>application/x-www-form-urlencoded</code> string using <code>UTF-8</code> encoding scheme.</div>
-</td>
-</tr>
-<tr id="i2" class="altColor">
-<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestUtils.html#getHttpResponseText-int-">getHttpResponseText</a></span>(int&nbsp;rc)</code>
 <div class="block">Returns readable text for an HTTP response code.</div>
 </td>
 </tr>
-<tr id="i3" class="rowColor">
+<tr id="i1" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestUtils.html#getPathInfoUndecoded-javax.servlet.http.HttpServletRequest-">getPathInfoUndecoded</a></span>(<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a>&nbsp;req)</code>
 <div class="block">Identical to <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true#getPathInfo--" title="class or interface in javax.servlet.http"><code>HttpServletRequest.getPathInfo()</code></a> but doesn't decode encoded characters.</div>
 </td>
 </tr>
-<tr id="i4" class="altColor">
+<tr id="i2" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestUtils.html#trimPathInfo-java.lang.StringBuffer-java.lang.String-java.lang.String-">trimPathInfo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;requestURI,
             <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contextPath,
@@ -178,24 +166,6 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <div class="block">Efficiently trims the path info part from a request URI.</div>
 </td>
 </tr>
-<tr id="i5" class="rowColor">
-<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestUtils.html#trimSlashes-java.lang.String-">trimSlashes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
-<div class="block">Trims <js>'/'</js> characters from both the start and end of the specified string.</div>
-</td>
-</tr>
-<tr id="i6" class="altColor">
-<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestUtils.html#trimTrailingSlashes-java.lang.String-">trimTrailingSlashes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
-<div class="block">Trims <js>'/'</js> characters from the end of the specified string.</div>
-</td>
-</tr>
-<tr id="i7" class="rowColor">
-<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestUtils.html#trimTrailingSlashes-java.lang.StringBuffer-">trimTrailingSlashes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;s)</code>
-<div class="block">Trims <js>'/'</js> characters from the end of the specified string.</div>
-</td>
-</tr>
 </table>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
@@ -224,7 +194,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>RestUtils</h4>
-<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.27">RestUtils</a>()</pre>
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.24">RestUtils</a>()</pre>
 </li>
 </ul>
 </li>
@@ -241,7 +211,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>getHttpResponseText</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.35">getHttpResponseText</a>(int&nbsp;rc)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.32">getHttpResponseText</a>(int&nbsp;rc)</pre>
 <div class="block">Returns readable text for an HTTP response code.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -251,93 +221,13 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </dl>
 </li>
 </ul>
-<a name="trimSlashes-java.lang.String-">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>trimSlashes</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.84">trimSlashes</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
-<div class="block">Trims <js>'/'</js> characters from both the start and end of the specified string.</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>s</code> - The string to trim.</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>A new trimmed string, or the same string if no trimming was necessary.</dd>
-</dl>
-</li>
-</ul>
-<a name="trimTrailingSlashes-java.lang.String-">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>trimTrailingSlashes</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.100">trimTrailingSlashes</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
-<div class="block">Trims <js>'/'</js> characters from the end of the specified string.</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>s</code> - The string to trim.</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>A new trimmed string, or the same string if no trimming was necessary.</dd>
-</dl>
-</li>
-</ul>
-<a name="trimTrailingSlashes-java.lang.StringBuffer-">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>trimTrailingSlashes</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.114">trimTrailingSlashes</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;s)</pre>
-<div class="block">Trims <js>'/'</js> characters from the end of the specified string.</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>s</code> - The string to trim.</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>The same string buffer.</dd>
-</dl>
-</li>
-</ul>
-<a name="decode-java.lang.String-">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>decode</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.128">decode</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
-<div class="block">Decodes a <code>application/x-www-form-urlencoded</code> string using <code>UTF-8</code> encoding scheme.</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>s</code> - The string to decode.</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>The decoded string, or <jk>null</jk> if input is <jk>null</jk>.</dd>
-</dl>
-</li>
-</ul>
-<a name="encode-java.lang.String-">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>encode</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.153">encode</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
-<div class="block">Encodes a <code>application/x-www-form-urlencoded</code> string using <code>UTF-8</code> encoding scheme.</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>s</code> - The string to encode.</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>The encoded string, or <jk>null</jk> if input is <jk>null</jk>.</dd>
-</dl>
-</li>
-</ul>
 <a name="getPathInfoUndecoded-javax.servlet.http.HttpServletRequest-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>getPathInfoUndecoded</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.172">getPathInfoUndecoded</a>(<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a>&nbsp;req)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.81">getPathInfoUndecoded</a>(<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a>&nbsp;req)</pre>
 <div class="block">Identical to <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true#getPathInfo--" title="class or interface in javax.servlet.http"><code>HttpServletRequest.getPathInfo()</code></a> but doesn't decode encoded characters.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -353,7 +243,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>trimPathInfo</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.192">trimPathInfo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;requestURI,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestUtils.html#line.101">trimPathInfo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;requestURI,
                                         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contextPath,
                                         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;servletPath)</pre>
 <div class="block">Efficiently trims the path info part from a request URI.

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/UrlPathPattern.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/UrlPathPattern.html b/content/site/apidocs/org/apache/juneau/rest/UrlPathPattern.html
index 6827920..d97d4a0 100644
--- a/content/site/apidocs/org/apache/juneau/rest/UrlPathPattern.html
+++ b/content/site/apidocs/org/apache/juneau/rest/UrlPathPattern.html
@@ -112,7 +112,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.28">UrlPathPattern</a>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.27">UrlPathPattern</a>
 extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
 implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../../org/apache/juneau/rest/UrlPathPattern.html" title="class in org.apache.juneau.rest">UrlPathPattern</a>&gt;</pre>
 <div class="block">A parsed path pattern constructed from a <a href="../../../../org/apache/juneau/rest/annotation/RestMethod.html#path--"><code>RestMethod.path()</code></a> value.
@@ -225,7 +225,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockListLast">
 <li class="blockList">
 <h4>UrlPathPattern</h4>
-<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.40">UrlPathPattern</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;patternString)</pre>
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.39">UrlPathPattern</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;patternString)</pre>
 <div class="block">Constructor.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -247,7 +247,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>match</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.85">match</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.84">match</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</pre>
 <div class="block">Returns a non-<jk>null</jk> value if the specified path matches this pattern.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -265,7 +265,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>compareTo</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.130">compareTo</a>(<a href="../../../../org/apache/juneau/rest/UrlPathPattern.html" title="class in org.apache.juneau.rest">UrlPathPattern</a>&nbsp;o)</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.129">compareTo</a>(<a href="../../../../org/apache/juneau/rest/UrlPathPattern.html" title="class in org.apache.juneau.rest">UrlPathPattern</a>&nbsp;o)</pre>
 <div class="block">Comparator for this object.
  The comparator is designed to order URL pattern from most-specific to least-specific.
  For example, the following patterns would be ordered as follows:
@@ -291,7 +291,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>equals</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.148">equals</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.147">equals</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
@@ -304,7 +304,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>hashCode</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.155">hashCode</a>()</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.154">hashCode</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
@@ -317,7 +317,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>toString</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.160">toString</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.159">toString</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
@@ -330,7 +330,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>toRegEx</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.170">toRegEx</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.169">toRegEx</a>()</pre>
 <div class="block">Returns this path pattern as the compiled regular expression.
  Useful for debugging.</div>
 <dl>
@@ -345,7 +345,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>getVars</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.178">getVars</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.177">getVars</a>()</pre>
 <div class="block">Bean property getter:  <property>vars</property>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -359,7 +359,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getPatternString</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.186">getPatternString</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/UrlPathPattern.html#line.185">getPatternString</a>()</pre>
 <div class="block">Bean property getter:  <property>patternString</property>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/annotation/RestMethod.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/annotation/RestMethod.html b/content/site/apidocs/org/apache/juneau/rest/annotation/RestMethod.html
index 6e9e573..9d87cad 100644
--- a/content/site/apidocs/org/apache/juneau/rest/annotation/RestMethod.html
+++ b/content/site/apidocs/org/apache/juneau/rest/annotation/RestMethod.html
@@ -319,7 +319,7 @@ public @interface <a href="../../../../../src-html/org/apache/juneau/rest/annota
       <br>For example, if the method is <code>doPost(...)</code>, then the method name is automatically detected as <js>"POST"</js>.
       <br>Otherwise, defaults to <js>"GET"</js>.
    <li><js>"PROXY"</js> - Remote-proxy interface.
-      <br>This denotes a Java method that returns an object (usually an interface, often annotated with the <a href="../../../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><code>@Remoteable</code></a> annotation)
+      <br>This denotes a Java method that returns an object (usually an interface, often annotated with the <a href="../../../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remoteable</code></a> annotation)
       to be used as a remote proxy using <code>RestClient.getRemoteableProxy(Class<T> interfaceClass, String url)</code>.
       <br>This allows you to construct client-side interface proxies using REST as a transport medium.
       <br>Conceptually, this is simply a fancy <code>POST</code> against the url <js>"/{path}/{javaMethodName}"</js> where the arguments

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/client/NameValuePairs.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/client/NameValuePairs.html b/content/site/apidocs/org/apache/juneau/rest/client/NameValuePairs.html
index 0a502d6..c757ee5 100644
--- a/content/site/apidocs/org/apache/juneau/rest/client/NameValuePairs.html
+++ b/content/site/apidocs/org/apache/juneau/rest/client/NameValuePairs.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10};
+var methods = {"i0":10,"i1":10,"i2":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -132,17 +132,20 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>public final class <a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.32">NameValuePairs</a>
+<pre>public final class <a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.38">NameValuePairs</a>
 extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true" title="class or interface in java.util">LinkedList</a>&lt;org.apache.http.NameValuePair&gt;</pre>
 <div class="block">Convenience class for constructing instances of <code>List&lt;NameValuePair&gt;</code>
    for the <code>UrlEncodedFormEntity</code> class.
+ <p>
+ Instances of this method can be passed directly to the <a href="../../../../../org/apache/juneau/rest/client/RestClient.html#doPost-java.lang.Object-java.lang.Object-"><code>RestClient.doPost(Object, Object)</code></a> method or
+ <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#input-java.lang.Object-"><code>RestCall.input(Object)</code></a> methods to perform URL-encoded form posts.
 
  <h5 class='section'>Example:</h5>
  <p class='bcode'>
    NameValuePairs params = <jk>new</jk> NameValuePairs()
-      .append(<jk>new</jk> BasicNameValuePair(<js>"j_username"</js>, user))
-      .append(<jk>new</jk> BasicNameValuePair(<js>"j_password"</js>, pw));
-   request.setEntity(<jk>new</jk> UrlEncodedFormEntity(params));
+      .append(<js>"j_username"</js>, user)
+      .append(<js>"j_password"</js>, pw);
+   restClient.doPost(url, params).run();
  </p></div>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
@@ -204,6 +207,21 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h
 <div class="block">Appends the specified pair to the end of this list.</div>
 </td>
 </tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html#append-java.lang.String-java.lang.Object-">append</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
+<div class="block">Appends the specified name/value pair to the end of this list.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html#append-java.lang.String-java.lang.Object-org.apache.juneau.urlencoding.UrlEncodingSerializer-">append</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
+      <a href="../../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a>&nbsp;serializer)</code>
+<div class="block">Appends the specified name/value pair to the end of this list.</div>
+</td>
+</tr>
 </table>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.java.util.LinkedList">
@@ -288,7 +306,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h
 <ul class="blockListLast">
 <li class="blockList">
 <h4>NameValuePairs</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.32">NameValuePairs</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.38">NameValuePairs</a>()</pre>
 </li>
 </ul>
 </li>
@@ -302,10 +320,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h
 <a name="append-org.apache.http.NameValuePair-">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>append</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.42">append</a>(org.apache.http.NameValuePair&nbsp;pair)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.48">append</a>(org.apache.http.NameValuePair&nbsp;pair)</pre>
 <div class="block">Appends the specified pair to the end of this list.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -315,6 +333,49 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h
 </dl>
 </li>
 </ul>
+<a name="append-java.lang.String-java.lang.Object-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>append</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.62">append</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+                             <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
+<div class="block">Appends the specified name/value pair to the end of this list.
+ <p>
+ The value is simply converted to a string using <code>toString()</code>, or <js>"null"</js> if <jk>null</jk>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The pair name.</dd>
+<dd><code>value</code> - The pair value.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
+<a name="append-java.lang.String-java.lang.Object-org.apache.juneau.urlencoding.UrlEncodingSerializer-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>append</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.78">append</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+                             <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
+                             <a href="../../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a>&nbsp;serializer)</pre>
+<div class="block">Appends the specified name/value pair to the end of this list.
+ <p>
+ The value is converted to UON notation using the <a href="../../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object, Boolean, Boolean)</code></a> method
+ of the specified serializer.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The pair name.</dd>
+<dd><code>value</code> - The pair value.</dd>
+<dd><code>serializer</code> - The serializer to use to convert the value to a string.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
 </li>
 </ul>
 </li>


[25/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html
index 3f766dc..95335cf 100644
--- a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html
+++ b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html
@@ -74,13 +74,13 @@ var activeTableTab = "activeTableTab";
 <ul class="subNavList">
 <li>Summary:&nbsp;</li>
 <li>Nested&nbsp;|&nbsp;</li>
-<li><a href="#fields.inherited.from.class.org.apache.juneau.uon.UonSerializerContext">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method.summary">Method</a></li>
 </ul>
 <ul class="subNavList">
 <li>Detail:&nbsp;</li>
-<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method.detail">Method</a></li>
 </ul>
@@ -148,6 +148,19 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerContext.html" ti
 <!--   -->
 </a>
 <h3>Field Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#URLENC_paramFormat">URLENC_paramFormat</a></span></code>
+<div class="block"><b>Configuration property:</b>  Format to use for top-level query names and simple parameters.</div>
+</td>
+</tr>
+</table>
 <ul class="blockList">
 <li class="blockList"><a name="fields.inherited.from.class.org.apache.juneau.uon.UonSerializerContext">
 <!--   -->
@@ -238,6 +251,49 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerContext.html" ti
 <div class="details">
 <ul class="blockList">
 <li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="URLENC_paramFormat">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>URLENC_paramFormat</h4>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#line.52">URLENC_paramFormat</a></pre>
+<div class="block"><b>Configuration property:</b>  Format to use for top-level query names and simple parameters.
+ <p>
+ <ul>
+   <li><b>Name:</b> <js>"UrlEncodingSerializer.paramFormat"</js>
+   <li><b>Data type:</b> <code>String</code>
+   <li><b>Default:</b> <js>"UON"</js>
+   <li><b>Session-overridable:</b> <jk>true</jk>
+ </ul>
+ <p>
+ Specifies the format to use for URL GET parameter keys and values.
+ <p>
+ The possible values are:
+ <ul>
+   <li><js>"UON"</js> (default) - Use UON notation for values.
+      <br>String values such as <js>"(foo='bar')"</js> will end up being quoted and escaped to <js>"'(foo=bar~'baz~')'"</js>.
+      <br>Similarly, boolean and numeric values will also end up quoted.
+   <li><js>"PLAINTEXT"</js> (default) - Serialize as plain text.
+      <br>Strings will never be quoted or escaped.
+      <br>Note that this can cause errors during parsing if you're using the URL-encoding parser to parse
+      the results since UON constructs won't be differentiatable.
+      <br>However, this is not an issue if you're simply creating queries or form posts against 3rd-party interfaces.
+ </ul></div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../constant-values.html#org.apache.juneau.urlencoding.UrlEncodingSerializerContext.URLENC_paramFormat">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
 <!-- ========= CONSTRUCTOR DETAIL ======== -->
 <ul class="blockList">
 <li class="blockList"><a name="constructor.detail">
@@ -250,7 +306,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerContext.html" ti
 <ul class="blockListLast">
 <li class="blockList">
 <h4>UrlEncodingSerializerContext</h4>
-<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#line.38">UrlEncodingSerializerContext</a>(<a href="../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a>&nbsp;ps)</pre>
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#line.66">UrlEncodingSerializerContext</a>(<a href="../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a>&nbsp;ps)</pre>
 <div class="block">Constructor.
  <p>
  Typically only called from <a href="../../../../org/apache/juneau/PropertyStore.html#getContext-java.lang.Class-"><code>PropertyStore.getContext(Class)</code></a>.</div>
@@ -274,7 +330,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerContext.html" ti
 <ul class="blockListLast">
 <li class="blockList">
 <h4>asMap</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#line.44">asMap</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#line.73">asMap</a>()</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/Context.html#asMap--">Context</a></code></span></div>
 <div class="block">Returns the properties defined on this bean context as a simple map for debugging purposes.</div>
 <dl>
@@ -338,13 +394,13 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerContext.html" ti
 <ul class="subNavList">
 <li>Summary:&nbsp;</li>
 <li>Nested&nbsp;|&nbsp;</li>
-<li><a href="#fields.inherited.from.class.org.apache.juneau.uon.UonSerializerContext">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method.summary">Method</a></li>
 </ul>
 <ul class="subNavList">
 <li>Detail:&nbsp;</li>
-<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method.detail">Method</a></li>
 </ul>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html
index 9a33597..b18c029 100644
--- a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html
+++ b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10,"i1":10};
+var methods = {"i0":10,"i1":10,"i2":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -166,7 +166,8 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" ti
 <th class="colOne" scope="col">Constructor and Description</th>
 </tr>
 <tr class="altColor">
-<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#UrlEncodingSerializerSession-org.apache.juneau.urlencoding.UrlEncodingSerializerContext-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">UrlEncodingSerializerSession</a></span>(<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerContext</a>&nbsp;ctx,
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#UrlEncodingSerializerSession-org.apache.juneau.urlencoding.UrlEncodingSerializerContext-java.lang.Boolean-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">UrlEncodingSerializerSession</a></span>(<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerContext</a>&nbsp;ctx,
+                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;encode,
                             <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;op,
                             <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;output,
                             <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;javaMethod,
@@ -192,12 +193,18 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" ti
 <th class="colLast" scope="col">Method and Description</th>
 </tr>
 <tr id="i0" class="altColor">
+<td class="colFirst"><code>protected boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#plainTextParams--">plainTextParams</a></span>()</code>
+<div class="block">Returns <jk>true</jk> if the <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#URLENC_paramFormat"><code>UrlEncodingSerializerContext.URLENC_paramFormat</code></a> is <js>"PLAINTEXT"</js>.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#shouldUseExpandedParams-org.apache.juneau.BeanPropertyMeta-">shouldUseExpandedParams</a></span>(<a href="../../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a>&nbsp;pMeta)</code>
 <div class="block">Returns <jk>true</jk> if the specified bean property should be expanded as multiple key-value pairs.</div>
 </td>
 </tr>
-<tr id="i1" class="rowColor">
+<tr id="i2" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#shouldUseExpandedParams-java.lang.Object-">shouldUseExpandedParams</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Returns <jk>true</jk> if the specified value should be represented as an expanded parameter list.</div>
@@ -253,13 +260,14 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" ti
 <!--   -->
 </a>
 <h3>Constructor Detail</h3>
-<a name="UrlEncodingSerializerSession-org.apache.juneau.urlencoding.UrlEncodingSerializerContext-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">
+<a name="UrlEncodingSerializerSession-org.apache.juneau.urlencoding.UrlEncodingSerializerContext-java.lang.Boolean-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">
 <!--   -->
 </a>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>UrlEncodingSerializerSession</h4>
-<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#line.46">UrlEncodingSerializerSession</a>(<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerContext</a>&nbsp;ctx,
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#line.47">UrlEncodingSerializerSession</a>(<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerContext</a>&nbsp;ctx,
+                                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;encode,
                                     <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;op,
                                     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;output,
                                     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;javaMethod,
@@ -271,6 +279,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" ti
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>ctx</code> - The context creating this session object.
  The context contains all the configuration settings for this object.</dd>
+<dd><code>encode</code> - Overrides the <a href="../../../../org/apache/juneau/uon/UonSerializerContext.html#UON_encodeChars"><code>UonSerializerContext.UON_encodeChars</code></a> setting.</dd>
 <dd><code>output</code> - The output object.  See <a href="../../../../org/apache/juneau/json/JsonSerializerSession.html#getWriter--"><code>JsonSerializerSession.getWriter()</code></a> for valid class types.</dd>
 <dd><code>op</code> - The override properties.
  These override any context properties defined in the context.</dd>
@@ -297,7 +306,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>shouldUseExpandedParams</h4>
-<pre>public final&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#line.61">shouldUseExpandedParams</a>(<a href="../../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a>&nbsp;pMeta)</pre>
+<pre>public final&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#line.64">shouldUseExpandedParams</a>(<a href="../../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a>&nbsp;pMeta)</pre>
 <div class="block">Returns <jk>true</jk> if the specified bean property should be expanded as multiple key-value pairs.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -310,10 +319,10 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" ti
 <a name="shouldUseExpandedParams-java.lang.Object-">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>shouldUseExpandedParams</h4>
-<pre>public final&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#line.78">shouldUseExpandedParams</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
+<pre>public final&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#line.81">shouldUseExpandedParams</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
 <div class="block">Returns <jk>true</jk> if the specified value should be represented as an expanded parameter list.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -323,6 +332,20 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" ti
 </dl>
 </li>
 </ul>
+<a name="plainTextParams--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>plainTextParams</h4>
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#line.96">plainTextParams</a>()</pre>
+<div class="block">Returns <jk>true</jk> if the <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#URLENC_paramFormat"><code>UrlEncodingSerializerContext.URLENC_paramFormat</code></a> is <js>"PLAINTEXT"</js>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#URLENC_paramFormat"><code>UrlEncodingSerializerContext.URLENC_paramFormat</code></a> is <js>"PLAINTEXT"</js>.</dd>
+</dl>
+</li>
+</ul>
 </li>
 </ul>
 </li>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/utils/AList.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/utils/AList.html b/content/site/apidocs/org/apache/juneau/utils/AList.html
index 4858191..29c1c94 100644
--- a/content/site/apidocs/org/apache/juneau/utils/AList.html
+++ b/content/site/apidocs/org/apache/juneau/utils/AList.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10};
+var methods = {"i0":10,"i1":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -205,6 +205,12 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h
 <div class="block">Adds an entry to this list.</div>
 </td>
 </tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/utils/AList.html" title="class in org.apache.juneau.utils">AList</a>&lt;<a href="../../../../org/apache/juneau/utils/AList.html" title="type parameter in AList">T</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/utils/AList.html#appendAll-T...-">appendAll</a></span>(<a href="../../../../org/apache/juneau/utils/AList.html" title="type parameter in AList">T</a>...&nbsp;t)</code>
+<div class="block">Adds multiple entries to this list.</div>
+</td>
+</tr>
 </table>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.java.util.LinkedList">
@@ -305,7 +311,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h
 </a><a name="append-T-">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>append</h4>
 <pre>public&nbsp;<a href="../../../../org/apache/juneau/utils/AList.html" title="class in org.apache.juneau.utils">AList</a>&lt;<a href="../../../../org/apache/juneau/utils/AList.html" title="type parameter in AList">T</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/utils/AList.html#line.37">append</a>(<a href="../../../../org/apache/juneau/utils/AList.html" title="type parameter in AList">T</a>&nbsp;t)</pre>
@@ -318,6 +324,24 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h
 </dl>
 </li>
 </ul>
+<a name="appendAll-java.lang.Object:A-">
+<!--   -->
+</a><a name="appendAll-T...-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>appendAll</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/utils/AList.html" title="class in org.apache.juneau.utils">AList</a>&lt;<a href="../../../../org/apache/juneau/utils/AList.html" title="type parameter in AList">T</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/utils/AList.html#line.48">appendAll</a>(<a href="../../../../org/apache/juneau/utils/AList.html" title="type parameter in AList">T</a>...&nbsp;t)</pre>
+<div class="block">Adds multiple entries to this list.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>t</code> - The entries to add to this list.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
 </li>
 </ul>
 </li>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/utils/ASet.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/utils/ASet.html b/content/site/apidocs/org/apache/juneau/utils/ASet.html
index c7872d9..7e9df29 100644
--- a/content/site/apidocs/org/apache/juneau/utils/ASet.html
+++ b/content/site/apidocs/org/apache/juneau/utils/ASet.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10};
+var methods = {"i0":10,"i1":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -190,6 +190,12 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashSe
 <div class="block">Adds an entry to this set.</div>
 </td>
 </tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/utils/ASet.html" title="class in org.apache.juneau.utils">ASet</a>&lt;<a href="../../../../org/apache/juneau/utils/ASet.html" title="type parameter in ASet">T</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/utils/ASet.html#appendAll-T...-">appendAll</a></span>(<a href="../../../../org/apache/juneau/utils/ASet.html" title="type parameter in ASet">T</a>...&nbsp;t)</code>
+<div class="block">Adds multiple entries to this set.</div>
+</td>
+</tr>
 </table>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.java.util.LinkedHashSet">
@@ -283,7 +289,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashSe
 </a><a name="append-T-">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>append</h4>
 <pre>public&nbsp;<a href="../../../../org/apache/juneau/utils/ASet.html" title="class in org.apache.juneau.utils">ASet</a>&lt;<a href="../../../../org/apache/juneau/utils/ASet.html" title="type parameter in ASet">T</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/utils/ASet.html#line.37">append</a>(<a href="../../../../org/apache/juneau/utils/ASet.html" title="type parameter in ASet">T</a>&nbsp;t)</pre>
@@ -296,6 +302,24 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashSe
 </dl>
 </li>
 </ul>
+<a name="appendAll-java.lang.Object:A-">
+<!--   -->
+</a><a name="appendAll-T...-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>appendAll</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/utils/ASet.html" title="class in org.apache.juneau.utils">ASet</a>&lt;<a href="../../../../org/apache/juneau/utils/ASet.html" title="type parameter in ASet">T</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/utils/ASet.html#line.48">appendAll</a>(<a href="../../../../org/apache/juneau/utils/ASet.html" title="type parameter in ASet">T</a>...&nbsp;t)</pre>
+<div class="block">Adds multiple entries to this set.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>t</code> - The entries to add to this set.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
 </li>
 </ul>
 </li>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/xml/package-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/xml/package-summary.html b/content/site/apidocs/org/apache/juneau/xml/package-summary.html
index 609b7f1..7382003 100644
--- a/content/site/apidocs/org/apache/juneau/xml/package-summary.html
+++ b/content/site/apidocs/org/apache/juneau/xml/package-summary.html
@@ -1013,8 +1013,6 @@
          </p>
          <p>
             The following examples show how type names are used under various circumstances.  
-            Note that array dimensions are represented with the caret <js>'^'</js> character.
-            For example, <js>"X^"</js> is a 1-dimensional array, and <js>"X^^"</js> is a 2-dimensional array.
          </p>
          <p>
             Pay special attention to when <xa>_type</xa> attributes are and are not used.
@@ -1047,7 +1045,7 @@
             &lt;fx&gt;<xv>foo</xv>&lt;/fx&gt;
          &lt;/X&gt;
       &lt;/b1&gt;
-      &lt;b2 <xa>_type</xa>=<xs>'X^'</xs>&gt;
+      &lt;b2&gt;
          &lt;X&gt;
             &lt;fx&gt;<xv>foo</xv>&lt;/fx&gt;
          &lt;/X&gt;
@@ -1084,7 +1082,7 @@
             &lt;/X&gt;
          &lt;/array&gt;
       &lt;/b1&gt;
-      &lt;b2 <xa>_type</xa>=<xs>'X^^'</xs>&gt;
+      &lt;b2&gt;
          &lt;array&gt;
             &lt;X&gt;
                &lt;fx&gt;<xv>foo</xv>&lt;/fx&gt;
@@ -1194,7 +1192,7 @@
             &lt;fa&gt;<xv>foo</xv>&lt;/fa&gt;
          &lt;/A&gt;
       &lt;/a&gt;
-      &lt;ia1 <xa>_type</xa>=<xs>'A^'</xs>&gt;
+      &lt;ia1&gt;
          &lt;A&gt;
             &lt;fa&gt;<xv>foo</xv>&lt;/fa&gt;
          &lt;/A&gt;
@@ -1204,7 +1202,7 @@
             &lt;fa&gt;<xv>foo</xv>&lt;/fa&gt;
          &lt;/A&gt;
       &lt;/ia2&gt;
-      &lt;aa1 <xa>_type</xa>=<xs>'A^'</xs>&gt;
+      &lt;aa1&gt;
          &lt;A&gt;
             &lt;fa&gt;<xv>foo</xv>&lt;/fa&gt;
          &lt;/A&gt;
@@ -1214,7 +1212,7 @@
             &lt;fa&gt;<xv>foo</xv>&lt;/fa&gt;
          &lt;/A&gt;
       &lt;/aa2&gt;
-      &lt;o1 <xa>_type</xa>=<xs>'A^'</xs>&gt;
+      &lt;o1&gt;
          &lt;A&gt;
             &lt;fa&gt;<xv>foo</xv>&lt;/fa&gt;
          &lt;/A&gt;
@@ -1293,7 +1291,7 @@
          &lt;/a1&gt;
       &lt;/a&gt;
       &lt;ia&gt;
-         &lt;ia1 <xa>_type</xa>=<xs>'A^'</xs>&gt;
+         &lt;ia1&gt;
             &lt;A&gt;
                &lt;fa&gt;<xv>foo</xv>&lt;/fa&gt;
             &lt;/A&gt;
@@ -1305,7 +1303,7 @@
          &lt;/ia2&gt;
       &lt;/ia&gt;
       &lt;aa&gt;
-         &lt;aa1 <xa>_type</xa>=<xs>'A^'</xs>&gt;
+         &lt;aa1&gt;
             &lt;A&gt;
                &lt;fa&gt;<xv>foo</xv>&lt;/fa&gt;
             &lt;/A&gt;
@@ -1317,7 +1315,7 @@
          &lt;/aa2&gt;
       &lt;/aa&gt;
       &lt;o&gt;
-         &lt;o1 <xa>_type</xa>=<xs>'A^'</xs>&gt;
+         &lt;o1&gt;
             &lt;A&gt;
                &lt;fa&gt;<xv>foo</xv>&lt;/fa&gt;
             &lt;/A&gt;

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/overview-frame.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/overview-frame.html b/content/site/apidocs/overview-frame.html
index a848804..eab1cd9 100644
--- a/content/site/apidocs/overview-frame.html
+++ b/content/site/apidocs/overview-frame.html
@@ -37,6 +37,7 @@
 <li><a href="org/apache/juneau/msgpack/package-frame.html" target="packageFrame">org.apache.juneau.msgpack</a></li>
 <li><a href="org/apache/juneau/parser/package-frame.html" target="packageFrame">org.apache.juneau.parser</a></li>
 <li><a href="org/apache/juneau/plaintext/package-frame.html" target="packageFrame">org.apache.juneau.plaintext</a></li>
+<li><a href="org/apache/juneau/remoteable/package-frame.html" target="packageFrame">org.apache.juneau.remoteable</a></li>
 <li><a href="org/apache/juneau/rest/package-frame.html" target="packageFrame">org.apache.juneau.rest</a></li>
 <li><a href="org/apache/juneau/rest/annotation/package-frame.html" target="packageFrame">org.apache.juneau.rest.annotation</a></li>
 <li><a href="org/apache/juneau/rest/client/package-frame.html" target="packageFrame">org.apache.juneau.rest.client</a></li>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/overview-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/overview-summary.html b/content/site/apidocs/overview-summary.html
index 1212276..4e7fcca 100644
--- a/content/site/apidocs/overview-summary.html
+++ b/content/site/apidocs/overview-summary.html
@@ -230,144 +230,150 @@
 </td>
 </tr>
 <tr class="altColor">
+<td class="colFirst"><a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></td>
+<td class="colLast">
+<div class="block">Remoteable interface proxies</div>
+</td>
+</tr>
+<tr class="rowColor">
 <td class="colFirst"><a href="org/apache/juneau/rest/package-summary.html">org.apache.juneau.rest</a></td>
 <td class="colLast">
 <div class="block">REST Servlet API</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="org/apache/juneau/rest/annotation/package-summary.html">org.apache.juneau.rest.annotation</a></td>
 <td class="colLast">
 <div class="block">REST servlet annotations</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="org/apache/juneau/rest/client/package-summary.html">org.apache.juneau.rest.client</a></td>
 <td class="colLast">
 <div class="block">REST client API</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="org/apache/juneau/rest/converters/package-summary.html">org.apache.juneau.rest.converters</a></td>
 <td class="colLast">
 <div class="block">Predefined REST response converters</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="org/apache/juneau/rest/jaxrs/package-summary.html">org.apache.juneau.rest.jaxrs</a></td>
 <td class="colLast">
 <div class="block">JAX-RS / Wink integration components</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="org/apache/juneau/rest/jaxrs/rdf/package-summary.html">org.apache.juneau.rest.jaxrs.rdf</a></td>
 <td class="colLast">
 <div class="block">JAX-RS / Wink integration components with RDF support</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="org/apache/juneau/rest/jena/package-summary.html">org.apache.juneau.rest.jena</a></td>
 <td class="colLast">
 <div class="block">RET servlet API with Jena components</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="org/apache/juneau/rest/labels/package-summary.html">org.apache.juneau.rest.labels</a></td>
 <td class="colLast">
 <div class="block">Various REST interface label classes</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="org/apache/juneau/rest/matchers/package-summary.html">org.apache.juneau.rest.matchers</a></td>
 <td class="colLast">
 <div class="block">Predefined Matchers</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="org/apache/juneau/rest/remoteable/package-summary.html">org.apache.juneau.rest.remoteable</a></td>
 <td class="colLast">
 <div class="block">Remoteable service API</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="org/apache/juneau/rest/response/package-summary.html">org.apache.juneau.rest.response</a></td>
 <td class="colLast">
 <div class="block">HTTP Response handlers</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="org/apache/juneau/rest/vars/package-summary.html">org.apache.juneau.rest.vars</a></td>
 <td class="colLast">
 <div class="block">Predefined SVL variables</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="org/apache/juneau/serializer/package-summary.html">org.apache.juneau.serializer</a></td>
 <td class="colLast">
 <div class="block">Serializer API</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="org/apache/juneau/soap/package-summary.html">org.apache.juneau.soap</a></td>
 <td class="colLast">
 <div class="block">SOAP/XML serialization and parsing support</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="org/apache/juneau/svl/package-summary.html">org.apache.juneau.svl</a></td>
 <td class="colLast">
 <div class="block">Simple Variable Language</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="org/apache/juneau/svl/vars/package-summary.html">org.apache.juneau.svl.vars</a></td>
 <td class="colLast">
 <div class="block">Simple Variable Language - Predefined variables</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="org/apache/juneau/transform/package-summary.html">org.apache.juneau.transform</a></td>
 <td class="colLast">
 <div class="block">Transform API</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="org/apache/juneau/transforms/package-summary.html">org.apache.juneau.transforms</a></td>
 <td class="colLast">
 <div class="block">Predefined Transform implementations</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="org/apache/juneau/uon/package-summary.html">org.apache.juneau.uon</a></td>
 <td class="colLast">
 <div class="block">UON notation serialization and parsing support</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="org/apache/juneau/urlencoding/package-summary.html">org.apache.juneau.urlencoding</a></td>
 <td class="colLast">
 <div class="block">URL encoding serialization and parsing support</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="org/apache/juneau/urlencoding/annotation/package-summary.html">org.apache.juneau.urlencoding.annotation</a></td>
 <td class="colLast">
 <div class="block">URL-Encoding annotations</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="org/apache/juneau/utils/package-summary.html">org.apache.juneau.utils</a></td>
 <td class="colLast">
 <div class="block">Utility classes</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="org/apache/juneau/xml/package-summary.html">org.apache.juneau.xml</a></td>
 <td class="colLast">
 <div class="block">XML serialization and parsing support</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="org/apache/juneau/xml/annotation/package-summary.html">org.apache.juneau.xml.annotation</a></td>
 <td class="colLast">
 <div class="block">XML annotations</div>
@@ -441,6 +447,9 @@
    <li><p><a class='doclink' href='#Server'>Juneau Server (org.apache.juneau.rest)</a></p>
    <li><p><a class='doclink' href='#Client'>Juneau Client (org.apache.juneau.rest.client)</a></p>
    <li><p><a class='doclink' href='#Remoteable'>Remoteable services (org.apache.juneau.rest.remoteable)</a></p>
+   <ol>
+   <li><p><a class='doclink' href='#Remoteable.3rdParty'>Interface proxies against 3rd-party REST interfaces</a></p>
+   </ol>
    <li><p><a class='doclink' href='#Microservices'>Juneau Microservices (org.apache.juneau.microservice)</a></p>
    <li><p><a class='doclink' href='#Samples'>Samples</a></p>
    <ol>
@@ -2589,14 +2598,18 @@
    <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.
+         define and use, and allowing much more flexibility in the types of objects serialized.
    </p>
    <p>
       The remote proxy interface API allows you to invoke server-side POJO methods on the client side using REST as the communications protocol:
    </p>
    <p class='bcode'>
+   
+   <jc>// Create a client with basic JSON support.</jc>
+   RestClient client = <jk>new</jk> RestClientBuilder().rootUrl(<js>"http://localhost/remoteable"</js>).build();
+   
    <jc>// Get an interface proxy.</jc>
-   IAddressBook ab = restClient.getRemoteableProxy(IAddressBook.<jk>class</jk>);
+   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(
@@ -2608,9 +2621,53 @@
    );
    </p>
    <p>
+      Under the covers, this method call gets converted to a REST POST.
+   </p>
+   <p class='bcode'>
+   HTTP POST http://localhost/remoteable/org.apache.juneau.examples.rest.IAddressBook/createPerson
+   Accept: application/json
+   Content-Type: application/json
+   
+   [
+      {
+         "name":"John Smith",
+         "birthDate":"Aug 1, 1999",
+         "addresses":[
+            {
+               "street":"My street",
+               "city":"My city",
+               "state":"My state",
+               "zip":12345,
+               "isCurrent":true
+            }
+         ]
+      }
+   ]
+   </p>
+   <p>
+      Note that the body of the request is an array.  This array contains the serialized arguments of the method.
+      The object returned by the method is then serialized as the body of the response.
+   </p>
+   <p>
+      To define a remoteable interface, simply add the <a href="org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remoteable</code></a> annotation
+      to your interface class.  
+   </p>
+   <p class='bcode'>
+   <ja>@Remoteable</ja>
+   <jk>public interface</jk> IAddressBook {...}
+   </p>
+   <p>
+      This annotation tells the framework that all methods defined on this interface can be executed remotely.
+      It can be applied to super-interfaces, super-classes, etc..., and exposes the methods at whatever level it is defined.  
+   </p>
+   <p>
+      The <a href="org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable"><code>@RemoteMethod</code></a> annotation can also be used on individual methods
+      to tailor which methods are exposed or their paths.
+   </p>
+   <p>
       There are two ways to expose remoteable proxies on the server side:
    </p>
-   <ol>
+   <ol class='spaced-list'>
       <li>Extending from <code>RemoteableServlet</code>.
       <li>Using a <code><ja>@RestMethod</ja>(name=<js>"PROXY"</js>)</code> annotation on a Java method.
    </ol>
@@ -2652,24 +2709,21 @@
    }
    </p>
    <p>
-      In either case, the proxy communications layer is pure REST.   
-      Parameters passed in on the client side are serialized as an HTTP POST, parsed on the
-      server side, and then passed to the invocation method.  The returned POJO is then marshalled back as an HTTP response.
-      Therefore, in cases where the interface classes are not available on the client side,
+      In either case, the proxy communications layer is pure REST.
+      <br>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
+      <br>This can also aid significantly in debugging, since calls to the remoteable service
          can be made directly from a browser with no coding involved.
    </p>
    <p>
       The parameters and return types of the Java methods can be any of the supported serializable and parsable types in <a class='doclink' href='#Core.PojoCategories'>POJO Categories</a>.
-      This ends up being WAY more flexible than other proxy interfaces since Juneau can handle so may POJO types out-of-the-box.
-      Most of the time you don't even need to modify your existing Java implementation code.
+      <br>This ends up being WAY more flexible than other proxy interfaces since Juneau can handle so may POJO types out-of-the-box.
+      <br>Most of the time you don't even need to modify your existing Java implementation code.
    </p>
    <p>
-      The RemoteableServlet class itself shows how sophisticated REST interfaces can be built on the Juneau RestServlet
-      API using very little code.  The RemoteableServlet class itself consists of only 53 lines of code, yet is
-      a sophisticated discoverable and self-documenting REST interface.  And since the remote proxy API is built on top 
-      of REST, it can be debugged using just a browser.
+      The RemoteableServlet class itself shows how sophisticated REST interfaces can be built on the Juneau RestServlet API using very little code.  
+      <br>The RemoteableServlet class itself consists of only 53 lines of code, yet is a sophisticated discoverable and self-documenting REST interface.  
+      <br>And since the remote proxy API is built on top of REST, it can be debugged using just a browser.
    </p>
    <p>
       The requirements for a method to be callable through a remoteable service are:
@@ -2685,6 +2739,90 @@
    <ul class='javahierarchy'>
       <li class='p'><a class='doclink' href='org/apache/juneau/server/remoteable/package-summary.html#TOC'>org.apache.juneau.rest.remoteable</a> - Juneau Remoteable API Javadocs.
    </ul>
+   
+   <!-- ======================================================================================================== -->
+   <a id="Remoteable.3rdParty"></a>
+   <h3 class='topic' onclick='toggle(this)'>6.1 - Interface proxies against 3rd-party REST interfaces</h3>
+   <div class='topic'>
+      <p>
+         Remoteable proxies can also be used to define interface proxies against 3rd-party REST interfaces.
+         This is an extremely powerful feature that allows you to quickly define easy-to-use interfaces against virtually any REST interface.
+      </p>
+      <p>
+         Similar in concept to remoteable services defined above, but in this case we simply define our interface with
+         special annotations that tell us how to convert input and output to HTTP headers, query paramters, form post parameters, or request/response bodies.
+      </p>
+      <p class='bcode'> 
+   <ja>@Remoteable</ja>
+   <jk>public interface</jk> MyProxyInterface {
+      
+      <ja>@RemoteMethod</ja>(httpMethod=<js>"POST"</js>, path=<js>"/method"</js>)
+      String doMethod(<ja>@Header</ja>(<js>"E-Tag"</js>) UUID etag, <ja>@Query</ja>("debug") <jk>boolean</jk> debug, <ja>@Body</ja> MyPojo pojo);
+   }
+   
+   RestClient client = <jk>new</jk> RestClientBuilder().build();
+   MyProxyInterface p = client.getRemoteableProxy(MyProxyInterface.<jk>class</jk>, <js>"http://hostname/some/rest/interface"</js>);
+   String response = p.doMethod(UUID.<jsm>generate</jsm>(), <jk>true</jk>, <jk>new</jk> MyPojo());
+      </p>
+      <p>
+         The Java method arguements can be annotated with any of the following:
+      </p>
+      <ul class='spaced-list'>
+         <li><a href="org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><code>@Query</code></a> - A URL query parameter.
+            <br>The argument can be any of the following types:
+            <ul>
+               <li>Any serializable POJO - Converted to text using <a href="org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object, Boolean, Boolean)</code></a>.
+               <li><code>Map&lt;String,Object&gt;</code> - Individual name-value pairs.
+                  <br>Values are converted to text using <a href="org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object, Boolean, Boolean)</code></a>.
+               <li><code>String</code> - Treated as a query string.
+            </ul>
+         <li><a href="org/apache/juneau/remoteable/QueryIfNE.html" title="annotation in org.apache.juneau.remoteable"><code>@QueryIfNE</code></a> - Same as <ja>@Query</ja> except skips the value if it's null/empty.
+         <li><a href="org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><code>@FormData</code></a> - A form-data parameter.
+            <br>Note that this is only available if the HTTP method is <code>POST</code>.
+            <br>The argument can be any of the following types:
+            <ul>
+               <li>Any serializable POJO - Converted to text using <a href="org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object, Boolean, Boolean)</code></a>.
+               <li><a href="org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a> - Individual name-value pairs.
+               <li><code>Map&lt;String,Object&gt;</code> - Individual name-value pairs.
+                  <br>Values are converted to text using <a href="org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object, Boolean, Boolean)</code></a>.
+            </ul>
+         <li><a href="org/apache/juneau/remoteable/FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable"><code>@FormDataIfNE</code></a> - Same as <ja>@FormData</ja> except skips the value if it's null/empty.
+         <li><a href="org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><code>@Header</code></a> - A request header.
+            <br>The argument can be any of the following types:
+            <ul>
+               <li>Any serializable POJO - Converted to text using <a href="org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object, Boolean, Boolean)</code></a>.
+               <li><code>Map&lt;String,Object&gt;</code> - Individual name-value pairs.
+                  <br>Values are converted to text using <a href="org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object, Boolean, Boolean)</code></a>.
+            </ul>
+         <li><a href="org/apache/juneau/remoteable/HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable"><code>@HeaderIfNE</code></a> - Same as <ja>@Header</ja> except skips the value if it's null/empty.
+         <li><a href="org/apache/juneau/remoteable/Body.html" title="annotation in org.apache.juneau.remoteable"><code>@Body</code></a> - The HTTP request body.
+            <br>The argument can be any of the following types:
+            <ul>
+               <li>Any serializable POJO - Converted to text/bytes using the <a href="org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer"><code>Serializer</code></a> registered with the <code>RestClient</code>.
+               <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a> - Raw contents of reader will be serialized to remote resource.
+               <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> - Raw contents of input stream will be serialized to remote resource.
+               <li><code>HttpEntity</code> - Bypass Juneau serialization and pass HttpEntity directly to HttpClient.
+               <li><a href="org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a> - Converted to a URL-encoded FORM post.
+            </ul>
+      </ul>
+      <p>
+         The return type of the Java method can be any of the following:
+      </p>
+      <ul class='spaced-list'>
+         <li><jk>void</jk> - Don't parse any response.  
+            <br>Note that the method will still throw a runtime exception if an error HTTP status is returned.
+         <li>Any parsable POJO - The body of the response will be converted to the POJO using the parser defined on the <code>RestClient</code>.
+         <li><code>HttpResponse</code> - Returns the raw <code>HttpResponse</code> returned by the inner <code>HttpClient</code>.
+         <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a> - Returns access to the raw reader of the response.
+            <br>Note that if you don't want your response parsed as a POJO, you'll want to get the response reader directly.
+         <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> - Returns access to the raw input stream of the response.
+      </ul>
+
+      <h6 class='topic'>Additional Information</h6>
+      <ul class='javahierarchy'>
+         <li class='p'><a class='doclink' href='org/apache/juneau/remoteable/package-summary.html#TOC'>org.apache.juneau.remoteable</a> - Juneau Remoteable API Javadocs.
+      </ul>
+   </div>
 </div>
    
 <!-- ======================================================================================================== -->
@@ -4687,8 +4825,6 @@
          As good practice, you'll want to use interfaces to prevent all public methods from being exposed.
       </p>
       <p>
-         The <a href="org/apache/juneau/rest/client/RestClientBuilder.html#remoteableServletUri-java.lang.String-"><code>RestClientBuilder.remoteableServletUri(String)</code></a> method is used to specify the location
-            of the remoteable services servlet running on the server.
          Proxy interfaces are then retrieved using the <a href="org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-"><code>RestClient.getRemoteableProxy(Class)</code></a> method.
       </p>
       <p>
@@ -4697,7 +4833,7 @@
       <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> RestClientBuilder()
-      .remoteableServletUri(<js>"http://localhost:10000/remoteable"</js>)
+      .rootUrl(<js>"http://localhost:10000/remoteable"</js>)
       .build();
    
    <jc>// Create a proxy interface.</jc>
@@ -4715,8 +4851,8 @@
          <li class='a'><a href="org/apache/juneau/rest/remoteable/RemoteableServlet.html" title="class in org.apache.juneau.rest.remoteable"><code>RemoteableServlet</code></a>
          <li class='c'><a href="org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client"><code>RestClient</code></a>
          <ul>
-            <li class='m'><a href="org/apache/juneau/rest/client/RestClientBuilder.html#remoteableServletUri-java.lang.String-"><code>remoteableServletUri(String)</code></a>
             <li class='m'><a href="org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-"><code>getRemoteableProxy(Class)</code></a>
+            <li class='m'><a href="org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-java.lang.Object-"><code>getRemoteableProxy(Class,Object)</code></a>
          </ul>
       </ul>
    </div>   
@@ -6099,6 +6235,17 @@
                <li><a href="org/apache/juneau/dto/html5/HtmlElementMixed.html#getChild-int...-"><code>HtmlElementMixed.getChild(int...)</code></a>
             </ul>
          <li>New common serializer setting: <a href="org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_abridged"><code>SerializerContext.SERIALIZER_abridged</code></a>.
+         <li>Support for defining interface proxies against 3rd-party REST interfaces.
+            <br>New package <a href="org/apache/juneau/remoteable/package-summary.html"><code>org.apache.juneau.remoteable</code></a> for all remoteable proxy interface annotations.
+            <br><ja>@Remoteable</ja> annotation has been moved to this package.
+         <li>Updated doc: <a class='doclink' href='#Remoteable'>6 - Remoteable Services</a>
+         <li>New doc: <a class='doclink' href='#Remoteable.3rdParty'>6.1 -  Interface proxies against 3rd-party REST interfaces</a>
+         <li>New URL-encoding serializer setting: <a href="org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#URLENC_paramFormat"><code>UrlEncodingSerializerContext.URLENC_paramFormat</code></a>
+         <li>New methods on <a href="org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding"><code>UrlEncodingSerializerBuilder</code></a>:
+         <ul>
+            <li><a href="org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#paramFormat-java.lang.String-"><code>paramFormat(String)</code></a>   
+            <li><a href="org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#plainTextParams--"><code>plainTextParams()</code></a>   
+         </ul>       
       </ul>
       
       <h6 class='topic'>org.apache.juneau.rest</h6>
@@ -6200,7 +6347,6 @@
    IAddressBook ab = client.getRemoteableProxy(IAddressBook.<jk>class</jk>, <js>"/addressBook/myproxy"</js>);
          </p>
             See <a href="org/apache/juneau/rest/annotation/RestMethod.html#name--"><code>RestMethod.name()</code></a> for more information.
-         <li>Updated doc: <a class='doclink' href='#Remoteable'>6 - Remoteable Services</a>
          <li><a href="org/apache/juneau/rest/RestRequest.html#toString--"><code>RestRequest.toString()</code></a> can be called at any time to view the headers and content of the request
             without affecting functionality.  Very useful for debugging.
          <li>You can now use numeric values in path annotations.  
@@ -6218,47 +6364,76 @@
       <h6 class='topic'>org.apache.juneau.rest.client</h6>
       <ul class='spaced-list'>
          <li>Revamped the client API to use builders.
-         <li>New methods added to <a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client"><code>RestCall</code></a>:
-         <ul>
-            <li><a href="org/apache/juneau/rest/client/RestCall.html#serializer-org.apache.juneau.serializer.Serializer-"><code>RestCall.serializer(Serializer)</code></a> - Override the serializer defined on the client for a single call.
-            <li><a href="org/apache/juneau/rest/client/RestCall.html#parser-org.apache.juneau.parser.Parser-"><code>RestCall.parser(Parser)</code></a> - Override the parser defined on the client for a single call.
-         </ul>
-         <li>New methods added to <a href="org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client"><code>RestClient</code></a>:
+         <li>New doc: <a class='doclink' href='org/apache/juneau/rest/client/package-summary.html#Debugging'>1.5 - Debugging</a>
+         <li>The <code>RestClient</code> class <code>doX(Object url)</code> methods now handle HttpClient <code>URIBuilder</code> instances.
+         <li>New methods added/updated to <a href="org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client"><code>RestClient</code></a>:
          <ul>
-            <li><a href="org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-java.lang.Object-"><code>RestClient.getRemoteableProxy(Class,Object)</code></a> - For interface proxies defined using <code><ja>@RestMethod</ja>(name=<js>"PROXY"</js>)</code>.
-            <li><a href="org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-java.lang.Object-org.apache.juneau.serializer.Serializer-org.apache.juneau.parser.Parser-"><code>RestClient.getRemoteableProxy(Class,Object,Serializer,Parser)</code></a> - Same as above, but overrides the serializer and parser defined on the client.
+            <li><a href="org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-java.lang.Object-"><code>getRemoteableProxy(Class,Object)</code></a> - For interface proxies defined using <code><ja>@RestMethod</ja>(name=<js>"PROXY"</js>)</code>.
+            <li><a href="org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-java.lang.Object-org.apache.juneau.serializer.Serializer-org.apache.juneau.parser.Parser-"><code>getRemoteableProxy(Class,Object,Serializer,Parser)</code></a> - Same as above, but overrides the serializer and parser defined on the client.
+            <li><a href="org/apache/juneau/rest/client/RestClient.html#doPost-java.lang.Object-"><code>doPost(Object)</code></a> 
+            <li><a href="org/apache/juneau/rest/client/RestClient.html#doCall-org.apache.juneau.rest.client.HttpMethod-java.lang.Object-java.lang.Object-"><code>doCall(HttpMethod,Object,Object)</code></a> - Can now pass in instances of <a href="org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a> for easy form posts.
+               <br>This extends to all methods that take in the input.
          </ul>
+         <li>New methods on <a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client"><code>RestCall</code></a>:
+            <ul>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#uri-java.lang.Object-"><code>uri(Object)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#query-java.lang.String-java.lang.Object-boolean-"><code>query(String,Object,boolean)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#query-java.lang.String-java.lang.Object-"><code>query(String,Object)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#queryIfNE-java.lang.String-java.lang.Object-"><code>queryIfNE(String,Object)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#query-java.util.Map-"><code>query(Map)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#queryIfNE-java.util.Map-"><code>queryIfNE(Map)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#query-java.lang.String-"><code>query(String)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#formData-java.lang.String-java.lang.Object-boolean-"><code>formData(String,Object,boolean)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#formData-java.lang.String-java.lang.Object-"><code>formData(String,Object)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#formDataIfNE-java.lang.String-java.lang.Object-"><code>formDataIfNE(String,Object)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#formData-java.util.Map-"><code>formData(Map)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#formDataIfNE-java.util.Map-"><code>formDataIfNE(Map)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#header-java.lang.String-java.lang.Object-boolean-"><code>header(String,Object,boolean)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#header-java.lang.String-java.lang.Object-"><code>header(String,Object)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#headerIfNE-java.lang.String-java.lang.Object-"><code>headerIfNE(String,Object)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#headers-java.util.Map-"><code>headers(Map)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#headersIfNE-java.util.Map-"><code>headersIfNE(Map)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#host-java.lang.String-"><code>host(String)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#port-int-"><code>port(int)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#userInfo-java.lang.String-java.lang.String-"><code>userInfo(String,String)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#userInfo-java.lang.String-"><code>userInfo(String)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#scheme-java.lang.String-"><code>scheme(String)</code></a>
+            </ul>
          <li>New methods added to <a href="org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client"><code>RestClientBuilder</code></a>:
-         <ul>
-            <li><a href="org/apache/juneau/rest/client/RestClientBuilder.html#noTrace--"><code>RestClientBuilder.noTrace()</code></a> - Adds a <code>No-Trace: true</code> header on all requests to prevent
-               the servlet from logging errors.
-               Useful for testing scenarios when you don't want the console to end up showing errors done on purpose.
-            <li><a href="org/apache/juneau/rest/client/RestClientBuilder.html#debug-boolean-"><code>RestClientBuilder.debug(boolean)</code></a> now adds a <code>Debug: true</code> header on all requests.
-         </ul>
-         <li>New doc: <a class='doclink' href='org/apache/juneau/rest/client/package-summary.html#Debugging'>1.5 - Debugging</a>
-         <li>The <code>RestClient</code> class <code>doX(Object url)</code> methods now handle HttpClient <code>URIBuilder</code> instances.
-         <li>New methods added to <a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client"><code>RestCall</code></a> that allow you to manipulate URLs after you've already created the <code>RestCall</code> object:
             <ul>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#uri-java.lang.Object-"><code>RestCall.uri(Object)</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#param-java.lang.String-java.lang.Object-"><code>RestCall.param(String,Object)</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#paramIfNE-java.lang.String-java.lang.Object-"><code>RestCall.paramIfNE(String,Object)</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#paramIfNN-java.lang.String-java.lang.Object-"><code>RestCall.paramIfNN(String,Object)</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#params-java.util.Map-"><code>RestCall.params(Map)</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#query-java.lang.String-"><code>RestCall.query(String)</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#host-java.lang.String-"><code>RestCall.host(String)</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#port-int-"><code>RestCall.port(int)</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#userInfo-java.lang.String-java.lang.String-"><code>RestCall.userInfo(String,String)</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#userInfo-java.lang.String-"><code>RestCall.userInfo(String)</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#scheme-java.lang.String-"><code>RestCall.scheme(String)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestClientBuilder.html#executorService-java.util.concurrent.ExecutorService-boolean-"><code>executorService(ExecutorService,boolean)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestClientBuilder.html#paramFormat-java.lang.String-"><code>paramFormat(ExecutorService,boolean)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestClientBuilder.html#plainTextParams--"><code>plainTextParams()</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestClientBuilder.html#noTrace--"><code>noTrace()</code></a> - Adds a <code>No-Trace: true</code> header on all requests to prevent
+                  the servlet from logging errors.
+                  <br>Useful for testing scenarios when you don't want the console to end up showing errors done on purpose.
+               <li><a href="org/apache/juneau/rest/client/RestClientBuilder.html#debug-boolean-"><code>debug(boolean)</code></a> now adds a <code>Debug: true</code> header on all requests.
+            </ul>
+         <li>New methods added/updated to <a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client"><code>RestCall</code></a>:
+            <ul>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#runFuture--"><code>runFuture()</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#getResponseFuture-java.lang.Class-"><code>getResponseFuture(Class)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#getResponseFuture-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>getResponseFuture(Type,Type...)</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#getResponseAsStringFuture--"><code>getResponseAsStringFuture()</code></a>
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#serializer-org.apache.juneau.serializer.Serializer-"><code>serializer(Serializer)</code></a> - Override the serializer defined on the client for a single call.
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#parser-org.apache.juneau.parser.Parser-"><code>parser(Parser)</code></a> - Override the parser defined on the client for a single call.
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#input-java.lang.Object-"><code>input(Object)</code></a> - Now accepts instances of <a href="org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>.
+               <li><a href="org/apache/juneau/rest/client/RestCall.html#getResponse-java.lang.Class-"><code>getResponse(Class)</code></a> - Can now pass in any of the following:
+                  <ul>
+                     <li><code>HttpResponse</code> - Returns the raw <code>HttpResponse</code> returned by the inner <code>HttpClient</code>.
+                     <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a> - Returns access to the raw reader of the response.
+                     <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> - Returns access to the raw input stream of the response.
+                  </ul>
             </ul>
-         <li>New methods added to allow for asynchronous HTTP calls:
+         <li>New methods added to <a href="org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>:
             <ul>
-               <li><a href="org/apache/juneau/rest/client/RestClientBuilder.html#executorService-java.util.concurrent.ExecutorService-boolean-"><code>RestClientBuilder.executorService(ExecutorService,boolean)</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#runFuture--"><code>RestCall.runFuture()</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#getResponseFuture-java.lang.Class-"><code>RestCall.getResponseFuture(Class)</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#getResponseFuture-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestCall.getResponseFuture(Type,Type...)</code></a>
-               <li><a href="org/apache/juneau/rest/client/RestCall.html#getResponseAsStringFuture--"><code>RestCall.getResponseAsStringFuture()</code></a>
+               <li><a href="org/apache/juneau/rest/client/NameValuePairs.html#append-java.lang.String-java.lang.Object-"><code>append(String,Object)</code></a>
+               <li><a href="org/apache/juneau/rest/client/NameValuePairs.html#append-java.lang.String-java.lang.Object-org.apache.juneau.urlencoding.UrlEncodingSerializer-"><code>append(String,Object,UrlEncodingSerializer)</code></a>
             </ul>
+         <li><a href="org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client"><code>RetryOn</code></a> is now an abstract class with an additional method:
+            <ul>
+               <li><a href="org/apache/juneau/rest/client/RetryOn.html#onResponse-org.apache.http.HttpResponse-"><code>onResponse(HttpResponse)</code></a>
+            </ul>       
       </ul>
       
       <h6 class='topic'>org.apache.juneau.microservice</h6>
@@ -6274,7 +6449,6 @@
       </ul>    
    </div>
    
-   
    <!-- ======================================================================================================== -->
    <a id="6.1.0"></a>
    <h3 class='topic' onclick='toggle(this)'>6.1.0 (Feb 25, 2017)</h3>
@@ -6483,26 +6657,27 @@
          <li>New <a href="org/apache/juneau/rest/RestRequest.html#getTimeZone--"><code>RestRequest.getTimeZone()</code></a> method.
          <li>Standardized the following methods in <a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a> to remove dependency on <code>ClassMeta</code>
             objects and eliminate the need for casts:
-         <ul>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.Class-"><code>RestRequest.getHeader(String,Class)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-T-java.lang.Class-"><code>RestRequest.getHeader(String,Object,Class)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getHeader(String,Type,Type...)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getQueryParameter(String,Class)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-T-java.lang.Class-"><code>RestRequest.getQueryParameter(String,Object,Class)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getQueryParameter(String,Type,Type...)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Object-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getQueryParameter(String,Object,Type,Type...)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameters-java.lang.String-java.lang.Class-"><code>RestRequest.getQueryParameters(String,Class)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameters-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getQueryParameters(String,Type,Type...)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getFormDataParameter(String,Class)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-T-java.lang.Class-"><code>RestRequest.getFormDataParameter(String,Object,Class)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameters-java.lang.String-java.lang.Class-"><code>RestRequest.getFormDataParameters(String,Class)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getFormDataParameter(String,Type,Type...)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameters-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getFormDataParameters(String,Type,Type...)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getPathParameter(String,Class)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getPathParameter(String,Type,Type...)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getBody-java.lang.Class-"><code>RestRequest.getBody(Class)</code></a>
-            <li><a href="org/apache/juneau/rest/RestRequest.html#getBody-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getBody(Type,Type...)</code></a>
-         </ul>
+            <ul>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.Class-"><code>getHeader(String,Class)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-T-java.lang.Class-"><code>getHeader(String)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getHeader-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getHeader(String,Type,Type...)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getQueryParameter(String,Class)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-T-java.lang.Class-"><code>RestRequest.getQueryParameter(String,Object,Class)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getQueryParameter(String,Type,Type...)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-java.lang.Object-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getQueryParameter(String,Object,Type,Type...)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameters-java.lang.String-java.lang.Class-"><code>RestRequest.getQueryParameters(String,Class)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameters-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getQueryParameters(String,Type,Type...)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getFormDataParameter(String,Class)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-T-java.lang.Class-"><code>RestRequest.getFormDataParameter(String,Object,Class)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameters-java.lang.String-java.lang.Class-"><code>RestRequest.getFormDataParameters(String,Class)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getFormDataParameter(String,Type,Type...)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameters-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getFormDataParameters(String,Type,Type...)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-java.lang.Class-"><code>RestRequest.getPathParameter(String,Class)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getPathParameter-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getPathParameter(String,Type,Type...)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getBody-java.lang.Class-"><code>RestRequest.getBody(Class)</code></a>
+               <li><a href="org/apache/juneau/rest/RestRequest.html#getBody-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>RestRequest.getBody(Type,Type...)</code></a>
+            </ul>
+         <li>New methods on <a href="org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>
          <li>Fixed issue where whitespace was not added to UON/URL-Encoding output when <code>&amp;plainText=true</code> specified.
       </ul>
    </div>
@@ -7626,7 +7801,7 @@
             Adds <js>"* {white-space:nowrap}"</js> to the style header to prevent word wrapping.
          <li>Fixed bug in <a href="org/apache/juneau/uon/UonParser.html" title="class in org.apache.juneau.uon"><code>UonParser</code></a> where passing in a blank value on an array or collection type in a form post would cause a <code>ClassCastException</code>.  
             New behavior creates an empty array or <code>Collection</code>.
-         <li>Improved implementation of <a href="org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializeUrlPart-java.lang.Object-"><code>UrlEncodingSerializer.serializeUrlPart(Object)</code></a> method.
+         <li>Improved implementation of <del><code>UrlEncodingSerializer.serializeUrlPart(Object)</code></del> method.
       </ul>
 
       <h6 class='topic'>Server</h6>    
@@ -7951,7 +8126,7 @@
          <li>New <a href="org/apache/juneau/rest/Redirect.html" title="class in org.apache.juneau.rest"><code>Redirect</code></a> class that simplifies performing redirections in REST methods.
          <li>New pluggable <a href="org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest"><code>ResponseHandler</code></a> class and <a href="org/apache/juneau/rest/annotation/RestResource.html#responseHandlers--"><code>RestResource.responseHandlers()</code></a> annotation
             for defining customer response handlers for special kinds of POJOs.
-         <li>New method <a href="org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializeUrlPart-java.lang.Object-"><code>UrlEncodingSerializer.serializeUrlPart(Object)</code></a> method.
+         <li>New method <del><code>UrlEncodingSerializer.serializeUrlPart(Object)</code></del> method.
          <li>New method <a href="org/apache/juneau/rest/RestRequest.html#getServletURIBuilder--"><code>RestRequest.getServletURIBuilder()</code></a> for construcing servlet-based URLs more efficiently.
          <li>New method <a href="org/apache/juneau/rest/RestResponse.html#getNegotiatedOutputStream--"><code>RestResponse.getNegotiatedOutputStream()</code></a> that uses encoders if a match is found, 
             and <a href="org/apache/juneau/rest/RestResponse.html#getOutputStream--"><code>RestResponse.getOutputStream()</code></a> that just return the underlying output stream without any modifications.


[39/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/FormattedRuntimeException.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/FormattedRuntimeException.html b/content/site/apidocs/org/apache/juneau/FormattedRuntimeException.html
index 96e2b4a..3875edc 100644
--- a/content/site/apidocs/org/apache/juneau/FormattedRuntimeException.html
+++ b/content/site/apidocs/org/apache/juneau/FormattedRuntimeException.html
@@ -121,7 +121,7 @@
 </dl>
 <dl>
 <dt>Direct Known Subclasses:</dt>
-<dd><a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a>, <a href="../../../org/apache/juneau/ConfigException.html" title="class in org.apache.juneau">ConfigException</a></dd>
+<dd><a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a>, <a href="../../../org/apache/juneau/ConfigException.html" title="class in org.apache.juneau">ConfigException</a>, <a href="../../../org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable">RemoteableMetadataException</a></dd>
 </dl>
 <hr>
 <br>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/Visibility.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/Visibility.html b/content/site/apidocs/org/apache/juneau/Visibility.html
index c6eef45..d83cc11 100644
--- a/content/site/apidocs/org/apache/juneau/Visibility.html
+++ b/content/site/apidocs/org/apache/juneau/Visibility.html
@@ -352,7 +352,7 @@ the order they are declared.</div>
 <ul class="blockList">
 <li class="blockList">
 <h4>values</h4>
-<pre>public static&nbsp;<a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>[]&nbsp;<a href="../../../src-html/org/apache/juneau/Visibility.html#line.24">values</a>()</pre>
+<pre>public static&nbsp;<a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>[]&nbsp;<a href="../../../src-html/org/apache/juneau/Visibility.html#line.25">values</a>()</pre>
 <div class="block">Returns an array containing the constants of this enum type, in
 the order they are declared.  This method may be used to iterate
 over the constants as follows:
@@ -372,7 +372,7 @@ for (Visibility c : Visibility.values())
 <ul class="blockList">
 <li class="blockList">
 <h4>valueOf</h4>
-<pre>public static&nbsp;<a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>&nbsp;<a href="../../../src-html/org/apache/juneau/Visibility.html#line.24">valueOf</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+<pre>public static&nbsp;<a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>&nbsp;<a href="../../../src-html/org/apache/juneau/Visibility.html#line.25">valueOf</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
 <div class="block">Returns the enum constant of this type with the specified name.
 The string must match <i>exactly</i> an identifier used to declare an
 enum constant in this type.  (Extraneous whitespace characters are 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/annotation/Produces.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/annotation/Produces.html b/content/site/apidocs/org/apache/juneau/annotation/Produces.html
index 67cff4c..1936831 100644
--- a/content/site/apidocs/org/apache/juneau/annotation/Produces.html
+++ b/content/site/apidocs/org/apache/juneau/annotation/Produces.html
@@ -43,7 +43,7 @@
 <div class="subNav">
 <ul class="navList">
 <li><a href="../../../../org/apache/juneau/annotation/Pojo.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/annotation/ThreadSafe.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">
 <li><a href="../../../../index.html?org/apache/juneau/annotation/Produces.html" target="_top">Frames</a></li>
@@ -249,7 +249,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Pro
 <div class="subNav">
 <ul class="navList">
 <li><a href="../../../../org/apache/juneau/annotation/Pojo.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/annotation/ThreadSafe.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">
 <li><a href="../../../../index.html?org/apache/juneau/annotation/Produces.html" target="_top">Frames</a></li>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/annotation/Remoteable.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/annotation/Remoteable.html b/content/site/apidocs/org/apache/juneau/annotation/Remoteable.html
deleted file mode 100644
index b8ea1bc..0000000
--- a/content/site/apidocs/org/apache/juneau/annotation/Remoteable.html
+++ /dev/null
@@ -1,167 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!-- NewPage -->
-<html lang="en">
-<head>
-<!-- Generated by javadoc -->
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Remoteable (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
-<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
-<script type="text/javascript" src="../../../../script.js"></script>
-</head>
-<body>
-<script type="text/javascript"><!--
-    try {
-        if (location.href.indexOf('is-external=true') == -1) {
-            parent.document.title="Remoteable (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
-        }
-    }
-    catch(err) {
-    }
-//-->
-</script>
-<noscript>
-<div>JavaScript is disabled on your browser.</div>
-</noscript>
-<!-- ========= START OF TOP NAVBAR ======= -->
-<div class="topNav"><a name="navbar.top">
-<!--   -->
-</a>
-<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
-<a name="navbar.top.firstrow">
-<!--   -->
-</a>
-<ul class="navList" title="Navigation">
-<li><a href="../../../../overview-summary.html">Overview</a></li>
-<li><a href="package-summary.html">Package</a></li>
-<li class="navBarCell1Rev">Class</li>
-<li><a href="package-tree.html">Tree</a></li>
-<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
-<li><a href="../../../../index-all.html">Index</a></li>
-<li><a href="../../../../help-doc.html">Help</a></li>
-</ul>
-</div>
-<div class="subNav">
-<ul class="navList">
-<li><a href="../../../../org/apache/juneau/annotation/Produces.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/annotation/ThreadSafe.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
-</ul>
-<ul class="navList">
-<li><a href="../../../../index.html?org/apache/juneau/annotation/Remoteable.html" target="_top">Frames</a></li>
-<li><a href="Remoteable.html" target="_top">No&nbsp;Frames</a></li>
-</ul>
-<ul class="navList" id="allclasses_navbar_top">
-<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
-</ul>
-<div>
-<script type="text/javascript"><!--
-  allClassesLink = document.getElementById("allclasses_navbar_top");
-  if(window==top) {
-    allClassesLink.style.display = "block";
-  }
-  else {
-    allClassesLink.style.display = "none";
-  }
-  //-->
-</script>
-</div>
-<div>
-<ul class="subNavList">
-<li>Summary:&nbsp;</li>
-<li>Field&nbsp;|&nbsp;</li>
-<li>Required&nbsp;|&nbsp;</li>
-<li>Optional</li>
-</ul>
-<ul class="subNavList">
-<li>Detail:&nbsp;</li>
-<li>Field&nbsp;|&nbsp;</li>
-<li>Element</li>
-</ul>
-</div>
-<a name="skip.navbar.top">
-<!--   -->
-</a></div>
-<!-- ========= END OF TOP NAVBAR ========= -->
-<!-- ======== START OF CLASS DATA ======== -->
-<div class="header">
-<div class="subTitle">org.apache.juneau.annotation</div>
-<h2 title="Annotation Type Remoteable" class="title">Annotation Type Remoteable</h2>
-</div>
-<div class="contentContainer">
-<div class="description">
-<ul class="blockList">
-<li class="blockList">
-<hr>
-<br>
-<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>={<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#TYPE" title="class or interface in java.lang.annotation">TYPE</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#METHOD" title="class or interface in java.lang.annotation">METHOD</a>})
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
- <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html?is-external=true" title="class or interface in java.lang.annotation">@Inherited</a>
-public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Remoteable.html#line.27">Remoteable</a></pre>
-<div class="block">Identifies services whose Java class or methods can be invoked remotely.</div>
-</li>
-</ul>
-</div>
-</div>
-<!-- ========= END OF CLASS DATA ========= -->
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<div class="bottomNav"><a name="navbar.bottom">
-<!--   -->
-</a>
-<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
-<a name="navbar.bottom.firstrow">
-<!--   -->
-</a>
-<ul class="navList" title="Navigation">
-<li><a href="../../../../overview-summary.html">Overview</a></li>
-<li><a href="package-summary.html">Package</a></li>
-<li class="navBarCell1Rev">Class</li>
-<li><a href="package-tree.html">Tree</a></li>
-<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
-<li><a href="../../../../index-all.html">Index</a></li>
-<li><a href="../../../../help-doc.html">Help</a></li>
-</ul>
-</div>
-<div class="subNav">
-<ul class="navList">
-<li><a href="../../../../org/apache/juneau/annotation/Produces.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/annotation/ThreadSafe.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
-</ul>
-<ul class="navList">
-<li><a href="../../../../index.html?org/apache/juneau/annotation/Remoteable.html" target="_top">Frames</a></li>
-<li><a href="Remoteable.html" target="_top">No&nbsp;Frames</a></li>
-</ul>
-<ul class="navList" id="allclasses_navbar_bottom">
-<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
-</ul>
-<div>
-<script type="text/javascript"><!--
-  allClassesLink = document.getElementById("allclasses_navbar_bottom");
-  if(window==top) {
-    allClassesLink.style.display = "block";
-  }
-  else {
-    allClassesLink.style.display = "none";
-  }
-  //-->
-</script>
-</div>
-<div>
-<ul class="subNavList">
-<li>Summary:&nbsp;</li>
-<li>Field&nbsp;|&nbsp;</li>
-<li>Required&nbsp;|&nbsp;</li>
-<li>Optional</li>
-</ul>
-<ul class="subNavList">
-<li>Detail:&nbsp;</li>
-<li>Field&nbsp;|&nbsp;</li>
-<li>Element</li>
-</ul>
-</div>
-<a name="skip.navbar.bottom">
-<!--   -->
-</a></div>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/annotation/ThreadSafe.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/annotation/ThreadSafe.html b/content/site/apidocs/org/apache/juneau/annotation/ThreadSafe.html
index 9d78f13..8d2976e 100644
--- a/content/site/apidocs/org/apache/juneau/annotation/ThreadSafe.html
+++ b/content/site/apidocs/org/apache/juneau/annotation/ThreadSafe.html
@@ -42,7 +42,7 @@
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a href="../../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/annotation/Produces.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
 <li><a href="../../../../org/apache/juneau/annotation/URI.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">
@@ -124,7 +124,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Thr
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a href="../../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/annotation/Produces.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
 <li><a href="../../../../org/apache/juneau/annotation/URI.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/annotation/package-frame.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/annotation/package-frame.html b/content/site/apidocs/org/apache/juneau/annotation/package-frame.html
index 6c3c719..9724915 100644
--- a/content/site/apidocs/org/apache/juneau/annotation/package-frame.html
+++ b/content/site/apidocs/org/apache/juneau/annotation/package-frame.html
@@ -28,7 +28,6 @@
 <li><a href="ParentProperty.html" title="annotation in org.apache.juneau.annotation" target="classFrame">ParentProperty</a></li>
 <li><a href="Pojo.html" title="annotation in org.apache.juneau.annotation" target="classFrame">Pojo</a></li>
 <li><a href="Produces.html" title="annotation in org.apache.juneau.annotation" target="classFrame">Produces</a></li>
-<li><a href="Remoteable.html" title="annotation in org.apache.juneau.annotation" target="classFrame">Remoteable</a></li>
 <li><a href="ThreadSafe.html" title="annotation in org.apache.juneau.annotation" target="classFrame">ThreadSafe</a></li>
 <li><a href="URI.html" title="annotation in org.apache.juneau.annotation" target="classFrame">URI</a></li>
 </ul>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/annotation/package-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/annotation/package-summary.html b/content/site/apidocs/org/apache/juneau/annotation/package-summary.html
index c78674d..15d849b 100644
--- a/content/site/apidocs/org/apache/juneau/annotation/package-summary.html
+++ b/content/site/apidocs/org/apache/juneau/annotation/package-summary.html
@@ -170,18 +170,12 @@
 </td>
 </tr>
 <tr class="rowColor">
-<td class="colFirst"><a href="../../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation">Remoteable</a></td>
-<td class="colLast">
-<div class="block">Identifies services whose Java class or methods can be invoked remotely.</div>
-</td>
-</tr>
-<tr class="altColor">
 <td class="colFirst"><a href="../../../../org/apache/juneau/annotation/ThreadSafe.html" title="annotation in org.apache.juneau.annotation">ThreadSafe</a></td>
 <td class="colLast">
 <div class="block">Identifies a class as being thread-safe.</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="../../../../org/apache/juneau/annotation/URI.html" title="annotation in org.apache.juneau.annotation">URI</a></td>
 <td class="colLast">
 <div class="block">Used to identify a class or bean property as a URI.</div>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/annotation/package-tree.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/annotation/package-tree.html b/content/site/apidocs/org/apache/juneau/annotation/package-tree.html
index a87365f..a88a16f 100644
--- a/content/site/apidocs/org/apache/juneau/annotation/package-tree.html
+++ b/content/site/apidocs/org/apache/juneau/annotation/package-tree.html
@@ -88,7 +88,6 @@
 <ul>
 <li type="circle">org.apache.juneau.annotation.<a href="../../../../org/apache/juneau/annotation/URI.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">URI</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
 <li type="circle">org.apache.juneau.annotation.<a href="../../../../org/apache/juneau/annotation/ThreadSafe.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">ThreadSafe</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
-<li type="circle">org.apache.juneau.annotation.<a href="../../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Remoteable</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
 <li type="circle">org.apache.juneau.annotation.<a href="../../../../org/apache/juneau/annotation/Produces.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Produces</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
 <li type="circle">org.apache.juneau.annotation.<a href="../../../../org/apache/juneau/annotation/Pojo.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Pojo</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
 <li type="circle">org.apache.juneau.annotation.<a href="../../../../org/apache/juneau/annotation/ParentProperty.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">ParentProperty</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>


[15/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/RestException.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RestException.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RestException.html
index 4ad5228..9a35430 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/RestException.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RestException.html
@@ -20,127 +20,146 @@
 <span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
 <span class="sourceLineNo">013</span>package org.apache.juneau.rest;<a name="line.13"></a>
 <span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import java.text.*;<a name="line.15"></a>
-<span class="sourceLineNo">016</span><a name="line.16"></a>
-<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
-<span class="sourceLineNo">018</span> * Exception thrown to trigger an error HTTP status.<a name="line.18"></a>
-<span class="sourceLineNo">019</span> * &lt;p&gt;<a name="line.19"></a>
-<span class="sourceLineNo">020</span> * REST methods on subclasses of {@link RestServlet} can throw<a name="line.20"></a>
-<span class="sourceLineNo">021</span> *    this exception to trigger an HTTP status other than the automatically-generated<a name="line.21"></a>
-<span class="sourceLineNo">022</span> *    &lt;code&gt;404&lt;/code&gt;, &lt;code&gt;405&lt;/code&gt;, and &lt;code&gt;500&lt;/code&gt; statuses.<a name="line.22"></a>
-<span class="sourceLineNo">023</span> */<a name="line.23"></a>
-<span class="sourceLineNo">024</span>public class RestException extends RuntimeException {<a name="line.24"></a>
-<span class="sourceLineNo">025</span><a name="line.25"></a>
-<span class="sourceLineNo">026</span>   private static final long serialVersionUID = 1L;<a name="line.26"></a>
-<span class="sourceLineNo">027</span><a name="line.27"></a>
-<span class="sourceLineNo">028</span>   private final int status;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>   private int occurrence;<a name="line.29"></a>
-<span class="sourceLineNo">030</span><a name="line.30"></a>
-<span class="sourceLineNo">031</span>   /**<a name="line.31"></a>
-<span class="sourceLineNo">032</span>    * Constructor.<a name="line.32"></a>
-<span class="sourceLineNo">033</span>    *<a name="line.33"></a>
-<span class="sourceLineNo">034</span>    * @param status The HTTP status code.<a name="line.34"></a>
-<span class="sourceLineNo">035</span>    * @param msg The status message.<a name="line.35"></a>
-<span class="sourceLineNo">036</span>    * @param args Optional {@link MessageFormat}-style arguments.<a name="line.36"></a>
-<span class="sourceLineNo">037</span>    */<a name="line.37"></a>
-<span class="sourceLineNo">038</span>   public RestException(int status, String msg, Object...args) {<a name="line.38"></a>
-<span class="sourceLineNo">039</span>      super(args.length == 0 ? msg : MessageFormat.format(msg, args));<a name="line.39"></a>
-<span class="sourceLineNo">040</span>      this.status = status;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>   }<a name="line.41"></a>
-<span class="sourceLineNo">042</span><a name="line.42"></a>
-<span class="sourceLineNo">043</span>   /**<a name="line.43"></a>
-<span class="sourceLineNo">044</span>    * Constructor.<a name="line.44"></a>
-<span class="sourceLineNo">045</span>    *<a name="line.45"></a>
-<span class="sourceLineNo">046</span>    * @param status The HTTP status code.<a name="line.46"></a>
-<span class="sourceLineNo">047</span>    * @param cause The root exception.<a name="line.47"></a>
-<span class="sourceLineNo">048</span>    */<a name="line.48"></a>
-<span class="sourceLineNo">049</span>   public RestException(int status, Throwable cause) {<a name="line.49"></a>
-<span class="sourceLineNo">050</span>      this(status, cause.getLocalizedMessage());<a name="line.50"></a>
-<span class="sourceLineNo">051</span>      initCause(cause);<a name="line.51"></a>
-<span class="sourceLineNo">052</span>   }<a name="line.52"></a>
-<span class="sourceLineNo">053</span><a name="line.53"></a>
+<span class="sourceLineNo">015</span>import java.lang.reflect.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import java.text.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>/**<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * Exception thrown to trigger an error HTTP status.<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * &lt;p&gt;<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * REST methods on subclasses of {@link RestServlet} can throw<a name="line.21"></a>
+<span class="sourceLineNo">022</span> *    this exception to trigger an HTTP status other than the automatically-generated<a name="line.22"></a>
+<span class="sourceLineNo">023</span> *    &lt;code&gt;404&lt;/code&gt;, &lt;code&gt;405&lt;/code&gt;, and &lt;code&gt;500&lt;/code&gt; statuses.<a name="line.23"></a>
+<span class="sourceLineNo">024</span> */<a name="line.24"></a>
+<span class="sourceLineNo">025</span>public class RestException extends RuntimeException {<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span>   private static final long serialVersionUID = 1L;<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span>   private final int status;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>   private int occurrence;<a name="line.30"></a>
+<span class="sourceLineNo">031</span><a name="line.31"></a>
+<span class="sourceLineNo">032</span>   /**<a name="line.32"></a>
+<span class="sourceLineNo">033</span>    * Constructor.<a name="line.33"></a>
+<span class="sourceLineNo">034</span>    *<a name="line.34"></a>
+<span class="sourceLineNo">035</span>    * @param status The HTTP status code.<a name="line.35"></a>
+<span class="sourceLineNo">036</span>    * @param msg The status message.<a name="line.36"></a>
+<span class="sourceLineNo">037</span>    * @param args Optional {@link MessageFormat}-style arguments.<a name="line.37"></a>
+<span class="sourceLineNo">038</span>    */<a name="line.38"></a>
+<span class="sourceLineNo">039</span>   public RestException(int status, String msg, Object...args) {<a name="line.39"></a>
+<span class="sourceLineNo">040</span>      super(args.length == 0 ? msg : MessageFormat.format(msg, args));<a name="line.40"></a>
+<span class="sourceLineNo">041</span>      this.status = status;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>   }<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span>   /**<a name="line.44"></a>
+<span class="sourceLineNo">045</span>    * Constructor.<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    *<a name="line.46"></a>
+<span class="sourceLineNo">047</span>    * @param status The HTTP status code.<a name="line.47"></a>
+<span class="sourceLineNo">048</span>    * @param cause The root exception.<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    */<a name="line.49"></a>
+<span class="sourceLineNo">050</span>   public RestException(int status, Throwable cause) {<a name="line.50"></a>
+<span class="sourceLineNo">051</span>      this(status, cause.getLocalizedMessage());<a name="line.51"></a>
+<span class="sourceLineNo">052</span>      initCause(cause);<a name="line.52"></a>
+<span class="sourceLineNo">053</span>   }<a name="line.53"></a>
 <span class="sourceLineNo">054</span><a name="line.54"></a>
-<span class="sourceLineNo">055</span>   /**<a name="line.55"></a>
-<span class="sourceLineNo">056</span>    * Sets the inner cause for this exception.<a name="line.56"></a>
-<span class="sourceLineNo">057</span>    *<a name="line.57"></a>
-<span class="sourceLineNo">058</span>    * @param cause The inner cause.<a name="line.58"></a>
-<span class="sourceLineNo">059</span>    * @return This object (for method chaining).<a name="line.59"></a>
-<span class="sourceLineNo">060</span>    */<a name="line.60"></a>
-<span class="sourceLineNo">061</span>   @Override /* Throwable */<a name="line.61"></a>
-<span class="sourceLineNo">062</span>   public synchronized RestException initCause(Throwable cause) {<a name="line.62"></a>
-<span class="sourceLineNo">063</span>      super.initCause(cause);<a name="line.63"></a>
-<span class="sourceLineNo">064</span>      return this;<a name="line.64"></a>
-<span class="sourceLineNo">065</span>   }<a name="line.65"></a>
-<span class="sourceLineNo">066</span><a name="line.66"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span>   /**<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    * Sets the inner cause for this exception.<a name="line.57"></a>
+<span class="sourceLineNo">058</span>    *<a name="line.58"></a>
+<span class="sourceLineNo">059</span>    * @param cause The inner cause.<a name="line.59"></a>
+<span class="sourceLineNo">060</span>    * @return This object (for method chaining).<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    */<a name="line.61"></a>
+<span class="sourceLineNo">062</span>   @Override /* Throwable */<a name="line.62"></a>
+<span class="sourceLineNo">063</span>   public synchronized RestException initCause(Throwable cause) {<a name="line.63"></a>
+<span class="sourceLineNo">064</span>      super.initCause(cause);<a name="line.64"></a>
+<span class="sourceLineNo">065</span>      return this;<a name="line.65"></a>
+<span class="sourceLineNo">066</span>   }<a name="line.66"></a>
 <span class="sourceLineNo">067</span><a name="line.67"></a>
 <span class="sourceLineNo">068</span>   /**<a name="line.68"></a>
-<span class="sourceLineNo">069</span>    * Returns all error messages from all errors in this stack.<a name="line.69"></a>
-<span class="sourceLineNo">070</span>    * &lt;p&gt;<a name="line.70"></a>
-<span class="sourceLineNo">071</span>    * Typically useful if you want to render all the error messages in the stack, but don't<a name="line.71"></a>
-<span class="sourceLineNo">072</span>    * want to render all the stack traces too.<a name="line.72"></a>
-<span class="sourceLineNo">073</span>    *<a name="line.73"></a>
-<span class="sourceLineNo">074</span>    * @param scrubForXssVulnerabilities If &lt;jk&gt;true&lt;/jk&gt;, replaces &lt;js&gt;'&amp;lt;'&lt;/js&gt;, &lt;js&gt;'&amp;gt;'&lt;/js&gt;, and &lt;js&gt;'&amp;amp;'&lt;/js&gt; characters with spaces.<a name="line.74"></a>
-<span class="sourceLineNo">075</span>    * @return All error messages from all errors in this stack.<a name="line.75"></a>
+<span class="sourceLineNo">069</span>    * Returns the root cause of this exception.<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    * The root cause is the first exception in the init-cause parent chain that's not one of the following:<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    * &lt;ul&gt;<a name="line.71"></a>
+<span class="sourceLineNo">072</span>    *    &lt;li&gt;{@link RestException}<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    *    &lt;li&gt;{@link InvocationTargetException}<a name="line.73"></a>
+<span class="sourceLineNo">074</span>    * &lt;/ul&gt;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>    * @return The root cause of this exception, or &lt;jk&gt;null&lt;/jk&gt; if no root cause was found.<a name="line.75"></a>
 <span class="sourceLineNo">076</span>    */<a name="line.76"></a>
-<span class="sourceLineNo">077</span>   public String getFullStackMessage(boolean scrubForXssVulnerabilities) {<a name="line.77"></a>
-<span class="sourceLineNo">078</span>      String msg = getMessage();<a name="line.78"></a>
-<span class="sourceLineNo">079</span>      StringBuilder sb = new StringBuilder();<a name="line.79"></a>
-<span class="sourceLineNo">080</span>      if (msg != null) {<a name="line.80"></a>
-<span class="sourceLineNo">081</span>         if (scrubForXssVulnerabilities)<a name="line.81"></a>
-<span class="sourceLineNo">082</span>            msg = msg.replace('&lt;', ' ').replace('&gt;', ' ').replace('&amp;', ' ');<a name="line.82"></a>
-<span class="sourceLineNo">083</span>         sb.append(msg);<a name="line.83"></a>
-<span class="sourceLineNo">084</span>      }<a name="line.84"></a>
-<span class="sourceLineNo">085</span>      Throwable e = getCause();<a name="line.85"></a>
-<span class="sourceLineNo">086</span>      while (e != null) {<a name="line.86"></a>
-<span class="sourceLineNo">087</span>         msg = e.getMessage();<a name="line.87"></a>
-<span class="sourceLineNo">088</span>         if (msg != null &amp;&amp; scrubForXssVulnerabilities)<a name="line.88"></a>
-<span class="sourceLineNo">089</span>            msg = msg.replace('&lt;', ' ').replace('&gt;', ' ').replace('&amp;', ' ');<a name="line.89"></a>
-<span class="sourceLineNo">090</span>         String cls = e.getClass().getSimpleName();<a name="line.90"></a>
-<span class="sourceLineNo">091</span>         if (msg == null)<a name="line.91"></a>
-<span class="sourceLineNo">092</span>            sb.append(MessageFormat.format("\nCaused by ({0})", cls));<a name="line.92"></a>
-<span class="sourceLineNo">093</span>         else<a name="line.93"></a>
-<span class="sourceLineNo">094</span>            sb.append(MessageFormat.format("\nCaused by ({0}): {1}", cls, msg));<a name="line.94"></a>
-<span class="sourceLineNo">095</span>         e = e.getCause();<a name="line.95"></a>
-<span class="sourceLineNo">096</span>      }<a name="line.96"></a>
-<span class="sourceLineNo">097</span>      return sb.toString();<a name="line.97"></a>
-<span class="sourceLineNo">098</span>   }<a name="line.98"></a>
-<span class="sourceLineNo">099</span><a name="line.99"></a>
-<span class="sourceLineNo">100</span>   @Override /* Object */<a name="line.100"></a>
-<span class="sourceLineNo">101</span>   public int hashCode() {<a name="line.101"></a>
-<span class="sourceLineNo">102</span>      int i = 0;<a name="line.102"></a>
-<span class="sourceLineNo">103</span>      Throwable t = this;<a name="line.103"></a>
-<span class="sourceLineNo">104</span>      while (t != null) {<a name="line.104"></a>
-<span class="sourceLineNo">105</span>         for (StackTraceElement e : t.getStackTrace())<a name="line.105"></a>
-<span class="sourceLineNo">106</span>         i ^= e.hashCode();<a name="line.106"></a>
-<span class="sourceLineNo">107</span>         t = t.getCause();<a name="line.107"></a>
-<span class="sourceLineNo">108</span>      }<a name="line.108"></a>
-<span class="sourceLineNo">109</span>      return i;<a name="line.109"></a>
-<span class="sourceLineNo">110</span>   }<a name="line.110"></a>
-<span class="sourceLineNo">111</span><a name="line.111"></a>
-<span class="sourceLineNo">112</span>   void setOccurrence(int occurrence) {<a name="line.112"></a>
-<span class="sourceLineNo">113</span>      this.occurrence = occurrence;<a name="line.113"></a>
-<span class="sourceLineNo">114</span>   }<a name="line.114"></a>
-<span class="sourceLineNo">115</span><a name="line.115"></a>
-<span class="sourceLineNo">116</span>   /**<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    * Returns the number of times this exception occurred on this servlet.<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    * &lt;p&gt;<a name="line.118"></a>
-<span class="sourceLineNo">119</span>    * This only gets set if {@link RestContext#REST_useStackTraceHashes} is enabled on the servlet.<a name="line.119"></a>
-<span class="sourceLineNo">120</span>    *<a name="line.120"></a>
-<span class="sourceLineNo">121</span>    * @return The occurrence number if {@link RestContext#REST_useStackTraceHashes} is enabled, or &lt;code&gt;0&lt;/code&gt; otherwise.<a name="line.121"></a>
-<span class="sourceLineNo">122</span>    */<a name="line.122"></a>
-<span class="sourceLineNo">123</span>   public int getOccurrence() {<a name="line.123"></a>
-<span class="sourceLineNo">124</span>      return occurrence;<a name="line.124"></a>
-<span class="sourceLineNo">125</span>   }<a name="line.125"></a>
-<span class="sourceLineNo">126</span><a name="line.126"></a>
-<span class="sourceLineNo">127</span>   /**<a name="line.127"></a>
-<span class="sourceLineNo">128</span>    * Returns the HTTP status code.<a name="line.128"></a>
-<span class="sourceLineNo">129</span>    *<a name="line.129"></a>
-<span class="sourceLineNo">130</span>    * @return The HTTP status code.<a name="line.130"></a>
-<span class="sourceLineNo">131</span>    */<a name="line.131"></a>
-<span class="sourceLineNo">132</span>   public int getStatus() {<a name="line.132"></a>
-<span class="sourceLineNo">133</span>      return status;<a name="line.133"></a>
-<span class="sourceLineNo">134</span>   }<a name="line.134"></a>
-<span class="sourceLineNo">135</span>}<a name="line.135"></a>
+<span class="sourceLineNo">077</span>   public Throwable getRootCause() {<a name="line.77"></a>
+<span class="sourceLineNo">078</span>      Throwable t = this;<a name="line.78"></a>
+<span class="sourceLineNo">079</span>      while(t != null) {<a name="line.79"></a>
+<span class="sourceLineNo">080</span>         t = t.getCause();<a name="line.80"></a>
+<span class="sourceLineNo">081</span>         if (! (t instanceof RestException || t instanceof InvocationTargetException))<a name="line.81"></a>
+<span class="sourceLineNo">082</span>            return t;<a name="line.82"></a>
+<span class="sourceLineNo">083</span>      }<a name="line.83"></a>
+<span class="sourceLineNo">084</span>      return null;<a name="line.84"></a>
+<span class="sourceLineNo">085</span>   }<a name="line.85"></a>
+<span class="sourceLineNo">086</span><a name="line.86"></a>
+<span class="sourceLineNo">087</span>   /**<a name="line.87"></a>
+<span class="sourceLineNo">088</span>    * Returns all error messages from all errors in this stack.<a name="line.88"></a>
+<span class="sourceLineNo">089</span>    * &lt;p&gt;<a name="line.89"></a>
+<span class="sourceLineNo">090</span>    * Typically useful if you want to render all the error messages in the stack, but don't<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    * want to render all the stack traces too.<a name="line.91"></a>
+<span class="sourceLineNo">092</span>    *<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    * @param scrubForXssVulnerabilities If &lt;jk&gt;true&lt;/jk&gt;, replaces &lt;js&gt;'&amp;lt;'&lt;/js&gt;, &lt;js&gt;'&amp;gt;'&lt;/js&gt;, and &lt;js&gt;'&amp;amp;'&lt;/js&gt; characters with spaces.<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    * @return All error messages from all errors in this stack.<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    */<a name="line.95"></a>
+<span class="sourceLineNo">096</span>   public String getFullStackMessage(boolean scrubForXssVulnerabilities) {<a name="line.96"></a>
+<span class="sourceLineNo">097</span>      String msg = getMessage();<a name="line.97"></a>
+<span class="sourceLineNo">098</span>      StringBuilder sb = new StringBuilder();<a name="line.98"></a>
+<span class="sourceLineNo">099</span>      if (msg != null) {<a name="line.99"></a>
+<span class="sourceLineNo">100</span>         if (scrubForXssVulnerabilities)<a name="line.100"></a>
+<span class="sourceLineNo">101</span>            msg = msg.replace('&lt;', ' ').replace('&gt;', ' ').replace('&amp;', ' ');<a name="line.101"></a>
+<span class="sourceLineNo">102</span>         sb.append(msg);<a name="line.102"></a>
+<span class="sourceLineNo">103</span>      }<a name="line.103"></a>
+<span class="sourceLineNo">104</span>      Throwable e = getCause();<a name="line.104"></a>
+<span class="sourceLineNo">105</span>      while (e != null) {<a name="line.105"></a>
+<span class="sourceLineNo">106</span>         msg = e.getMessage();<a name="line.106"></a>
+<span class="sourceLineNo">107</span>         if (msg != null &amp;&amp; scrubForXssVulnerabilities)<a name="line.107"></a>
+<span class="sourceLineNo">108</span>            msg = msg.replace('&lt;', ' ').replace('&gt;', ' ').replace('&amp;', ' ');<a name="line.108"></a>
+<span class="sourceLineNo">109</span>         String cls = e.getClass().getSimpleName();<a name="line.109"></a>
+<span class="sourceLineNo">110</span>         if (msg == null)<a name="line.110"></a>
+<span class="sourceLineNo">111</span>            sb.append(MessageFormat.format("\nCaused by ({0})", cls));<a name="line.111"></a>
+<span class="sourceLineNo">112</span>         else<a name="line.112"></a>
+<span class="sourceLineNo">113</span>            sb.append(MessageFormat.format("\nCaused by ({0}): {1}", cls, msg));<a name="line.113"></a>
+<span class="sourceLineNo">114</span>         e = e.getCause();<a name="line.114"></a>
+<span class="sourceLineNo">115</span>      }<a name="line.115"></a>
+<span class="sourceLineNo">116</span>      return sb.toString();<a name="line.116"></a>
+<span class="sourceLineNo">117</span>   }<a name="line.117"></a>
+<span class="sourceLineNo">118</span><a name="line.118"></a>
+<span class="sourceLineNo">119</span>   @Override /* Object */<a name="line.119"></a>
+<span class="sourceLineNo">120</span>   public int hashCode() {<a name="line.120"></a>
+<span class="sourceLineNo">121</span>      int i = 0;<a name="line.121"></a>
+<span class="sourceLineNo">122</span>      Throwable t = this;<a name="line.122"></a>
+<span class="sourceLineNo">123</span>      while (t != null) {<a name="line.123"></a>
+<span class="sourceLineNo">124</span>         for (StackTraceElement e : t.getStackTrace())<a name="line.124"></a>
+<span class="sourceLineNo">125</span>         i ^= e.hashCode();<a name="line.125"></a>
+<span class="sourceLineNo">126</span>         t = t.getCause();<a name="line.126"></a>
+<span class="sourceLineNo">127</span>      }<a name="line.127"></a>
+<span class="sourceLineNo">128</span>      return i;<a name="line.128"></a>
+<span class="sourceLineNo">129</span>   }<a name="line.129"></a>
+<span class="sourceLineNo">130</span><a name="line.130"></a>
+<span class="sourceLineNo">131</span>   void setOccurrence(int occurrence) {<a name="line.131"></a>
+<span class="sourceLineNo">132</span>      this.occurrence = occurrence;<a name="line.132"></a>
+<span class="sourceLineNo">133</span>   }<a name="line.133"></a>
+<span class="sourceLineNo">134</span><a name="line.134"></a>
+<span class="sourceLineNo">135</span>   /**<a name="line.135"></a>
+<span class="sourceLineNo">136</span>    * Returns the number of times this exception occurred on this servlet.<a name="line.136"></a>
+<span class="sourceLineNo">137</span>    * &lt;p&gt;<a name="line.137"></a>
+<span class="sourceLineNo">138</span>    * This only gets set if {@link RestContext#REST_useStackTraceHashes} is enabled on the servlet.<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    *<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    * @return The occurrence number if {@link RestContext#REST_useStackTraceHashes} is enabled, or &lt;code&gt;0&lt;/code&gt; otherwise.<a name="line.140"></a>
+<span class="sourceLineNo">141</span>    */<a name="line.141"></a>
+<span class="sourceLineNo">142</span>   public int getOccurrence() {<a name="line.142"></a>
+<span class="sourceLineNo">143</span>      return occurrence;<a name="line.143"></a>
+<span class="sourceLineNo">144</span>   }<a name="line.144"></a>
+<span class="sourceLineNo">145</span><a name="line.145"></a>
+<span class="sourceLineNo">146</span>   /**<a name="line.146"></a>
+<span class="sourceLineNo">147</span>    * Returns the HTTP status code.<a name="line.147"></a>
+<span class="sourceLineNo">148</span>    *<a name="line.148"></a>
+<span class="sourceLineNo">149</span>    * @return The HTTP status code.<a name="line.149"></a>
+<span class="sourceLineNo">150</span>    */<a name="line.150"></a>
+<span class="sourceLineNo">151</span>   public int getStatus() {<a name="line.151"></a>
+<span class="sourceLineNo">152</span>      return status;<a name="line.152"></a>
+<span class="sourceLineNo">153</span>   }<a name="line.153"></a>
+<span class="sourceLineNo">154</span>}<a name="line.154"></a>
 
 
 


[26/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html
index 3fbefc6..090dc1e 100644
--- a/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html
+++ b/content/site/apidocs/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -445,37 +445,49 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 </tr>
 <tr id="i43" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#paramFormat-java.lang.String-">paramFormat</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;paramFormat)</code>
+<div class="block"><b>Configuration property:</b>  Format to use for top-level query names and simple parameters.</div>
+</td>
+</tr>
+<tr id="i44" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#plainTextParams--">plainTextParams</a></span>()</code>
+<div class="block">Shortcut for calling <code>paramFormat(<js>"PLAINTEXT"</js>)</code>.</div>
+</td>
+</tr>
+<tr id="i45" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#pojoSwaps-java.lang.Class...-">pojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Add to POJO swaps.</div>
 </td>
 </tr>
-<tr id="i44" class="altColor">
+<tr id="i46" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#pojoSwaps-java.util.Collection-">pojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Add to POJO swaps.</div>
 </td>
 </tr>
-<tr id="i45" class="rowColor">
+<tr id="i47" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#properties-java.util.Map-">properties</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;properties)</code>
 <div class="block">Adds multiple configuration properties on this object.</div>
 </td>
 </tr>
-<tr id="i46" class="altColor">
+<tr id="i48" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#property-java.lang.String-java.lang.Object-">property</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets a configuration property on this object.</div>
 </td>
 </tr>
-<tr id="i47" class="rowColor">
+<tr id="i49" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#putToProperty-java.lang.String-java.lang.Object-">putToProperty</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
              <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Adds or overwrites a value to a MAP property.</div>
 </td>
 </tr>
-<tr id="i48" class="altColor">
+<tr id="i50" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#putToProperty-java.lang.String-java.lang.Object-java.lang.Object-">putToProperty</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
              <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;key,
@@ -483,218 +495,218 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <div class="block">Adds or overwrites a value to a MAP property.</div>
 </td>
 </tr>
-<tr id="i49" class="rowColor">
+<tr id="i51" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#quoteChar-char-">quoteChar</a></span>(char&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Quote character.</div>
 </td>
 </tr>
-<tr id="i50" class="altColor">
+<tr id="i52" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#relativeUriBase-java.lang.String-">relativeUriBase</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  URI base for relative URIs.</div>
 </td>
 </tr>
-<tr id="i51" class="rowColor">
+<tr id="i53" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#removeBeanFilters-java.lang.Class...-">removeBeanFilters</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from bean filters.</div>
 </td>
 </tr>
-<tr id="i52" class="altColor">
+<tr id="i54" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#removeBeanFilters-java.util.Collection-">removeBeanFilters</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from bean filters.</div>
 </td>
 </tr>
-<tr id="i53" class="rowColor">
+<tr id="i55" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#removeFromBeanDictionary-java.lang.Class...-">removeFromBeanDictionary</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from bean dictionary.</div>
 </td>
 </tr>
-<tr id="i54" class="altColor">
+<tr id="i56" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#removeFromBeanDictionary-java.util.Collection-">removeFromBeanDictionary</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from bean dictionary.</div>
 </td>
 </tr>
-<tr id="i55" class="rowColor">
+<tr id="i57" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#removeFromProperty-java.lang.String-java.lang.Object-">removeFromProperty</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Removes a value from a SET property.</div>
 </td>
 </tr>
-<tr id="i56" class="altColor">
+<tr id="i58" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#removeNotBeanClasses-java.lang.Class...-">removeNotBeanClasses</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from classes that should not be considered beans.</div>
 </td>
 </tr>
-<tr id="i57" class="rowColor">
+<tr id="i59" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#removeNotBeanClasses-java.util.Collection-">removeNotBeanClasses</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from classes that should not be considered beans.</div>
 </td>
 </tr>
-<tr id="i58" class="altColor">
+<tr id="i60" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#removeNotBeanPackages-java.util.Collection-">removeNotBeanPackages</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from packages whose classes should not be considered beans.</div>
 </td>
 </tr>
-<tr id="i59" class="rowColor">
+<tr id="i61" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#removeNotBeanPackages-java.lang.String...-">removeNotBeanPackages</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from packages whose classes should not be considered beans.</div>
 </td>
 </tr>
-<tr id="i60" class="altColor">
+<tr id="i62" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#removePojoSwaps-java.lang.Class...-">removePojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from POJO swaps.</div>
 </td>
 </tr>
-<tr id="i61" class="rowColor">
+<tr id="i63" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#removePojoSwaps-java.util.Collection-">removePojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from POJO swaps.</div>
 </td>
 </tr>
-<tr id="i62" class="altColor">
+<tr id="i64" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#setBeanDictionary-java.lang.Class...-">setBeanDictionary</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Bean lookup dictionary.</div>
 </td>
 </tr>
-<tr id="i63" class="rowColor">
+<tr id="i65" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#setBeanDictionary-java.util.Collection-">setBeanDictionary</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Bean lookup dictionary.</div>
 </td>
 </tr>
-<tr id="i64" class="altColor">
+<tr id="i66" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#setBeanFilters-java.lang.Class...-">setBeanFilters</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Bean filters to apply to beans.</div>
 </td>
 </tr>
-<tr id="i65" class="rowColor">
+<tr id="i67" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#setBeanFilters-java.util.Collection-">setBeanFilters</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Bean filters to apply to beans.</div>
 </td>
 </tr>
-<tr id="i66" class="altColor">
+<tr id="i68" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#setNotBeanClasses-java.lang.Class...-">setNotBeanClasses</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Classes to be excluded from consideration as being beans.</div>
 </td>
 </tr>
-<tr id="i67" class="rowColor">
+<tr id="i69" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#setNotBeanClasses-java.util.Collection-">setNotBeanClasses</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Classes to be excluded from consideration as being beans.</div>
 </td>
 </tr>
-<tr id="i68" class="altColor">
+<tr id="i70" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#setNotBeanPackages-java.util.Collection-">setNotBeanPackages</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Packages whose classes should not be considered beans.</div>
 </td>
 </tr>
-<tr id="i69" class="rowColor">
+<tr id="i71" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#setNotBeanPackages-java.lang.String...-">setNotBeanPackages</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Packages whose classes should not be considered beans.</div>
 </td>
 </tr>
-<tr id="i70" class="altColor">
+<tr id="i72" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#setPojoSwaps-java.lang.Class...-">setPojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  POJO swaps to apply to Java objects.</div>
 </td>
 </tr>
-<tr id="i71" class="rowColor">
+<tr id="i73" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#setPojoSwaps-java.util.Collection-">setPojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  POJO swaps to apply to Java objects.</div>
 </td>
 </tr>
-<tr id="i72" class="altColor">
+<tr id="i74" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#sortCollections-boolean-">sortCollections</a></span>(boolean&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Sort arrays and collections alphabetically.</div>
 </td>
 </tr>
-<tr id="i73" class="rowColor">
+<tr id="i75" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#sortMaps-boolean-">sortMaps</a></span>(boolean&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Sort maps alphabetically.</div>
 </td>
 </tr>
-<tr id="i74" class="altColor">
+<tr id="i76" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#sortProperties-boolean-">sortProperties</a></span>(boolean&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Sort bean properties in alphabetical order.</div>
 </td>
 </tr>
-<tr id="i75" class="rowColor">
+<tr id="i77" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#sq--">sq</a></span>()</code>
 <div class="block">Shortcut for calling <code>quoteChar(<js>'\''</js>)</code>.</div>
 </td>
 </tr>
-<tr id="i76" class="altColor">
+<tr id="i78" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#timeZone-java.util.TimeZone-">timeZone</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a>&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  TimeZone.</div>
 </td>
 </tr>
-<tr id="i77" class="rowColor">
+<tr id="i79" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#trimEmptyCollections-boolean-">trimEmptyCollections</a></span>(boolean&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Trim empty lists and arrays.</div>
 </td>
 </tr>
-<tr id="i78" class="altColor">
+<tr id="i80" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#trimEmptyMaps-boolean-">trimEmptyMaps</a></span>(boolean&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Trim empty maps.</div>
 </td>
 </tr>
-<tr id="i79" class="rowColor">
+<tr id="i81" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#trimNullProperties-boolean-">trimNullProperties</a></span>(boolean&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Trim null bean property values.</div>
 </td>
 </tr>
-<tr id="i80" class="altColor">
+<tr id="i82" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#trimStrings-boolean-">trimStrings</a></span>(boolean&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Trim strings.</div>
 </td>
 </tr>
-<tr id="i81" class="rowColor">
+<tr id="i83" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#useInterfaceProxies-boolean-">useInterfaceProxies</a></span>(boolean&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Use interface proxies.</div>
 </td>
 </tr>
-<tr id="i82" class="altColor">
+<tr id="i84" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#useJavaBeanIntrospector-boolean-">useJavaBeanIntrospector</a></span>(boolean&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Use Java <a href="http://docs.oracle.com/javase/7/docs/api/java/beans/Introspector.html?is-external=true" title="class or interface in java.beans"><code>Introspector</code></a> for determining bean properties.</div>
 </td>
 </tr>
-<tr id="i83" class="rowColor">
+<tr id="i85" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#useWhitespace-boolean-">useWhitespace</a></span>(boolean&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Use whitespace.</div>
 </td>
 </tr>
-<tr id="i84" class="altColor">
+<tr id="i86" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#ws--">ws</a></span>()</code>
 <div class="block">Shortcut for calling <code>useWhitespace(<jk>true</jk>)</code>.</div>
@@ -836,13 +848,68 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 </dl>
 </li>
 </ul>
+<a name="paramFormat-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>paramFormat</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.128">paramFormat</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;paramFormat)</pre>
+<div class="block"><b>Configuration property:</b>  Format to use for top-level query names and simple parameters.
+ <p>
+ <ul>
+   <li><b>Name:</b> <js>"UrlEncodingSerializer.paramFormat"</js>
+   <li><b>Data type:</b> <code>String</code>
+   <li><b>Default:</b> <js>"UON"</js>
+   <li><b>Session-overridable:</b> <jk>true</jk>
+ </ul>
+ <p>
+ Specifies the format to use for URL GET parameter keys and values.
+ <p>
+ The possible values are:
+ <ul>
+   <li><js>"UON"</js> (default) - Use UON notation for values.
+      <br>String values such as <js>"(foo='bar')"</js> will end up being quoted and escaped to <js>"'(foo=bar~'baz~')'"</js>.
+      <br>Similarly, boolean and numeric values will also end up quoted.
+   <li><js>"PLAINTEXT"</js> (default) - Serialize as plain text.
+      <br>Strings will never be quoted or escaped.
+      <br>Note that this can cause errors during parsing if you're using the URL-encoding parser to parse
+      the results since UON constructs won't be differentiatable.
+      <br>However, this is not an issue if you're simply creating queries or form posts against 3rd-party interfaces.
+ </ul></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>paramFormat</code> - The new value for this property.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#URLENC_paramFormat"><code>UrlEncodingSerializerContext.URLENC_paramFormat</code></a></dd>
+</dl>
+</li>
+</ul>
+<a name="plainTextParams--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>plainTextParams</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.138">plainTextParams</a>()</pre>
+<div class="block">Shortcut for calling <code>paramFormat(<js>"PLAINTEXT"</js>)</code>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#URLENC_paramFormat"><code>UrlEncodingSerializerContext.URLENC_paramFormat</code></a></dd>
+</dl>
+</li>
+</ul>
 <a name="encodeChars-boolean-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>encodeChars</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.101">encodeChars</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.143">encodeChars</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html#encodeChars-boolean-">UonSerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Encode non-valid URI characters.
  <p>
@@ -882,7 +949,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>encoding</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.107">encoding</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.149">encoding</a>()</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html#encoding--">UonSerializerBuilder</a></code></span></div>
 <div class="block">Shortcut for calling <code>setEncodeChars(true)</code>.</div>
 <dl>
@@ -899,7 +966,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>maxDepth</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.113">maxDepth</a>(int&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.155">maxDepth</a>(int&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#maxDepth-int-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Max serialization depth.
  <p>
@@ -936,7 +1003,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>initialDepth</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.119">initialDepth</a>(int&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.161">initialDepth</a>(int&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#initialDepth-int-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Initial depth.
  <p>
@@ -972,7 +1039,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>detectRecursions</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.125">detectRecursions</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.167">detectRecursions</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#detectRecursions-boolean-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Automatically detect POJO recursions.
  <p>
@@ -1016,7 +1083,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>ignoreRecursions</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.131">ignoreRecursions</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.173">ignoreRecursions</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#ignoreRecursions-boolean-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Ignore recursion errors.
  <p>
@@ -1057,7 +1124,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>useWhitespace</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.137">useWhitespace</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.179">useWhitespace</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#useWhitespace-boolean-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Use whitespace.
  <p>
@@ -1092,7 +1159,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>ws</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.143">ws</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.185">ws</a>()</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#ws--">SerializerBuilder</a></code></span></div>
 <div class="block">Shortcut for calling <code>useWhitespace(<jk>true</jk>)</code>.</div>
 <dl>
@@ -1109,7 +1176,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>addBeanTypeProperties</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.149">addBeanTypeProperties</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.191">addBeanTypeProperties</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#addBeanTypeProperties-boolean-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Add <js>"_type"</js> properties when needed.
  <p>
@@ -1147,7 +1214,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>quoteChar</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.155">quoteChar</a>(char&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.197">quoteChar</a>(char&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#quoteChar-char-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Quote character.
  <p>
@@ -1182,7 +1249,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>sq</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.161">sq</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.203">sq</a>()</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#sq--">SerializerBuilder</a></code></span></div>
 <div class="block">Shortcut for calling <code>quoteChar(<js>'\''</js>)</code>.</div>
 <dl>
@@ -1199,7 +1266,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>trimNullProperties</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.167">trimNullProperties</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.209">trimNullProperties</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#trimNullProperties-boolean-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Trim null bean property values.
  <p>
@@ -1238,7 +1305,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>trimEmptyCollections</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.173">trimEmptyCollections</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.215">trimEmptyCollections</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#trimEmptyCollections-boolean-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Trim empty lists and arrays.
  <p>
@@ -1278,7 +1345,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>trimEmptyMaps</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.179">trimEmptyMaps</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.221">trimEmptyMaps</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#trimEmptyMaps-boolean-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Trim empty maps.
  <p>
@@ -1317,7 +1384,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>trimStrings</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.185">trimStrings</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.227">trimStrings</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#trimStrings-boolean-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Trim strings.
  <p>
@@ -1352,7 +1419,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>relativeUriBase</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.191">relativeUriBase</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.233">relativeUriBase</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#relativeUriBase-java.lang.String-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  URI base for relative URIs.
  <p>
@@ -1409,7 +1476,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>absolutePathUriBase</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.197">absolutePathUriBase</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.239">absolutePathUriBase</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#absolutePathUriBase-java.lang.String-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  URI base for relative URIs with absolute paths.
  <p>
@@ -1466,7 +1533,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>sortCollections</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.203">sortCollections</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.245">sortCollections</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#sortCollections-boolean-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Sort arrays and collections alphabetically.
  <p>
@@ -1500,7 +1567,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>sortMaps</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.209">sortMaps</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.251">sortMaps</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#sortMaps-boolean-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Sort maps alphabetically.
  <p>
@@ -1533,7 +1600,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>abridged</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.215">abridged</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.257">abridged</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerBuilder.html#abridged-boolean-">SerializerBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Abridged output.
  <p>
@@ -1568,7 +1635,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>beansRequireDefaultConstructor</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.221">beansRequireDefaultConstructor</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.263">beansRequireDefaultConstructor</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#beansRequireDefaultConstructor-boolean-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Beans require no-arg constructors.
  <p>
@@ -1606,7 +1673,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>beansRequireSerializable</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.227">beansRequireSerializable</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.269">beansRequireSerializable</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#beansRequireSerializable-boolean-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Beans require <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a> interface.
  <p>
@@ -1644,7 +1711,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>beansRequireSettersForGetters</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.233">beansRequireSettersForGetters</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.275">beansRequireSettersForGetters</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#beansRequireSettersForGetters-boolean-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Beans require setters for getters.
  <p>
@@ -1680,7 +1747,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>beansRequireSomeProperties</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.239">beansRequireSomeProperties</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.281">beansRequireSomeProperties</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#beansRequireSomeProperties-boolean-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Beans require at least one property.
  <p>
@@ -1718,7 +1785,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>beanMapPutReturnsOldValue</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.245">beanMapPutReturnsOldValue</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.287">beanMapPutReturnsOldValue</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanMapPutReturnsOldValue-boolean-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  <a href="../../../../org/apache/juneau/BeanMap.html#put-java.lang.String-java.lang.Object-"><code>BeanMap.put()</code></a> method will return old property value.
  <p>
@@ -1756,7 +1823,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>beanConstructorVisibility</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.251">beanConstructorVisibility</a>(<a href="../../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.293">beanConstructorVisibility</a>(<a href="../../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanConstructorVisibility-org.apache.juneau.Visibility-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Look for bean constructors with the specified minimum visibility.
  <p>
@@ -1793,7 +1860,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>beanClassVisibility</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.257">beanClassVisibility</a>(<a href="../../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.299">beanClassVisibility</a>(<a href="../../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanClassVisibility-org.apache.juneau.Visibility-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Look for bean classes with the specified minimum visibility.
  <p>
@@ -1830,7 +1897,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>beanFieldVisibility</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.263">beanFieldVisibility</a>(<a href="../../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.305">beanFieldVisibility</a>(<a href="../../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#beanFieldVisibility-org.apache.juneau.Visibility-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Look for bean fields with the specified minimum visibility.
  <p>
@@ -1868,7 +1935,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>methodVisibility</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.269">methodVisibility</a>(<a href="../../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.311">methodVisibility</a>(<a href="../../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#methodVisibility-org.apache.juneau.Visibility-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Look for bean methods with the specified minimum visibility.
  <p>
@@ -1906,7 +1973,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>useJavaBeanIntrospector</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.275">useJavaBeanIntrospector</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.317">useJavaBeanIntrospector</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#useJavaBeanIntrospector-boolean-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Use Java <a href="http://docs.oracle.com/javase/7/docs/api/java/beans/Introspector.html?is-external=true" title="class or interface in java.beans"><code>Introspector</code></a> for determining bean properties.
  <p>
@@ -1942,7 +2009,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>useInterfaceProxies</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.281">useInterfaceProxies</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.323">useInterfaceProxies</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#useInterfaceProxies-boolean-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Use interface proxies.
  <p>
@@ -1978,7 +2045,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>ignoreUnknownBeanProperties</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.287">ignoreUnknownBeanProperties</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.329">ignoreUnknownBeanProperties</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#ignoreUnknownBeanProperties-boolean-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Ignore unknown properties.
  <p>
@@ -2014,7 +2081,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>ignoreUnknownNullBeanProperties</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.293">ignoreUnknownNullBeanProperties</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.335">ignoreUnknownNullBeanProperties</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#ignoreUnknownNullBeanProperties-boolean-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Ignore unknown properties with null values.
  <p>
@@ -2050,7 +2117,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>ignorePropertiesWithoutSetters</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.299">ignorePropertiesWithoutSetters</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.341">ignorePropertiesWithoutSetters</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#ignorePropertiesWithoutSetters-boolean-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Ignore properties without setters.
  <p>
@@ -2086,7 +2153,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>ignoreInvocationExceptionsOnGetters</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.305">ignoreInvocationExceptionsOnGetters</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.347">ignoreInvocationExceptionsOnGetters</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#ignoreInvocationExceptionsOnGetters-boolean-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Ignore invocation errors on getters.
  <p>
@@ -2122,7 +2189,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>ignoreInvocationExceptionsOnSetters</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.311">ignoreInvocationExceptionsOnSetters</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.353">ignoreInvocationExceptionsOnSetters</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#ignoreInvocationExceptionsOnSetters-boolean-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Ignore invocation errors on setters.
  <p>
@@ -2158,7 +2225,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>sortProperties</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.317">sortProperties</a>(boolean&nbsp;value)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.359">sortProperties</a>(boolean&nbsp;value)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#sortProperties-boolean-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Sort bean properties in alphabetical order.
  <p>
@@ -2200,7 +2267,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>notBeanPackages</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.323">notBeanPackages</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;values)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.365">notBeanPackages</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;values)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#notBeanPackages-java.lang.String...-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Add to packages whose classes should not be considered beans.
  <p>
@@ -2227,7 +2294,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>notBeanPackages</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.329">notBeanPackages</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;values)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.371">notBeanPackages</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;values)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#notBeanPackages-java.util.Collection-">CoreObjectBuilder</a></code></span></div>
 <div class="block"><b>Configuration property:</b>  Add to packages whose classes should not be considered beans.
  <p>
@@ -2250,7 +2317,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializerBuilder.html" ti
 <ul class="blockList">
 <li class="blockList">
 <h4>setNotBeanPackages</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.335">setNotBeanPackages</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;values)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#line.377">setNotBeanPackages</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;values)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/CoreObjectBuilder.html#setNotBeanPacka

<TRUNCATED>


[29/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/client/RestClientBuilder.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/client/RestClientBuilder.html b/content/site/apidocs/org/apache/juneau/rest/client/RestClientBuilder.html
index 9c48eaa..7c2556d 100644
--- a/content/site/apidocs/org/apache/juneau/rest/client/RestClientBuilder.html
+++ b/content/site/apidocs/org/apache/juneau/rest/client/RestClientBuilder.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i
 109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":10,"i130":10,"i131":10,"i132":10,"i133":10,"i134":10,"i135":10,"i136":10,"i137":10,"i138":10,"i139":10,"i140":10,"i141":10,"i142":10,"i143":10,"i144":10,"i145":10,"i146":10,"i147":10,"i148":10,"i149":10,"i150":10,"i151":10,"i152":10,"i153":10,"i154":10,"i155":10,"i156":10,"i157":10,"i158":10,"i159":10,"i160":10,"i161":10,"i162":10,"i163":10,"i164":10,"i165":10,"i166":10,"i167":10,"i168":10,"i169":10,"i170":10,"i171":10,"i172":10,"i173":10,"i174":10,"i175":10,"i176":10,"i177":10,"i178":10,"i179":10,"i180":10,"i181":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i
 109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":10,"i130":10,"i131":10,"i132":10,"i133":10,"i134":10,"i135":10,"i136":10,"i137":10,"i138":10,"i139":10,"i140":10,"i141":10,"i142":10,"i143":10,"i144":10,"i145":10,"i146":10,"i147":10,"i148":10,"i149":10,"i150":10,"i151":10,"i152":10,"i153":10,"i154":10,"i155":10,"i156":10,"i157":10,"i158":10,"i159":10,"i160":10,"i161":10,"i162":10,"i163":10,"i164":10,"i165":10,"i166":10,"i167":10,"i168":10,"i169":10,"i170":10,"i171":10,"i172":10,"i173":10,"i174":10,"i175":10,"i176":10,"i177":10,"i178":10,"i179":10,"i180":10,"i181":10,"i182":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -115,7 +115,7 @@ var activeTableTab = "activeTableTab";
 <br>
 <pre>public class <a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.54">RestClientBuilder</a>
 extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title="class in org.apache.juneau">CoreObjectBuilder</a></pre>
-<div class="block">Builder class for <a href="../../../../../org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client"><code>RestClient</code></a> class.</div>
+<div class="block">Builder class for the <a href="../../../../../org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client"><code>RestClient</code></a> class.</div>
 </li>
 </ul>
 </div>
@@ -702,69 +702,81 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 </tr>
 <tr id="i88" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#paramFormat-java.lang.String-">paramFormat</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</code>
+<div class="block">Sets the <a href="../../../../../org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#URLENC_paramFormat"><code>UrlEncodingSerializerContext.URLENC_paramFormat</code></a> property on the URL-encoding serializers in this group.</div>
+</td>
+</tr>
+<tr id="i89" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#parser-java.lang.Class-">parser</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&gt;&nbsp;parserClass)</code>
 <div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#parser-org.apache.juneau.parser.Parser-"><code>parser(Parser)</code></a>, except takes in a parser class that
    will be instantiated through a no-arg constructor.</div>
 </td>
 </tr>
-<tr id="i89" class="rowColor">
+<tr id="i90" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#parser-org.apache.juneau.parser.Parser-">parser</a></span>(<a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;parser)</code>
 <div class="block">Sets the parser used for parsing POJOs from the HTTP response message body.</div>
 </td>
 </tr>
-<tr id="i90" class="altColor">
+<tr id="i91" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#plainTextParams--">plainTextParams</a></span>()</code>
+<div class="block">Shortcut for calling <code>paramFormat(<js>"PLAINTEXT"</js>)</code>.</div>
+</td>
+</tr>
+<tr id="i92" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#pojoSwaps-java.lang.Class...-">pojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Add to POJO swaps.</div>
 </td>
 </tr>
-<tr id="i91" class="rowColor">
+<tr id="i93" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#pojoSwaps-java.util.Collection-">pojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Add to POJO swaps.</div>
 </td>
 </tr>
-<tr id="i92" class="altColor">
+<tr id="i94" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#pooled--">pooled</a></span>()</code>
 <div class="block">When called, the <a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#createConnectionManager--"><code>createConnectionManager()</code></a> method will return a <code>PoolingHttpClientConnectionManager</code>
    instead of a <code>BasicHttpClientConnectionManager</code>.</div>
 </td>
 </tr>
-<tr id="i93" class="rowColor">
+<tr id="i95" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#pragma-java.lang.Object-">pragma</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Pragma</code> request header.</div>
 </td>
 </tr>
-<tr id="i94" class="altColor">
+<tr id="i96" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#properties-java.util.Map-">properties</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;properties)</code>
 <div class="block">Adds multiple configuration properties on this object.</div>
 </td>
 </tr>
-<tr id="i95" class="rowColor">
+<tr id="i97" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#property-java.lang.String-java.lang.Object-">property</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets a configuration property on this object.</div>
 </td>
 </tr>
-<tr id="i96" class="altColor">
+<tr id="i98" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#proxyAuthorization-java.lang.Object-">proxyAuthorization</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Proxy-Authorization</code> request header.</div>
 </td>
 </tr>
-<tr id="i97" class="rowColor">
+<tr id="i99" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#putToProperty-java.lang.String-java.lang.Object-">putToProperty</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
              <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Adds or overwrites a value to a MAP property.</div>
 </td>
 </tr>
-<tr id="i98" class="altColor">
+<tr id="i100" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#putToProperty-java.lang.String-java.lang.Object-java.lang.Object-">putToProperty</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
              <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;key,
@@ -772,434 +784,428 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <div class="block">Adds or overwrites a value to a MAP property.</div>
 </td>
 </tr>
-<tr id="i99" class="rowColor">
+<tr id="i101" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#quoteChar-char-">quoteChar</a></span>(char&nbsp;value)</code>
 <div class="block">Sets the <a href="../../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_quoteChar"><code>SerializerContext.SERIALIZER_quoteChar</code></a> property on all serializers in this group.</div>
 </td>
 </tr>
-<tr id="i100" class="altColor">
+<tr id="i102" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#range-java.lang.Object-">range</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Range</code> request header.</div>
 </td>
 </tr>
-<tr id="i101" class="rowColor">
+<tr id="i103" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#referer-java.lang.Object-">referer</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Referer</code> request header.</div>
 </td>
 </tr>
-<tr id="i102" class="altColor">
+<tr id="i104" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#relativeUriBase-java.lang.String-">relativeUriBase</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</code>
 <div class="block">Sets the <a href="../../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_relativeUriBase"><code>SerializerContext.SERIALIZER_relativeUriBase</code></a> property on all serializers in this group.</div>
 </td>
 </tr>
-<tr id="i103" class="rowColor">
-<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#remoteableServletUri-java.lang.String-">remoteableServletUri</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteableServletUri)</code>
-<div class="block">Sets the URI of the remoteable services REST servlet for invoking remoteable services.</div>
-</td>
-</tr>
-<tr id="i104" class="altColor">
+<tr id="i105" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#removeBeanFilters-java.lang.Class...-">removeBeanFilters</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from bean filters.</div>
 </td>
 </tr>
-<tr id="i105" class="rowColor">
+<tr id="i106" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#removeBeanFilters-java.util.Collection-">removeBeanFilters</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from bean filters.</div>
 </td>
 </tr>
-<tr id="i106" class="altColor">
+<tr id="i107" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#removeFromBeanDictionary-java.lang.Class...-">removeFromBeanDictionary</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from bean dictionary.</div>
 </td>
 </tr>
-<tr id="i107" class="rowColor">
+<tr id="i108" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#removeFromBeanDictionary-java.util.Collection-">removeFromBeanDictionary</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from bean dictionary.</div>
 </td>
 </tr>
-<tr id="i108" class="altColor">
+<tr id="i109" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#removeFromProperty-java.lang.String-java.lang.Object-">removeFromProperty</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Removes a value from a SET property.</div>
 </td>
 </tr>
-<tr id="i109" class="rowColor">
+<tr id="i110" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#removeNotBeanClasses-java.lang.Class...-">removeNotBeanClasses</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from classes that should not be considered beans.</div>
 </td>
 </tr>
-<tr id="i110" class="altColor">
+<tr id="i111" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#removeNotBeanClasses-java.util.Collection-">removeNotBeanClasses</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from classes that should not be considered beans.</div>
 </td>
 </tr>
-<tr id="i111" class="rowColor">
+<tr id="i112" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#removeNotBeanPackages-java.util.Collection-">removeNotBeanPackages</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from packages whose classes should not be considered beans.</div>
 </td>
 </tr>
-<tr id="i112" class="altColor">
+<tr id="i113" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#removeNotBeanPackages-java.lang.String...-">removeNotBeanPackages</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from packages whose classes should not be considered beans.</div>
 </td>
 </tr>
-<tr id="i113" class="rowColor">
+<tr id="i114" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#removePojoSwaps-java.lang.Class...-">removePojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from POJO swaps.</div>
 </td>
 </tr>
-<tr id="i114" class="altColor">
+<tr id="i115" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#removePojoSwaps-java.util.Collection-">removePojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Remove from POJO swaps.</div>
 </td>
 </tr>
-<tr id="i115" class="rowColor">
+<tr id="i116" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#retryable-int-long-org.apache.juneau.rest.client.RetryOn-">retryable</a></span>(int&nbsp;retries,
          long&nbsp;interval,
-         <a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client">RetryOn</a>&nbsp;retryOn)</code>
+         <a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a>&nbsp;retryOn)</code>
 <div class="block">Make HTTP calls retryable if an error response (>=400) is received.</div>
 </td>
 </tr>
-<tr id="i116" class="altColor">
+<tr id="i117" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#rootUrl-java.lang.Object-">rootUrl</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;rootUrl)</code>
 <div class="block">Set a root URL for this client.</div>
 </td>
 </tr>
-<tr id="i117" class="rowColor">
+<tr id="i118" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#serializer-java.lang.Class-">serializer</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&gt;&nbsp;serializerClass)</code>
 <div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#serializer-org.apache.juneau.serializer.Serializer-"><code>serializer(Serializer)</code></a>, except takes in a serializer class that
    will be instantiated through a no-arg constructor.</div>
 </td>
 </tr>
-<tr id="i118" class="altColor">
+<tr id="i119" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#serializer-org.apache.juneau.serializer.Serializer-">serializer</a></span>(<a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&nbsp;serializer)</code>
 <div class="block">Sets the serializer used for serializing POJOs to the HTTP request message body.</div>
 </td>
 </tr>
-<tr id="i119" class="rowColor">
+<tr id="i120" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setBackoffManager-org.apache.http.client.BackoffManager-">setBackoffManager</a></span>(org.apache.http.client.BackoffManager&nbsp;backoffManager)</code>&nbsp;</td>
 </tr>
-<tr id="i120" class="altColor">
+<tr id="i121" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setBeanDictionary-java.lang.Class...-">setBeanDictionary</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Bean lookup dictionary.</div>
 </td>
 </tr>
-<tr id="i121" class="rowColor">
+<tr id="i122" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setBeanDictionary-java.util.Collection-">setBeanDictionary</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Bean lookup dictionary.</div>
 </td>
 </tr>
-<tr id="i122" class="altColor">
+<tr id="i123" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setBeanFilters-java.lang.Class...-">setBeanFilters</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Bean filters to apply to beans.</div>
 </td>
 </tr>
-<tr id="i123" class="rowColor">
+<tr id="i124" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setBeanFilters-java.util.Collection-">setBeanFilters</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Bean filters to apply to beans.</div>
 </td>
 </tr>
-<tr id="i124" class="altColor">
+<tr id="i125" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setConnectionBackoffStrategy-org.apache.http.client.ConnectionBackoffStrategy-">setConnectionBackoffStrategy</a></span>(org.apache.http.client.ConnectionBackoffStrategy&nbsp;connectionBackoffStrategy)</code>&nbsp;</td>
 </tr>
-<tr id="i125" class="rowColor">
+<tr id="i126" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setConnectionManager-org.apache.http.conn.HttpClientConnectionManager-">setConnectionManager</a></span>(org.apache.http.conn.HttpClientConnectionManager&nbsp;connManager)</code>&nbsp;</td>
 </tr>
-<tr id="i126" class="altColor">
+<tr id="i127" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setConnectionManagerShared-boolean-">setConnectionManagerShared</a></span>(boolean&nbsp;shared)</code>&nbsp;</td>
 </tr>
-<tr id="i127" class="rowColor">
+<tr id="i128" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setConnectionReuseStrategy-org.apache.http.ConnectionReuseStrategy-">setConnectionReuseStrategy</a></span>(org.apache.http.ConnectionReuseStrategy&nbsp;reuseStrategy)</code>&nbsp;</td>
 </tr>
-<tr id="i128" class="altColor">
+<tr id="i129" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setConnectionTimeToLive-long-java.util.concurrent.TimeUnit-">setConnectionTimeToLive</a></span>(long&nbsp;connTimeToLive,
                        <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;connTimeToLiveTimeUnit)</code>&nbsp;</td>
 </tr>
-<tr id="i129" class="rowColor">
+<tr id="i130" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setContentDecoderRegistry-java.util.Map-">setContentDecoderRegistry</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,org.apache.http.client.entity.InputStreamFactory&gt;&nbsp;contentDecoderMap)</code>&nbsp;</td>
 </tr>
-<tr id="i130" class="altColor">
+<tr id="i131" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setDefaultAuthSchemeRegistry-org.apache.http.config.Lookup-">setDefaultAuthSchemeRegistry</a></span>(org.apache.http.config.Lookup&lt;org.apache.http.auth.AuthSchemeProvider&gt;&nbsp;authSchemeRegistry)</code>&nbsp;</td>
 </tr>
-<tr id="i131" class="rowColor">
+<tr id="i132" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setDefaultConnectionConfig-org.apache.http.config.ConnectionConfig-">setDefaultConnectionConfig</a></span>(org.apache.http.config.ConnectionConfig&nbsp;config)</code>&nbsp;</td>
 </tr>
-<tr id="i132" class="altColor">
+<tr id="i133" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setDefaultCookieSpecRegistry-org.apache.http.config.Lookup-">setDefaultCookieSpecRegistry</a></span>(org.apache.http.config.Lookup&lt;org.apache.http.cookie.CookieSpecProvider&gt;&nbsp;cookieSpecRegistry)</code>&nbsp;</td>
 </tr>
-<tr id="i133" class="rowColor">
+<tr id="i134" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setDefaultCookieStore-org.apache.http.client.CookieStore-">setDefaultCookieStore</a></span>(org.apache.http.client.CookieStore&nbsp;cookieStore)</code>&nbsp;</td>
 </tr>
-<tr id="i134" class="altColor">
+<tr id="i135" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setDefaultCredentialsProvider-org.apache.http.client.CredentialsProvider-">setDefaultCredentialsProvider</a></span>(org.apache.http.client.CredentialsProvider&nbsp;credentialsProvider)</code>&nbsp;</td>
 </tr>
-<tr id="i135" class="rowColor">
+<tr id="i136" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setDefaultHeaders-java.util.Collection-">setDefaultHeaders</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;? extends org.apache.http.Header&gt;&nbsp;defaultHeaders)</code>&nbsp;</td>
 </tr>
-<tr id="i136" class="altColor">
+<tr id="i137" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setDefaultRequestConfig-org.apache.http.client.config.RequestConfig-">setDefaultRequestConfig</a></span>(org.apache.http.client.config.RequestConfig&nbsp;config)</code>&nbsp;</td>
 </tr>
-<tr id="i137" class="rowColor">
+<tr id="i138" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setDefaultSocketConfig-org.apache.http.config.SocketConfig-">setDefaultSocketConfig</a></span>(org.apache.http.config.SocketConfig&nbsp;config)</code>&nbsp;</td>
 </tr>
-<tr id="i138" class="altColor">
+<tr id="i139" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setHttpProcessor-org.apache.http.protocol.HttpProcessor-">setHttpProcessor</a></span>(org.apache.http.protocol.HttpProcessor&nbsp;httpprocessor)</code>&nbsp;</td>
 </tr>
-<tr id="i139" class="rowColor">
+<tr id="i140" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setKeepAliveStrategy-org.apache.http.conn.ConnectionKeepAliveStrategy-">setKeepAliveStrategy</a></span>(org.apache.http.conn.ConnectionKeepAliveStrategy&nbsp;keepAliveStrategy)</code>&nbsp;</td>
 </tr>
-<tr id="i140" class="altColor">
+<tr id="i141" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setMaxConnPerRoute-int-">setMaxConnPerRoute</a></span>(int&nbsp;maxConnPerRoute)</code>&nbsp;</td>
 </tr>
-<tr id="i141" class="rowColor">
+<tr id="i142" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setMaxConnTotal-int-">setMaxConnTotal</a></span>(int&nbsp;maxConnTotal)</code>&nbsp;</td>
 </tr>
-<tr id="i142" class="altColor">
+<tr id="i143" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setNotBeanClasses-java.lang.Class...-">setNotBeanClasses</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Classes to be excluded from consideration as being beans.</div>
 </td>
 </tr>
-<tr id="i143" class="rowColor">
+<tr id="i144" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setNotBeanClasses-java.util.Collection-">setNotBeanClasses</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Classes to be excluded from consideration as being beans.</div>
 </td>
 </tr>
-<tr id="i144" class="altColor">
+<tr id="i145" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setNotBeanPackages-java.util.Collection-">setNotBeanPackages</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Packages whose classes should not be considered beans.</div>
 </td>
 </tr>
-<tr id="i145" class="rowColor">
+<tr id="i146" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setNotBeanPackages-java.lang.String...-">setNotBeanPackages</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  Packages whose classes should not be considered beans.</div>
 </td>
 </tr>
-<tr id="i146" class="altColor">
+<tr id="i147" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setPojoSwaps-java.lang.Class...-">setPojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  POJO swaps to apply to Java objects.</div>
 </td>
 </tr>
-<tr id="i147" class="rowColor">
+<tr id="i148" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setPojoSwaps-java.util.Collection-">setPojoSwaps</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;values)</code>
 <div class="block"><b>Configuration property:</b>  POJO swaps to apply to Java objects.</div>
 </td>
 </tr>
-<tr id="i148" class="altColor">
+<tr id="i149" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setProxy-org.apache.http.HttpHost-">setProxy</a></span>(org.apache.http.HttpHost&nbsp;proxy)</code>&nbsp;</td>
 </tr>
-<tr id="i149" class="rowColor">
+<tr id="i150" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setProxyAuthenticationStrategy-org.apache.http.client.AuthenticationStrategy-">setProxyAuthenticationStrategy</a></span>(org.apache.http.client.AuthenticationStrategy&nbsp;proxyAuthStrategy)</code>&nbsp;</td>
 </tr>
-<tr id="i150" class="altColor">
+<tr id="i151" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setPublicSuffixMatcher-org.apache.http.conn.util.PublicSuffixMatcher-">setPublicSuffixMatcher</a></span>(org.apache.http.conn.util.PublicSuffixMatcher&nbsp;publicSuffixMatcher)</code>&nbsp;</td>
 </tr>
-<tr id="i151" class="rowColor">
+<tr id="i152" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setRedirectStrategy-org.apache.http.client.RedirectStrategy-">setRedirectStrategy</a></span>(org.apache.http.client.RedirectStrategy&nbsp;redirectStrategy)</code>&nbsp;</td>
 </tr>
-<tr id="i152" class="altColor">
+<tr id="i153" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setRequestExecutor-org.apache.http.protocol.HttpRequestExecutor-">setRequestExecutor</a></span>(org.apache.http.protocol.HttpRequestExecutor&nbsp;requestExec)</code>&nbsp;</td>
 </tr>
-<tr id="i153" class="rowColor">
+<tr id="i154" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setRetryHandler-org.apache.http.client.HttpRequestRetryHandler-">setRetryHandler</a></span>(org.apache.http.client.HttpRequestRetryHandler&nbsp;retryHandler)</code>&nbsp;</td>
 </tr>
-<tr id="i154" class="altColor">
+<tr id="i155" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setRoutePlanner-org.apache.http.conn.routing.HttpRoutePlanner-">setRoutePlanner</a></span>(org.apache.http.conn.routing.HttpRoutePlanner&nbsp;routePlanner)</code>&nbsp;</td>
 </tr>
-<tr id="i155" class="rowColor">
+<tr id="i156" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setSchemePortResolver-org.apache.http.conn.SchemePortResolver-">setSchemePortResolver</a></span>(org.apache.http.conn.SchemePortResolver&nbsp;schemePortResolver)</code>&nbsp;</td>
 </tr>
-<tr id="i156" class="altColor">
+<tr id="i157" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setServiceUnavailableRetryStrategy-org.apache.http.client.ServiceUnavailableRetryStrategy-">setServiceUnavailableRetryStrategy</a></span>(org.apache.http.client.ServiceUnavailableRetryStrategy&nbsp;serviceUnavailStrategy)</code>&nbsp;</td>
 </tr>
-<tr id="i157" class="rowColor">
+<tr id="i158" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setSSLContext-javax.net.ssl.SSLContext-">setSSLContext</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/javax/net/ssl/SSLContext.html?is-external=true" title="class or interface in javax.net.ssl">SSLContext</a>&nbsp;sslContext)</code>&nbsp;</td>
 </tr>
-<tr id="i158" class="altColor">
+<tr id="i159" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setSSLHostnameVerifier-javax.net.ssl.HostnameVerifier-">setSSLHostnameVerifier</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a>&nbsp;hostnameVerifier)</code>&nbsp;</td>
 </tr>
-<tr id="i159" class="rowColor">
+<tr id="i160" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setSSLSocketFactory-org.apache.http.conn.socket.LayeredConnectionSocketFactory-">setSSLSocketFactory</a></span>(org.apache.http.conn.socket.LayeredConnectionSocketFactory&nbsp;sslSocketFactory)</code>&nbsp;</td>
 </tr>
-<tr id="i160" class="altColor">
+<tr id="i161" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setTargetAuthenticationStrategy-org.apache.http.client.AuthenticationStrategy-">setTargetAuthenticationStrategy</a></span>(org.apache.http.client.AuthenticationStrategy&nbsp;targetAuthStrategy)</code>&nbsp;</td>
 </tr>
-<tr id="i161" class="rowColor">
+<tr id="i162" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setUserAgent-java.lang.String-">setUserAgent</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userAgent)</code>&nbsp;</td>
 </tr>
-<tr id="i162" class="altColor">
+<tr id="i163" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#setUserTokenHandler-org.apache.http.client.UserTokenHandler-">setUserTokenHandler</a></span>(org.apache.http.client.UserTokenHandler&nbsp;userTokenHandler)</code>&nbsp;</td>
 </tr>
-<tr id="i163" class="rowColor">
+<tr id="i164" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#sortCollections-boolean-">sortCollections</a></span>(boolean&nbsp;value)</code>
 <div class="block">Sets the <a href="../../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_sortCollections"><code>SerializerContext.SERIALIZER_sortCollections</code></a> property on all serializers in this group.</div>
 </td>
 </tr>
-<tr id="i164" class="altColor">
+<tr id="i165" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#sortMaps-boolean-">sortMaps</a></span>(boolean&nbsp;value)</code>
 <div class="block">Sets the <a href="../../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_sortMaps"><code>SerializerContext.SERIALIZER_sortMaps</code></a> property on all serializers in this group.</div>
 </td>
 </tr>
-<tr id="i165" class="rowColor">
+<tr id="i166" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#sortProperties-boolean-">sortProperties</a></span>(boolean&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Sort bean properties in alphabetical order.</div>
 </td>
 </tr>
-<tr id="i166" class="altColor">
+<tr id="i167" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#strict-boolean-">strict</a></span>(boolean&nbsp;value)</code>
 <div class="block">Sets the <a href="../../../../../org/apache/juneau/parser/ParserContext.html#PARSER_strict"><code>ParserContext.PARSER_strict</code></a> property on all parsers in this group.</div>
 </td>
 </tr>
-<tr id="i167" class="rowColor">
+<tr id="i168" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#te-java.lang.Object-">te</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>TE</code> request header.</div>
 </td>
 </tr>
-<tr id="i168" class="altColor">
+<tr id="i169" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#timeZone-java.util.TimeZone-">timeZone</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a>&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  TimeZone.</div>
 </td>
 </tr>
-<tr id="i169" class="rowColor">
+<tr id="i170" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#trimEmptyCollections-boolean-">trimEmptyCollections</a></span>(boolean&nbsp;value)</code>
 <div class="block">Sets the <a href="../../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_trimEmptyCollections"><code>SerializerContext.SERIALIZER_trimEmptyCollections</code></a> property on all serializers in this group.</div>
 </td>
 </tr>
-<tr id="i170" class="altColor">
+<tr id="i171" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#trimEmptyMaps-boolean-">trimEmptyMaps</a></span>(boolean&nbsp;value)</code>
 <div class="block">Sets the <a href="../../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_trimEmptyMaps"><code>SerializerContext.SERIALIZER_trimEmptyMaps</code></a> property on all serializers in this group.</div>
 </td>
 </tr>
-<tr id="i171" class="rowColor">
+<tr id="i172" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#trimNullProperties-boolean-">trimNullProperties</a></span>(boolean&nbsp;value)</code>
 <div class="block">Sets the <a href="../../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_trimNullProperties"><code>SerializerContext.SERIALIZER_trimNullProperties</code></a> property on all serializers in this group.</div>
 </td>
 </tr>
-<tr id="i172" class="altColor">
+<tr id="i173" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#trimStringsP-boolean-">trimStringsP</a></span>(boolean&nbsp;value)</code>
 <div class="block">Sets the <a href="../../../../../org/apache/juneau/parser/ParserContext.html#PARSER_trimStrings"><code>ParserContext.PARSER_trimStrings</code></a> property on all parsers in this group.</div>
 </td>
 </tr>
-<tr id="i173" class="rowColor">
+<tr id="i174" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#trimStringsS-boolean-">trimStringsS</a></span>(boolean&nbsp;value)</code>
 <div class="block">Sets the <a href="../../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_trimStrings"><code>SerializerContext.SERIALIZER_trimStrings</code></a> property on all serializers in this group.</div>
 </td>
 </tr>
-<tr id="i174" class="altColor">
+<tr id="i175" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#upgrade-java.lang.Object-">upgrade</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Upgrade</code> request header.</div>
 </td>
 </tr>
-<tr id="i175" class="rowColor">
+<tr id="i176" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#useInterfaceProxies-boolean-">useInterfaceProxies</a></span>(boolean&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Use interface proxies.</div>
 </td>
 </tr>
-<tr id="i176" class="altColor">
+<tr id="i177" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#useJavaBeanIntrospector-boolean-">useJavaBeanIntrospector</a></span>(boolean&nbsp;value)</code>
 <div class="block"><b>Configuration property:</b>  Use Java <a href="http://docs.oracle.com/javase/7/docs/api/java/beans/Introspector.html?is-external=true" title="class or interface in java.beans"><code>Introspector</code></a> for determining bean properties.</div>
 </td>
 </tr>
-<tr id="i177" class="rowColor">
+<tr id="i178" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#userAgent-java.lang.Object-">userAgent</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>User-Agent</code> request header.</div>
 </td>
 </tr>
-<tr id="i178" class="altColor">
+<tr id="i179" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#useSystemProperties--">useSystemProperties</a></span>()</code>&nbsp;</td>
 </tr>
-<tr id="i179" class="rowColor">
+<tr id="i180" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#useWhitespace-boolean-">useWhitespace</a></span>(boolean&nbsp;value)</code>
 <div class="block">Sets the <a href="../../../../../org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_useWhitespace"><code>SerializerContext.SERIALIZER_useWhitespace</code></a> property on all serializers in this group.</div>
 </td>
 </tr>
-<tr id="i180" class="altColor">
+<tr id="i181" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#via-java.lang.Object-">via</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Via</code> request header.</div>
 </td>
 </tr>
-<tr id="i181" class="rowColor">
+<tr id="i182" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#warning-java.lang.Object-">warning</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Warning</code> request header.</div>
@@ -1240,7 +1246,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <ul class="blockList">
 <li class="blockList">
 <h4>RestClientBuilder</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.85">RestClientBuilder</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.83">RestClientBuilder</a>()</pre>
 <div class="block">Constructor, default settings.</div>
 </li>
 </ul>
@@ -1250,7 +1256,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <ul class="blockList">
 <li class="blockList">
 <h4>RestClientBuilder</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.97">RestClientBuilder</a>(<a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&nbsp;s,
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.95">RestClientBuilder</a>(<a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&nbsp;s,
                          <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;p)</pre>
 <div class="block">Constructor, default settings.
  <p>
@@ -1268,7 +1274,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <ul class="blockList">
 <li class="blockList">
 <h4>RestClientBuilder</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.111">RestClientBuilder</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&gt;&nbsp;s,
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.109">RestClientBuilder</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&gt;&nbsp;s,
                          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&gt;&nbsp;p)</pre>
 <div class="block">Constructor, default settings.
  <p>
@@ -1286,7 +1292,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <ul class="blockListLast">
 <li class="blockList">
 <h4>RestClientBuilder</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.121">RestClientBuilder</a>(<a href="../../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a>&nbsp;propertyStore)</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.119">RestClientBuilder</a>(<a href="../../../../../org/apache/juneau/PropertyStore.html" title="class in org.apache.juneau">PropertyStore</a>&nbsp;propertyStore)</pre>
 <div class="block">Constructor.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1308,7 +1314,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <ul class="blockList">
 <li class="blockList">
 <h4>build</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client">RestClient</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.126">build</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client">RestClient</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.124">build</a>()</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/juneau/CoreObjectBuilder.html#build--">CoreObjectBuilder</a></code></span></div>
 <div class="block">Build the object.</div>
 <dl>
@@ -1326,7 +1332,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <ul class="blockList">
 <li class="blockList">
 <h4>createHttpClient</h4>
-<pre>protected&nbsp;org.apache.http.impl.client.CloseableHttpClient&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.165">createHttpClient</a>()
+<pre>protected&nbsp;org.apache.http.impl.client.CloseableHttpClient&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.163">createHttpClient</a>()
                                                                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Creates an instance of an <code>HttpClient</code> to be used to handle all HTTP communications with the target server.
  <p>
@@ -1352,7 +1358,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <ul class="blockList">
 <li class="blockList">
 <h4>createHttpClientBuilder</h4>
-<pre>protected&nbsp;org.apache.http.impl.client.HttpClientBuilder&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.186">createHttpClientBuilder</a>()</pre>
+<pre>protected&nbsp;org.apache.http.impl.client.HttpClientBuilder&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.184">createHttpClientBuilder</a>()</pre>
 <div class="block">Creates an instance of an <code>HttpClientBuilder</code> to be used to create
    the <code>HttpClient</code>.
  <p>
@@ -1375,7 +1381,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <ul class="blockList">
 <li class="blockList">
 <h4>createConnectionManager</h4>
-<pre>protected&nbsp;org.apache.http.conn.HttpClientConnectionManager&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.201">createConnectionManager</a>()</pre>
+<pre>protected&nbsp;org.apache.http.conn.HttpClientConnectionManager&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.199">createConnectionManager</a>()</pre>
 <div class="block">Creates the <code>HttpClientConnectionManager</code> returned by <a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#createConnectionManager--"><code>createConnectionManager()</code></a>.
  <p>
  Subclasses can override this method to provide their own connection manager.
@@ -1387,30 +1393,13 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 </dl>
 </li>
 </ul>
-<a name="remoteableServletUri-java.lang.String-">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>remoteableServletUri</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.241">remoteableServletUri</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteableServletUri)</pre>
-<div class="block">Sets the URI of the remoteable services REST servlet for invoking remoteable services.</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>remoteableServletUri</code> - The URI of the REST resource implementing a remoteable services servlet.
-   (typically an instance of <code>RemoteableServlet</code>).</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>This object (for method chaining).</dd>
-</dl>
-</li>
-</ul>
 <a name="rootUrl-java.lang.Object-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>rootUrl</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.257">rootUrl</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;rootUrl)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.243">rootUrl</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;rootUrl)</pre>
 <div class="block">Set a root URL for this client.
  <p>
  When set, URL strings passed in through the various rest call methods (e.g. <a href="../../../../../org/apache/juneau/rest/client/RestClient.html#doGet-java.lang.Object-"><code>RestClient.doGet(Object)</code></a>
@@ -1431,7 +1420,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <ul class="blockList">
 <li class="blockList">
 <h4>enableSSL</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.274">enableSSL</a>(<a href="../../../../../org/apache/juneau/rest/client/SSLOpts.html" title="class in org.apache.juneau.rest.client">SSLOpts</a>&nbsp;opts)
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.260">enableSSL</a>(<a href="../../../../../org/apache/juneau/rest/client/SSLOpts.html" title="class in org.apache.juneau.rest.client">SSLOpts</a>&nbsp;opts)
                             throws <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyStoreException.html?is-external=true" title="class or interface in java.security">KeyStoreException</a>,
                                    <a href="http://docs.oracle.com/javase/7/docs/api/java/security/NoSuchAlgorithmException.html?is-external=true" title="class or interface in java.security">NoSuchAlgorithmException</a></pre>
 <div class="block">Enable SSL support on this client.</div>
@@ -1453,7 +1442,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <ul class="blockList">
 <li class="blockList">
 <h4>enableLaxSSL</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.288">enableLaxSSL</a>()
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.274">enableLaxSSL</a>()
                                throws <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyStoreException.html?is-external=true" title="class or interface in java.security">KeyStoreException</a>,
                                       <a href="http://docs.oracle.com/javase/7/docs/api/java/security/NoSuchAlgorithmException.html?is-external=true" title="class or interface in java.security">NoSuchAlgorithmException</a></pre>
 <div class="block">Enable LAX SSL support.
@@ -1474,7 +1463,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <ul class="blockList">
 <li class="blockList">
 <h4>clientVersion</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.298">clientVersion</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;version)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.284">clientVersion</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;version)</pre>
 <div class="block">Sets the client version by setting the value for the <js>"X-Client-Version"</js> header.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1490,7 +1479,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <ul class="blockList">
 <li class="blockList">
 <h4>interceptor</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.308">interceptor</a>(<a href="../../../../../org/apache/juneau/rest/client/RestCallInterceptor.html" title="class in org.apache.juneau.rest.client">RestCallInterceptor</a>&nbsp;interceptor)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.294">interceptor</a>(<a href="../../../../../org/apache/juneau/rest/client/RestCallInterceptor.html" title="class in org.apache.juneau.rest.client">RestCallInterceptor</a>&nbsp;interceptor)</pre>
 <div class="block">Adds an interceptor that gets called immediately after a connection is made.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1506,7 +1495,7 @@ extends <a href="../../../../../org/apache/juneau/CoreObjectBuilder.html" title=
 <ul class="blockList">
 <li class="blockList">
 <h4>logTo</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.320">logTo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true" title="class or interface in java.util.logging">Level</a>&nbsp;level,
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestClientBuilder.html#line.306">logTo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true" title="class or interface in java.util.logging">Level</a>&nbsp;level,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging">Logger</a>&nbsp;log)</pre>
 <div class="block">Adds a <a href="../../../../../org/apache/juneau/rest/client/RestCallLogger.html" title="class in org.apache.juneau.rest.client"><code>RestCallLogger</code></a> to the list of interceptors on this class.</div>
 <dl>
@@ -1524,9 +1513,9 @@ extends <a href="../../../../../org/apache/juneau/CoreO

<TRUNCATED>


[10/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestClient.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestClient.html b/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestClient.html
index a8b7c2c..b6e3b37 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestClient.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestClient.html
@@ -20,347 +20,347 @@
 <span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
 <span class="sourceLineNo">013</span>package org.apache.juneau.rest.client;<a name="line.13"></a>
 <span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import java.io.*;<a name="line.15"></a>
-<span class="sourceLineNo">016</span>import java.lang.reflect.*;<a name="line.16"></a>
-<span class="sourceLineNo">017</span>import java.lang.reflect.Proxy;<a name="line.17"></a>
-<span class="sourceLineNo">018</span>import java.net.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span>import java.util.*;<a name="line.19"></a>
-<span class="sourceLineNo">020</span>import java.util.concurrent.*;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import java.util.regex.*;<a name="line.21"></a>
-<span class="sourceLineNo">022</span><a name="line.22"></a>
-<span class="sourceLineNo">023</span>import org.apache.http.*;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import org.apache.http.client.methods.*;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.http.client.utils.*;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.http.entity.*;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.http.impl.client.*;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.juneau.*;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.juneau.internal.*;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.juneau.json.*;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.juneau.parser.*;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.juneau.serializer.*;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.juneau.urlencoding.*;<a name="line.33"></a>
-<span class="sourceLineNo">034</span><a name="line.34"></a>
-<span class="sourceLineNo">035</span>/**<a name="line.35"></a>
-<span class="sourceLineNo">036</span> * Utility class for interfacing with remote REST interfaces.<a name="line.36"></a>
-<span class="sourceLineNo">037</span> *<a name="line.37"></a>
-<span class="sourceLineNo">038</span> * &lt;h6 class='topic'&gt;Features&lt;/h6&gt;<a name="line.38"></a>
-<span class="sourceLineNo">039</span> * &lt;ul class='spaced-list'&gt;<a name="line.39"></a>
-<span class="sourceLineNo">040</span> *    &lt;li&gt;Convert POJOs directly to HTTP request message bodies using {@link Serializer} class.<a name="line.40"></a>
-<span class="sourceLineNo">041</span> *    &lt;li&gt;Convert HTTP response message bodies directly to POJOs using {@link Parser} class.<a name="line.41"></a>
-<span class="sourceLineNo">042</span> *    &lt;li&gt;Fluent interface.<a name="line.42"></a>
-<span class="sourceLineNo">043</span> *    &lt;li&gt;Thread safe.<a name="line.43"></a>
-<span class="sourceLineNo">044</span> *    &lt;li&gt;API for interacting with remoteable services.<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * &lt;/ul&gt;<a name="line.45"></a>
-<span class="sourceLineNo">046</span> *<a name="line.46"></a>
-<span class="sourceLineNo">047</span> * &lt;h5 class='section'&gt;Additional information:&lt;/h5&gt;<a name="line.47"></a>
-<span class="sourceLineNo">048</span> * &lt;ul&gt;<a name="line.48"></a>
-<span class="sourceLineNo">049</span> *    &lt;li&gt;&lt;a class="doclink" href="package-summary.html#RestClient"&gt;org.apache.juneau.rest.client &amp;gt; REST client API&lt;/a&gt; for more information and code examples.<a name="line.49"></a>
-<span class="sourceLineNo">050</span> * &lt;/ul&gt;<a name="line.50"></a>
-<span class="sourceLineNo">051</span> */<a name="line.51"></a>
-<span class="sourceLineNo">052</span>public class RestClient extends CoreObject {<a name="line.52"></a>
-<span class="sourceLineNo">053</span><a name="line.53"></a>
-<span class="sourceLineNo">054</span>   private final Map&lt;String,String&gt; headers;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>   private final CloseableHttpClient httpClient;<a name="line.55"></a>
-<span class="sourceLineNo">056</span>   private final boolean keepHttpClientOpen;<a name="line.56"></a>
-<span class="sourceLineNo">057</span>   final Serializer serializer;<a name="line.57"></a>
-<span class="sourceLineNo">058</span>   private final UrlEncodingSerializer urlEncodingSerializer;  // Used for form posts only.<a name="line.58"></a>
-<span class="sourceLineNo">059</span>   final Parser parser;<a name="line.59"></a>
-<span class="sourceLineNo">060</span>   private final String remoteableServletUri;<a name="line.60"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import java.io.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.lang.reflect.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.lang.reflect.Proxy;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.net.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.util.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.util.concurrent.*;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import java.util.regex.*;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>import org.apache.http.*;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.http.client.methods.*;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.http.client.utils.*;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.http.entity.*;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.http.impl.client.*;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.juneau.*;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.juneau.internal.*;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.juneau.json.*;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.juneau.parser.*;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.juneau.remoteable.*;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.juneau.serializer.*;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.juneau.urlencoding.*;<a name="line.36"></a>
+<span class="sourceLineNo">037</span><a name="line.37"></a>
+<span class="sourceLineNo">038</span>/**<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * Utility class for interfacing with remote REST interfaces.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> *<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * &lt;h6 class='topic'&gt;Features&lt;/h6&gt;<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * &lt;ul class='spaced-list'&gt;<a name="line.42"></a>
+<span class="sourceLineNo">043</span> *    &lt;li&gt;Convert POJOs directly to HTTP request message bodies using {@link Serializer} class.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> *    &lt;li&gt;Convert HTTP response message bodies directly to POJOs using {@link Parser} class.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> *    &lt;li&gt;Fluent interface.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> *    &lt;li&gt;Thread safe.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> *    &lt;li&gt;API for interacting with remoteable services.<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * &lt;/ul&gt;<a name="line.48"></a>
+<span class="sourceLineNo">049</span> *<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * &lt;h5 class='section'&gt;Additional information:&lt;/h5&gt;<a name="line.50"></a>
+<span class="sourceLineNo">051</span> * &lt;ul&gt;<a name="line.51"></a>
+<span class="sourceLineNo">052</span> *    &lt;li&gt;&lt;a class="doclink" href="package-summary.html#RestClient"&gt;org.apache.juneau.rest.client &amp;gt; REST client API&lt;/a&gt; for more information and code examples.<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * &lt;/ul&gt;<a name="line.53"></a>
+<span class="sourceLineNo">054</span> */<a name="line.54"></a>
+<span class="sourceLineNo">055</span>public class RestClient extends CoreObject {<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span>   private final Map&lt;String,String&gt; headers;<a name="line.57"></a>
+<span class="sourceLineNo">058</span>   private final CloseableHttpClient httpClient;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>   private final boolean keepHttpClientOpen;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>   private final UrlEncodingSerializer urlEncodingSerializer;  // Used for form posts only.<a name="line.60"></a>
 <span class="sourceLineNo">061</span>   private final String rootUrl;<a name="line.61"></a>
 <span class="sourceLineNo">062</span>   private volatile boolean isClosed = false;<a name="line.62"></a>
 <span class="sourceLineNo">063</span>   private final StackTraceElement[] creationStack;<a name="line.63"></a>
 <span class="sourceLineNo">064</span>   private StackTraceElement[] closedStack;<a name="line.64"></a>
-<span class="sourceLineNo">065</span>   final RetryOn retryOn;<a name="line.65"></a>
-<span class="sourceLineNo">066</span>   final int retries;<a name="line.66"></a>
-<span class="sourceLineNo">067</span>   final long retryInterval;<a name="line.67"></a>
-<span class="sourceLineNo">068</span>   final boolean debug;<a name="line.68"></a>
-<span class="sourceLineNo">069</span>   final RestCallInterceptor[] interceptors;<a name="line.69"></a>
-<span class="sourceLineNo">070</span>   final ExecutorService executorService;<a name="line.70"></a>
-<span class="sourceLineNo">071</span>   final boolean executorServiceShutdownOnClose;<a name="line.71"></a>
-<span class="sourceLineNo">072</span><a name="line.72"></a>
-<span class="sourceLineNo">073</span>   /**<a name="line.73"></a>
-<span class="sourceLineNo">074</span>    * Create a new REST client.<a name="line.74"></a>
-<span class="sourceLineNo">075</span>    * @param propertyStore<a name="line.75"></a>
-<span class="sourceLineNo">076</span>    * @param httpClient<a name="line.76"></a>
-<span class="sourceLineNo">077</span>    * @param keepHttpClientOpen<a name="line.77"></a>
-<span class="sourceLineNo">078</span>    * @param serializer<a name="line.78"></a>
-<span class="sourceLineNo">079</span>    * @param parser<a name="line.79"></a>
-<span class="sourceLineNo">080</span>    * @param urlEncodingSerializer<a name="line.80"></a>
-<span class="sourceLineNo">081</span>    * @param headers<a name="line.81"></a>
-<span class="sourceLineNo">082</span>    * @param interceptors<a name="line.82"></a>
-<span class="sourceLineNo">083</span>    * @param remoteableServletUri<a name="line.83"></a>
-<span class="sourceLineNo">084</span>    * @param remoteableServiceUriMap<a name="line.84"></a>
-<span class="sourceLineNo">085</span>    * @param rootUri<a name="line.85"></a>
-<span class="sourceLineNo">086</span>    * @param retryOn<a name="line.86"></a>
-<span class="sourceLineNo">087</span>    * @param retries<a name="line.87"></a>
-<span class="sourceLineNo">088</span>    * @param retryInterval<a name="line.88"></a>
-<span class="sourceLineNo">089</span>    * @param debug<a name="line.89"></a>
-<span class="sourceLineNo">090</span>    * @param executorService<a name="line.90"></a>
-<span class="sourceLineNo">091</span>    * @param executorServiceShutdownOnClose<a name="line.91"></a>
-<span class="sourceLineNo">092</span>    */<a name="line.92"></a>
-<span class="sourceLineNo">093</span>   public RestClient(<a name="line.93"></a>
-<span class="sourceLineNo">094</span>         PropertyStore propertyStore,<a name="line.94"></a>
-<span class="sourceLineNo">095</span>         CloseableHttpClient httpClient,<a name="line.95"></a>
-<span class="sourceLineNo">096</span>         boolean keepHttpClientOpen,<a name="line.96"></a>
-<span class="sourceLineNo">097</span>         Serializer serializer,<a name="line.97"></a>
-<span class="sourceLineNo">098</span>         Parser parser,<a name="line.98"></a>
-<span class="sourceLineNo">099</span>         UrlEncodingSerializer urlEncodingSerializer,<a name="line.99"></a>
-<span class="sourceLineNo">100</span>         Map&lt;String,String&gt; headers,<a name="line.100"></a>
-<span class="sourceLineNo">101</span>         List&lt;RestCallInterceptor&gt; interceptors,<a name="line.101"></a>
-<span class="sourceLineNo">102</span>         String remoteableServletUri,<a name="line.102"></a>
-<span class="sourceLineNo">103</span>         Map&lt;Method,String&gt; remoteableServiceUriMap,<a name="line.103"></a>
-<span class="sourceLineNo">104</span>         String rootUri,<a name="line.104"></a>
-<span class="sourceLineNo">105</span>         RetryOn retryOn,<a name="line.105"></a>
-<span class="sourceLineNo">106</span>         int retries,<a name="line.106"></a>
-<span class="sourceLineNo">107</span>         long retryInterval,<a name="line.107"></a>
-<span class="sourceLineNo">108</span>         boolean debug,<a name="line.108"></a>
-<span class="sourceLineNo">109</span>         ExecutorService executorService,<a name="line.109"></a>
-<span class="sourceLineNo">110</span>         boolean executorServiceShutdownOnClose) {<a name="line.110"></a>
-<span class="sourceLineNo">111</span>      super(propertyStore);<a name="line.111"></a>
-<span class="sourceLineNo">112</span>      this.httpClient = httpClient;<a name="line.112"></a>
-<span class="sourceLineNo">113</span>      this.keepHttpClientOpen = keepHttpClientOpen;<a name="line.113"></a>
-<span class="sourceLineNo">114</span>      this.serializer = serializer;<a name="line.114"></a>
-<span class="sourceLineNo">115</span>      this.parser = parser;<a name="line.115"></a>
-<span class="sourceLineNo">116</span>      this.urlEncodingSerializer = urlEncodingSerializer;<a name="line.116"></a>
+<span class="sourceLineNo">065</span><a name="line.65"></a>
+<span class="sourceLineNo">066</span>   // These are read directly by RestCall.<a name="line.66"></a>
+<span class="sourceLineNo">067</span>   final Serializer serializer;<a name="line.67"></a>
+<span class="sourceLineNo">068</span>   final Parser parser;<a name="line.68"></a>
+<span class="sourceLineNo">069</span>   final RetryOn retryOn;<a name="line.69"></a>
+<span class="sourceLineNo">070</span>   final int retries;<a name="line.70"></a>
+<span class="sourceLineNo">071</span>   final long retryInterval;<a name="line.71"></a>
+<span class="sourceLineNo">072</span>   final boolean debug;<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   final RestCallInterceptor[] interceptors;<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span>   // This is lazy-created.<a name="line.75"></a>
+<span class="sourceLineNo">076</span>   private volatile ExecutorService executorService;<a name="line.76"></a>
+<span class="sourceLineNo">077</span>   boolean executorServiceShutdownOnClose = true;<a name="line.77"></a>
+<span class="sourceLineNo">078</span><a name="line.78"></a>
+<span class="sourceLineNo">079</span><a name="line.79"></a>
+<span class="sourceLineNo">080</span>   RestClient(<a name="line.80"></a>
+<span class="sourceLineNo">081</span>         PropertyStore propertyStore,<a name="line.81"></a>
+<span class="sourceLineNo">082</span>         CloseableHttpClient httpClient,<a name="line.82"></a>
+<span class="sourceLineNo">083</span>         boolean keepHttpClientOpen,<a name="line.83"></a>
+<span class="sourceLineNo">084</span>         Serializer serializer,<a name="line.84"></a>
+<span class="sourceLineNo">085</span>         Parser parser,<a name="line.85"></a>
+<span class="sourceLineNo">086</span>         UrlEncodingSerializer urlEncodingSerializer,<a name="line.86"></a>
+<span class="sourceLineNo">087</span>         Map&lt;String,String&gt; headers,<a name="line.87"></a>
+<span class="sourceLineNo">088</span>         List&lt;RestCallInterceptor&gt; interceptors,<a name="line.88"></a>
+<span class="sourceLineNo">089</span>         String rootUri,<a name="line.89"></a>
+<span class="sourceLineNo">090</span>         RetryOn retryOn,<a name="line.90"></a>
+<span class="sourceLineNo">091</span>         int retries,<a name="line.91"></a>
+<span class="sourceLineNo">092</span>         long retryInterval,<a name="line.92"></a>
+<span class="sourceLineNo">093</span>         boolean debug,<a name="line.93"></a>
+<span class="sourceLineNo">094</span>         ExecutorService executorService,<a name="line.94"></a>
+<span class="sourceLineNo">095</span>         boolean executorServiceShutdownOnClose) {<a name="line.95"></a>
+<span class="sourceLineNo">096</span>      super(propertyStore);<a name="line.96"></a>
+<span class="sourceLineNo">097</span>      this.httpClient = httpClient;<a name="line.97"></a>
+<span class="sourceLineNo">098</span>      this.keepHttpClientOpen = keepHttpClientOpen;<a name="line.98"></a>
+<span class="sourceLineNo">099</span>      this.serializer = serializer;<a name="line.99"></a>
+<span class="sourceLineNo">100</span>      this.parser = parser;<a name="line.100"></a>
+<span class="sourceLineNo">101</span>      this.urlEncodingSerializer = urlEncodingSerializer;<a name="line.101"></a>
+<span class="sourceLineNo">102</span><a name="line.102"></a>
+<span class="sourceLineNo">103</span>      Map&lt;String,String&gt; h2 = new ConcurrentHashMap&lt;String,String&gt;(headers);<a name="line.103"></a>
+<span class="sourceLineNo">104</span><a name="line.104"></a>
+<span class="sourceLineNo">105</span>      this.headers = Collections.unmodifiableMap(h2);<a name="line.105"></a>
+<span class="sourceLineNo">106</span>      this.rootUrl = rootUri;<a name="line.106"></a>
+<span class="sourceLineNo">107</span>      this.retryOn = retryOn;<a name="line.107"></a>
+<span class="sourceLineNo">108</span>      this.retries = retries;<a name="line.108"></a>
+<span class="sourceLineNo">109</span>      this.retryInterval = retryInterval;<a name="line.109"></a>
+<span class="sourceLineNo">110</span>      this.debug = debug;<a name="line.110"></a>
+<span class="sourceLineNo">111</span><a name="line.111"></a>
+<span class="sourceLineNo">112</span>      List&lt;RestCallInterceptor&gt; l = new ArrayList&lt;RestCallInterceptor&gt;(interceptors);<a name="line.112"></a>
+<span class="sourceLineNo">113</span>      if (debug)<a name="line.113"></a>
+<span class="sourceLineNo">114</span>         l.add(RestCallLogger.DEFAULT);<a name="line.114"></a>
+<span class="sourceLineNo">115</span><a name="line.115"></a>
+<span class="sourceLineNo">116</span>      this.interceptors = l.toArray(new RestCallInterceptor[l.size()]);<a name="line.116"></a>
 <span class="sourceLineNo">117</span><a name="line.117"></a>
-<span class="sourceLineNo">118</span>      Map&lt;String,String&gt; h2 = new ConcurrentHashMap&lt;String,String&gt;(headers);<a name="line.118"></a>
-<span class="sourceLineNo">119</span><a name="line.119"></a>
-<span class="sourceLineNo">120</span>      this.headers = Collections.unmodifiableMap(h2);<a name="line.120"></a>
-<span class="sourceLineNo">121</span>      this.remoteableServletUri = remoteableServletUri;<a name="line.121"></a>
-<span class="sourceLineNo">122</span>      this.rootUrl = rootUri;<a name="line.122"></a>
-<span class="sourceLineNo">123</span>      this.retryOn = retryOn;<a name="line.123"></a>
-<span class="sourceLineNo">124</span>      this.retries = retries;<a name="line.124"></a>
-<span class="sourceLineNo">125</span>      this.retryInterval = retryInterval;<a name="line.125"></a>
-<span class="sourceLineNo">126</span>      this.debug = debug;<a name="line.126"></a>
-<span class="sourceLineNo">127</span><a name="line.127"></a>
-<span class="sourceLineNo">128</span>      List&lt;RestCallInterceptor&gt; l = new ArrayList&lt;RestCallInterceptor&gt;(interceptors);<a name="line.128"></a>
-<span class="sourceLineNo">129</span>      if (debug)<a name="line.129"></a>
-<span class="sourceLineNo">130</span>         l.add(RestCallLogger.DEFAULT);<a name="line.130"></a>
-<span class="sourceLineNo">131</span><a name="line.131"></a>
-<span class="sourceLineNo">132</span>      this.interceptors = l.toArray(new RestCallInterceptor[l.size()]);<a name="line.132"></a>
-<span class="sourceLineNo">133</span><a name="line.133"></a>
-<span class="sourceLineNo">134</span>      if (Boolean.getBoolean("org.apache.juneau.rest.client.RestClient.trackLifecycle"))<a name="line.134"></a>
-<span class="sourceLineNo">135</span>         creationStack = Thread.currentThread().getStackTrace();<a name="line.135"></a>
-<span class="sourceLineNo">136</span>      else<a name="line.136"></a>
-<span class="sourceLineNo">137</span>         creationStack = null;<a name="line.137"></a>
-<span class="sourceLineNo">138</span><a name="line.138"></a>
-<span class="sourceLineNo">139</span>      this.executorService = executorService;<a name="line.139"></a>
-<span class="sourceLineNo">140</span>      this.executorServiceShutdownOnClose = executorServiceShutdownOnClose;<a name="line.140"></a>
+<span class="sourceLineNo">118</span>      if (Boolean.getBoolean("org.apache.juneau.rest.client.RestClient.trackLifecycle"))<a name="line.118"></a>
+<span class="sourceLineNo">119</span>         creationStack = Thread.currentThread().getStackTrace();<a name="line.119"></a>
+<span class="sourceLineNo">120</span>      else<a name="line.120"></a>
+<span class="sourceLineNo">121</span>         creationStack = null;<a name="line.121"></a>
+<span class="sourceLineNo">122</span><a name="line.122"></a>
+<span class="sourceLineNo">123</span>      this.executorService = executorService;<a name="line.123"></a>
+<span class="sourceLineNo">124</span>      this.executorServiceShutdownOnClose = executorServiceShutdownOnClose;<a name="line.124"></a>
+<span class="sourceLineNo">125</span>   }<a name="line.125"></a>
+<span class="sourceLineNo">126</span><a name="line.126"></a>
+<span class="sourceLineNo">127</span>   /**<a name="line.127"></a>
+<span class="sourceLineNo">128</span>    * Calls {@link CloseableHttpClient#close()} on the underlying {@link CloseableHttpClient}.<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    * It's good practice to call this method after the client is no longer used.<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    *<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    * @throws IOException<a name="line.131"></a>
+<span class="sourceLineNo">132</span>    */<a name="line.132"></a>
+<span class="sourceLineNo">133</span>   public void close() throws IOException {<a name="line.133"></a>
+<span class="sourceLineNo">134</span>      isClosed = true;<a name="line.134"></a>
+<span class="sourceLineNo">135</span>      if (httpClient != null &amp;&amp; ! keepHttpClientOpen)<a name="line.135"></a>
+<span class="sourceLineNo">136</span>         httpClient.close();<a name="line.136"></a>
+<span class="sourceLineNo">137</span>      if (executorService != null &amp;&amp; executorServiceShutdownOnClose)<a name="line.137"></a>
+<span class="sourceLineNo">138</span>         executorService.shutdown();<a name="line.138"></a>
+<span class="sourceLineNo">139</span>      if (Boolean.getBoolean("org.apache.juneau.rest.client.RestClient.trackLifecycle"))<a name="line.139"></a>
+<span class="sourceLineNo">140</span>         closedStack = Thread.currentThread().getStackTrace();<a name="line.140"></a>
 <span class="sourceLineNo">141</span>   }<a name="line.141"></a>
 <span class="sourceLineNo">142</span><a name="line.142"></a>
 <span class="sourceLineNo">143</span>   /**<a name="line.143"></a>
-<span class="sourceLineNo">144</span>    * Calls {@link CloseableHttpClient#close()} on the underlying {@link CloseableHttpClient}.<a name="line.144"></a>
-<span class="sourceLineNo">145</span>    * It's good practice to call this method after the client is no longer used.<a name="line.145"></a>
-<span class="sourceLineNo">146</span>    *<a name="line.146"></a>
-<span class="sourceLineNo">147</span>    * @throws IOException<a name="line.147"></a>
-<span class="sourceLineNo">148</span>    */<a name="line.148"></a>
-<span class="sourceLineNo">149</span>   public void close() throws IOException {<a name="line.149"></a>
-<span class="sourceLineNo">150</span>      isClosed = true;<a name="line.150"></a>
-<span class="sourceLineNo">151</span>      if (httpClient != null &amp;&amp; ! keepHttpClientOpen)<a name="line.151"></a>
-<span class="sourceLineNo">152</span>         httpClient.close();<a name="line.152"></a>
-<span class="sourceLineNo">153</span>      if (executorService != null &amp;&amp; executorServiceShutdownOnClose)<a name="line.153"></a>
-<span class="sourceLineNo">154</span>         executorService.shutdown();<a name="line.154"></a>
-<span class="sourceLineNo">155</span>      if (Boolean.getBoolean("org.apache.juneau.rest.client.RestClient.trackLifecycle"))<a name="line.155"></a>
-<span class="sourceLineNo">156</span>         closedStack = Thread.currentThread().getStackTrace();<a name="line.156"></a>
-<span class="sourceLineNo">157</span>   }<a name="line.157"></a>
-<span class="sourceLineNo">158</span><a name="line.158"></a>
-<span class="sourceLineNo">159</span>   /**<a name="line.159"></a>
-<span class="sourceLineNo">160</span>    * Same as {@link #close()}, but ignores any exceptions.<a name="line.160"></a>
-<span class="sourceLineNo">161</span>    */<a name="line.161"></a>
-<span class="sourceLineNo">162</span>   public void closeQuietly() {<a name="line.162"></a>
-<span class="sourceLineNo">163</span>      isClosed = true;<a name="line.163"></a>
-<span class="sourceLineNo">164</span>      try {<a name="line.164"></a>
-<span class="sourceLineNo">165</span>         if (httpClient != null &amp;&amp; ! keepHttpClientOpen)<a name="line.165"></a>
-<span class="sourceLineNo">166</span>            httpClient.close();<a name="line.166"></a>
-<span class="sourceLineNo">167</span>         if (executorService != null &amp;&amp; executorServiceShutdownOnClose)<a name="line.167"></a>
-<span class="sourceLineNo">168</span>            executorService.shutdown();<a name="line.168"></a>
-<span class="sourceLineNo">169</span>      } catch (Throwable t) {}<a name="line.169"></a>
-<span class="sourceLineNo">170</span>      if (Boolean.getBoolean("org.apache.juneau.rest.client.RestClient.trackLifecycle"))<a name="line.170"></a>
-<span class="sourceLineNo">171</span>         closedStack = Thread.currentThread().getStackTrace();<a name="line.171"></a>
-<span class="sourceLineNo">172</span>   }<a name="line.172"></a>
-<span class="sourceLineNo">173</span><a name="line.173"></a>
-<span class="sourceLineNo">174</span>   /**<a name="line.174"></a>
-<span class="sourceLineNo">175</span>    * Execute the specified request.<a name="line.175"></a>
-<span class="sourceLineNo">176</span>    * Subclasses can override this method to provide specialized handling.<a name="line.176"></a>
-<span class="sourceLineNo">177</span>    *<a name="line.177"></a>
-<span class="sourceLineNo">178</span>    * @param req The HTTP request.<a name="line.178"></a>
-<span class="sourceLineNo">179</span>    * @return The HTTP response.<a name="line.179"></a>
-<span class="sourceLineNo">180</span>    * @throws Exception<a name="line.180"></a>
-<span class="sourceLineNo">181</span>    */<a name="line.181"></a>
-<span class="sourceLineNo">182</span>   protected HttpResponse execute(HttpUriRequest req) throws Exception {<a name="line.182"></a>
-<span class="sourceLineNo">183</span>      return httpClient.execute(req);<a name="line.183"></a>
-<span class="sourceLineNo">184</span>   }<a name="line.184"></a>
-<span class="sourceLineNo">185</span><a name="line.185"></a>
-<span class="sourceLineNo">186</span>   /**<a name="line.186"></a>
-<span class="sourceLineNo">187</span>    * Perform a &lt;code&gt;GET&lt;/code&gt; request against the specified URL.<a name="line.187"></a>
-<span class="sourceLineNo">188</span>    *<a name="line.188"></a>
-<span class="sourceLineNo">189</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.189"></a>
-<span class="sourceLineNo">190</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.190"></a>
-<span class="sourceLineNo">191</span>    *    and getting the response as a parsed object.<a name="line.191"></a>
-<span class="sourceLineNo">192</span>    * @throws RestCallException If any authentication errors occurred.<a name="line.192"></a>
-<span class="sourceLineNo">193</span>    */<a name="line.193"></a>
-<span class="sourceLineNo">194</span>   public RestCall doGet(Object url) throws RestCallException {<a name="line.194"></a>
-<span class="sourceLineNo">195</span>      return doCall("GET", url, false);<a name="line.195"></a>
-<span class="sourceLineNo">196</span>   }<a name="line.196"></a>
-<span class="sourceLineNo">197</span><a name="line.197"></a>
-<span class="sourceLineNo">198</span>   /**<a name="line.198"></a>
-<span class="sourceLineNo">199</span>    * Perform a &lt;code&gt;PUT&lt;/code&gt; request against the specified URL.<a name="line.199"></a>
-<span class="sourceLineNo">200</span>    *<a name="line.200"></a>
-<span class="sourceLineNo">201</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.201"></a>
-<span class="sourceLineNo">202</span>    * @param o The object to serialize and transmit to the URL as the body of the request.<a name="line.202"></a>
-<span class="sourceLineNo">203</span>    * Can be of the following types:<a name="line.203"></a>
-<span class="sourceLineNo">204</span>    * &lt;ul class='spaced-list'&gt;<a name="line.204"></a>
-<span class="sourceLineNo">205</span>    *    &lt;li&gt;{@link Reader} - Raw contents of {@code Reader} will be serialized to remote resource.<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    *    &lt;li&gt;{@link InputStream} - Raw contents of {@code InputStream} will be serialized to remote resource.<a name="line.206"></a>
-<span class="sourceLineNo">207</span>    *    &lt;li&gt;{@link Object} - POJO to be converted to text using the {@link Serializer} registered with the {@link RestClient}.<a name="line.207"></a>
-<span class="sourceLineNo">208</span>    *    &lt;li&gt;{@link HttpEntity} - Bypass Juneau serialization and pass HttpEntity directly to HttpClient.<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    * &lt;/ul&gt;<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.210"></a>
-<span class="sourceLineNo">211</span>    *    and getting the response as a parsed object.<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    * @throws RestCallException If any authentication errors occurred.<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    */<a name="line.213"></a>
-<span class="sourceLineNo">214</span>   public RestCall doPut(Object url, Object o) throws RestCallException {<a name="line.214"></a>
-<span class="sourceLineNo">215</span>      return doCall("PUT", url, true).input(o);<a name="line.215"></a>
-<span class="sourceLineNo">216</span>   }<a name="line.216"></a>
-<span class="sourceLineNo">217</span><a name="line.217"></a>
-<span class="sourceLineNo">218</span>   /**<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    * Perform a &lt;code&gt;POST&lt;/code&gt; request against the specified URL.<a name="line.219"></a>
-<span class="sourceLineNo">220</span>    *<a name="line.220"></a>
-<span class="sourceLineNo">221</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.221"></a>
-<span class="sourceLineNo">222</span>    * @param o The object to serialize and transmit to the URL as the body of the request.<a name="line.222"></a>
-<span class="sourceLineNo">223</span>    * Can be of the following types:<a name="line.223"></a>
-<span class="sourceLineNo">224</span>    * &lt;ul class='spaced-list'&gt;<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    *    &lt;li&gt;{@link Reader} - Raw contents of {@code Reader} will be serialized to remote resource.<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    *    &lt;li&gt;{@link InputStream} - Raw contents of {@code InputStream} will be serialized to remote resource.<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    *    &lt;li&gt;{@link Object} - POJO to be converted to text using the {@link Serializer} registered with the {@link RestClient}.<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    *    &lt;li&gt;{@link HttpEntity} - Bypass Juneau serialization and pass HttpEntity directly to HttpClient.<a name="line.228"></a>
-<span class="sourceLineNo">229</span>    * &lt;/ul&gt;<a name="line.229"></a>
-<span class="sourceLineNo">230</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    *    and getting the response as a parsed object.<a name="line.231"></a>
-<span class="sourceLineNo">232</span>    * @throws RestCallException If any authentication errors occurred.<a name="line.232"></a>
-<span class="sourceLineNo">233</span>    */<a name="line.233"></a>
-<span class="sourceLineNo">234</span>   public RestCall doPost(Object url, Object o) throws RestCallException {<a name="line.234"></a>
-<span class="sourceLineNo">235</span>      return doCall("POST", url, true).input(o);<a name="line.235"></a>
-<span class="sourceLineNo">236</span>   }<a name="line.236"></a>
-<span class="sourceLineNo">237</span><a name="line.237"></a>
-<span class="sourceLineNo">238</span>   /**<a name="line.238"></a>
-<span class="sourceLineNo">239</span>    * Perform a &lt;code&gt;DELETE&lt;/code&gt; request against the specified URL.<a name="line.239"></a>
-<span class="sourceLineNo">240</span>    *<a name="line.240"></a>
-<span class="sourceLineNo">241</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.241"></a>
-<span class="sourceLineNo">242</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.242"></a>
-<span class="sourceLineNo">243</span>    *    and getting the response as a parsed object.<a name="line.243"></a>
-<span class="sourceLineNo">244</span>    * @throws RestCallException If any authentication errors occurred.<a name="line.244"></a>
-<span class="sourceLineNo">245</span>    */<a name="line.245"></a>
-<span class="sourceLineNo">246</span>   public RestCall doDelete(Object url) throws RestCallException {<a name="line.246"></a>
-<span class="sourceLineNo">247</span>      return doCall("DELETE", url, false);<a name="line.247"></a>
-<span class="sourceLineNo">248</span>   }<a name="line.248"></a>
-<span class="sourceLineNo">249</span><a name="line.249"></a>
-<span class="sourceLineNo">250</span>   /**<a name="line.250"></a>
-<span class="sourceLineNo">251</span>    * Perform an &lt;code&gt;OPTIONS&lt;/code&gt; request against the specified URL.<a name="line.251"></a>
-<span class="sourceLineNo">252</span>    *<a name="line.252"></a>
-<span class="sourceLineNo">253</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.253"></a>
-<span class="sourceLineNo">254</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.254"></a>
-<span class="sourceLineNo">255</span>    *    and getting the response as a parsed object.<a name="line.255"></a>
-<span class="sourceLineNo">256</span>    * @throws RestCallException If any authentication errors occurred.<a name="line.256"></a>
-<span class="sourceLineNo">257</span>    */<a name="line.257"></a>
-<span class="sourceLineNo">258</span>   public RestCall doOptions(Object url) throws RestCallException {<a name="line.258"></a>
-<span class="sourceLineNo">259</span>      return doCall("OPTIONS", url, true);<a name="line.259"></a>
-<span class="sourceLineNo">260</span>   }<a name="line.260"></a>
-<span class="sourceLineNo">261</span><a name="line.261"></a>
-<span class="sourceLineNo">262</span>   /**<a name="line.262"></a>
-<span class="sourceLineNo">263</span>    * Perform a &lt;code&gt;POST&lt;/code&gt; request with a content type of &lt;code&gt;application/x-www-form-urlencoded&lt;/code&gt; against the specified URL.<a name="line.263"></a>
-<span class="sourceLineNo">264</span>    *<a name="line.264"></a>
-<span class="sourceLineNo">265</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.265"></a>
-<span class="sourceLineNo">266</span>    * @param o The object to serialize and transmit to the URL as the body of the request, serialized as a form post<a name="line.266"></a>
-<span class="sourceLineNo">267</span>    *    using the {@link UrlEncodingSerializer#DEFAULT} serializer.<a name="line.267"></a>
-<span class="sourceLineNo">268</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.268"></a>
-<span class="sourceLineNo">269</span>    *    and getting the response as a parsed object.<a name="line.269"></a>
-<span class="sourceLineNo">270</span>    * @throws RestCallException If any authentication errors occurred.<a name="line.270"></a>
-<span class="sourceLineNo">271</span>    */<a name="line.271"></a>
-<span class="sourceLineNo">272</span>   public RestCall doFormPost(Object url, Object o) throws RestCallException {<a name="line.272"></a>
-<span class="sourceLineNo">273</span>      return doCall("POST", url, true)<a name="line.273"></a>
-<span class="sourceLineNo">274</span>         .input(o instanceof HttpEntity ? o : new RestRequestEntity(o, urlEncodingSerializer));<a name="line.274"></a>
-<span class="sourceLineNo">275</span>   }<a name="line.275"></a>
-<span class="sourceLineNo">276</span><a name="line.276"></a>
-<span class="sourceLineNo">277</span>   /**<a name="line.277"></a>
-<span class="sourceLineNo">278</span>    * Performs a REST call where the entire call is specified in a simple string.<a name="line.278"></a>
-<span class="sourceLineNo">279</span>    * &lt;p&gt;<a name="line.279"></a>
-<span class="sourceLineNo">280</span>    * This method is useful for performing callbacks when the target of a callback is passed in<a name="line.280"></a>
-<span class="sourceLineNo">281</span>    * on an initial request, for example to signal when a long-running process has completed.<a name="line.281"></a>
-<span class="sourceLineNo">282</span>    * &lt;p&gt;<a name="line.282"></a>
-<span class="sourceLineNo">283</span>    * The call string can be any of the following formats:<a name="line.283"></a>
-<span class="sourceLineNo">284</span>    * &lt;ul class='spaced-list'&gt;<a name="line.284"></a>
-<span class="sourceLineNo">285</span>    *    &lt;li&gt;&lt;js&gt;"[method] [url]"&lt;/js&gt; - e.g. &lt;js&gt;"GET http://localhost/callback"&lt;/js&gt;<a name="line.285"></a>
-<span class="sourceLineNo">286</span>    *    &lt;li&gt;&lt;js&gt;"[method] [url] [payload]"&lt;/js&gt; - e.g. &lt;js&gt;"POST http://localhost/callback some text payload"&lt;/js&gt;<a name="line.286"></a>
-<span class="sourceLineNo">287</span>    *    &lt;li&gt;&lt;js&gt;"[method] [headers] [url] [payload]"&lt;/js&gt; - e.g. &lt;js&gt;"POST {'Content-Type':'text/json'} http://localhost/callback {'some':'json'}"&lt;/js&gt;<a name="line.287"></a>
-<span class="sourceLineNo">288</span>    * &lt;/ul&gt;<a name="line.288"></a>
-<span class="sourceLineNo">289</span>    * &lt;p&gt;<a name="line.289"></a>
-<span class="sourceLineNo">290</span>    * The payload will always be sent using a simple {@link StringEntity}.<a name="line.290"></a>
-<span class="sourceLineNo">291</span>    *<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    * @param callString The call string.<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.293"></a>
-<span class="sourceLineNo">294</span>    *    and getting the response as a parsed object.<a name="line.294"></a>
-<span class="sourceLineNo">295</span>    * @throws RestCallException<a name="line.295"></a>
-<span class="sourceLineNo">296</span>    */<a name="line.296"></a>
-<span class="sourceLineNo">297</span>   public RestCall doCallback(String callString) throws RestCallException {<a name="line.297"></a>
-<span class="sourceLineNo">298</span>      String s = callString;<a name="line.298"></a>
-<span class="sourceLineNo">299</span>      try {<a name="line.299"></a>
-<span class="sourceLineNo">300</span>         RestCall rc = null;<a name="line.300"></a>
-<span class="sourceLineNo">301</span>         String method = null, uri = null, content = null;<a name="line.301"></a>
-<span class="sourceLineNo">302</span>         ObjectMap h = null;<a name="line.302"></a>
-<span class="sourceLineNo">303</span>         int i = s.indexOf(' ');<a name="line.303"></a>
-<span class="sourceLineNo">304</span>         if (i != -1) {<a name="line.304"></a>
-<span class="sourceLineNo">305</span>            method = s.substring(0, i).trim();<a name="line.305"></a>
-<span class="sourceLineNo">306</span>            s = s.substring(i).trim();<a name="line.306"></a>
-<span class="sourceLineNo">307</span>            if (s.length() &gt; 0) {<a name="line.307"></a>
-<span class="sourceLineNo">308</span>               if (s.charAt(0) == '{') {<a name="line.308"></a>
-<span class="sourceLineNo">309</span>                  i = s.indexOf('}');<a name="line.309"></a>
-<span class="sourceLineNo">310</span>                  if (i != -1) {<a name="line.310"></a>
-<span class="sourceLineNo">311</span>                     String json = s.substring(0, i+1);<a name="line.311"></a>
-<span class="sourceLineNo">312</span>                     h = JsonParser.DEFAULT.parse(json, ObjectMap.class);<a name="line.312"></a>
-<span class="sourceLineNo">313</span>                     s = s.substring(i+1).trim();<a name="line.313"></a>
-<span class="sourceLineNo">314</span>                  }<a name="line.314"></a>
-<span class="sourceLineNo">315</span>               }<a name="line.315"></a>
-<span class="sourceLineNo">316</span>               if (s.length() &gt; 0) {<a name="line.316"></a>
-<span class="sourceLineNo">317</span>                  i = s.indexOf(' ');<a name="line.317"></a>
-<span class="sourceLineNo">318</span>                  if (i == -1)<a name="line.318"></a>
-<span class="sourceLineNo">319</span>                     uri = s;<a name="line.319"></a>
-<span class="sourceLineNo">320</span>                  else {<a name="line.320"></a>
-<span class="sourceLineNo">321</span>                     uri = s.substring(0, i).trim();<a name="line.321"></a>
-<span class="sourceLineNo">322</span>                     s = s.substring(i).trim();<a name="line.322"></a>
-<span class="sourceLineNo">323</span>                     if (s.length() &gt; 0)<a name="line.323"></a>
-<span class="sourceLineNo">324</span>                        content = s;<a name="line.324"></a>
-<span class="sourceLineNo">325</span>                  }<a name="line.325"></a>
-<span class="sourceLineNo">326</span>               }<a name="line.326"></a>
-<span class="sourceLineNo">327</span>            }<a name="line.327"></a>
-<span class="sourceLineNo">328</span>         }<a name="line.328"></a>
-<span class="sourceLineNo">329</span>         if (method != null &amp;&amp; uri != null) {<a name="line.329"></a>
-<span class="sourceLineNo">330</span>            rc = doCall(method, uri, content != null);<a name="line.330"></a>
-<span class="sourceLineNo">331</span>            if (content != null)<a name="line.331"></a>
-<span class="sourceLineNo">332</span>               rc.input(new StringEntity(content));<a name="line.332"></a>
-<span class="sourceLineNo">333</span>            if (h != null)<a name="line.333"></a>
-<span class="sourceLineNo">334</span>               for (Map.Entry&lt;String,Object&gt; e : h.entrySet())<a name="line.334"></a>
-<span class="sourceLineNo">335</span>                  rc.header(e.getKey(), e.getValue());<a name="line.335"></a>
-<span class="sourceLineNo">336</span>            return rc;<a name="line.336"></a>
-<span class="sourceLineNo">337</span>         }<a name="line.337"></a>
-<span class="sourceLineNo">338</span>      } catch (Exception e) {<a name="line.338"></a>
-<span class="sourceLineNo">339</span>         throw new RestCallException(e);<a name="line.339"></a>
-<span class="sourceLineNo">340</span>      }<a name="line.340"></a>
-<span class="sourceLineNo">341</span>      throw new RestCallException("Invalid format for call string.");<a name="line.341"></a>
-<span class="sourceLineNo">342</span>   }<a name="line.342"></a>
-<span class="sourceLineNo">343</span><a name="line.343"></a>
-<span class="sourceLineNo">344</span>   /**<a name="line.344"></a>
-<span class="sourceLineNo">345</span>    * Perform a generic REST call.<a name="line.345"></a>
-<span class="sourceLineNo">346</span>    *<a name="line.346"></a>
-<span class="sourceLineNo">347</span>    * @param method The HTTP method.<a name="line.347"></a>
-<span class="sourceLineNo">348</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.348"></a>
-<span class="sourceLineNo">349</span>    * @param content The HTTP body content.<a name="line.349"></a>
-<span class="sourceLineNo">350</span>    * Can be of the following types:<a name="line.350"></a>
-<span class="sourceLineNo">351</span>    * &lt;ul class='spaced-list'&gt;<a name="line.351"></a>
-<span class="sourceLineNo">352</span>    *    &lt;li&gt;{@link Reader} - Raw contents of {@code Reader} will be serialized to remote resource.<a name="line.352"></a>
-<span class="sourceLineNo">353</span>    *    &lt;li&gt;{@link InputStream} - Raw contents of {@code InputStream} will be serialized to remote resource.<a name="line.353"></a>
-<span class="sourceLineNo">354</span>    *    &lt;li&gt;{@link Object} - POJO to be converted to text using the {@link Serializer} registered with the {@link RestClient}.<a name="line.354"></a>
-<span class="sourceLineNo">355</span>    *    &lt;li&gt;{@link HttpEntity} - Bypass Juneau serialization and pass HttpEntity directly to HttpClient.<a name="line.355"></a>
+<span class="sourceLineNo">144</span>    * Same as {@link #close()}, but ignores any exceptions.<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    */<a name="line.145"></a>
+<span class="sourceLineNo">146</span>   public void closeQuietly() {<a name="line.146"></a>
+<span class="sourceLineNo">147</span>      isClosed = true;<a name="line.147"></a>
+<span class="sourceLineNo">148</span>      try {<a name="line.148"></a>
+<span class="sourceLineNo">149</span>         if (httpClient != null &amp;&amp; ! keepHttpClientOpen)<a name="line.149"></a>
+<span class="sourceLineNo">150</span>            httpClient.close();<a name="line.150"></a>
+<span class="sourceLineNo">151</span>         if (executorService != null &amp;&amp; executorServiceShutdownOnClose)<a name="line.151"></a>
+<span class="sourceLineNo">152</span>            executorService.shutdown();<a name="line.152"></a>
+<span class="sourceLineNo">153</span>      } catch (Throwable t) {}<a name="line.153"></a>
+<span class="sourceLineNo">154</span>      if (Boolean.getBoolean("org.apache.juneau.rest.client.RestClient.trackLifecycle"))<a name="line.154"></a>
+<span class="sourceLineNo">155</span>         closedStack = Thread.currentThread().getStackTrace();<a name="line.155"></a>
+<span class="sourceLineNo">156</span>   }<a name="line.156"></a>
+<span class="sourceLineNo">157</span><a name="line.157"></a>
+<span class="sourceLineNo">158</span>   /**<a name="line.158"></a>
+<span class="sourceLineNo">159</span>    * Execute the specified request.<a name="line.159"></a>
+<span class="sourceLineNo">160</span>    * Subclasses can override this method to provide specialized handling.<a name="line.160"></a>
+<span class="sourceLineNo">161</span>    *<a name="line.161"></a>
+<span class="sourceLineNo">162</span>    * @param req The HTTP request.<a name="line.162"></a>
+<span class="sourceLineNo">163</span>    * @return The HTTP response.<a name="line.163"></a>
+<span class="sourceLineNo">164</span>    * @throws Exception<a name="line.164"></a>
+<span class="sourceLineNo">165</span>    */<a name="line.165"></a>
+<span class="sourceLineNo">166</span>   protected HttpResponse execute(HttpUriRequest req) throws Exception {<a name="line.166"></a>
+<span class="sourceLineNo">167</span>      return httpClient.execute(req);<a name="line.167"></a>
+<span class="sourceLineNo">168</span>   }<a name="line.168"></a>
+<span class="sourceLineNo">169</span><a name="line.169"></a>
+<span class="sourceLineNo">170</span>   /**<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    * Perform a &lt;code&gt;GET&lt;/code&gt; request against the specified URL.<a name="line.171"></a>
+<span class="sourceLineNo">172</span>    *<a name="line.172"></a>
+<span class="sourceLineNo">173</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.173"></a>
+<span class="sourceLineNo">174</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    *    and getting the response as a parsed object.<a name="line.175"></a>
+<span class="sourceLineNo">176</span>    * @throws RestCallException If any authentication errors occurred.<a name="line.176"></a>
+<span class="sourceLineNo">177</span>    */<a name="line.177"></a>
+<span class="sourceLineNo">178</span>   public RestCall doGet(Object url) throws RestCallException {<a name="line.178"></a>
+<span class="sourceLineNo">179</span>      return doCall("GET", url, false);<a name="line.179"></a>
+<span class="sourceLineNo">180</span>   }<a name="line.180"></a>
+<span class="sourceLineNo">181</span><a name="line.181"></a>
+<span class="sourceLineNo">182</span>   /**<a name="line.182"></a>
+<span class="sourceLineNo">183</span>    * Perform a &lt;code&gt;PUT&lt;/code&gt; request against the specified URL.<a name="line.183"></a>
+<span class="sourceLineNo">184</span>    *<a name="line.184"></a>
+<span class="sourceLineNo">185</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.185"></a>
+<span class="sourceLineNo">186</span>    * @param o The object to serialize and transmit to the URL as the body of the request.<a name="line.186"></a>
+<span class="sourceLineNo">187</span>    * Can be of the following types:<a name="line.187"></a>
+<span class="sourceLineNo">188</span>    * &lt;ul class='spaced-list'&gt;<a name="line.188"></a>
+<span class="sourceLineNo">189</span>    *    &lt;li&gt;{@link Reader} - Raw contents of {@code Reader} will be serialized to remote resource.<a name="line.189"></a>
+<span class="sourceLineNo">190</span>    *    &lt;li&gt;{@link InputStream} - Raw contents of {@code InputStream} will be serialized to remote resource.<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    *    &lt;li&gt;{@link Object} - POJO to be converted to text using the {@link Serializer} registered with the {@link RestClient}.<a name="line.191"></a>
+<span class="sourceLineNo">192</span>    *    &lt;li&gt;{@link HttpEntity} - Bypass Juneau serialization and pass HttpEntity directly to HttpClient.<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    * &lt;/ul&gt;<a name="line.193"></a>
+<span class="sourceLineNo">194</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.194"></a>
+<span class="sourceLineNo">195</span>    *    and getting the response as a parsed object.<a name="line.195"></a>
+<span class="sourceLineNo">196</span>    * @throws RestCallException If any authentication errors occurred.<a name="line.196"></a>
+<span class="sourceLineNo">197</span>    */<a name="line.197"></a>
+<span class="sourceLineNo">198</span>   public RestCall doPut(Object url, Object o) throws RestCallException {<a name="line.198"></a>
+<span class="sourceLineNo">199</span>      return doCall("PUT", url, true).input(o);<a name="line.199"></a>
+<span class="sourceLineNo">200</span>   }<a name="line.200"></a>
+<span class="sourceLineNo">201</span><a name="line.201"></a>
+<span class="sourceLineNo">202</span>   /**<a name="line.202"></a>
+<span class="sourceLineNo">203</span>    * Perform a &lt;code&gt;POST&lt;/code&gt; request against the specified URL.<a name="line.203"></a>
+<span class="sourceLineNo">204</span>    *<a name="line.204"></a>
+<span class="sourceLineNo">205</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.205"></a>
+<span class="sourceLineNo">206</span>    * @param o The object to serialize and transmit to the URL as the body of the request.<a name="line.206"></a>
+<span class="sourceLineNo">207</span>    * Can be of the following types:<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    * &lt;ul class='spaced-list'&gt;<a name="line.208"></a>
+<span class="sourceLineNo">209</span>    *    &lt;li&gt;{@link Reader} - Raw contents of {@code Reader} will be serialized to remote resource.<a name="line.209"></a>
+<span class="sourceLineNo">210</span>    *    &lt;li&gt;{@link InputStream} - Raw contents of {@code InputStream} will be serialized to remote resource.<a name="line.210"></a>
+<span class="sourceLineNo">211</span>    *    &lt;li&gt;{@link Object} - POJO to be converted to text using the {@link Serializer} registered with the {@link RestClient}.<a name="line.211"></a>
+<span class="sourceLineNo">212</span>    *    &lt;li&gt;{@link HttpEntity} - Bypass Juneau serialization and pass HttpEntity directly to HttpClient.<a name="line.212"></a>
+<span class="sourceLineNo">213</span>    * &lt;/ul&gt;<a name="line.213"></a>
+<span class="sourceLineNo">214</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.214"></a>
+<span class="sourceLineNo">215</span>    *    and getting the response as a parsed object.<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    * @throws RestCallException If any authentication errors occurred.<a name="line.216"></a>
+<span class="sourceLineNo">217</span>    */<a name="line.217"></a>
+<span class="sourceLineNo">218</span>   public RestCall doPost(Object url, Object o) throws RestCallException {<a name="line.218"></a>
+<span class="sourceLineNo">219</span>      return doCall("POST", url, true).input(o);<a name="line.219"></a>
+<span class="sourceLineNo">220</span>   }<a name="line.220"></a>
+<span class="sourceLineNo">221</span><a name="line.221"></a>
+<span class="sourceLineNo">222</span>   /**<a name="line.222"></a>
+<span class="sourceLineNo">223</span>    * Same as {@link #doPost(Object, Object)} but don't specify the input yet.<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    * &lt;p&gt;<a name="line.224"></a>
+<span class="sourceLineNo">225</span>    * You must call either {@link RestCall#input(Object)} or {@link RestCall#formData(String, Object)}<a name="line.225"></a>
+<span class="sourceLineNo">226</span>    * to set the contents on the result object.<a name="line.226"></a>
+<span class="sourceLineNo">227</span>    *<a name="line.227"></a>
+<span class="sourceLineNo">228</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.228"></a>
+<span class="sourceLineNo">229</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.229"></a>
+<span class="sourceLineNo">230</span>    *    and getting the response as a parsed object.<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    * @throws RestCallException<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    */<a name="line.232"></a>
+<span class="sourceLineNo">233</span>   public RestCall doPost(Object url) throws RestCallException {<a name="line.233"></a>
+<span class="sourceLineNo">234</span>      return doCall("POST", url, true);<a name="line.234"></a>
+<span class="sourceLineNo">235</span>   }<a name="line.235"></a>
+<span class="sourceLineNo">236</span><a name="line.236"></a>
+<span class="sourceLineNo">237</span>   /**<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    * Perform a &lt;code&gt;DELETE&lt;/code&gt; request against the specified URL.<a name="line.238"></a>
+<span class="sourceLineNo">239</span>    *<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    *    and getting the response as a parsed object.<a name="line.242"></a>
+<span class="sourceLineNo">243</span>    * @throws RestCallException If any authentication errors occurred.<a name="line.243"></a>
+<span class="sourceLineNo">244</span>    */<a name="line.244"></a>
+<span class="sourceLineNo">245</span>   public RestCall doDelete(Object url) throws RestCallException {<a name="line.245"></a>
+<span class="sourceLineNo">246</span>      return doCall("DELETE", url, false);<a name="line.246"></a>
+<span class="sourceLineNo">247</span>   }<a name="line.247"></a>
+<span class="sourceLineNo">248</span><a name="line.248"></a>
+<span class="sourceLineNo">249</span>   /**<a name="line.249"></a>
+<span class="sourceLineNo">250</span>    * Perform an &lt;code&gt;OPTIONS&lt;/code&gt; request against the specified URL.<a name="line.250"></a>
+<span class="sourceLineNo">251</span>    *<a name="line.251"></a>
+<span class="sourceLineNo">252</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.252"></a>
+<span class="sourceLineNo">253</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.253"></a>
+<span class="sourceLineNo">254</span>    *    and getting the response as a parsed object.<a name="line.254"></a>
+<span class="sourceLineNo">255</span>    * @throws RestCallException If any authentication errors occurred.<a name="line.255"></a>
+<span class="sourceLineNo">256</span>    */<a name="line.256"></a>
+<span class="sourceLineNo">257</span>   public RestCall doOptions(Object url) throws RestCallException {<a name="line.257"></a>
+<span class="sourceLineNo">258</span>      return doCall("OPTIONS", url, true);<a name="line.258"></a>
+<span class="sourceLineNo">259</span>   }<a name="line.259"></a>
+<span class="sourceLineNo">260</span><a name="line.260"></a>
+<span class="sourceLineNo">261</span>   /**<a name="line.261"></a>
+<span class="sourceLineNo">262</span>    * Perform a &lt;code&gt;POST&lt;/code&gt; request with a content type of &lt;code&gt;application/x-www-form-urlencoded&lt;/code&gt; against the specified URL.<a name="line.262"></a>
+<span class="sourceLineNo">263</span>    *<a name="line.263"></a>
+<span class="sourceLineNo">264</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.264"></a>
+<span class="sourceLineNo">265</span>    * @param o The object to serialize and transmit to the URL as the body of the request, serialized as a form post<a name="line.265"></a>
+<span class="sourceLineNo">266</span>    *    using the {@link UrlEncodingSerializer#DEFAULT} serializer.<a name="line.266"></a>
+<span class="sourceLineNo">267</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.267"></a>
+<span class="sourceLineNo">268</span>    *    and getting the response as a parsed object.<a name="line.268"></a>
+<span class="sourceLineNo">269</span>    * @throws RestCallException If any authentication errors occurred.<a name="line.269"></a>
+<span class="sourceLineNo">270</span>    */<a name="line.270"></a>
+<span class="sourceLineNo">271</span>   public RestCall doFormPost(Object url, Object o) throws RestCallException {<a name="line.271"></a>
+<span class="sourceLineNo">272</span>      return doCall("POST", url, true)<a name="line.272"></a>
+<span class="sourceLineNo">273</span>         .input(o instanceof HttpEntity ? o : new RestRequestEntity(o, urlEncodingSerializer));<a name="line.273"></a>
+<span class="sourceLineNo">274</span>   }<a name="line.274"></a>
+<span class="sourceLineNo">275</span><a name="line.275"></a>
+<span class="sourceLineNo">276</span>   /**<a name="line.276"></a>
+<span class="sourceLineNo">277</span>    * Performs a REST call where the entire call is specified in a simple string.<a name="line.277"></a>
+<span class="sourceLineNo">278</span>    * &lt;p&gt;<a name="line.278"></a>
+<span class="sourceLineNo">279</span>    * This method is useful for performing callbacks when the target of a callback is passed in<a name="line.279"></a>
+<span class="sourceLineNo">280</span>    * on an initial request, for example to signal when a long-running process has completed.<a name="line.280"></a>
+<span class="sourceLineNo">281</span>    * &lt;p&gt;<a name="line.281"></a>
+<span class="sourceLineNo">282</span>    * The call string can be any of the following formats:<a name="line.282"></a>
+<span class="sourceLineNo">283</span>    * &lt;ul class='spaced-list'&gt;<a name="line.283"></a>
+<span class="sourceLineNo">284</span>    *    &lt;li&gt;&lt;js&gt;"[method] [url]"&lt;/js&gt; - e.g. &lt;js&gt;"GET http://localhost/callback"&lt;/js&gt;<a name="line.284"></a>
+<span class="sourceLineNo">285</span>    *    &lt;li&gt;&lt;js&gt;"[method] [url] [payload]"&lt;/js&gt; - e.g. &lt;js&gt;"POST http://localhost/callback some text payload"&lt;/js&gt;<a name="line.285"></a>
+<span class="sourceLineNo">286</span>    *    &lt;li&gt;&lt;js&gt;"[method] [headers] [url] [payload]"&lt;/js&gt; - e.g. &lt;js&gt;"POST {'Content-Type':'text/json'} http://localhost/callback {'some':'json'}"&lt;/js&gt;<a name="line.286"></a>
+<span class="sourceLineNo">287</span>    * &lt;/ul&gt;<a name="line.287"></a>
+<span class="sourceLineNo">288</span>    * &lt;p&gt;<a name="line.288"></a>
+<span class="sourceLineNo">289</span>    * The payload will always be sent using a simple {@link StringEntity}.<a name="line.289"></a>
+<span class="sourceLineNo">290</span>    *<a name="line.290"></a>
+<span class="sourceLineNo">291</span>    * @param callString The call string.<a name="line.291"></a>
+<span class="sourceLineNo">292</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    *    and getting the response as a parsed object.<a name="line.293"></a>
+<span class="sourceLineNo">294</span>    * @throws RestCallException<a name="line.294"></a>
+<span class="sourceLineNo">295</span>    */<a name="line.295"></a>
+<span class="sourceLineNo">296</span>   public RestCall doCallback(String callString) throws RestCallException {<a name="line.296"></a>
+<span class="sourceLineNo">297</span>      String s = callString;<a name="line.297"></a>
+<span class="sourceLineNo">298</span>      try {<a name="line.298"></a>
+<span class="sourceLineNo">299</span>         RestCall rc = null;<a name="line.299"></a>
+<span class="sourceLineNo">300</span>         String method = null, uri = null, content = null;<a name="line.300"></a>
+<span class="sourceLineNo">301</span>         ObjectMap h = null;<a name="line.301"></a>
+<span class="sourceLineNo">302</span>         int i = s.indexOf(' ');<a name="line.302"></a>
+<span class="sourceLineNo">303</span>         if (i != -1) {<a name="line.303"></a>
+<span class="sourceLineNo">304</span>            method = s.substring(0, i).trim();<a name="line.304"></a>
+<span class="sourceLineNo">305</span>            s = s.substring(i).trim();<a name="line.305"></a>
+<span class="sourceLineNo">306</span>            if (s.length() &gt; 0) {<a name="line.306"></a>
+<span class="sourceLineNo">307</span>               if (s.charAt(0) == '{') {<a name="line.307"></a>
+<span class="sourceLineNo">308</span>                  i = s.indexOf('}');<a name="line.308"></a>
+<span class="sourceLineNo">309</span>                  if (i != -1) {<a name="line.309"></a>
+<span class="sourceLineNo">310</span>                     String json = s.substring(0, i+1);<a name="line.310"></a>
+<span class="sourceLineNo">311</span>                     h = JsonParser.DEFAULT.parse(json, ObjectMap.class);<a name="line.311"></a>
+<span class="sourceLineNo">312</span>                     s = s.substring(i+1).trim();<a name="line.312"></a>
+<span class="sourceLineNo">313</span>                  }<a name="line.313"></a>
+<span class="sourceLineNo">314</span>               }<a name="line.314"></a>
+<span class="sourceLineNo">315</span>               if (s.length() &gt; 0) {<a name="line.315"></a>
+<span class="sourceLineNo">316</span>                  i = s.indexOf(' ');<a name="line.316"></a>
+<span class="sourceLineNo">317</span>                  if (i == -1)<a name="line.317"></a>
+<span class="sourceLineNo">318</span>                     uri = s;<a name="line.318"></a>
+<span class="sourceLineNo">319</span>                  else {<a name="line.319"></a>
+<span class="sourceLineNo">320</span>                     uri = s.substring(0, i).trim();<a name="line.320"></a>
+<span class="sourceLineNo">321</span>                     s = s.substring(i).trim();<a name="line.321"></a>
+<span class="sourceLineNo">322</span>                     if (s.length() &gt; 0)<a name="line.322"></a>
+<span class="sourceLineNo">323</span>                        content = s;<a name="line.323"></a>
+<span class="sourceLineNo">324</span>                  }<a name="line.324"></a>
+<span class="sourceLineNo">325</span>               }<a name="line.325"></a>
+<span class="sourceLineNo">326</span>            }<a name="line.326"></a>
+<span class="sourceLineNo">327</span>         }<a name="line.327"></a>
+<span class="sourceLineNo">328</span>         if (method != null &amp;&amp; uri != null) {<a name="line.328"></a>
+<span class="sourceLineNo">329</span>            rc = doCall(method, uri, content != null);<a name="line.329"></a>
+<span class="sourceLineNo">330</span>            if (content != null)<a name="line.330"></a>
+<span class="sourceLineNo">331</span>               rc.input(new StringEntity(content));<a name="line.331"></a>
+<span class="sourceLineNo">332</span>            if (h != null)<a name="line.332"></a>
+<span class="sourceLineNo">333</span>               for (Map.Entry&lt;String,Object&gt; e : h.entrySet())<a name="line.333"></a>
+<span class="sourceLineNo">334</span>                  rc.header(e.getKey(), e.getValue());<a name="line.334"></a>
+<span class="sourceLineNo">335</span>            return rc;<a name="line.335"></a>
+<span class="sourceLineNo">336</span>         }<a name="line.336"></a>
+<span class="sourceLineNo">337</span>      } catch (Exception e) {<a name="line.337"></a>
+<span class="sourceLineNo">338</span>         throw new RestCallException(e);<a name="line.338"></a>
+<span class="sourceLineNo">339</span>      }<a name="line.339"></a>
+<span class="sourceLineNo">340</span>      throw new RestCallException("Invalid format for call string.");<a name="line.340"></a>
+<span class="sourceLineNo">341</span>   }<a name="line.341"></a>
+<span class="sourceLineNo">342</span><a name="line.342"></a>
+<span class="sourceLineNo">343</span>   /**<a name="line.343"></a>
+<span class="sourceLineNo">344</span>    * Perform a generic REST call.<a name="line.344"></a>
+<span class="sourceLineNo">345</span>    *<a name="line.345"></a>
+<span class="sourceLineNo">346</span>    * @param method The HTTP method.<a name="line.346"></a>
+<span class="sourceLineNo">347</span>    * @param url The URL of the remote REST resource.  Can be any of the following:  {@link String}, {@link URI}, {@link URL}.<a name="line.347"></a>
+<span class="sourceLineNo">348</span>    * @param content The HTTP body content.<a name="line.348"></a>
+<span class="sourceLineNo">349</span>    * Can be of the following types:<a name="line.349"></a>
+<span class="sourceLineNo">350</span>    * &lt;ul class='spaced-list'&gt;<a name="line.350"></a>
+<span class="sourceLineNo">351</span>    *    &lt;li&gt;{@link Reader} - Raw contents of {@code Reader} will be serialized to remote resource.<a name="line.351"></a>
+<span class="sourceLineNo">352</span>    *    &lt;li&gt;{@link InputStream} - Raw contents of {@code InputStream} will be serialized to remote resource.<a name="line.352"></a>
+<span class="sourceLineNo">353</span>    *    &lt;li&gt;{@link Object} - POJO to be converted to text using the {@link Serializer} registered with the {@link RestClient}.<a name="line.353"></a>
+<span class="sourceLineNo">354</span>    *    &lt;li&gt;{@link HttpEntity} - Bypass Juneau serialization and pass HttpEntity directly to HttpClient.<a name="line.354"></a>
+<span class="sourceLineNo">355</span>    *    &lt;li&gt;{@link NameValuePairs} - Converted to a URL-encoded FORM post.<a name="line.355"></a>
 <span class="sourceLineNo">356</span>    * &lt;/ul&gt;<a name="line.356"></a>
 <span class="sourceLineNo">357</span>    * This parameter is IGNORED if {@link HttpMethod#hasContent()} is &lt;jk&gt;false&lt;/jk&gt;.<a name="line.357"></a>
 <span class="sourceLineNo">358</span>    * @return A {@link RestCall} object that can be further tailored before executing the request<a name="line.358"></a>
@@ -429,120 +429,210 @@
 <span class="sourceLineNo">421</span>   }<a name="line.421"></a>
 <span class="sourceLineNo">422</span><a name="line.422"></a>
 <span class="sourceLineNo">423</span>   /**<a name="line.423"></a>
-<span class="sourceLineNo">424</span>    * Create a new proxy interface for the specified remoteable service interface.<a name="line.424"></a>
-<span class="sourceLineNo">425</span>    *<a name="line.425"></a>
-<span class="sourceLineNo">426</span>    * @param interfaceClass The interface to create a proxy for.<a name="line.426"></a>
-<span class="sourceLineNo">427</span>    * @return The new proxy interface.<a name="line.427"></a>
-<span class="sourceLineNo">428</span>    * @throws RuntimeException If the Remotable service URI has not been specified on this<a name="line.428"></a>
-<span class="sourceLineNo">429</span>    *    client by calling {@link RestClientBuilder#remoteableServletUri(String)}.<a name="line.429"></a>
-<span class="sourceLineNo">430</span>    */<a name="line.430"></a>
-<span class="sourceLineNo">431</span>   public &lt;T&gt; T getRemoteableProxy(final Class&lt;T&gt; interfaceClass) {<a name="line.431"></a>
-<span class="sourceLineNo">432</span>      if (remoteableServletUri == null)<a name="line.432"></a>
-<span class="sourceLineNo">433</span>         throw new RuntimeException("Remoteable service URI has not been specified.");<a name="line.433"></a>
-<span class="sourceLineNo">434</span>      return getRemoteableProxy(interfaceClass, remoteableServletUri + '/' + interfaceClass.getName());<a name="line.434"></a>
-<span class="sourceLineNo">435</span>   }<a name="line.435"></a>
-<span class="sourceLineNo">436</span><a name="line.436"></a>
-<span class="sourceLineNo">437</span>   /**<a name="line.437"></a>
-<span class="sourceLineNo">438</span>    * Create a new proxy interface for the specified REST PROXY interface.<a name="line.438"></a>
-<span class="sourceLineNo">439</span>    *<a name="line.439"></a>
-<span class="sourceLineNo">440</span>    * @param interfaceClass The interface to create a proxy for.<a name="line.440"></a>
-<span class="sourceLineNo">441</span>    * @param proxyUrl The URL of the REST method annotated with &lt;code&gt;&lt;ja&gt;@RestMethod&lt;/ja&gt;(name=&lt;js&gt;"PROXY"&lt;/js&gt;)&lt;/code&gt;.<a name="line.441"></a>
-<span class="sourceLineNo">442</span>    * @return The new proxy interface.<a name="line.442"></a>
-<span class="sourceLineNo">443</span>    */<a name="line.443"></a>
-<span class="sourceLineNo">444</span>   public &lt;T&gt; T getRemoteableProxy(final Class&lt;T&gt; interfaceClass, final Object proxyUrl) {<a name="line.444"></a>
-<span class="sourceLineNo">445</span>      return getRemoteableProxy(interfaceClass, proxyUrl, serializer, parser);<a name="line.445"></a>
-<span class="sourceLineNo">446</span>   }<a name="line.446"></a>
-<span class="sourceLineNo">447</span><a name="line.447"></a>
-<span class="sourceLineNo">448</span>   /**<a name="line.448"></a>
-<span class="sourceLineNo">449</span>    * Same as {@link #getRemoteableProxy(Class, Object)} but allows you to override the serializer and parser used.<a name="line.449"></a>
-<span class="sourceLineNo">450</span>    *<a name="line.450"></a>
-<span class="sourceLineNo">451</span>    * @param interfaceClass The interface to create a proxy for.<a name="line.451"></a>
-<span class="sourceLineNo">452</span>    * @param proxyUrl The URL of the REST method annotated with &lt;code&gt;&lt;ja&gt;@RestMethod&lt;/ja&gt;(name=&lt;js&gt;"PROXY"&lt;/js&gt;)&lt;/code&gt;.<a name="line.452"></a>
-<span class="sourceLineNo">453</span>    * @param serializer The serializer used to serialize POJOs to the body of the HTTP request.<a name="line.453"></a>
-<span class="sourceLineNo">454</span>    * @param parser The parser used to parse POJOs from the body of the HTTP response.<a name="line.454"></a>
-<span class="sourceLineNo">455</span>    * @return The new proxy interface.<a name="line.455"></a>
-<span class="sourceLineNo">456</span>    */<a name="line.456"></a>
-<span class="sourceLineNo">457</span>   @SuppressWarnings({ "unchecked", "hiding" })<a name="line.457"></a>
-<span class="sourceLineNo">458</span>   public &lt;T&gt; T getRemoteableProxy(final Class&lt;T&gt; interfaceClass, final Object proxyUrl, final Serializer serializer, final Parser parser) {<a name="line.458"></a>
-<span class="sourceLineNo">459</span>      try {<a name="line.459"></a>
-<span class="sourceLineNo">460</span>         return (T)Proxy.newProxyInstance(<a name="line.460"></a>
-<span class="sourceLineNo">461</span>            interfaceClass.getClassLoader(),<a name="line.461"></a>
-<span class="sourceLineNo">462</span>            new Class[] { interfaceClass },<a name="line.462"></a>
-<span class="sourceLineNo">463</span>            new InvocationHandler() {<a name="line.463"></a>
-<span class="sourceLineNo">464</span><a name="line.464"></a>
-<span class="sourceLineNo">465</span>               final Map&lt;Method,String&gt; uriCache = new ConcurrentHashMap&lt;Method,String&gt;();<a name="line.465"></a>
-<span class="sourceLineNo">466</span>               final String uri = toURI(proxyUrl).toString();<a name="line.466"></a>
-<span class="sourceLineNo">467</span><a name="line.467"></a>
-<span class="sourceLineNo">468</span>               @Override /* InvocationHandler */<a name="line.468"></a>
-<span class="sourceLineNo">469</span>               public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {<a name="line.469"></a>
-<span class="sourceLineNo">470</span><a name="line.470"></a>
-<span class="sourceLineNo">471</span>                  // Constructing this string each time can be time consuming, so cache it.<a name="line.471"></a>
-<span class="sourceLineNo">472</span>                  String u = uriCache.get(method);<a name="line.472"></a>
-<span class="sourceLineNo">473</span>                  if (u == null) {<a name="line.473"></a>
-<span class="sourceLineNo">474</span>                     try {<a name="line.474"></a>
-<span class="sourceLineNo">475</span>                        u = uri + '/' + URLEncoder.encode(ClassUtils.getMethodSignature(method), "utf-8");<a name="line.475"></a>
-<span class="sourceLineNo">476</span>                     } catch (UnsupportedEncodingException e) {}<a name="line.476"></a>
-<span class="sourceLineNo">477</span>                     uriCache.put(method, u);<a name="line.477"></a>
-<span class="sourceLineNo">478</span>                  }<a name="line.478"></a>
+<span class="sourceLineNo">424</span>    * Create a new proxy interface against a REST interface.<a name="line.424"></a>
+<span class="sourceLineNo">425</span>    * &lt;p&gt;<a name="line.425"></a>
+<span class="sourceLineNo">426</span>    * The URL to the REST interface is based on the following values:<a name="line.426"></a>
+<span class="sourceLineNo">427</span>    * &lt;ul&gt;<a name="line.427"></a>
+<span class="sourceLineNo">428</span>    *    &lt;li&gt;The {@link Remoteable#path() @Remoteable.path()} annotation on the interface (&lt;code&gt;remoteable-path&lt;/code&gt;).<a name="line.428"></a>
+<span class="sourceLineNo">429</span>    *    &lt;li&gt;The {@link RestClientBuilder#rootUrl(Object) rootUrl} on the client (&lt;code&gt;root-url&lt;/code&gt;).<a name="line.429"></a>
+<span class="sourceLineNo">430</span>    *    &lt;li&gt;The fully-qualified class name of the interface (&lt;code&gt;class-name&lt;/code&gt;).<a name="line.430"></a>
+<span class="sourceLineNo">431</span>    * &lt;/ul&gt;<a name="line.431"></a>
+<span class="sourceLineNo">432</span>    * &lt;p&gt;<a name="line.432"></a>
+<span class="sourceLineNo">433</span>    * The URL calculation is as follows:<a name="line.433"></a>
+<span class="sourceLineNo">434</span>    * &lt;ul&gt;<a name="line.434"></a>
+<span class="sourceLineNo">435</span>    *    &lt;li&gt;&lt;code&gt;remoteable-path&lt;/code&gt; - If remoteable path is absolute.<a name="line.435"></a>
+<span class="sourceLineNo">436</span>    *    &lt;li&gt;&lt;code&gt;root-url/remoteable-path&lt;/code&gt; - If remoteable path is relative and root-url has been specified.<a name="line.436"></a>
+<span class="sourceLineNo">437</span>    *    &lt;li&gt;&lt;code&gt;root-url/class-name&lt;/code&gt; - If remoteable path is not specified.<a name="line.437"></a>
+<span class="sourceLineNo">438</span>    * &lt;/ul&gt;<a name="line.438"></a>
+<span class="sourceLineNo">439</span>    * &lt;p&gt;<a name="line.439"></a>
+<span class="sourceLineNo">440</span>    * If the information is not available to resolve to an absolute URL, a {@link RemoteableMetadataException} is thrown.<a name="line.440"></a>
+<span class="sourceLineNo">441</span>    * &lt;p&gt;<a name="line.441"></a>
+<span class="sourceLineNo">442</span>    * Examples:<a name="line.442"></a>
+<span class="sourceLineNo">443</span>    * &lt;p class='bcode'&gt;<a name="line.443"></a>
+<span class="sourceLineNo">444</span>    *    &lt;jk&gt;package&lt;/jk&gt; org.apache.foo;<a name="line.444"></a>
+<span class="sourceLineNo">445</span>    *<a name="line.445"></a>
+<span class="sourceLineNo">446</span>    *    &lt;ja&gt;@Remoteable&lt;/ja&gt;(path=&lt;js&gt;"http://hostname/resturl/myinterface1"&lt;/js&gt;)<a name="line.446"></a>
+<span class="sourceLineNo">447</span>    *    &lt;jk&gt;public interface&lt;/jk&gt; MyInterface1 { ... }<a name="line.447"></a>
+<span class="sourceLineNo">448</span>    *<a name="line.448"></a>
+<span class="sourceLineNo">449</span>    *    &lt;ja&gt;@Remoteable&lt;/ja&gt;(path=&lt;js&gt;"/myinterface2"&lt;/js&gt;)<a name="line.449"></a>
+<span class="sourceLineNo">450</span>    *    &lt;jk&gt;public interface&lt;/jk&gt; MyInterface2 { ... }<a name="line.450"></a>
+<span class="sourceLineNo">451</span>    *<a name="line.451"></a>
+<span class="sourceLineNo">452</span>    *    &lt;jk&gt;public interface&lt;/jk&gt; MyInterface3 { ... }<a name="line.452"></a>
+<span class="sourceLineNo">453</span>    *<a name="line.453"></a>
+<span class="sourceLineNo">454</span>    *    &lt;jc&gt;// Resolves to "http://localhost/resturl/myinterface1"&lt;/jc&gt;<a name="line.454"></a>
+<span class="sourceLineNo">455</span>    *    MyInterface1 i1 = &lt;jk&gt;new&lt;/jk&gt; RestClientBuilder()<a name="line.455"></a>
+<span class="sourceLineNo">456</span>    *       .build()<a name="line.456"></a>
+<span class="sourceLineNo">457</span>    *       .getRemoteableProxy(MyInterface1.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.457"></a>
+<span class="sourceLineNo">458</span>    *<a name="line.458"></a>
+<span class="sourceLineNo">459</span>    *    &lt;jc&gt;// Resolves to "http://hostname/resturl/myinterface2"&lt;/jc&gt;<a name="line.459"></a>
+<span class="sourceLineNo">460</span>    *    MyInterface2 i2 = &lt;jk&gt;new&lt;/jk&gt; RestClientBuilder()<a name="line.460"></a>
+<span class="sourceLineNo">461</span>    *       .rootUrl(&lt;js&gt;"http://hostname/resturl"&lt;/js&gt;)<a name="line.461"></a>
+<span class="sourceLineNo">462</span>    *       .build()<a name="line.462"></a>
+<span class="sourceLineNo">463</span>    *       .getRemoteableProxy(MyInterface2.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.463"></a>
+<span class="sourceLineNo">464</span>    *<a name="line.464"></a>
+<span class="sourceLineNo">465</span>    *    &lt;jc&gt;// Resolves to "http://hostname/resturl/org.apache.foo.MyInterface3"&lt;/jc&gt;<a name="line.465"></a>
+<span class="sourceLineNo">466</span>    *    MyInterface3 i3 = &lt;jk&gt;new&lt;/jk&gt; RestClientBuilder()<a name="line.466"></a>
+<span class="sourceLineNo">467</span>    *       .rootUrl(&lt;js&gt;"http://hostname/resturl"&lt;/js&gt;)<a name="line.467"></a>
+<span class="sourceLineNo">468</span>    *       .build()<a name="line.468"></a>
+<span class="sourceLineNo">469</span>    *       .getRemoteableProxy(MyInterface3.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.469"></a>
+<span class="sourceLineNo">470</span>    * &lt;/p&gt;<a name="line.470"></a>
+<span class="sourceLineNo">471</span>    *<a name="line.471"></a>
+<span class="sourceLineNo">472</span>    * @param interfaceClass The interface to create a proxy for.<a name="line.472"></a>
+<span class="sourceLineNo">473</span>    * @return The new proxy interface.<a name="line.473"></a>
+<span class="sourceLineNo">474</span>    * @throws RemoteableMetadataException If the REST URI cannot be determined based on the information given.<a name="line.474"></a>
+<span class="sourceLineNo">475</span>    */<a name="line.475"></a>
+<span class="sourceLineNo">476</span>   public &lt;T&gt; T getRemoteableProxy(final Class&lt;T&gt; interfaceClass) {<a name="line.476"></a>
+<span class="sourceLineNo">477</span>      return getRemoteableProxy(interfaceClass, null);<a name="line.477"></a>
+<span class="sourceLineNo">478</span>   }<a name="line.478"></a>
 <span class="sourceLineNo">479</span><a name="line.479"></a>
-<span class="sourceLineNo">480</span>                  try {<a name="line.480"></a>
-<span class="sourceLineNo">481</span>                     return doPost(u, args).serializer(serializer).parser(parser).getResponse(method.getGenericReturnType());<a name="line.481"></a>
-<span class="sourceLineNo">482</span>                  } catch (RestCallException e) {<a name="line.482"></a>
-<span class="sourceLineNo">483</span>                     // Try to throw original exception if possible.<a name="line.483"></a>
-<span class="sourceLineNo">484</span>                     e.throwServerException(interfaceClass.getClassLoader());<a name="line.484"></a>
-<span class="sourceLineNo">485</span>                     throw new RuntimeException(e);<a name="line.485"></a>
-<span class="sourceLineNo">486</span>                  } catch (Exception e) {<a name="line.486"></a>
-<span class="sourceLineNo">487</span>                     throw new RuntimeException(e);<a name="line.487"></a>
-<span class="sourceLineNo">488</span>                  }<a name="line.488"></a>
-<span class="sourceLineNo">489</span>               }<a name="line.489"></a>
-<span class="sourceLineNo">490</span>         });<a name="line.490"></a>
-<span class="sourceLineNo">491</span>      } catch (Exception e) {<a name="line.491"></a>
-<span class="sourceLineNo">492</span>         throw new RuntimeException(e);<a name="line.492"></a>
-<span class="sourceLineNo">493</span>      }<a name="line.493"></a>
-<span class="sourceLineNo">494</span>   }<a name="line.494"></a>
-<span class="sourceLineNo">495</span><a name="line.495"></a>
-<span class="sourceLineNo">496</span>   private Pattern absUrlPattern = Pattern.compile("^\\w+\\:\\/\\/.*");<a name="line.496"></a>
-<span class="sourceLineNo">497</span><a name="line.497"></a>
-<span class="sourceLineNo">498</span>   UrlEncodingSerializer getUrlEncodingSerializer() {<a name="line.498"></a>
-<span class="sourceLineNo">499</span>      return urlEncodingSerializer;<a name="line.499"></a>
-<span class="sourceLineNo">500</span>   }<a name="line.500"></a>
-<span class="sourceLineNo">501</span><a name="line.501"></a>
-<span class="sourceLineNo">502</span>   URI toURI(Object url) throws URISyntaxException {<a name="line.502"></a>
-<span class="sourceLineNo">503</span>      if (url instanceof URI)<a name="line.503"></a>
-<span class="sourceLineNo">504</span>         return (URI)url;<a name="line.504"></a>
-<span class="sourceLineNo">505</span>      if (url instanceof URL)<a name="line.505"></a>
-<span class="sourceLineNo">506</span>         ((URL)url).toURI();<a name="line.506"></a>
-<span class="sourceLineNo">507</span>      if (url instanceof URIBuilder)<a name="line.507"></a>
-<span class="sourceLineNo">508</span>         return ((URIBuilder)url).build();<a name="line.508"></a>
-<span class="sourceLineNo">509</span>      String s = url == null ? "" : url.toString();<a name="line.509"></a>
-<span class="sourceLineNo">510</span>      if (rootUrl != null &amp;&amp; ! absUrlPattern.matcher(s).matches()) {<a name="line.510"></a>
-<span class="sourceLineNo">511</span>         if (s.isEmpty())<a name="line.511"></a>
-<span class="sourceLineNo">512</span>            s = rootUrl;<a name="line.512"></a>
-<span class="sourceLineNo">513</span>         else {<a name="line.513"></a>
-<span class="sourceLineNo">514</span>            StringBuilder sb = new StringBuilder(rootUrl);<a name="line.514"></a>
-<span class="sourceLineNo">515</span>            if (! s.startsWith("/"))<a name="line.515"></a>
-<span class="sourceLineNo">516</span>               sb.append('/');<a name="line.516"></a>
-<span class="sourceLineNo">517</span>            sb.append(s);<a name="line.517"></a>
-<span class="sourceLineNo">518</span>            s = sb.toString();<a name="line.518"></a>
-<span class="sourceLineNo">519</span>         }<a name="line.519"></a>
-<span class="sourceLineNo">520</span>      }<a name="line.520"></a>
-<span class="sourceLineNo">521</span>      return new URI(s);<a name="line.521"></a>
-<span class="sourceLineNo">522</span>   }<a name="line.522"></a>
-<span class="sourceLineNo">523</span><a name="line.523"></a>
-<span class="sourceLineNo">524</span>   @Override<a name="line.524"></a>
-<span class="sourceLineNo">525</span>   protected void finalize() throws Throwable {<a name="line.525"></a>
-<span class="sourceLineNo">526</span>      if (! isClosed &amp;&amp; ! keepHttpClientOpen) {<a name="line.526"></a>
-<span class="sourceLineNo">527</span>         System.err.println("WARNING:  RestClient garbage collected before it was finalized.");<a name="line.527"></a>
-<span class="sourceLineNo">528</span>         i

<TRUNCATED>


[38/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/internal/StringUtils.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/internal/StringUtils.html b/content/site/apidocs/org/apache/juneau/internal/StringUtils.html
index 92c329f..c99481a 100644
--- a/content/site/apidocs/org/apache/juneau/internal/StringUtils.html
+++ b/content/site/apidocs/org/apache/juneau/internal/StringUtils.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9};
+var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9};
 var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -108,7 +108,7 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <hr>
 <br>
-<pre>public final class <a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.32">StringUtils</a>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.33">StringUtils</a>
 extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
 <div class="block">Reusable string utility methods.</div>
 </li>
@@ -185,24 +185,30 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </td>
 </tr>
 <tr id="i6" class="altColor">
+<td class="colFirst"><code>static char</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#firstNonWhitespaceChar-java.lang.String-">firstNonWhitespaceChar</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
+<div class="block">Returns the first non-whitespace character in the string.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
 <td class="colFirst"><code>static byte[]</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#fromHex-java.lang.String-">fromHex</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hex)</code>
 <div class="block">Converts a hexadecimal character string to a byte array.</div>
 </td>
 </tr>
-<tr id="i7" class="rowColor">
+<tr id="i8" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#fromHexToUTF8-java.lang.String-">fromHexToUTF8</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hex)</code>
 <div class="block">Converts a hexadecimal byte stream (e.g.</div>
 </td>
 </tr>
-<tr id="i8" class="altColor">
+<tr id="i9" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#generateUUID-int-">generateUUID</a></span>(int&nbsp;numchars)</code>
 <div class="block">Generated a random UUID with the specified number of characters.</div>
 </td>
 </tr>
-<tr id="i9" class="rowColor">
+<tr id="i10" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#getField-int-java.lang.String-char-">getField</a></span>(int&nbsp;fieldNum,
         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
@@ -210,7 +216,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <div class="block">Returns the specified field in a delimited string without splitting the string.</div>
 </td>
 </tr>
-<tr id="i10" class="altColor">
+<tr id="i11" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#getField-int-java.lang.String-char-java.lang.String-">getField</a></span>(int&nbsp;fieldNum,
         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
@@ -219,70 +225,77 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <div class="block">Same as <a href="../../../../org/apache/juneau/internal/StringUtils.html#getField-int-java.lang.String-char-"><code>getField(int, String, char)</code></a> except allows you to specify the default value.</div>
 </td>
 </tr>
-<tr id="i11" class="rowColor">
+<tr id="i12" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#getStackTrace-java.lang.Throwable-">getStackTrace</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</code>
 <div class="block">Convenience method for getting a stack trace as a string.</div>
 </td>
 </tr>
-<tr id="i12" class="altColor">
+<tr id="i13" class="rowColor">
 <td class="colFirst"><code>static boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isDecimal-java.lang.String-">isDecimal</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
 <div class="block">Returns <jk>true</jk> if the specified string is numeric.</div>
 </td>
 </tr>
-<tr id="i13" class="rowColor">
+<tr id="i14" class="altColor">
 <td class="colFirst"><code>static boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isEmpty-java.lang.Object-">isEmpty</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;s)</code>
 <div class="block">Returns <jk>true</jk> if specified string is <jk>null</jk> or it's <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang"><code>Object.toString()</code></a> method returns an empty string.</div>
 </td>
 </tr>
-<tr id="i14" class="altColor">
+<tr id="i15" class="rowColor">
 <td class="colFirst"><code>static boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isEmpty-java.lang.String-">isEmpty</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
 <div class="block">Returns <jk>true</jk> if specified string is <jk>null</jk> or empty.</div>
 </td>
 </tr>
-<tr id="i15" class="rowColor">
+<tr id="i16" class="altColor">
 <td class="colFirst"><code>static boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isEquals-java.lang.String-java.lang.String-">isEquals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s1,
         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s2)</code>
 <div class="block">Tests two strings for equality, but gracefully handles nulls.</div>
 </td>
 </tr>
-<tr id="i16" class="altColor">
+<tr id="i17" class="rowColor">
 <td class="colFirst"><code>static boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isFirstNumberChar-char-">isFirstNumberChar</a></span>(char&nbsp;c)</code>
 <div class="block">Returns <jk>true</jk> if the specified character is a valid first character for a number.</div>
 </td>
 </tr>
-<tr id="i17" class="rowColor">
+<tr id="i18" class="altColor">
 <td class="colFirst"><code>static boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isFloat-java.lang.String-">isFloat</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
 <div class="block">Returns <jk>true</jk> if the specified string is a floating point number.</div>
 </td>
 </tr>
-<tr id="i18" class="altColor">
+<tr id="i19" class="rowColor">
 <td class="colFirst"><code>static boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isNumeric-java.lang.String-">isNumeric</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
 <div class="block">Returns <jk>true</jk> if this string can be parsed by <a href="../../../../org/apache/juneau/internal/StringUtils.html#parseNumber-java.lang.String-java.lang.Class-"><code>parseNumber(String, Class)</code></a>.</div>
 </td>
 </tr>
-<tr id="i19" class="rowColor">
+<tr id="i20" class="altColor">
+<td class="colFirst"><code>static boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#isOneOf-java.lang.String-java.lang.String...-">isOneOf</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
+       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;values)</code>
+<div class="block">Returns <jk>true</jk> if the specified string is one of the specified values.</div>
+</td>
+</tr>
+<tr id="i21" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#join-java.util.Collection-char-">join</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;?&gt;&nbsp;tokens,
     char&nbsp;d)</code>
 <div class="block">Join the specified tokens into a delimited string.</div>
 </td>
 </tr>
-<tr id="i20" class="altColor">
+<tr id="i22" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#join-java.util.Collection-java.lang.String-">join</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;?&gt;&nbsp;tokens,
     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;d)</code>
 <div class="block">Join the specified tokens into a delimited string.</div>
 </td>
 </tr>
-<tr id="i21" class="rowColor">
+<tr id="i23" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#join-java.util.Collection-java.lang.String-java.lang.StringBuilder-">join</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;?&gt;&nbsp;tokens,
     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;d,
@@ -290,28 +303,28 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <div class="block">Joins the specified tokens into a delimited string and writes the output to the specified string builder.</div>
 </td>
 </tr>
-<tr id="i22" class="altColor">
+<tr id="i24" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#join-int:A-char-">join</a></span>(int[]&nbsp;tokens,
     char&nbsp;d)</code>
 <div class="block">Join the specified tokens into a delimited string.</div>
 </td>
 </tr>
-<tr id="i23" class="rowColor">
+<tr id="i25" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#join-int:A-java.lang.String-">join</a></span>(int[]&nbsp;tokens,
     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;d)</code>
 <div class="block">Join the specified tokens into a delimited string.</div>
 </td>
 </tr>
-<tr id="i24" class="altColor">
+<tr id="i26" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#join-java.lang.Object:A-char-">join</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;tokens,
     char&nbsp;d)</code>
 <div class="block">Joins the specified tokens into a delimited string.</div>
 </td>
 </tr>
-<tr id="i25" class="rowColor">
+<tr id="i27" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#join-java.lang.Object:A-char-java.lang.StringBuilder-">join</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;tokens,
     char&nbsp;d,
@@ -319,73 +332,73 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <div class="block">Join the specified tokens into a delimited string and writes the output to the specified string builder.</div>
 </td>
 </tr>
-<tr id="i26" class="altColor">
+<tr id="i28" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#join-java.lang.Object:A-java.lang.String-">join</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;tokens,
     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</code>
 <div class="block">Join the specified tokens into a delimited string.</div>
 </td>
 </tr>
-<tr id="i27" class="rowColor">
+<tr id="i29" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#nullIfEmpty-java.lang.String-">nullIfEmpty</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
 <div class="block">Returns <jk>null</jk> if the specified string is <jk>null</jk> or empty.</div>
 </td>
 </tr>
-<tr id="i28" class="altColor">
+<tr id="i30" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#parseISO8601Date-java.lang.String-">parseISO8601Date</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;date)</code>
 <div class="block">Parses an ISO8601 string into a date.</div>
 </td>
 </tr>
-<tr id="i29" class="rowColor">
+<tr id="i31" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#parseNumber-org.apache.juneau.parser.ParserReader-java.lang.Class-">parseNumber</a></span>(<a href="../../../../org/apache/juneau/parser/ParserReader.html" title="class in org.apache.juneau.parser">ParserReader</a>&nbsp;r,
            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&gt;&nbsp;type)</code>
 <div class="block">Parses a number from the specified reader stream.</div>
 </td>
 </tr>
-<tr id="i30" class="altColor">
+<tr id="i32" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#parseNumber-java.lang.String-java.lang.Class-">parseNumber</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&gt;&nbsp;type)</code>
 <div class="block">Parses a number from the specified string.</div>
 </td>
 </tr>
-<tr id="i31" class="rowColor">
+<tr id="i33" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#parseNumberString-org.apache.juneau.parser.ParserReader-">parseNumberString</a></span>(<a href="../../../../org/apache/juneau/parser/ParserReader.html" title="class in org.apache.juneau.parser">ParserReader</a>&nbsp;r)</code>
 <div class="block">Reads a numeric string from the specified reader.</div>
 </td>
 </tr>
-<tr id="i32" class="altColor">
+<tr id="i34" class="altColor">
 <td class="colFirst"><code>static boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#pathStartsWith-java.lang.String-java.lang.String-">pathStartsWith</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pathPrefix)</code>
 <div class="block">Returns <jk>true</jk> if the specified path string is prefixed with the specified prefix.</div>
 </td>
 </tr>
-<tr id="i33" class="rowColor">
+<tr id="i35" class="rowColor">
 <td class="colFirst"><code>static boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#pathStartsWith-java.lang.String-java.lang.String:A-">pathStartsWith</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;pathPrefixes)</code>
 <div class="block">Same as <a href="../../../../org/apache/juneau/internal/StringUtils.html#pathStartsWith-java.lang.String-java.lang.String-"><code>pathStartsWith(String, String)</code></a> but returns <jk>true</jk> if at least one prefix matches.</div>
 </td>
 </tr>
-<tr id="i34" class="altColor">
+<tr id="i36" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#repeat-int-java.lang.String-">repeat</a></span>(int&nbsp;count,
       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pattern)</code>
 <div class="block">Creates a repeated pattern.</div>
 </td>
 </tr>
-<tr id="i35" class="rowColor">
+<tr id="i37" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#replaceUnicodeSequences-java.lang.String-">replaceUnicodeSequences</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
 <div class="block">Replaces <js>"\\uXXXX"</js> character sequences with their unicode characters.</div>
 </td>
 </tr>
-<tr id="i36" class="altColor">
+<tr id="i38" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#replaceVars-java.lang.String-java.util.Map-">replaceVars</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
            <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;m)</code>
@@ -393,71 +406,89 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
    in the specified map.</div>
 </td>
 </tr>
-<tr id="i37" class="rowColor">
+<tr id="i39" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#split-java.lang.String:A-char-">split</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;s,
      char&nbsp;c)</code>
 <div class="block">Same as <a href="../../../../org/apache/juneau/internal/StringUtils.html#split-java.lang.String-char-"><code>split(String, char)</code></a> except splits all strings in the input and returns a single result.</div>
 </td>
 </tr>
-<tr id="i38" class="altColor">
+<tr id="i40" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#split-java.lang.String-char-">split</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
      char&nbsp;c)</code>
 <div class="block">Splits a character-delimited string into a string array.</div>
 </td>
 </tr>
-<tr id="i39" class="rowColor">
+<tr id="i41" class="rowColor">
 <td class="colFirst"><code>static boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#startsWith-java.lang.String-char-">startsWith</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
           char&nbsp;c)</code>
 <div class="block">An efficient method for checking if a string starts with a character.</div>
 </td>
 </tr>
-<tr id="i40" class="altColor">
+<tr id="i42" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#toHex-byte:A-">toHex</a></span>(byte[]&nbsp;bytes)</code>
 <div class="block">Converts a byte array into a simple hexadecimal character string.</div>
 </td>
 </tr>
-<tr id="i41" class="rowColor">
+<tr id="i43" class="rowColor">
 <td class="colFirst"><code>static char[]</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#toHex-int-">toHex</a></span>(int&nbsp;num)</code>
 <div class="block">Converts the specified number into a 4 hexadecimal characters.</div>
 </td>
 </tr>
-<tr id="i42" class="altColor">
+<tr id="i44" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#toString-java.lang.Object-">toString</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>
 <div class="block">Calls <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang"><code>Object.toString()</code></a> on the specified object if it's not null.</div>
 </td>
 </tr>
-<tr id="i43" class="rowColor">
+<tr id="i45" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#trim-java.lang.String-">trim</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
 <div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#trim--" title="class or interface in java.lang"><code>String.trim()</code></a> but prevents <code>NullPointerExceptions</code>.</div>
 </td>
 </tr>
-<tr id="i44" class="altColor">
+<tr id="i46" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#trimEnd-java.lang.String-">trimEnd</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
 <div class="block">Trims whitespace characters from the end of the specified string.</div>
 </td>
 </tr>
-<tr id="i45" class="rowColor">
+<tr id="i47" class="rowColor">
+<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#trimSlashes-java.lang.String-">trimSlashes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
+<div class="block">Trims <js>'/'</js> characters from both the start and end of the specified string.</div>
+</td>
+</tr>
+<tr id="i48" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#trimStart-java.lang.String-">trimStart</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
 <div class="block">Trims whitespace characters from the beginning of the specified string.</div>
 </td>
 </tr>
-<tr id="i46" class="altColor">
+<tr id="i49" class="rowColor">
+<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#trimTrailingSlashes-java.lang.String-">trimTrailingSlashes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
+<div class="block">Trims <js>'/'</js> characters from the end of the specified string.</div>
+</td>
+</tr>
+<tr id="i50" class="altColor">
+<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#trimTrailingSlashes-java.lang.StringBuffer-">trimTrailingSlashes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;s)</code>
+<div class="block">Trims <js>'/'</js> characters from the end of the specified string.</div>
+</td>
+</tr>
+<tr id="i51" class="rowColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#unEscapeChars-java.lang.String-char:A-">unEscapeChars</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
              char[]&nbsp;toEscape)</code>
 <div class="block">Removes escape characters (\) from the specified characters.</div>
 </td>
 </tr>
-<tr id="i47" class="rowColor">
+<tr id="i52" class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#unEscapeChars-java.lang.String-char:A-char-">unEscapeChars</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
              char[]&nbsp;toEscape,
@@ -465,6 +496,18 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <div class="block">Removes escape characters (specified by escapeChar) from the specified characters.</div>
 </td>
 </tr>
+<tr id="i53" class="rowColor">
+<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#urlDecode-java.lang.String-">urlDecode</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
+<div class="block">Decodes a <code>application/x-www-form-urlencoded</code> string using <code>UTF-8</code> encoding scheme.</div>
+</td>
+</tr>
+<tr id="i54" class="altColor">
+<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/StringUtils.html#urlEncode-java.lang.String-">urlEncode</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
+<div class="block">Encodes a <code>application/x-www-form-urlencoded</code> string using <code>UTF-8</code> encoding scheme.</div>
+</td>
+</tr>
 </table>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
@@ -493,7 +536,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>StringUtils</h4>
-<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.32">StringUtils</a>()</pre>
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.33">StringUtils</a>()</pre>
 </li>
 </ul>
 </li>
@@ -510,7 +553,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>parseNumber</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.71">parseNumber</a>(<a href="../../../../org/apache/juneau/parser/ParserReader.html" title="class in org.apache.juneau.parser">ParserReader</a>&nbsp;r,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.75">parseNumber</a>(<a href="../../../../org/apache/juneau/parser/ParserReader.html" title="class in org.apache.juneau.parser">ParserReader</a>&nbsp;r,
                                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&gt;&nbsp;type)
                           throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Parses a number from the specified reader stream.</div>
@@ -544,7 +587,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>parseNumberString</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.82">parseNumberString</a>(<a href="../../../../org/apache/juneau/parser/ParserReader.html" title="class in org.apache.juneau.parser">ParserReader</a>&nbsp;r)
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.86">parseNumberString</a>(<a href="../../../../org/apache/juneau/parser/ParserReader.html" title="class in org.apache.juneau.parser">ParserReader</a>&nbsp;r)
                                 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Reads a numeric string from the specified reader.</div>
 <dl>
@@ -563,7 +606,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>parseNumber</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.117">parseNumber</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.121">parseNumber</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
                                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&gt;&nbsp;type)
                           throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Parses a number from the specified string.</div>
@@ -596,7 +639,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>isNumeric</h4>
-<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.203">isNumeric</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
+<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.207">isNumeric</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
 <div class="block">Returns <jk>true</jk> if this string can be parsed by <a href="../../../../org/apache/juneau/internal/StringUtils.html#parseNumber-java.lang.String-java.lang.Class-"><code>parseNumber(String, Class)</code></a>.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -612,7 +655,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>isFirstNumberChar</h4>
-<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.217">isFirstNumberChar</a>(char&nbsp;c)</pre>
+<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.221">isFirstNumberChar</a>(char&nbsp;c)</pre>
 <div class="block">Returns <jk>true</jk> if the specified character is a valid first character for a number.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -628,7 +671,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>isFloat</h4>
-<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.227">isFloat</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
+<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.231">isFloat</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
 <div class="block">Returns <jk>true</jk> if the specified string is a floating point number.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -644,7 +687,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>isDecimal</h4>
-<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.252">isDecimal</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
+<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.256">isDecimal</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
 <div class="block">Returns <jk>true</jk> if the specified string is numeric.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -660,7 +703,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>getStackTrace</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.303">getStackTrace</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.307">getStackTrace</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</pre>
 <div class="block">Convenience method for getting a stack trace as a string.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -676,7 +719,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>join</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.319">join</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;tokens,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.323">join</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;tokens,
                           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;separator)</pre>
 <div class="block">Join the specified tokens into a delimited string.</div>
 <dl>
@@ -694,7 +737,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>join</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.338">join</a>(int[]&nbsp;tokens,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.342">join</a>(int[]&nbsp;tokens,
                           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;d)</pre>
 <div class="block">Join the specified tokens into a delimited string.</div>
 <dl>
@@ -712,7 +755,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>join</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.357">join</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;?&gt;&nbsp;tokens,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.361">join</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;?&gt;&nbsp;tokens,
                           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;d)</pre>
 <div class="block">Join the specified tokens into a delimited string.</div>
 <dl>
@@ -730,7 +773,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>join</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.371">join</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;?&gt;&nbsp;tokens,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.375">join</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;?&gt;&nbsp;tokens,
                                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;d,
                                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)</pre>
 <div class="block">Joins the specified tokens into a delimited string and writes the output to the specified string builder.</div>
@@ -750,7 +793,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>join</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.389">join</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;tokens,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.393">join</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;tokens,
                           char&nbsp;d)</pre>
 <div class="block">Joins the specified tokens into a delimited string.</div>
 <dl>
@@ -768,7 +811,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>join</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.403">join</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;tokens,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.407">join</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;tokens,
                                  char&nbsp;d,
                                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)</pre>
 <div class="block">Join the specified tokens into a delimited string and writes the output to the specified string builder.</div>
@@ -788,7 +831,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>join</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.421">join</a>(int[]&nbsp;tokens,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.425">join</a>(int[]&nbsp;tokens,
                           char&nbsp;d)</pre>
 <div class="block">Join the specified tokens into a delimited string.</div>
 <dl>
@@ -806,7 +849,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>join</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.440">join</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;?&gt;&nbsp;tokens,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.444">join</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;?&gt;&nbsp;tokens,
                           char&nbsp;d)</pre>
 <div class="block">Join the specified tokens into a delimited string.</div>
 <dl>
@@ -824,7 +867,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>split</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.471">split</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.475">split</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
                              char&nbsp;c)</pre>
 <div class="block">Splits a character-delimited string into a string array.
  Does not split on escaped-delimiters (e.g. "\,");
@@ -854,7 +897,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>split</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.507">split</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;s,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.511">split</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;s,
                              char&nbsp;c)</pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/internal/StringUtils.html#split-java.lang.String-char-"><code>split(String, char)</code></a> except splits all strings in the input and returns a single result.</div>
 <dl>
@@ -872,7 +915,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>isEmpty</h4>
-<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.526">isEmpty</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
+<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.530">isEmpty</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
 <div class="block">Returns <jk>true</jk> if specified string is <jk>null</jk> or empty.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -888,7 +931,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>isEmpty</h4>
-<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.536">isEmpty</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;s)</pre>
+<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.540">isEmpty</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;s)</pre>
 <div class="block">Returns <jk>true</jk> if specified string is <jk>null</jk> or it's <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang"><code>Object.toString()</code></a> method returns an empty string.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -904,7 +947,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>nullIfEmpty</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.546">nullIfEmpty</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.550">nullIfEmpty</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
 <div class="block">Returns <jk>null</jk> if the specified string is <jk>null</jk> or empty.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -920,7 +963,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>unEscapeChars</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.559">unEscapeChars</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.563">unEscapeChars</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
                                    char[]&nbsp;toEscape)</pre>
 <div class="block">Removes escape characters (\) from the specified characters.</div>
 <dl>
@@ -938,7 +981,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>unEscapeChars</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.571">unEscapeChars</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.575">unEscapeChars</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
                                    char[]&nbsp;toEscape,
                                    char&nbsp;escapeChar)</pre>
 <div class="block">Removes escape characters (specified by escapeChar) from the specified characters.</div>
@@ -958,7 +1001,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>decodeHex</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.604">decodeHex</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.608">decodeHex</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
 <div class="block">Debug method for rendering non-ASCII character sequences.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -974,7 +1017,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>startsWith</h4>
-<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.624">startsWith</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
+<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.628">startsWith</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
                                  char&nbsp;c)</pre>
 <div class="block">An efficient method for checking if a string starts with a character.</div>
 <dl>
@@ -992,7 +1035,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>endsWith</h4>
-<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.640">endsWith</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
+<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.644">endsWith</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
                                char&nbsp;c)</pre>
 <div class="block">An efficient method for checking if a string ends with a character.</div>
 <dl>
@@ -1010,7 +1053,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>toHex</h4>
-<pre>public static final&nbsp;char[]&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.655">toHex</a>(int&nbsp;num)</pre>
+<pre>public static final&nbsp;char[]&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.659">toHex</a>(int&nbsp;num)</pre>
 <div class="block">Converts the specified number into a 4 hexadecimal characters.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1026,7 +1069,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>isEquals</h4>
-<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.675">isEquals</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s1,
+<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.679">isEquals</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s1,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s2)</pre>
 <div class="block">Tests two strings for equality, but gracefully handles nulls.</div>
 <dl>
@@ -1044,7 +1087,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>base64EncodeToString</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.689">base64EncodeToString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.693">base64EncodeToString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in)</pre>
 <div class="block">Shortcut for calling <code>base64Encode(in.getBytes(<js>"UTF-8"</js>))</code></div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1060,7 +1103,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>base64Encode</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.701">base64Encode</a>(byte[]&nbsp;in)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.705">base64Encode</a>(byte[]&nbsp;in)</pre>
 <div class="block">BASE64-encodes the specified byte array.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1076,7 +1119,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>base64DecodeToString</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.731">base64DecodeToString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.735">base64DecodeToString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in)</pre>
 <div class="block">Shortcut for calling <code>base64Decode(String)</code> and converting the
    result to a UTF-8 encoded string.</div>
 <dl>
@@ -1093,7 +1136,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>base64Decode</h4>
-<pre>public static&nbsp;byte[]&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.744">base64Decode</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in)</pre>
+<pre>public static&nbsp;byte[]&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.748">base64Decode</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in)</pre>
 <div class="block">BASE64-decodes the specified string.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1109,7 +1152,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>generateUUID</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.799">generateUUID</a>(int&nbsp;numchars)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.803">generateUUID</a>(int&nbsp;numchars)</pre>
 <div class="block">Generated a random UUID with the specified number of characters.
  Characters are composed of lower-case ASCII letters and numbers only.
  This method conforms to the restrictions for hostnames as specified in <a class="doclink" href="https://tools.ietf.org/html/rfc952">RFC 952</a>
@@ -1135,7 +1178,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>trim</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.817">trim</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.821">trim</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
 <div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#trim--" title="class or interface in java.lang"><code>String.trim()</code></a> but prevents <code>NullPointerExceptions</code>.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1151,7 +1194,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>parseISO8601Date</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.831">parseISO8601Date</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;date)
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.835">parseISO8601Date</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;date)
                              throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre>
 <div class="block">Parses an ISO8601 string into a date.</div>
 <dl>
@@ -1170,7 +1213,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>replaceVars</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.864">replaceVars</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.868">replaceVars</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
                                  <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;m)</pre>
 <div class="block">Simple utility for replacing variables of the form <js>"{key}"</js> with values
    in the specified map.
@@ -1195,7 +1238,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>pathStartsWith</h4>
-<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.933">pathStartsWith</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.937">pathStartsWith</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
                                      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pathPrefix)</pre>
 <div class="block">Returns <jk>true</jk> if the specified path string is prefixed with the specified prefix.
 
@@ -1221,7 +1264,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>pathStartsWith</h4>
-<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.949">pathStartsWith</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
+<pre>public static&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.953">pathStartsWith</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path,
                                      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;pathPrefixes)</pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/internal/StringUtils.html#pathStartsWith-java.lang.String-java.lang.String-"><code>pathStartsWith(String, String)</code></a> but returns <jk>true</jk> if at least one prefix matches.
  <p></div>
@@ -1240,7 +1283,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>replaceUnicodeSequences</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.962">replaceUnicodeSequences</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.966">replaceUnicodeSequences</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
 <div class="block">Replaces <js>"\\uXXXX"</js> character sequences with their unicode characters.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1256,7 +1299,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>getField</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.990">getField</a>(int&nbsp;fieldNum,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.994">getField</a>(int&nbsp;fieldNum,
                               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
                               char&nbsp;delim)</pre>
 <div class="block">Returns the specified field in a delimited string without splitting the string.
@@ -1282,7 +1325,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>getField</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.1003">getField</a>(int&nbsp;fieldNum,
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.1007">getField</a>(int&nbsp;fieldNum,
                               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
                               char&nbsp;delim,
                               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;def)</pre>
@@ -1304,7 +1347,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>toString</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.1028">toString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.1032">toString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
 <div class="block">Calls <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang"><code>Object.toString()</code></a> on the specified object if it's not null.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1320,7 +1363,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>fromHexToUTF8</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.1038">fromHexToUTF8</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hex)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.1042">fromHexToUTF8</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hex)</pre>
 <div class="block">Converts a hexadecimal byte stream (e.g. "34A5BC") into a UTF-8 encoded string.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1336,7 +1379,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>toHex</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.1055">toHex</a>(byte[]&nbsp;bytes)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.1059">toHex</a>(byte[]&nbsp;bytes)</pre>
 <div class="block">Converts a byte array into a simple hexadecimal character string.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1352,7 +1395,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>fromHex</h4>
-<pre>public static&nbsp;byte[]&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.1070">fromHex</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hex)</pre>
+<pre>public static&nbsp;byte[]&nbsp;<a href="../../../../src-html/org/apache/juneau/internal/StringUtils.html#line.1074">fromHex</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hex)</pre>
 <div class="block">Converts a hexadecimal character string to a byte array.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1368,7 +1411,7 @@ extends <a hre

<TRUNCATED>


[16/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/RestContext.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RestContext.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RestContext.html
index d1723e2..c528ee4 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/RestContext.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RestContext.html
@@ -21,1508 +21,1503 @@
 <span class="sourceLineNo">013</span>package org.apache.juneau.rest;<a name="line.13"></a>
 <span class="sourceLineNo">014</span><a name="line.14"></a>
 <span class="sourceLineNo">015</span>import static javax.servlet.http.HttpServletResponse.*;<a name="line.15"></a>
-<span class="sourceLineNo">016</span><a name="line.16"></a>
-<span class="sourceLineNo">017</span>import java.io.*;<a name="line.17"></a>
-<span class="sourceLineNo">018</span>import java.lang.reflect.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span>import java.util.*;<a name="line.19"></a>
-<span class="sourceLineNo">020</span>import java.util.concurrent.*;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import java.util.concurrent.atomic.*;<a name="line.21"></a>
-<span class="sourceLineNo">022</span><a name="line.22"></a>
-<span class="sourceLineNo">023</span>import javax.activation.*;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import javax.servlet.*;<a name="line.24"></a>
-<span class="sourceLineNo">025</span><a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.juneau.*;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.juneau.encoders.*;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.juneau.ini.*;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.juneau.internal.*;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.juneau.json.*;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.juneau.parser.*;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.juneau.rest.annotation.*;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.juneau.rest.vars.*;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.juneau.serializer.*;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.juneau.svl.*;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.juneau.urlencoding.*;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.juneau.utils.*;<a name="line.37"></a>
-<span class="sourceLineNo">038</span><a name="line.38"></a>
-<span class="sourceLineNo">039</span>/**<a name="line.39"></a>
-<span class="sourceLineNo">040</span> * Contains all the configuration on a REST resource and the entry points for handling REST calls.<a name="line.40"></a>
-<span class="sourceLineNo">041</span> * &lt;p&gt;<a name="line.41"></a>
-<span class="sourceLineNo">042</span> * See {@link PropertyStore} for more information about context properties.<a name="line.42"></a>
-<span class="sourceLineNo">043</span> */<a name="line.43"></a>
-<span class="sourceLineNo">044</span>public final class RestContext extends Context {<a name="line.44"></a>
-<span class="sourceLineNo">045</span><a name="line.45"></a>
-<span class="sourceLineNo">046</span>   /**<a name="line.46"></a>
-<span class="sourceLineNo">047</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Enable header URL parameters.<a name="line.47"></a>
-<span class="sourceLineNo">048</span>    * &lt;p&gt;<a name="line.48"></a>
-<span class="sourceLineNo">049</span>    * &lt;ul&gt;<a name="line.49"></a>
-<span class="sourceLineNo">050</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.allowHeaderParams"&lt;/js&gt;<a name="line.50"></a>
-<span class="sourceLineNo">051</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;Boolean&lt;/code&gt;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a name="line.52"></a>
-<span class="sourceLineNo">053</span>    * &lt;/ul&gt;<a name="line.53"></a>
-<span class="sourceLineNo">054</span>    * &lt;p&gt;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>    * When enabled, headers such as &lt;js&gt;"Accept"&lt;/js&gt; and &lt;js&gt;"Content-Type"&lt;/js&gt; to be passed in as URL query parameters.<a name="line.55"></a>
-<span class="sourceLineNo">056</span>    * For example:  &lt;js&gt;"?Accept=text/json&amp;amp;Content-Type=text/json"&lt;/js&gt;<a name="line.56"></a>
-<span class="sourceLineNo">057</span>    * &lt;p&gt;<a name="line.57"></a>
-<span class="sourceLineNo">058</span>    * Parameter names are case-insensitive.<a name="line.58"></a>
+<span class="sourceLineNo">016</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.io.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.lang.reflect.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.lang.reflect.Method;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.util.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.util.concurrent.*;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import java.util.concurrent.atomic.*;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>import javax.activation.*;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import javax.servlet.*;<a name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.juneau.*;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.juneau.encoders.*;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.juneau.ini.*;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.juneau.internal.*;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.juneau.json.*;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.juneau.parser.*;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.juneau.rest.annotation.*;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.juneau.rest.vars.*;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.juneau.serializer.*;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.juneau.svl.*;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.juneau.urlencoding.*;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.juneau.utils.*;<a name="line.39"></a>
+<span class="sourceLineNo">040</span><a name="line.40"></a>
+<span class="sourceLineNo">041</span>/**<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * Contains all the configuration on a REST resource and the entry points for handling REST calls.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * &lt;p&gt;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * See {@link PropertyStore} for more information about context properties.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> */<a name="line.45"></a>
+<span class="sourceLineNo">046</span>public final class RestContext extends Context {<a name="line.46"></a>
+<span class="sourceLineNo">047</span><a name="line.47"></a>
+<span class="sourceLineNo">048</span>   /**<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Enable header URL parameters.<a name="line.49"></a>
+<span class="sourceLineNo">050</span>    * &lt;p&gt;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    * &lt;ul&gt;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.allowHeaderParams"&lt;/js&gt;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;Boolean&lt;/code&gt;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>    * &lt;/ul&gt;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    * &lt;p&gt;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    * When enabled, headers such as &lt;js&gt;"Accept"&lt;/js&gt; and &lt;js&gt;"Content-Type"&lt;/js&gt; to be passed in as URL query parameters.<a name="line.57"></a>
+<span class="sourceLineNo">058</span>    * For example:  &lt;js&gt;"?Accept=text/json&amp;amp;Content-Type=text/json"&lt;/js&gt;<a name="line.58"></a>
 <span class="sourceLineNo">059</span>    * &lt;p&gt;<a name="line.59"></a>
-<span class="sourceLineNo">060</span>    * Useful for debugging REST interface using only a browser.<a name="line.60"></a>
+<span class="sourceLineNo">060</span>    * Parameter names are case-insensitive.<a name="line.60"></a>
 <span class="sourceLineNo">061</span>    * &lt;p&gt;<a name="line.61"></a>
-<span class="sourceLineNo">062</span>    * Applicable to servlet class only.<a name="line.62"></a>
-<span class="sourceLineNo">063</span>    */<a name="line.63"></a>
-<span class="sourceLineNo">064</span>   public static final String REST_allowHeaderParams = "RestServlet.allowHeaderParams";<a name="line.64"></a>
-<span class="sourceLineNo">065</span><a name="line.65"></a>
-<span class="sourceLineNo">066</span>   /**<a name="line.66"></a>
-<span class="sourceLineNo">067</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Enable &lt;js&gt;"method"&lt;/js&gt; URL parameter for specific HTTP methods.<a name="line.67"></a>
-<span class="sourceLineNo">068</span>    * &lt;p&gt;<a name="line.68"></a>
-<span class="sourceLineNo">069</span>    * &lt;ul&gt;<a name="line.69"></a>
-<span class="sourceLineNo">070</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.allowMethodParam"&lt;/js&gt;<a name="line.70"></a>
-<span class="sourceLineNo">071</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;String&lt;/code&gt;<a name="line.71"></a>
-<span class="sourceLineNo">072</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;js&gt;""&lt;/js&gt;<a name="line.72"></a>
-<span class="sourceLineNo">073</span>    * &lt;/ul&gt;<a name="line.73"></a>
-<span class="sourceLineNo">074</span>    * &lt;p&gt;<a name="line.74"></a>
-<span class="sourceLineNo">075</span>    * When specified, the HTTP method can be overridden by passing in a &lt;js&gt;"method"&lt;/js&gt; URL parameter on a regular GET request.<a name="line.75"></a>
-<span class="sourceLineNo">076</span>    * For example:  &lt;js&gt;"?method=OPTIONS"&lt;/js&gt;<a name="line.76"></a>
-<span class="sourceLineNo">077</span>    * &lt;p&gt;<a name="line.77"></a>
-<span class="sourceLineNo">078</span>    * Format is a comma-delimited list of HTTP method names that can be passed in as a method parameter.<a name="line.78"></a>
-<span class="sourceLineNo">079</span>    * Parameter name is case-insensitive.<a name="line.79"></a>
-<span class="sourceLineNo">080</span>    * Use "*" to represent all methods.<a name="line.80"></a>
-<span class="sourceLineNo">081</span>    * For backwards compatibility, "true" also means "*".<a name="line.81"></a>
-<span class="sourceLineNo">082</span>    * &lt;p&gt;<a name="line.82"></a>
-<span class="sourceLineNo">083</span>    * Note that per the &lt;a class="doclink" href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html"&gt;HTTP specification&lt;/a&gt;, special care should<a name="line.83"></a>
-<span class="sourceLineNo">084</span>    *    be taken when allowing non-safe (POST, PUT, DELETE) methods to be invoked through GET requests.<a name="line.84"></a>
-<span class="sourceLineNo">085</span>    * &lt;p&gt;<a name="line.85"></a>
-<span class="sourceLineNo">086</span>    * Applicable to servlet class only.<a name="line.86"></a>
+<span class="sourceLineNo">062</span>    * Useful for debugging REST interface using only a browser.<a name="line.62"></a>
+<span class="sourceLineNo">063</span>    * &lt;p&gt;<a name="line.63"></a>
+<span class="sourceLineNo">064</span>    * Applicable to servlet class only.<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    */<a name="line.65"></a>
+<span class="sourceLineNo">066</span>   public static final String REST_allowHeaderParams = "RestServlet.allowHeaderParams";<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span>   /**<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Enable &lt;js&gt;"method"&lt;/js&gt; URL parameter for specific HTTP methods.<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    * &lt;p&gt;<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    * &lt;ul&gt;<a name="line.71"></a>
+<span class="sourceLineNo">072</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.allowMethodParam"&lt;/js&gt;<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;String&lt;/code&gt;<a name="line.73"></a>
+<span class="sourceLineNo">074</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;js&gt;""&lt;/js&gt;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>    * &lt;/ul&gt;<a name="line.75"></a>
+<span class="sourceLineNo">076</span>    * &lt;p&gt;<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    * When specified, the HTTP method can be overridden by passing in a &lt;js&gt;"method"&lt;/js&gt; URL parameter on a regular GET request.<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    * For example:  &lt;js&gt;"?method=OPTIONS"&lt;/js&gt;<a name="line.78"></a>
+<span class="sourceLineNo">079</span>    * &lt;p&gt;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>    * Format is a comma-delimited list of HTTP method names that can be passed in as a method parameter.<a name="line.80"></a>
+<span class="sourceLineNo">081</span>    * Parameter name is case-insensitive.<a name="line.81"></a>
+<span class="sourceLineNo">082</span>    * Use "*" to represent all methods.<a name="line.82"></a>
+<span class="sourceLineNo">083</span>    * For backwards compatibility, "true" also means "*".<a name="line.83"></a>
+<span class="sourceLineNo">084</span>    * &lt;p&gt;<a name="line.84"></a>
+<span class="sourceLineNo">085</span>    * Note that per the &lt;a class="doclink" href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html"&gt;HTTP specification&lt;/a&gt;, special care should<a name="line.85"></a>
+<span class="sourceLineNo">086</span>    *    be taken when allowing non-safe (POST, PUT, DELETE) methods to be invoked through GET requests.<a name="line.86"></a>
 <span class="sourceLineNo">087</span>    * &lt;p&gt;<a name="line.87"></a>
-<span class="sourceLineNo">088</span>    * Example: &lt;js&gt;"HEAD,OPTIONS"&lt;/js&gt;<a name="line.88"></a>
-<span class="sourceLineNo">089</span>    */<a name="line.89"></a>
-<span class="sourceLineNo">090</span>   public static final String REST_allowMethodParam = "RestServlet.allowMethodParam";<a name="line.90"></a>
-<span class="sourceLineNo">091</span><a name="line.91"></a>
-<span class="sourceLineNo">092</span>   /**<a name="line.92"></a>
-<span class="sourceLineNo">093</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Enable &lt;js&gt;"body"&lt;/js&gt; URL parameter.<a name="line.93"></a>
-<span class="sourceLineNo">094</span>    * &lt;p&gt;<a name="line.94"></a>
-<span class="sourceLineNo">095</span>    * &lt;ul&gt;<a name="line.95"></a>
-<span class="sourceLineNo">096</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.allowBodyParam"&lt;/js&gt;<a name="line.96"></a>
-<span class="sourceLineNo">097</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;Boolean&lt;/code&gt;<a name="line.97"></a>
-<span class="sourceLineNo">098</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a name="line.98"></a>
-<span class="sourceLineNo">099</span>    * &lt;/ul&gt;<a name="line.99"></a>
-<span class="sourceLineNo">100</span>    * &lt;p&gt;<a name="line.100"></a>
-<span class="sourceLineNo">101</span>    * When enabled, the HTTP body content on PUT and POST requests can be passed in as text using the &lt;js&gt;"body"&lt;/js&gt; URL parameter.<a name="line.101"></a>
-<span class="sourceLineNo">102</span>    * For example:  &lt;js&gt;"?body={name:'John%20Smith',age:45}"&lt;/js&gt;<a name="line.102"></a>
-<span class="sourceLineNo">103</span>    * &lt;p&gt;<a name="line.103"></a>
-<span class="sourceLineNo">104</span>    * Parameter name is case-insensitive.<a name="line.104"></a>
+<span class="sourceLineNo">088</span>    * Applicable to servlet class only.<a name="line.88"></a>
+<span class="sourceLineNo">089</span>    * &lt;p&gt;<a name="line.89"></a>
+<span class="sourceLineNo">090</span>    * Example: &lt;js&gt;"HEAD,OPTIONS"&lt;/js&gt;<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    */<a name="line.91"></a>
+<span class="sourceLineNo">092</span>   public static final String REST_allowMethodParam = "RestServlet.allowMethodParam";<a name="line.92"></a>
+<span class="sourceLineNo">093</span><a name="line.93"></a>
+<span class="sourceLineNo">094</span>   /**<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Enable &lt;js&gt;"body"&lt;/js&gt; URL parameter.<a name="line.95"></a>
+<span class="sourceLineNo">096</span>    * &lt;p&gt;<a name="line.96"></a>
+<span class="sourceLineNo">097</span>    * &lt;ul&gt;<a name="line.97"></a>
+<span class="sourceLineNo">098</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.allowBodyParam"&lt;/js&gt;<a name="line.98"></a>
+<span class="sourceLineNo">099</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;Boolean&lt;/code&gt;<a name="line.99"></a>
+<span class="sourceLineNo">100</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a name="line.100"></a>
+<span class="sourceLineNo">101</span>    * &lt;/ul&gt;<a name="line.101"></a>
+<span class="sourceLineNo">102</span>    * &lt;p&gt;<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    * When enabled, the HTTP body content on PUT and POST requests can be passed in as text using the &lt;js&gt;"body"&lt;/js&gt; URL parameter.<a name="line.103"></a>
+<span class="sourceLineNo">104</span>    * For example:  &lt;js&gt;"?body={name:'John%20Smith',age:45}"&lt;/js&gt;<a name="line.104"></a>
 <span class="sourceLineNo">105</span>    * &lt;p&gt;<a name="line.105"></a>
-<span class="sourceLineNo">106</span>    * Useful for debugging PUT and POST methods using only a browser.<a name="line.106"></a>
+<span class="sourceLineNo">106</span>    * Parameter name is case-insensitive.<a name="line.106"></a>
 <span class="sourceLineNo">107</span>    * &lt;p&gt;<a name="line.107"></a>
-<span class="sourceLineNo">108</span>    * Applicable to servlet class only.<a name="line.108"></a>
-<span class="sourceLineNo">109</span>    */<a name="line.109"></a>
-<span class="sourceLineNo">110</span>   public static final String REST_allowBodyParam = "RestServlet.allowBodyParam";<a name="line.110"></a>
-<span class="sourceLineNo">111</span><a name="line.111"></a>
-<span class="sourceLineNo">112</span>   /**<a name="line.112"></a>
-<span class="sourceLineNo">113</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Render stack traces.<a name="line.113"></a>
-<span class="sourceLineNo">114</span>    * &lt;p&gt;<a name="line.114"></a>
-<span class="sourceLineNo">115</span>    * &lt;ul&gt;<a name="line.115"></a>
-<span class="sourceLineNo">116</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.renderResponseStackTraces"&lt;/js&gt;<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;Boolean&lt;/code&gt;<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a name="line.118"></a>
-<span class="sourceLineNo">119</span>    * &lt;/ul&gt;<a name="line.119"></a>
-<span class="sourceLineNo">120</span>    * &lt;p&gt;<a name="line.120"></a>
-<span class="sourceLineNo">121</span>    * Render stack traces in HTTP response bodies when errors occur.<a name="line.121"></a>
+<span class="sourceLineNo">108</span>    * Useful for debugging PUT and POST methods using only a browser.<a name="line.108"></a>
+<span class="sourceLineNo">109</span>    * &lt;p&gt;<a name="line.109"></a>
+<span class="sourceLineNo">110</span>    * Applicable to servlet class only.<a name="line.110"></a>
+<span class="sourceLineNo">111</span>    */<a name="line.111"></a>
+<span class="sourceLineNo">112</span>   public static final String REST_allowBodyParam = "RestServlet.allowBodyParam";<a name="line.112"></a>
+<span class="sourceLineNo">113</span><a name="line.113"></a>
+<span class="sourceLineNo">114</span>   /**<a name="line.114"></a>
+<span class="sourceLineNo">115</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Render stack traces.<a name="line.115"></a>
+<span class="sourceLineNo">116</span>    * &lt;p&gt;<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    * &lt;ul&gt;<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.renderResponseStackTraces"&lt;/js&gt;<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;Boolean&lt;/code&gt;<a name="line.119"></a>
+<span class="sourceLineNo">120</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    * &lt;/ul&gt;<a name="line.121"></a>
 <span class="sourceLineNo">122</span>    * &lt;p&gt;<a name="line.122"></a>
-<span class="sourceLineNo">123</span>    * When enabled, Java stack traces will be rendered in the output response.<a name="line.123"></a>
-<span class="sourceLineNo">124</span>    * Useful for debugging, although allowing stack traces to be rendered may cause security concerns.<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    * &lt;p&gt;<a name="line.125"></a>
-<span class="sourceLineNo">126</span>    * Applicable to servlet class only.<a name="line.126"></a>
-<span class="sourceLineNo">127</span>    */<a name="line.127"></a>
-<span class="sourceLineNo">128</span>   public static final String REST_renderResponseStackTraces = "RestServlet.renderResponseStackTraces";<a name="line.128"></a>
-<span class="sourceLineNo">129</span><a name="line.129"></a>
-<span class="sourceLineNo">130</span>   /**<a name="line.130"></a>
-<span class="sourceLineNo">131</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Use stack trace hashes.<a name="line.131"></a>
-<span class="sourceLineNo">132</span>    * &lt;p&gt;<a name="line.132"></a>
-<span class="sourceLineNo">133</span>    * &lt;ul&gt;<a name="line.133"></a>
-<span class="sourceLineNo">134</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.useStackTraceHashes"&lt;/js&gt;<a name="line.134"></a>
-<span class="sourceLineNo">135</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;Boolean&lt;/code&gt;<a name="line.135"></a>
-<span class="sourceLineNo">136</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a name="line.136"></a>
-<span class="sourceLineNo">137</span>    * &lt;/ul&gt;<a name="line.137"></a>
-<span class="sourceLineNo">138</span>    * &lt;p&gt;<a name="line.138"></a>
-<span class="sourceLineNo">139</span>    * When enabled, the number of times an exception has occurred will be determined based on stack trace hashsums,<a name="line.139"></a>
-<span class="sourceLineNo">140</span>    *    made available through the {@link RestException#getOccurrence()} method.<a name="line.140"></a>
-<span class="sourceLineNo">141</span>    * &lt;p&gt;<a name="line.141"></a>
-<span class="sourceLineNo">142</span>    * Applicable to servlet class only.<a name="line.142"></a>
-<span class="sourceLineNo">143</span>    */<a name="line.143"></a>
-<span class="sourceLineNo">144</span>   public static final String REST_useStackTraceHashes = "RestServlet.useStackTraceHashes";<a name="line.144"></a>
-<span class="sourceLineNo">145</span><a name="line.145"></a>
-<span class="sourceLineNo">146</span>   /**<a name="line.146"></a>
-<span class="sourceLineNo">147</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Default character encoding.<a name="line.147"></a>
-<span class="sourceLineNo">148</span>    * &lt;p&gt;<a name="line.148"></a>
-<span class="sourceLineNo">149</span>    * &lt;ul&gt;<a name="line.149"></a>
-<span class="sourceLineNo">150</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.defaultCharset"&lt;/js&gt;<a name="line.150"></a>
-<span class="sourceLineNo">151</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;String&lt;/code&gt;<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;js&gt;"utf-8"&lt;/js&gt;<a name="line.152"></a>
-<span class="sourceLineNo">153</span>    * &lt;/ul&gt;<a name="line.153"></a>
-<span class="sourceLineNo">154</span>    * &lt;p&gt;<a name="line.154"></a>
-<span class="sourceLineNo">155</span>    * The default character encoding for the request and response if not specified on the request.<a name="line.155"></a>
+<span class="sourceLineNo">123</span>    * Render stack traces in HTTP response bodies when errors occur.<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    * &lt;p&gt;<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    * When enabled, Java stack traces will be rendered in the output response.<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    * Useful for debugging, although allowing stack traces to be rendered may cause security concerns.<a name="line.126"></a>
+<span class="sourceLineNo">127</span>    * &lt;p&gt;<a name="line.127"></a>
+<span class="sourceLineNo">128</span>    * Applicable to servlet class only.<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    */<a name="line.129"></a>
+<span class="sourceLineNo">130</span>   public static final String REST_renderResponseStackTraces = "RestServlet.renderResponseStackTraces";<a name="line.130"></a>
+<span class="sourceLineNo">131</span><a name="line.131"></a>
+<span class="sourceLineNo">132</span>   /**<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Use stack trace hashes.<a name="line.133"></a>
+<span class="sourceLineNo">134</span>    * &lt;p&gt;<a name="line.134"></a>
+<span class="sourceLineNo">135</span>    * &lt;ul&gt;<a name="line.135"></a>
+<span class="sourceLineNo">136</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.useStackTraceHashes"&lt;/js&gt;<a name="line.136"></a>
+<span class="sourceLineNo">137</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;Boolean&lt;/code&gt;<a name="line.137"></a>
+<span class="sourceLineNo">138</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    * &lt;/ul&gt;<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    * &lt;p&gt;<a name="line.140"></a>
+<span class="sourceLineNo">141</span>    * When enabled, the number of times an exception has occurred will be determined based on stack trace hashsums,<a name="line.141"></a>
+<span class="sourceLineNo">142</span>    *    made available through the {@link RestException#getOccurrence()} method.<a name="line.142"></a>
+<span class="sourceLineNo">143</span>    * &lt;p&gt;<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    * Applicable to servlet class only.<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    */<a name="line.145"></a>
+<span class="sourceLineNo">146</span>   public static final String REST_useStackTraceHashes = "RestServlet.useStackTraceHashes";<a name="line.146"></a>
+<span class="sourceLineNo">147</span><a name="line.147"></a>
+<span class="sourceLineNo">148</span>   /**<a name="line.148"></a>
+<span class="sourceLineNo">149</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Default character encoding.<a name="line.149"></a>
+<span class="sourceLineNo">150</span>    * &lt;p&gt;<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    * &lt;ul&gt;<a name="line.151"></a>
+<span class="sourceLineNo">152</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.defaultCharset"&lt;/js&gt;<a name="line.152"></a>
+<span class="sourceLineNo">153</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;String&lt;/code&gt;<a name="line.153"></a>
+<span class="sourceLineNo">154</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;js&gt;"utf-8"&lt;/js&gt;<a name="line.154"></a>
+<span class="sourceLineNo">155</span>    * &lt;/ul&gt;<a name="line.155"></a>
 <span class="sourceLineNo">156</span>    * &lt;p&gt;<a name="line.156"></a>
-<span class="sourceLineNo">157</span>    * Applicable to servlet class and methods.<a name="line.157"></a>
-<span class="sourceLineNo">158</span>    */<a name="line.158"></a>
-<span class="sourceLineNo">159</span>   public static final String REST_defaultCharset = "RestServlet.defaultCharset";<a name="line.159"></a>
-<span class="sourceLineNo">160</span><a name="line.160"></a>
-<span class="sourceLineNo">161</span>   /**<a name="line.161"></a>
-<span class="sourceLineNo">162</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Expected format of request parameters.<a name="line.162"></a>
-<span class="sourceLineNo">163</span>    * &lt;p&gt;<a name="line.163"></a>
-<span class="sourceLineNo">164</span>    * &lt;ul&gt;<a name="line.164"></a>
-<span class="sourceLineNo">165</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.paramFormat"&lt;/js&gt;<a name="line.165"></a>
-<span class="sourceLineNo">166</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;String&lt;/code&gt;<a name="line.166"></a>
-<span class="sourceLineNo">167</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;js&gt;"UON"&lt;/js&gt;<a name="line.167"></a>
-<span class="sourceLineNo">168</span>    * &lt;/ul&gt;<a name="line.168"></a>
-<span class="sourceLineNo">169</span>    * &lt;p&gt;<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    * Possible values:<a name="line.170"></a>
-<span class="sourceLineNo">171</span>    * &lt;ul class='spaced-list'&gt;<a name="line.171"></a>
-<span class="sourceLineNo">172</span>    *    &lt;li&gt;&lt;js&gt;"UON"&lt;/js&gt; - URL-Encoded Object Notation.&lt;br&gt;<a name="line.172"></a>
-<span class="sourceLineNo">173</span>    *       This notation allows for request parameters to contain arbitrarily complex POJOs.<a name="line.173"></a>
-<span class="sourceLineNo">174</span>    *    &lt;li&gt;&lt;js&gt;"PLAIN"&lt;/js&gt; - Plain text.&lt;br&gt;<a name="line.174"></a>
-<span class="sourceLineNo">175</span>    *       This treats request parameters as plain text.&lt;br&gt;<a name="line.175"></a>
-<span class="sourceLineNo">176</span>    *       Only POJOs directly convertable from &lt;l&gt;Strings&lt;/l&gt; can be represented in parameters when using this mode.<a name="line.176"></a>
-<span class="sourceLineNo">177</span>    * &lt;/ul&gt;<a name="line.177"></a>
-<span class="sourceLineNo">178</span>    * &lt;p&gt;<a name="line.178"></a>
-<span class="sourceLineNo">179</span>    * Note that the parameter value &lt;js&gt;"(foo)"&lt;/js&gt; is interpreted as &lt;js&gt;"(foo)"&lt;/js&gt; when using plain mode, but<a name="line.179"></a>
-<span class="sourceLineNo">180</span>    *    &lt;js&gt;"foo"&lt;/js&gt; when using UON mode.<a name="line.180"></a>
-<span class="sourceLineNo">181</span>    * &lt;p&gt;<a name="line.181"></a>
-<span class="sourceLineNo">182</span>    * The format can also be specified per-parameter using the {@link FormData#format() @FormData.format()} and {@link Query#format() @Query.format()}<a name="line.182"></a>
-<span class="sourceLineNo">183</span>    *    annotations.<a name="line.183"></a>
-<span class="sourceLineNo">184</span>    * &lt;p&gt;<a name="line.184"></a>
-<span class="sourceLineNo">185</span>    * Applicable to servlet class and methods.<a name="line.185"></a>
-<span class="sourceLineNo">186</span>    */<a name="line.186"></a>
-<span class="sourceLineNo">187</span>   public static final String REST_paramFormat = "RestServlet.paramFormat";<a name="line.187"></a>
-<span class="sourceLineNo">188</span><a name="line.188"></a>
-<span class="sourceLineNo">189</span><a name="line.189"></a>
-<span class="sourceLineNo">190</span>   //--------------------------------------------------------------------------------<a name="line.190"></a>
-<span class="sourceLineNo">191</span>   // Automatically added properties.<a name="line.191"></a>
+<span class="sourceLineNo">157</span>    * The default character encoding for the request and response if not specified on the request.<a name="line.157"></a>
+<span class="sourceLineNo">158</span>    * &lt;p&gt;<a name="line.158"></a>
+<span class="sourceLineNo">159</span>    * Applicable to servlet class and methods.<a name="line.159"></a>
+<span class="sourceLineNo">160</span>    */<a name="line.160"></a>
+<span class="sourceLineNo">161</span>   public static final String REST_defaultCharset = "RestServlet.defaultCharset";<a name="line.161"></a>
+<span class="sourceLineNo">162</span><a name="line.162"></a>
+<span class="sourceLineNo">163</span>   /**<a name="line.163"></a>
+<span class="sourceLineNo">164</span>    * &lt;b&gt;Configuration property:&lt;/b&gt;  Expected format of request parameters.<a name="line.164"></a>
+<span class="sourceLineNo">165</span>    * &lt;p&gt;<a name="line.165"></a>
+<span class="sourceLineNo">166</span>    * &lt;ul&gt;<a name="line.166"></a>
+<span class="sourceLineNo">167</span>    *    &lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"RestServlet.paramFormat"&lt;/js&gt;<a name="line.167"></a>
+<span class="sourceLineNo">168</span>    *    &lt;li&gt;&lt;b&gt;Data type:&lt;/b&gt; &lt;code&gt;String&lt;/code&gt;<a name="line.168"></a>
+<span class="sourceLineNo">169</span>    *    &lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;js&gt;"UON"&lt;/js&gt;<a name="line.169"></a>
+<span class="sourceLineNo">170</span>    * &lt;/ul&gt;<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    * &lt;p&gt;<a name="line.171"></a>
+<span class="sourceLineNo">172</span>    * Possible values:<a name="line.172"></a>
+<span class="sourceLineNo">173</span>    * &lt;ul class='spaced-list'&gt;<a name="line.173"></a>
+<span class="sourceLineNo">174</span>    *    &lt;li&gt;&lt;js&gt;"UON"&lt;/js&gt; - URL-Encoded Object Notation.&lt;br&gt;<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    *       This notation allows for request parameters to contain arbitrarily complex POJOs.<a name="line.175"></a>
+<span class="sourceLineNo">176</span>    *    &lt;li&gt;&lt;js&gt;"PLAIN"&lt;/js&gt; - Plain text.&lt;br&gt;<a name="line.176"></a>
+<span class="sourceLineNo">177</span>    *       This treats request parameters as plain text.&lt;br&gt;<a name="line.177"></a>
+<span class="sourceLineNo">178</span>    *       Only POJOs directly convertable from &lt;l&gt;Strings&lt;/l&gt; can be represented in parameters when using this mode.<a name="line.178"></a>
+<span class="sourceLineNo">179</span>    * &lt;/ul&gt;<a name="line.179"></a>
+<span class="sourceLineNo">180</span>    * &lt;p&gt;<a name="line.180"></a>
+<span class="sourceLineNo">181</span>    * Note that the parameter value &lt;js&gt;"(foo)"&lt;/js&gt; is interpreted as &lt;js&gt;"(foo)"&lt;/js&gt; when using plain mode, but<a name="line.181"></a>
+<span class="sourceLineNo">182</span>    *    &lt;js&gt;"foo"&lt;/js&gt; when using UON mode.<a name="line.182"></a>
+<span class="sourceLineNo">183</span>    * &lt;p&gt;<a name="line.183"></a>
+<span class="sourceLineNo">184</span>    * The format can also be specified per-parameter using the {@link FormData#format() @FormData.format()} and {@link Query#format() @Query.format()}<a name="line.184"></a>
+<span class="sourceLineNo">185</span>    *    annotations.<a name="line.185"></a>
+<span class="sourceLineNo">186</span>    * &lt;p&gt;<a name="line.186"></a>
+<span class="sourceLineNo">187</span>    * Applicable to servlet class and methods.<a name="line.187"></a>
+<span class="sourceLineNo">188</span>    */<a name="line.188"></a>
+<span class="sourceLineNo">189</span>   public static final String REST_paramFormat = "RestServlet.paramFormat";<a name="line.189"></a>
+<span class="sourceLineNo">190</span><a name="line.190"></a>
+<span class="sourceLineNo">191</span><a name="line.191"></a>
 <span class="sourceLineNo">192</span>   //--------------------------------------------------------------------------------<a name="line.192"></a>
-<span class="sourceLineNo">193</span><a name="line.193"></a>
-<span class="sourceLineNo">194</span>   /**<a name="line.194"></a>
-<span class="sourceLineNo">195</span>    * The request servlet path.<a name="line.195"></a>
-<span class="sourceLineNo">196</span>    * &lt;p&gt;<a name="line.196"></a>
-<span class="sourceLineNo">197</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.197"></a>
+<span class="sourceLineNo">193</span>   // Automatically added properties.<a name="line.193"></a>
+<span class="sourceLineNo">194</span>   //--------------------------------------------------------------------------------<a name="line.194"></a>
+<span class="sourceLineNo">195</span><a name="line.195"></a>
+<span class="sourceLineNo">196</span>   /**<a name="line.196"></a>
+<span class="sourceLineNo">197</span>    * The request servlet path.<a name="line.197"></a>
 <span class="sourceLineNo">198</span>    * &lt;p&gt;<a name="line.198"></a>
-<span class="sourceLineNo">199</span>    * Equivalent to the value returned by {@link RestRequest#getServletPath()}<a name="line.199"></a>
-<span class="sourceLineNo">200</span>    */<a name="line.200"></a>
-<span class="sourceLineNo">201</span>   public static final String REST_servletPath = "RestServlet.servletPath";<a name="line.201"></a>
-<span class="sourceLineNo">202</span><a name="line.202"></a>
-<span class="sourceLineNo">203</span>   /**<a name="line.203"></a>
-<span class="sourceLineNo">204</span>    * The request servlet URI.<a name="line.204"></a>
-<span class="sourceLineNo">205</span>    * &lt;p&gt;<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    * Equivalent to the value returned by {@link RestRequest#getServletURI()}<a name="line.206"></a>
-<span class="sourceLineNo">207</span>    */<a name="line.207"></a>
-<span class="sourceLineNo">208</span>   public static final String REST_servletURI = "RestServlet.servletURI";<a name="line.208"></a>
-<span class="sourceLineNo">209</span><a name="line.209"></a>
-<span class="sourceLineNo">210</span>   /**<a name="line.210"></a>
-<span class="sourceLineNo">211</span>    * The request servlet URI.<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    * &lt;p&gt;<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    * Equivalent to the value returned by {@link RestRequest#getRelativeServletURI()}<a name="line.213"></a>
-<span class="sourceLineNo">214</span>    */<a name="line.214"></a>
-<span class="sourceLineNo">215</span>   public static final String REST_relativeServletURI = "RestServlet.relativeServletURI";<a name="line.215"></a>
-<span class="sourceLineNo">216</span><a name="line.216"></a>
-<span class="sourceLineNo">217</span>   /**<a name="line.217"></a>
-<span class="sourceLineNo">218</span>    * The request URI path info.<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    * &lt;p&gt;<a name="line.219"></a>
-<span class="sourceLineNo">220</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.220"></a>
+<span class="sourceLineNo">199</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.199"></a>
+<span class="sourceLineNo">200</span>    * &lt;p&gt;<a name="line.200"></a>
+<span class="sourceLineNo">201</span>    * Equivalent to the value returned by {@link RestRequest#getServletPath()}<a name="line.201"></a>
+<span class="sourceLineNo">202</span>    */<a name="line.202"></a>
+<span class="sourceLineNo">203</span>   public static final String REST_servletPath = "RestServlet.servletPath";<a name="line.203"></a>
+<span class="sourceLineNo">204</span><a name="line.204"></a>
+<span class="sourceLineNo">205</span>   /**<a name="line.205"></a>
+<span class="sourceLineNo">206</span>    * The request servlet URI.<a name="line.206"></a>
+<span class="sourceLineNo">207</span>    * &lt;p&gt;<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    * Equivalent to the value returned by {@link RestRequest#getServletURI()}<a name="line.208"></a>
+<span class="sourceLineNo">209</span>    */<a name="line.209"></a>
+<span class="sourceLineNo">210</span>   public static final String REST_servletURI = "RestServlet.servletURI";<a name="line.210"></a>
+<span class="sourceLineNo">211</span><a name="line.211"></a>
+<span class="sourceLineNo">212</span>   /**<a name="line.212"></a>
+<span class="sourceLineNo">213</span>    * The request servlet URI.<a name="line.213"></a>
+<span class="sourceLineNo">214</span>    * &lt;p&gt;<a name="line.214"></a>
+<span class="sourceLineNo">215</span>    * Equivalent to the value returned by {@link RestRequest#getRelativeServletURI()}<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    */<a name="line.216"></a>
+<span class="sourceLineNo">217</span>   public static final String REST_relativeServletURI = "RestServlet.relativeServletURI";<a name="line.217"></a>
+<span class="sourceLineNo">218</span><a name="line.218"></a>
+<span class="sourceLineNo">219</span>   /**<a name="line.219"></a>
+<span class="sourceLineNo">220</span>    * The request URI path info.<a name="line.220"></a>
 <span class="sourceLineNo">221</span>    * &lt;p&gt;<a name="line.221"></a>
-<span class="sourceLineNo">222</span>    * Equivalent to the value returned by {@link RestRequest#getPathInfo()}<a name="line.222"></a>
-<span class="sourceLineNo">223</span>    */<a name="line.223"></a>
-<span class="sourceLineNo">224</span>   public static final String REST_pathInfo = "RestServlet.pathInfo";<a name="line.224"></a>
-<span class="sourceLineNo">225</span><a name="line.225"></a>
-<span class="sourceLineNo">226</span>   /**<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    * The request URI.<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    * &lt;p&gt;<a name="line.228"></a>
-<span class="sourceLineNo">229</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.229"></a>
+<span class="sourceLineNo">222</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.222"></a>
+<span class="sourceLineNo">223</span>    * &lt;p&gt;<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    * Equivalent to the value returned by {@link RestRequest#getPathInfo()}<a name="line.224"></a>
+<span class="sourceLineNo">225</span>    */<a name="line.225"></a>
+<span class="sourceLineNo">226</span>   public static final String REST_pathInfo = "RestServlet.pathInfo";<a name="line.226"></a>
+<span class="sourceLineNo">227</span><a name="line.227"></a>
+<span class="sourceLineNo">228</span>   /**<a name="line.228"></a>
+<span class="sourceLineNo">229</span>    * The request URI.<a name="line.229"></a>
 <span class="sourceLineNo">230</span>    * &lt;p&gt;<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    * Equivalent to the value returned by {@link RestRequest#getRequestURI()}<a name="line.231"></a>
-<span class="sourceLineNo">232</span>    */<a name="line.232"></a>
-<span class="sourceLineNo">233</span>   public static final String REST_requestURI = "RestServlet.requestURI";<a name="line.233"></a>
-<span class="sourceLineNo">234</span><a name="line.234"></a>
-<span class="sourceLineNo">235</span>   /**<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    * The request method.<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    * &lt;p&gt;<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.238"></a>
+<span class="sourceLineNo">231</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    * &lt;p&gt;<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    * Equivalent to the value returned by {@link RestRequest#getRequestURI()}<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    */<a name="line.234"></a>
+<span class="sourceLineNo">235</span>   public static final String REST_requestURI = "RestServlet.requestURI";<a name="line.235"></a>
+<span class="sourceLineNo">236</span><a name="line.236"></a>
+<span class="sourceLineNo">237</span>   /**<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    * The request method.<a name="line.238"></a>
 <span class="sourceLineNo">239</span>    * &lt;p&gt;<a name="line.239"></a>
-<span class="sourceLineNo">240</span>    * Equivalent to the value returned by {@link RestRequest#getMethod()}<a name="line.240"></a>
-<span class="sourceLineNo">241</span>    */<a name="line.241"></a>
-<span class="sourceLineNo">242</span>   public static final String REST_method = "RestServlet.method";<a name="line.242"></a>
-<span class="sourceLineNo">243</span><a name="line.243"></a>
-<span class="sourceLineNo">244</span>   /**<a name="line.244"></a>
-<span class="sourceLineNo">245</span>    * The localized servlet title.<a name="line.245"></a>
-<span class="sourceLineNo">246</span>    * &lt;p&gt;<a name="line.246"></a>
-<span class="sourceLineNo">247</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.247"></a>
+<span class="sourceLineNo">240</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    * &lt;p&gt;<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    * Equivalent to the value returned by {@link RestRequest#getMethod()}<a name="line.242"></a>
+<span class="sourceLineNo">243</span>    */<a name="line.243"></a>
+<span class="sourceLineNo">244</span>   public static final String REST_method = "RestServlet.method";<a name="line.244"></a>
+<span class="sourceLineNo">245</span><a name="line.245"></a>
+<span class="sourceLineNo">246</span>   /**<a name="line.246"></a>
+<span class="sourceLineNo">247</span>    * The localized servlet title.<a name="line.247"></a>
 <span class="sourceLineNo">248</span>    * &lt;p&gt;<a name="line.248"></a>
-<span class="sourceLineNo">249</span>    * Equivalent to the value returned by {@link RestRequest#getServletTitle()}<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    */<a name="line.250"></a>
-<span class="sourceLineNo">251</span>   public static final String REST_servletTitle = "RestServlet.servletTitle";<a name="line.251"></a>
-<span class="sourceLineNo">252</span><a name="line.252"></a>
-<span class="sourceLineNo">253</span>   /**<a name="line.253"></a>
-<span class="sourceLineNo">254</span>    * The localized servlet description.<a name="line.254"></a>
-<span class="sourceLineNo">255</span>    * &lt;p&gt;<a name="line.255"></a>
-<span class="sourceLineNo">256</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.256"></a>
+<span class="sourceLineNo">249</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.249"></a>
+<span class="sourceLineNo">250</span>    * &lt;p&gt;<a name="line.250"></a>
+<span class="sourceLineNo">251</span>    * Equivalent to the value returned by {@link RestRequest#getServletTitle()}<a name="line.251"></a>
+<span class="sourceLineNo">252</span>    */<a name="line.252"></a>
+<span class="sourceLineNo">253</span>   public static final String REST_servletTitle = "RestServlet.servletTitle";<a name="line.253"></a>
+<span class="sourceLineNo">254</span><a name="line.254"></a>
+<span class="sourceLineNo">255</span>   /**<a name="line.255"></a>
+<span class="sourceLineNo">256</span>    * The localized servlet description.<a name="line.256"></a>
 <span class="sourceLineNo">257</span>    * &lt;p&gt;<a name="line.257"></a>
-<span class="sourceLineNo">258</span>    * Equivalent to the value returned by {@link RestRequest#getServletDescription()}<a name="line.258"></a>
-<span class="sourceLineNo">259</span>    */<a name="line.259"></a>
-<span class="sourceLineNo">260</span>   public static final String REST_servletDescription = "RestServlet.servletDescription";<a name="line.260"></a>
-<span class="sourceLineNo">261</span><a name="line.261"></a>
-<span class="sourceLineNo">262</span>   /**<a name="line.262"></a>
-<span class="sourceLineNo">263</span>    * The localized method summary.<a name="line.263"></a>
-<span class="sourceLineNo">264</span>    * &lt;p&gt;<a name="line.264"></a>
-<span class="sourceLineNo">265</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.265"></a>
+<span class="sourceLineNo">258</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.258"></a>
+<span class="sourceLineNo">259</span>    * &lt;p&gt;<a name="line.259"></a>
+<span class="sourceLineNo">260</span>    * Equivalent to the value returned by {@link RestRequest#getServletDescription()}<a name="line.260"></a>
+<span class="sourceLineNo">261</span>    */<a name="line.261"></a>
+<span class="sourceLineNo">262</span>   public static final String REST_servletDescription = "RestServlet.servletDescription";<a name="line.262"></a>
+<span class="sourceLineNo">263</span><a name="line.263"></a>
+<span class="sourceLineNo">264</span>   /**<a name="line.264"></a>
+<span class="sourceLineNo">265</span>    * The localized method summary.<a name="line.265"></a>
 <span class="sourceLineNo">266</span>    * &lt;p&gt;<a name="line.266"></a>
-<span class="sourceLineNo">267</span>    * Equivalent to the value returned by {@link RestRequest#getMethodSummary()}<a name="line.267"></a>
-<span class="sourceLineNo">268</span>    */<a name="line.268"></a>
-<span class="sourceLineNo">269</span>   public static final String REST_methodSummary = "RestServlet.methodSummary";<a name="line.269"></a>
-<span class="sourceLineNo">270</span><a name="line.270"></a>
-<span class="sourceLineNo">271</span>   /**<a name="line.271"></a>
-<span class="sourceLineNo">272</span>    * The localized method description.<a name="line.272"></a>
-<span class="sourceLineNo">273</span>    * &lt;p&gt;<a name="line.273"></a>
-<span class="sourceLineNo">274</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.274"></a>
+<span class="sourceLineNo">267</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.267"></a>
+<span class="sourceLineNo">268</span>    * &lt;p&gt;<a name="line.268"></a>
+<span class="sourceLineNo">269</span>    * Equivalent to the value returned by {@link RestRequest#getMethodSummary()}<a name="line.269"></a>
+<span class="sourceLineNo">270</span>    */<a name="line.270"></a>
+<span class="sourceLineNo">271</span>   public static final String REST_methodSummary = "RestServlet.methodSummary";<a name="line.271"></a>
+<span class="sourceLineNo">272</span><a name="line.272"></a>
+<span class="sourceLineNo">273</span>   /**<a name="line.273"></a>
+<span class="sourceLineNo">274</span>    * The localized method description.<a name="line.274"></a>
 <span class="sourceLineNo">275</span>    * &lt;p&gt;<a name="line.275"></a>
-<span class="sourceLineNo">276</span>    * Equivalent to the value returned by {@link RestRequest#getMethodDescription()}<a name="line.276"></a>
-<span class="sourceLineNo">277</span>    */<a name="line.277"></a>
-<span class="sourceLineNo">278</span>   public static final String REST_methodDescription = "RestServlet.methodDescription";<a name="line.278"></a>
-<span class="sourceLineNo">279</span><a name="line.279"></a>
-<span class="sourceLineNo">280</span><a name="line.280"></a>
-<span class="sourceLineNo">281</span>   private final Object resource;<a name="line.281"></a>
-<span class="sourceLineNo">282</span>   private final RestConfig config;<a name="line.282"></a>
-<span class="sourceLineNo">283</span>   private final boolean<a name="line.283"></a>
-<span class="sourceLineNo">284</span>      allowHeaderParams,<a name="line.284"></a>
-<span class="sourceLineNo">285</span>      allowBodyParam,<a name="line.285"></a>
-<span class="sourceLineNo">286</span>      renderResponseStackTraces,<a name="line.286"></a>
-<span class="sourceLineNo">287</span>      useStackTraceHashes;<a name="line.287"></a>
-<span class="sourceLineNo">288</span>   private final String<a name="line.288"></a>
-<span class="sourceLineNo">289</span>      defaultCharset,<a name="line.289"></a>
-<span class="sourceLineNo">290</span>      paramFormat,<a name="line.290"></a>
-<span class="sourceLineNo">291</span>      clientVersionHeader,<a name="line.291"></a>
-<span class="sourceLineNo">292</span>      fullPath,<a name="line.292"></a>
-<span class="sourceLineNo">293</span>      pageTitle, pageText, pageLinks;<a name="line.293"></a>
-<span class="sourceLineNo">294</span>   private final Set&lt;String&gt; allowMethodParams;<a name="line.294"></a>
-<span class="sourceLineNo">295</span><a name="line.295"></a>
-<span class="sourceLineNo">296</span>   private final ObjectMap properties;<a name="line.296"></a>
-<span class="sourceLineNo">297</span>   private final Class&lt;?&gt;[]<a name="line.297"></a>
-<span class="sourceLineNo">298</span>      beanFilters,<a name="line.298"></a>
-<span class="sourceLineNo">299</span>      pojoSwaps;<a name="line.299"></a>
-<span class="sourceLineNo">300</span>   private final SerializerGroup serializers;<a name="line.300"></a>
-<span class="sourceLineNo">301</span>   private final ParserGroup parsers;<a name="line.301"></a>
-<span class="sourceLineNo">302</span>   private final UrlEncodingSerializer urlEncodingSerializer;<a name="line.302"></a>
-<span class="sourceLineNo">303</span>   private final UrlEncodingParser urlEncodingParser;<a name="line.303"></a>
-<span class="sourceLineNo">304</span>   private final EncoderGroup encoders;<a name="line.304"></a>
-<span class="sourceLineNo">305</span>   private final MediaType[]<a name="line.305"></a>
-<span class="sourceLineNo">306</span>      supportedContentTypes,<a name="line.306"></a>
-<span class="sourceLineNo">307</span>      supportedAcceptTypes;<a name="line.307"></a>
-<span class="sourceLineNo">308</span>   private final Map&lt;String,String&gt; defaultRequestHeaders;<a name="line.308"></a>
-<span class="sourceLineNo">309</span>   private final Map&lt;String,Object&gt; defaultResponseHeaders;<a name="line.309"></a>
-<span class="sourceLineNo">310</span>   private final BeanContext beanContext;<a name="line.310"></a>
-<span class="sourceLineNo">311</span>   private final RestConverter[] converters;<a name="line.311"></a>
-<span class="sourceLineNo">312</span>   private final RestGuard[] guards;<a name="line.312"></a>
-<span class="sourceLineNo">313</span>   private final ResponseHandler[] responseHandlers;<a name="line.313"></a>
-<span class="sourceLineNo">314</span>   private final MimetypesFileTypeMap mimetypesFileTypeMap;<a name="line.314"></a>
-<span class="sourceLineNo">315</span>   private final StreamResource styleSheet, favIcon;<a name="line.315"></a>
-<span class="sourceLineNo">316</span>   private final Map&lt;String,String&gt; staticFilesMap;<a name="line.316"></a>
-<span class="sourceLineNo">317</span>   private final String[] staticFilesPrefixes;<a name="line.317"></a>
-<span class="sourceLineNo">318</span>   private final MessageBundle msgs;<a name="line.318"></a>
-<span class="sourceLineNo">319</span>   private final ConfigFile configFile;<a name="line.319"></a>
-<span class="sourceLineNo">320</span>   private final VarResolver varResolver;<a name="line.320"></a>
-<span class="sourceLineNo">321</span>   private final Map&lt;String,CallRouter&gt; callRouters;<a name="line.321"></a>
-<span class="sourceLineNo">322</span>   private final Map&lt;String,CallMethod&gt; callMethods;<a name="line.322"></a>
-<span class="sourceLineNo">323</span>   private final Map&lt;String,RestContext&gt; childResources;<a name="line.323"></a>
-<span class="sourceLineNo">324</span>   private final RestLogger logger;<a name="line.324"></a>
-<span class="sourceLineNo">325</span>   private final RestCallHandler callHandler;<a name="line.325"></a>
-<span class="sourceLineNo">326</span>   private final RestInfoProvider infoProvider;<a name="line.326"></a>
-<span class="sourceLineNo">327</span>   private final RestException initException;<a name="line.327"></a>
-<span class="sourceLineNo">328</span><a name="line.328"></a>
-<span class="sourceLineNo">329</span>   // In-memory cache of images and stylesheets in the org.apache.juneau.rest.htdocs package.<a name="line.329"></a>
-<span class="sourceLineNo">330</span>   private final Map&lt;String,StreamResource&gt; staticFilesCache = new ConcurrentHashMap&lt;String,StreamResource&gt;();<a name="line.330"></a>
-<span class="sourceLineNo">331</span>   private final Map&lt;String,byte[]&gt; resourceStreams = new ConcurrentHashMap&lt;String,byte[]&gt;();<a name="line.331"></a>
-<span class="sourceLineNo">332</span>   private final Map&lt;String,String&gt; resourceStrings = new ConcurrentHashMap&lt;String,String&gt;();<a name="line.332"></a>
-<span class="sourceLineNo">333</span>   private final ConcurrentHashMap&lt;Integer,AtomicInteger&gt; stackTraceHashes = new ConcurrentHashMap&lt;Integer,AtomicInteger&gt;();<a name="line.333"></a>
-<span class="sourceLineNo">334</span><a name="line.334"></a>
-<span class="sourceLineNo">335</span><a name="line.335"></a>
-<span class="sourceLineNo">336</span>   /**<a name="line.336"></a>
-<span class="sourceLineNo">337</span>    * Constructor.<a name="line.337"></a>
-<span class="sourceLineNo">338</span>    *<a name="line.338"></a>
-<span class="sourceLineNo">339</span>    * @param resource The resource class (a class annotated with {@link RestResource @RestResource}).<a name="line.339"></a>
-<span class="sourceLineNo">340</span>    * @param config The servlet configuration object.<a name="line.340"></a>
-<span class="sourceLineNo">341</span>    * @throws Exception If any initialization problems were encountered.<a name="line.341"></a>
-<span class="sourceLineNo">342</span>    */<a name="line.342"></a>
-<span class="sourceLineNo">343</span>   @SuppressWarnings("unchecked")<a name="line.343"></a>
-<span class="sourceLineNo">344</span>   public RestContext(Object resource, RestConfig config) throws Exception {<a name="line.344"></a>
-<span class="sourceLineNo">345</span>      super(null);<a name="line.345"></a>
-<span class="sourceLineNo">346</span>      RestException _initException = null;<a name="line.346"></a>
-<span class="sourceLineNo">347</span>      try {<a name="line.347"></a>
-<span class="sourceLineNo">348</span>         this.resource = resource;<a name="line.348"></a>
-<span class="sourceLineNo">349</span>         this.config = config;<a name="line.349"></a>
-<span class="sourceLineNo">350</span><a name="line.350"></a>
-<span class="sourceLineNo">351</span>         Builder b = new Builder(resource, config);<a name="line.351"></a>
-<span class="sourceLineNo">352</span>         this.allowHeaderParams = b.allowHeaderParams;<a name="line.352"></a>
-<span class="sourceLineNo">353</span>         this.allowBodyParam = b.allowBodyParam;<a name="line.353"></a>
-<span class="sourceLineNo">354</span>         this.renderResponseStackTraces = b.renderResponseStackTraces;<a name="line.354"></a>
-<span class="sourceLineNo">355</span>         this.useStackTraceHashes = b.useStackTraceHashes;<a name="line.355"></a>
-<span class="sourceLineNo">356</span>         this.allowMethodParams = Collections.unmodifiableSet(b.allowMethodParams);<a name="line.356"></a>
-<span class="sourceLineNo">357</span>         this.defaultCharset = b.defaultCharset;<a name="line.357"></a>
-<span class="sourceLineNo">358</span>         this.paramFormat = b.paramFormat;<a name="line.358"></a>
-<span class="sourceLineNo">359</span>         this.varResolver = b.varResolver;<a name="line.359"></a>
-<span class="sourceLineNo">360</span>         this.configFile = b.configFile;<a name="line.360"></a>
-<span class="sourceLineNo">361</span>         this.properties = b.properties;<a name="line.361"></a>
-<span class="sourceLineNo">362</span>         this.beanFilters = b.beanFilters;<a name="line.362"></a>
-<span class="sourceLineNo">363</span>         this.pojoSwaps = b.pojoSwaps;<a name="line.363"></a>
-<span class="sourceLineNo">364</span>         this.serializers = b.serializers;<a name="line.364"></a>
-<span class="sourceLineNo">365</span>         this.parsers = b.parsers;<a name="line.365"></a>
-<span class="sourceLineNo">366</span>         this.urlEncodingSerializer = b.urlEncodingSerializer;<a name="line.366"></a>
-<span class="sourceLineNo">367</span>         this.urlEncodingParser = b.urlEncodingParser;<a name="line.367"></a>
-<span class="sourceLineNo">368</span>         this.encoders = b.encoders;<a name="line.368"></a>
-<span class="sourceLineNo">369</span>         this.supportedContentTypes = ArrayUtils.toObjectArray(b.supportedContentTypes, MediaType.class);<a name="line.369"></a>
-<span class="sourceLineNo">370</span>         this.supportedAcceptTypes = ArrayUtils.toObjectArray(b.supportedAcceptTypes, MediaType.class);<a name="line.370"></a>
-<span class="sourceLineNo">371</span>         this.clientVersionHeader = b.clientVersionHeader;<a name="line.371"></a>
-<span class="sourceLineNo">372</span>         this.defaultRequestHeaders = Collections.unmodifiableMap(b.defaultRequestHeaders);<a name="line.372"></a>
-<span class="sourceLineNo">373</span>         this.defaultResponseHeaders = Collections.unmodifiableMap(b.defaultResponseHeaders);<a name="line.373"></a>
-<span class="sourceLineNo">374</span>         this.beanContext = b.beanContext;<a name="line.374"></a>
-<span class="sourceLineNo">375</span>         this.converters = b.converters.toArray(new RestConverter[b.converters.size()]);<a name="line.375"></a>
-<span class="sourceLineNo">376</span>         this.guards = b.guards.toArray(new RestGuard[b.guards.size()]);<a name="line.376"></a>
-<span class="sourceLineNo">377</span>         this.responseHandlers = ArrayUtils.toObjectArray(b.responseHandlers, ResponseHandler.class);<a name="line.377"></a>
-<span class="sourceLineNo">378</span>         this.mimetypesFileTypeMap = b.mimetypesFileTypeMap;<a name="line.378"></a>
-<span class="sourceLineNo">379</span>         this.styleSheet = b.styleSheet;<a name="line.379"></a>
-<span class="sourceLineNo">380</span>         this.favIcon = b.favIcon;<a name="line.380"></a>
-<span class="sourceLineNo">381</span>         this.staticFilesMap = Collections.unmodifiableMap(b.staticFilesMap);<a name="line.381"></a>
-<span class="sourceLineNo">382</span>         this.staticFilesPrefixes = b.staticFilesPrefixes;<a name="line.382"></a>
-<span class="sourceLineNo">383</span>         this.msgs = b.messageBundle;<a name="line.383"></a>
-<span class="sourceLineNo">384</span>         this.childResources = Collections.synchronizedMap(new LinkedHashMap&lt;String,RestContext&gt;());  // Not unmodifiable on purpose so that children can be replaced.<a name="line.384"></a>
-<span class="sourceLineNo">385</span>         this.logger = b.logger;<a name="line.385"></a>
-<span class="sourceLineNo">386</span>         this.fullPath = b.fullPath;<a name="line.386"></a>
-<span class="sourceLineNo">387</span>         this.pageTitle = b.pageTitle;<a name="line.387"></a>
-<span class="sourceLineNo">388</span>         this.pageText = b.pageText;<a name="line.388"></a>
-<span class="sourceLineNo">389</span>         this.pageLinks = b.pageLinks;<a name="line.389"></a>
-<span class="sourceLineNo">390</span><a name="line.390"></a>
-<span class="sourceLineNo">391</span>         //----------------------------------------------------------------------------------------------------<a name="line.391"></a>
-<span class="sourceLineNo">392</span>         // Initialize the child resources.<a name="line.392"></a>
-<span class="sourceLineNo">393</span>         // Done after initializing fields above since we pass this object to the child resources.<a name="line.393"></a>
-<span class="sourceLineNo">394</span>         //----------------------------------------------------------------------------------------------------<a name="line.394"></a>
-<span class="sourceLineNo">395</span>         List&lt;String&gt; methodsFound = new LinkedList&lt;String&gt;();   // Temporary to help debug transient duplicate method issue.<a name="line.395"></a>
-<span class="sourceLineNo">396</span>         Map&lt;String,CallRouter.Builder&gt; routers = new LinkedHashMap&lt;String,CallRouter.Builder&gt;();<a name="line.396"></a>
-<span class="sourceLineNo">397</span>         Map&lt;String,CallMethod&gt; _javaRestMethods = new LinkedHashMap&lt;String,CallMethod&gt;();<a name="line.397"></a>
-<span class="sourceLineNo">398</span>         for (java.lang.reflect.Method method : resource.getClass().getMethods()) {<a name="line.398"></a>
-<span class="sourceLineNo">399</span>            if (method.isAnnotationPresent(RestMethod.class)) {<a name="line.399"></a>
-<span class="sourceLineNo">400</span>               RestMethod a = method.getAnnotation(RestMethod.class);<a name="line.400"></a>
-<span class="sourceLineNo">401</span>               methodsFound.add(method.getName() + "," + a.name() + "," + a.path());<a name="line.401"></a>
-<span class="sourceLineNo">402</span>               try {<a name="line.402"></a>
-<span class="sourceLineNo">403</span>                  if (! Modifier.isPublic(method.getModifiers()))<a name="line.403"></a>
-<span class="sourceLineNo">404</span>                     throw new RestServletException("@RestMethod method {0}.{1} must be defined as public.", this.getClass().getName(), method.getName());<a name="line.404"></a>
-<span class="sourceLineNo">405</span><a name="line.405"></a>
-<span class="sourceLineNo">406</span>                  CallMethod sm = new CallMethod(resource, method, this);<a name="line.406"></a>
-<span class="sourceLineNo">407</span>                  String httpMethod = sm.getHttpMethod();<a name="line.407"></a>
-<span class="sourceLineNo">408</span><a name="line.408"></a>
-<span class="sourceLineNo">409</span>                  // PROXY is a special case where a method returns an interface that we<a name="line.409"></a>
-<span class="sourceLineNo">410</span>                  // can perform REST calls against.<a name="line.410"></a>
-<span class="sourceLineNo">411</span>                  // We override the CallMethod.invoke() method to insert our logic.<a name="line.411"></a>
-<span class="sourceLineNo">412</span>                  if ("PROXY".equals(httpMethod)) {<a name="line.412"></a>
-<span class="sourceLineNo">413</span><a name="line.413"></a>
-<span class="sourceLineNo">414</span>                     final ClassMeta&lt;?&gt; interfaceClass = beanContext.getClassMeta(method.getGenericReturnType());<a name="line.414"></a>
-<span class="sourceLineNo">415</span>                     sm = new CallMethod(resource, method, this) {<a name="line.415"></a>
-<span class="sourceLineNo">416</span><a name="line.416"></a>
-<span class="sourceLineNo">417</span>                        @Override<a name="line.417"></a>
-<span class="sourceLineNo">418</span>                        int invoke(String pathInfo, RestRequest req, RestResponse res) throws RestException {<a name="line.418"></a>
-<span class="sourceLineNo">419</span><a name="line.419"></a>
-<span class="sourceLineNo">420</span>                           int rc = super.invoke(pathInfo, req, res);<a name="line.420"></a>
-<span class="sourceLineNo">421</span>                           if (rc != SC_OK)<a name="line.421"></a>
-<span class="sourceLineNo">422</span>                              return rc;<a name="line.422"></a>
-<span class="sourceLineNo">423</span><a name="line.423"></a>
-<span class="sourceLineNo">424</span>                           final Object o = res.getOutput();<a name="line.424"></a>
+<span class="sourceLineNo">276</span>    * Automatically added to properties returned by {@link SerializerSession#getProperties()} and {@link ParserSession#getProperties()}.<a name="line.276"></a>
+<span class="sourceLineNo">277</span>    * &lt;p&gt;<a name="line.277"></a>
+<span class="sourceLineNo">278</span>    * Equivalent to the value returned by {@link RestRequest#getMethodDescription()}<a name="line.278"></a>
+<span class="sourceLineNo">279</span>    */<a name="line.279"></a>
+<span class="sourceLineNo">280</span>   public static final String REST_methodDescription = "RestServlet.methodDescription";<a name="line.280"></a>
+<span class="sourceLineNo">281</span><a name="line.281"></a>
+<span class="sourceLineNo">282</span><a name="line.282"></a>
+<span class="sourceLineNo">283</span>   private final Object resource;<a name="line.283"></a>
+<span class="sourceLineNo">284</span>   private final RestConfig config;<a name="line.284"></a>
+<span class="sourceLineNo">285</span>   private final boolean<a name="line.285"></a>
+<span class="sourceLineNo">286</span>      allowHeaderParams,<a name="line.286"></a>
+<span class="sourceLineNo">287</span>      allowBodyParam,<a name="line.287"></a>
+<span class="sourceLineNo">288</span>      renderResponseStackTraces,<a name="line.288"></a>
+<span class="sourceLineNo">289</span>      useStackTraceHashes;<a name="line.289"></a>
+<span class="sourceLineNo">290</span>   private final String<a name="line.290"></a>
+<span class="sourceLineNo">291</span>      defaultCharset,<a name="line.291"></a>
+<span class="sourceLineNo">292</span>      paramFormat,<a name="line.292"></a>
+<span class="sourceLineNo">293</span>      clientVersionHeader,<a name="line.293"></a>
+<span class="sourceLineNo">294</span>      fullPath,<a name="line.294"></a>
+<span class="sourceLineNo">295</span>      pageTitle, pageText, pageLinks;<a name="line.295"></a>
+<span class="sourceLineNo">296</span>   private final Set&lt;String&gt; allowMethodParams;<a name="line.296"></a>
+<span class="sourceLineNo">297</span><a name="line.297"></a>
+<span class="sourceLineNo">298</span>   private final ObjectMap properties;<a name="line.298"></a>
+<span class="sourceLineNo">299</span>   private final Class&lt;?&gt;[]<a name="line.299"></a>
+<span class="sourceLineNo">300</span>      beanFilters,<a name="line.300"></a>
+<span class="sourceLineNo">301</span>      pojoSwaps;<a name="line.301"></a>
+<span class="sourceLineNo">302</span>   private final SerializerGroup serializers;<a name="line.302"></a>
+<span class="sourceLineNo">303</span>   private final ParserGroup parsers;<a name="line.303"></a>
+<span class="sourceLineNo">304</span>   private final UrlEncodingSerializer urlEncodingSerializer;<a name="line.304"></a>
+<span class="sourceLineNo">305</span>   private final UrlEncodingParser urlEncodingParser;<a name="line.305"></a>
+<span class="sourceLineNo">306</span>   private final EncoderGroup encoders;<a name="line.306"></a>
+<span class="sourceLineNo">307</span>   private final MediaType[]<a name="line.307"></a>
+<span class="sourceLineNo">308</span>      supportedContentTypes,<a name="line.308"></a>
+<span class="sourceLineNo">309</span>      supportedAcceptTypes;<a name="line.309"></a>
+<span class="sourceLineNo">310</span>   private final Map&lt;String,String&gt; defaultRequestHeaders;<a name="line.310"></a>
+<span class="sourceLineNo">311</span>   private final Map&lt;String,Object&gt; defaultResponseHeaders;<a name="line.311"></a>
+<span class="sourceLineNo">312</span>   private final BeanContext beanContext;<a name="line.312"></a>
+<span class="sourceLineNo">313</span>   private final RestConverter[] converters;<a name="line.313"></a>
+<span class="sourceLineNo">314</span>   private final RestGuard[] guards;<a name="line.314"></a>
+<span class="sourceLineNo">315</span>   private final ResponseHandler[] responseHandlers;<a name="line.315"></a>
+<span class="sourceLineNo">316</span>   private final MimetypesFileTypeMap mimetypesFileTypeMap;<a name="line.316"></a>
+<span class="sourceLineNo">317</span>   private final StreamResource styleSheet, favIcon;<a name="line.317"></a>
+<span class="sourceLineNo">318</span>   private final Map&lt;String,String&gt; staticFilesMap;<a name="line.318"></a>
+<span class="sourceLineNo">319</span>   private final String[] staticFilesPrefixes;<a name="line.319"></a>
+<span class="sourceLineNo">320</span>   private final MessageBundle msgs;<a name="line.320"></a>
+<span class="sourceLineNo">321</span>   private final ConfigFile configFile;<a name="line.321"></a>
+<span class="sourceLineNo">322</span>   private final VarResolver varResolver;<a name="line.322"></a>
+<span class="sourceLineNo">323</span>   private final Map&lt;String,CallRouter&gt; callRouters;<a name="line.323"></a>
+<span class="sourceLineNo">324</span>   private final Map&lt;String,CallMethod&gt; callMethods;<a name="line.324"></a>
+<span class="sourceLineNo">325</span>   private final Map&lt;String,RestContext&gt; childResources;<a name="line.325"></a>
+<span class="sourceLineNo">326</span>   private final RestLogger logger;<a name="line.326"></a>
+<span class="sourceLineNo">327</span>   private final RestCallHandler callHandler;<a name="line.327"></a>
+<span class="sourceLineNo">328</span>   private final RestInfoProvider infoProvider;<a name="line.328"></a>
+<span class="sourceLineNo">329</span>   private final RestException initException;<a name="line.329"></a>
+<span class="sourceLineNo">330</span><a name="line.330"></a>
+<span class="sourceLineNo">331</span>   // In-memory cache of images and stylesheets in the org.apache.juneau.rest.htdocs package.<a name="line.331"></a>
+<span class="sourceLineNo">332</span>   private final Map&lt;String,StreamResource&gt; staticFilesCache = new ConcurrentHashMap&lt;String,StreamResource&gt;();<a name="line.332"></a>
+<span class="sourceLineNo">333</span>   private final Map&lt;String,byte[]&gt; resourceStreams = new ConcurrentHashMap&lt;String,byte[]&gt;();<a name="line.333"></a>
+<span class="sourceLineNo">334</span>   private final Map&lt;String,String&gt; resourceStrings = new ConcurrentHashMap&lt;String,String&gt;();<a name="line.334"></a>
+<span class="sourceLineNo">335</span>   private final ConcurrentHashMap&lt;Integer,AtomicInteger&gt; stackTraceHashes = new ConcurrentHashMap&lt;Integer,AtomicInteger&gt;();<a name="line.335"></a>
+<span class="sourceLineNo">336</span><a name="line.336"></a>
+<span class="sourceLineNo">337</span><a name="line.337"></a>
+<span class="sourceLineNo">338</span>   /**<a name="line.338"></a>
+<span class="sourceLineNo">339</span>    * Constructor.<a name="line.339"></a>
+<span class="sourceLineNo">340</span>    *<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    * @param resource The resource class (a class annotated with {@link RestResource @RestResource}).<a name="line.341"></a>
+<span class="sourceLineNo">342</span>    * @param config The servlet configuration object.<a name="line.342"></a>
+<span class="sourceLineNo">343</span>    * @throws Exception If any initialization problems were encountered.<a name="line.343"></a>
+<span class="sourceLineNo">344</span>    */<a name="line.344"></a>
+<span class="sourceLineNo">345</span>   @SuppressWarnings("unchecked")<a name="line.345"></a>
+<span class="sourceLineNo">346</span>   public RestContext(Object resource, RestConfig config) throws Exception {<a name="line.346"></a>
+<span class="sourceLineNo">347</span>      super(null);<a name="line.347"></a>
+<span class="sourceLineNo">348</span>      RestException _initException = null;<a name="line.348"></a>
+<span class="sourceLineNo">349</span>      try {<a name="line.349"></a>
+<span class="sourceLineNo">350</span>         this.resource = resource;<a name="line.350"></a>
+<span class="sourceLineNo">351</span>         this.config = config;<a name="line.351"></a>
+<span class="sourceLineNo">352</span><a name="line.352"></a>
+<span class="sourceLineNo">353</span>         Builder b = new Builder(resource, config);<a name="line.353"></a>
+<span class="sourceLineNo">354</span>         this.allowHeaderParams = b.allowHeaderParams;<a name="line.354"></a>
+<span class="sourceLineNo">355</span>         this.allowBodyParam = b.allowBodyParam;<a name="line.355"></a>
+<span class="sourceLineNo">356</span>         this.renderResponseStackTraces = b.renderResponseStackTraces;<a name="line.356"></a>
+<span class="sourceLineNo">357</span>         this.useStackTraceHashes = b.useStackTraceHashes;<a name="line.357"></a>
+<span class="sourceLineNo">358</span>         this.allowMethodParams = Collections.unmodifiableSet(b.allowMethodParams);<a name="line.358"></a>
+<span class="sourceLineNo">359</span>         this.defaultCharset = b.defaultCharset;<a name="line.359"></a>
+<span class="sourceLineNo">360</span>         this.paramFormat = b.paramFormat;<a name="line.360"></a>
+<span class="sourceLineNo">361</span>         this.varResolver = b.varResolver;<a name="line.361"></a>
+<span class="sourceLineNo">362</span>         this.configFile = b.configFile;<a name="line.362"></a>
+<span class="sourceLineNo">363</span>         this.properties = b.properties;<a name="line.363"></a>
+<span class="sourceLineNo">364</span>         this.beanFilters = b.beanFilters;<a name="line.364"></a>
+<span class="sourceLineNo">365</span>         this.pojoSwaps = b.pojoSwaps;<a name="line.365"></a>
+<span class="sourceLineNo">366</span>         this.serializers = b.serializers;<a name="line.366"></a>
+<span class="sourceLineNo">367</span>         this.parsers = b.parsers;<a name="line.367"></a>
+<span class="sourceLineNo">368</span>         this.urlEncodingSerializer = b.urlEncodingSerializer;<a name="line.368"></a>
+<span class="sourceLineNo">369</span>         this.urlEncodingParser = b.urlEncodingParser;<a name="line.369"></a>
+<span class="sourceLineNo">370</span>         this.encoders = b.encoders;<a name="line.370"></a>
+<span class="sourceLineNo">371</span>         this.supportedContentTypes = ArrayUtils.toObjectArray(b.supportedContentTypes, MediaType.class);<a name="line.371"></a>
+<span class="sourceLineNo">372</span>         this.supportedAcceptTypes = ArrayUtils.toObjectArray(b.supportedAcceptTypes, MediaType.class);<a name="line.372"></a>
+<span class="sourceLineNo">373</span>         this.clientVersionHeader = b.clientVersionHeader;<a name="line.373"></a>
+<span class="sourceLineNo">374</span>         this.defaultRequestHeaders = Collections.unmodifiableMap(b.defaultRequestHeaders);<a name="line.374"></a>
+<span class="sourceLineNo">375</span>         this.defaultResponseHeaders = Collections.unmodifiableMap(b.defaultResponseHeaders);<a name="line.375"></a>
+<span class="sourceLineNo">376</span>         this.beanContext = b.beanContext;<a name="line.376"></a>
+<span class="sourceLineNo">377</span>         this.converters = b.converters.toArray(new RestConverter[b.converters.size()]);<a name="line.377"></a>
+<span class="sourceLineNo">378</span>         this.guards = b.guards.toArray(new RestGuard[b.guards.size()]);<a name="line.378"></a>
+<span class="sourceLineNo">379</span>         this.responseHandlers = ArrayUtils.toObjectArray(b.responseHandlers, ResponseHandler.class);<a name="line.379"></a>
+<span class="sourceLineNo">380</span>         this.mimetypesFileTypeMap = b.mimetypesFileTypeMap;<a name="line.380"></a>
+<span class="sourceLineNo">381</span>         this.styleSheet = b.styleSheet;<a name="line.381"></a>
+<span class="sourceLineNo">382</span>         this.favIcon = b.favIcon;<a name="line.382"></a>
+<span class="sourceLineNo">383</span>         this.staticFilesMap = Collections.unmodifiableMap(b.staticFilesMap);<a name="line.383"></a>
+<span class="sourceLineNo">384</span>         this.staticFilesPrefixes = b.staticFilesPrefixes;<a name="line.384"></a>
+<span class="sourceLineNo">385</span>         this.msgs = b.messageBundle;<a name="line.385"></a>
+<span class="sourceLineNo">386</span>         this.childResources = Collections.synchronizedMap(new LinkedHashMap&lt;String,RestContext&gt;());  // Not unmodifiable on purpose so that children can be replaced.<a name="line.386"></a>
+<span class="sourceLineNo">387</span>         this.logger = b.logger;<a name="line.387"></a>
+<span class="sourceLineNo">388</span>         this.fullPath = b.fullPath;<a name="line.388"></a>
+<span class="sourceLineNo">389</span>         this.pageTitle = b.pageTitle;<a name="line.389"></a>
+<span class="sourceLineNo">390</span>         this.pageText = b.pageText;<a name="line.390"></a>
+<span class="sourceLineNo">391</span>         this.pageLinks = b.pageLinks;<a name="line.391"></a>
+<span class="sourceLineNo">392</span><a name="line.392"></a>
+<span class="sourceLineNo">393</span>         //----------------------------------------------------------------------------------------------------<a name="line.393"></a>
+<span class="sourceLineNo">394</span>         // Initialize the child resources.<a name="line.394"></a>
+<span class="sourceLineNo">395</span>         // Done after initializing fields above since we pass this object to the child resources.<a name="line.395"></a>
+<span class="sourceLineNo">396</span>         //----------------------------------------------------------------------------------------------------<a name="line.396"></a>
+<span class="sourceLineNo">397</span>         List&lt;String&gt; methodsFound = new LinkedList&lt;String&gt;();   // Temporary to help debug transient duplicate method issue.<a name="line.397"></a>
+<span class="sourceLineNo">398</span>         Map&lt;String,CallRouter.Builder&gt; routers = new LinkedHashMap&lt;String,CallRouter.Builder&gt;();<a name="line.398"></a>
+<span class="sourceLineNo">399</span>         Map&lt;String,CallMethod&gt; _javaRestMethods = new LinkedHashMap&lt;String,CallMethod&gt;();<a name="line.399"></a>
+<span class="sourceLineNo">400</span>         for (java.lang.reflect.Method method : resource.getClass().getMethods()) {<a name="line.400"></a>
+<span class="sourceLineNo">401</span>            if (method.isAnnotationPresent(RestMethod.class)) {<a name="line.401"></a>
+<span class="sourceLineNo">402</span>               RestMethod a = method.getAnnotation(RestMethod.class);<a name="line.402"></a>
+<span class="sourceLineNo">403</span>               methodsFound.add(method.getName() + "," + a.name() + "," + a.path());<a name="line.403"></a>
+<span class="sourceLineNo">404</span>               try {<a name="line.404"></a>
+<span class="sourceLineNo">405</span>                  if (! Modifier.isPublic(method.getModifiers()))<a name="line.405"></a>
+<span class="sourceLineNo">406</span>                     throw new RestServletException("@RestMethod method {0}.{1} must be defined as public.", this.getClass().getName(), method.getName());<a name="line.406"></a>
+<span class="sourceLineNo">407</span><a name="line.407"></a>
+<span class="sourceLineNo">408</span>                  CallMethod sm = new CallMethod(resource, method, this);<a name="line.408"></a>
+<span class="sourceLineNo">409</span>                  String httpMethod = sm.getHttpMethod();<a name="line.409"></a>
+<span class="sourceLineNo">410</span><a name="line.410"></a>
+<span class="sourceLineNo">411</span>                  // PROXY is a special case where a method returns an interface that we<a name="line.411"></a>
+<span class="sourceLineNo">412</span>                  // can perform REST calls against.<a name="line.412"></a>
+<span class="sourceLineNo">413</span>                  // We override the CallMethod.invoke() method to insert our logic.<a name="line.413"></a>
+<span class="sourceLineNo">414</span>                  if ("PROXY".equals(httpMethod)) {<a name="line.414"></a>
+<span class="sourceLineNo">415</span><a name="line.415"></a>
+<span class="sourceLineNo">416</span>                     final ClassMeta&lt;?&gt; interfaceClass = beanContext.getClassMeta(method.getGenericReturnType());<a name="line.416"></a>
+<span class="sourceLineNo">417</span>                     final Map&lt;String,Method&gt; remoteableMethods = interfaceClass.getRemoteableMethods();<a name="line.417"></a>
+<span class="sourceLineNo">418</span>                     if (remoteableMethods.isEmpty())<a name="line.418"></a>
+<span class="sourceLineNo">419</span>                        throw new RestException(SC_INTERNAL_SERVER_ERROR, "Method {0} returns an interface {1} that doesn't define any remoteable methods.", ClassUtils.getMethodSignature(method), interfaceClass.getReadableName());<a name="line.419"></a>
+<span class="sourceLineNo">420</span><a name="line.420"></a>
+<span class="sourceLineNo">421</span>                     sm = new CallMethod(resource, method, this) {<a name="line.421"></a>
+<span class="sourceLineNo">422</span><a name="line.422"></a>
+<span class="sourceLineNo">423</span>                        @Override<a name="line.423"></a>
+<span class="sourceLineNo">424</span>                        int invoke(String pathInfo, RestRequest req, RestResponse res) throws RestException {<a name="line.424"></a>
 <span class="sourceLineNo">425</span><a name="line.425"></a>
-<span class="sourceLineNo">426</span>                           if ("GET".equals(req.getMethod())) {<a name="line.426"></a>
-<span class="sourceLineNo">427</span>                              res.setOutput(ClassUtils.getMethodInfo(interfaceClass.getProxyableMethods().values()));<a name="line.427"></a>
-<span class="sourceLineNo">428</span>                              return SC_OK;<a name="line.428"></a>
+<span class="sourceLineNo">426</span>                           int rc = super.invoke(pathInfo, req, res);<a name="line.426"></a>
+<span class="sourceLineNo">427</span>                           if (rc != SC_OK)<a name="line.427"></a>
+<span class="sourceLineNo">428</span>                              return rc;<a name="line.428"></a>
 <span class="sourceLineNo">429</span><a name="line.429"></a>
-<span class="sourceLineNo">430</span>                           } else if ("POST".equals(req.getMethod())) {<a name="line.430"></a>
-<span class="sourceLineNo">431</span>                              if (pathInfo.indexOf('/') != -1)<a name="line.431"></a>
-<span class="sourceLineNo">432</span>                                 pathInfo = pathInfo.substring(pathInfo.lastIndexOf('/')+1);<a name="line.432"></a>
-<span class="sourceLineNo">433</span>                              pathInfo = RestUtils.decode(pathInfo);<a name="line.433"></a>
-<span class="sourceLineNo">434</span>                              java.lang.reflect.Method m = interfaceClass.getProxyableMethods().get(pathInfo);<a name="line.434"></a>
-<span class="sourceLineNo">435</span>                              if (m != null) {<a name="line.435"></a>
-<span class="sourceLineNo">436</span>                                 try {<a name="line.436"></a>
-<span class="sourceLineNo">437</span>                          

<TRUNCATED>


[19/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/remoteable/Body.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/remoteable/Body.html b/content/site/apidocs/src-html/org/apache/juneau/remoteable/Body.html
new file mode 100644
index 0000000..54b5c85
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/remoteable/Body.html
@@ -0,0 +1,121 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.remoteable;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static java.lang.annotation.ElementType.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import static java.lang.annotation.RetentionPolicy.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.io.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.lang.annotation.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>import org.apache.juneau.serializer.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span>/**<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * Annotation applied to Java method arguments of interface proxies to denote that they are the HTTP body of the request.<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * &lt;p&gt;<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * &lt;p class='bcode'&gt;<a name="line.27"></a>
+<span class="sourceLineNo">028</span> *    &lt;ja&gt;@Remoteable&lt;/ja&gt;(path=&lt;js&gt;"/myproxy"&lt;/js&gt;)<a name="line.28"></a>
+<span class="sourceLineNo">029</span> *    &lt;jk&gt;public interface&lt;/jk&gt; MyProxy {<a name="line.29"></a>
+<span class="sourceLineNo">030</span> *<a name="line.30"></a>
+<span class="sourceLineNo">031</span> *       &lt;ja&gt;@RemoteMethod&lt;/ja&gt;(path=&lt;js&gt;"/mymethod"&lt;/js&gt;)<a name="line.31"></a>
+<span class="sourceLineNo">032</span> *       String myProxyMethod(&lt;ja&gt;@Body&lt;/ja&gt; MyPojo pojo);<a name="line.32"></a>
+<span class="sourceLineNo">033</span> *    }<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * &lt;/p&gt;<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * &lt;p&gt;<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * The argument can be any of the following types:<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * &lt;ul class='spaced-list'&gt;<a name="line.37"></a>
+<span class="sourceLineNo">038</span> *    &lt;li&gt;Any serializable POJO - Converted to text using the {@link Serializer} registered with the &lt;code&gt;RestClient&lt;/code&gt;.<a name="line.38"></a>
+<span class="sourceLineNo">039</span> *    &lt;li&gt;{@link Reader} - Raw contents of {@code Reader} will be serialized to remote resource.<a name="line.39"></a>
+<span class="sourceLineNo">040</span> *    &lt;li&gt;{@link InputStream} - Raw contents of {@code InputStream} will be serialized to remote resource.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> *    &lt;li&gt;&lt;code&gt;HttpEntity&lt;/code&gt; - Bypass Juneau serialization and pass HttpEntity directly to HttpClient.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> *    &lt;li&gt;&lt;code&gt;NameValuePairs&lt;/code&gt; - Converted to a URL-encoded FORM post.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * &lt;/ul&gt;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> */<a name="line.44"></a>
+<span class="sourceLineNo">045</span>@Documented<a name="line.45"></a>
+<span class="sourceLineNo">046</span>@Target(PARAMETER)<a name="line.46"></a>
+<span class="sourceLineNo">047</span>@Retention(RUNTIME)<a name="line.47"></a>
+<span class="sourceLineNo">048</span>@Inherited<a name="line.48"></a>
+<span class="sourceLineNo">049</span>public @interface Body {}<a name="line.49"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/remoteable/FormData.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/remoteable/FormData.html b/content/site/apidocs/src-html/org/apache/juneau/remoteable/FormData.html
new file mode 100644
index 0000000..2bc46be
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/remoteable/FormData.html
@@ -0,0 +1,132 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.remoteable;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static java.lang.annotation.ElementType.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import static java.lang.annotation.RetentionPolicy.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.lang.annotation.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>import org.apache.juneau.urlencoding.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>/**<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * Annotation applied to Java method arguments of interface proxies to denote that they are FORM post parameters on the request.<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * &lt;p&gt;<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * &lt;p class='bcode'&gt;<a name="line.26"></a>
+<span class="sourceLineNo">027</span> *    &lt;ja&gt;@Remoteable&lt;/ja&gt;(path=&lt;js&gt;"/myproxy"&lt;/js&gt;)<a name="line.27"></a>
+<span class="sourceLineNo">028</span> *    &lt;jk&gt;public interface&lt;/jk&gt; MyProxy {<a name="line.28"></a>
+<span class="sourceLineNo">029</span> *<a name="line.29"></a>
+<span class="sourceLineNo">030</span> *       &lt;ja&gt;@RemoteMethod&lt;/ja&gt;(path=&lt;js&gt;"/mymethod1"&lt;/js&gt;)<a name="line.30"></a>
+<span class="sourceLineNo">031</span> *       String myProxyMethod1(&lt;ja&gt;@FormData&lt;/ja&gt;(&lt;js&gt;"foo"&lt;/js&gt;)&lt;/ja&gt; String foo, &lt;ja&gt;@FormData&lt;/ja&gt;(&lt;js&gt;"bar"&lt;/js&gt;)&lt;/ja&gt; MyPojo pojo);<a name="line.31"></a>
+<span class="sourceLineNo">032</span> *<a name="line.32"></a>
+<span class="sourceLineNo">033</span> *       &lt;ja&gt;@RemoteMethod&lt;/ja&gt;(path=&lt;js&gt;"/mymethod2"&lt;/js&gt;)<a name="line.33"></a>
+<span class="sourceLineNo">034</span> *       String myProxyMethod2(&lt;ja&gt;@FormData&lt;/ja&gt; NameValuePairs form);<a name="line.34"></a>
+<span class="sourceLineNo">035</span> *<a name="line.35"></a>
+<span class="sourceLineNo">036</span> *       &lt;ja&gt;@RemoteMethod&lt;/ja&gt;(path=&lt;js&gt;"/mymethod3"&lt;/js&gt;)<a name="line.36"></a>
+<span class="sourceLineNo">037</span> *       String myProxyMethod2(&lt;ja&gt;@FormData&lt;/ja&gt; Map&amp;lt;String,Object&amp;gt; form);<a name="line.37"></a>
+<span class="sourceLineNo">038</span> *    }<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * &lt;/p&gt;<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * &lt;p&gt;<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * The argument can be any of the following types:<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * &lt;ul class='spaced-list'&gt;<a name="line.42"></a>
+<span class="sourceLineNo">043</span> *    &lt;li&gt;Any serializable POJO - Converted to text using {@link UrlEncodingSerializer#serializePart(Object, Boolean, Boolean)}.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> *    &lt;li&gt;&lt;code&gt;NameValuePairs&lt;/code&gt; - Individual name-value pairs.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> *    &lt;li&gt;&lt;code&gt;Map&amp;lt;String,Object&amp;gt;&lt;/code&gt; - Individual name-value pairs.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> *       Values are converted to text using {@link UrlEncodingSerializer#serializePart(Object, Boolean, Boolean)}.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * &lt;/ul&gt;<a name="line.47"></a>
+<span class="sourceLineNo">048</span> */<a name="line.48"></a>
+<span class="sourceLineNo">049</span>@Documented<a name="line.49"></a>
+<span class="sourceLineNo">050</span>@Target(PARAMETER)<a name="line.50"></a>
+<span class="sourceLineNo">051</span>@Retention(RUNTIME)<a name="line.51"></a>
+<span class="sourceLineNo">052</span>@Inherited<a name="line.52"></a>
+<span class="sourceLineNo">053</span>public @interface FormData {<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span>   /**<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    * The form post parameter name.<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    * Can be blank if the value is an instance of &lt;code&gt;NameValuePairs&lt;/code&gt; or &lt;code&gt;Map&amp;lt;String,Object&amp;gt;&lt;/code&gt;.<a name="line.57"></a>
+<span class="sourceLineNo">058</span>    */<a name="line.58"></a>
+<span class="sourceLineNo">059</span>   String value() default "";<a name="line.59"></a>
+<span class="sourceLineNo">060</span>}<a name="line.60"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/remoteable/FormDataIfNE.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/remoteable/FormDataIfNE.html b/content/site/apidocs/src-html/org/apache/juneau/remoteable/FormDataIfNE.html
new file mode 100644
index 0000000..29671d1
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/remoteable/FormDataIfNE.html
@@ -0,0 +1,106 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.remoteable;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static java.lang.annotation.ElementType.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import static java.lang.annotation.RetentionPolicy.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.lang.annotation.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>/**<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * Identical to {@link FormData @FormData} except skips values if they're null/blank.<a name="line.21"></a>
+<span class="sourceLineNo">022</span> */<a name="line.22"></a>
+<span class="sourceLineNo">023</span>@Documented<a name="line.23"></a>
+<span class="sourceLineNo">024</span>@Target(PARAMETER)<a name="line.24"></a>
+<span class="sourceLineNo">025</span>@Retention(RUNTIME)<a name="line.25"></a>
+<span class="sourceLineNo">026</span>@Inherited<a name="line.26"></a>
+<span class="sourceLineNo">027</span>public @interface FormDataIfNE {<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span>   /**<a name="line.29"></a>
+<span class="sourceLineNo">030</span>    * The form post parameter name.<a name="line.30"></a>
+<span class="sourceLineNo">031</span>    * Can be blank if the value is an instance of &lt;code&gt;NameValuePairs&lt;/code&gt; or &lt;code&gt;Map&amp;lt;String,Object&amp;gt;&lt;/code&gt;.<a name="line.31"></a>
+<span class="sourceLineNo">032</span>    */<a name="line.32"></a>
+<span class="sourceLineNo">033</span>   String value() default "";<a name="line.33"></a>
+<span class="sourceLineNo">034</span>}<a name="line.34"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/remoteable/Header.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/remoteable/Header.html b/content/site/apidocs/src-html/org/apache/juneau/remoteable/Header.html
new file mode 100644
index 0000000..bbdb72b
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/remoteable/Header.html
@@ -0,0 +1,128 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.remoteable;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static java.lang.annotation.ElementType.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import static java.lang.annotation.RetentionPolicy.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.lang.annotation.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>import org.apache.juneau.urlencoding.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>/**<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * Annotation applied to Java method arguments of interface proxies to denote that they are serialized as an HTTP header value.<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * &lt;p&gt;<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * &lt;p class='bcode'&gt;<a name="line.26"></a>
+<span class="sourceLineNo">027</span> *    &lt;ja&gt;@Remoteable&lt;/ja&gt;(path=&lt;js&gt;"/myproxy"&lt;/js&gt;)<a name="line.27"></a>
+<span class="sourceLineNo">028</span> *    &lt;jk&gt;public interface&lt;/jk&gt; MyProxy {<a name="line.28"></a>
+<span class="sourceLineNo">029</span> *<a name="line.29"></a>
+<span class="sourceLineNo">030</span> *       &lt;ja&gt;@RemoteMethod&lt;/ja&gt;(path=&lt;js&gt;"/mymethod1"&lt;/js&gt;)<a name="line.30"></a>
+<span class="sourceLineNo">031</span> *       String myProxyMethod1(&lt;ja&gt;@Header&lt;/ja&gt;(&lt;js&gt;"Foo"&lt;/js&gt;)&lt;/ja&gt; String foo, &lt;ja&gt;@Header&lt;/ja&gt;(&lt;js&gt;"Bar"&lt;/js&gt;)&lt;/ja&gt; MyPojo pojo);<a name="line.31"></a>
+<span class="sourceLineNo">032</span> *<a name="line.32"></a>
+<span class="sourceLineNo">033</span> *       &lt;ja&gt;@RemoteMethod&lt;/ja&gt;(path=&lt;js&gt;"/mymethod2"&lt;/js&gt;)<a name="line.33"></a>
+<span class="sourceLineNo">034</span> *       String myProxyMethod2(&lt;ja&gt;@Header&lt;/ja&gt; Map&amp;lt;String,Object&amp;gt; headers);<a name="line.34"></a>
+<span class="sourceLineNo">035</span> *    }<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * &lt;/p&gt;<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * &lt;p&gt;<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * The argument can be any of the following types:<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * &lt;ul class='spaced-list'&gt;<a name="line.39"></a>
+<span class="sourceLineNo">040</span> *    &lt;li&gt;Any serializable POJO - Converted to text using {@link UrlEncodingSerializer#serializePart(Object, Boolean, Boolean)}.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> *    &lt;li&gt;&lt;code&gt;Map&amp;lt;String,Object&amp;gt;&lt;/code&gt; - Individual name-value pairs.<a name="line.41"></a>
+<span class="sourceLineNo">042</span> *       Values are converted to text using {@link UrlEncodingSerializer#serializePart(Object, Boolean, Boolean)}.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * &lt;/ul&gt;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> */<a name="line.44"></a>
+<span class="sourceLineNo">045</span>@Documented<a name="line.45"></a>
+<span class="sourceLineNo">046</span>@Target(PARAMETER)<a name="line.46"></a>
+<span class="sourceLineNo">047</span>@Retention(RUNTIME)<a name="line.47"></a>
+<span class="sourceLineNo">048</span>@Inherited<a name="line.48"></a>
+<span class="sourceLineNo">049</span>public @interface Header {<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span>   /**<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    * The HTTP header name.<a name="line.52"></a>
+<span class="sourceLineNo">053</span>    * Can be blank if the value is an instance of &lt;code&gt;Map&amp;lt;String,Object&amp;gt;&lt;/code&gt;.<a name="line.53"></a>
+<span class="sourceLineNo">054</span>    */<a name="line.54"></a>
+<span class="sourceLineNo">055</span>   String value() default "";<a name="line.55"></a>
+<span class="sourceLineNo">056</span>}<a name="line.56"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/remoteable/HeaderIfNE.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/remoteable/HeaderIfNE.html b/content/site/apidocs/src-html/org/apache/juneau/remoteable/HeaderIfNE.html
new file mode 100644
index 0000000..b0b89d6
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/remoteable/HeaderIfNE.html
@@ -0,0 +1,106 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.remoteable;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static java.lang.annotation.ElementType.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import static java.lang.annotation.RetentionPolicy.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.lang.annotation.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>/**<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * Identical to {@link Header @Header} except skips values if they're null/blank.<a name="line.21"></a>
+<span class="sourceLineNo">022</span> */<a name="line.22"></a>
+<span class="sourceLineNo">023</span>@Documented<a name="line.23"></a>
+<span class="sourceLineNo">024</span>@Target(PARAMETER)<a name="line.24"></a>
+<span class="sourceLineNo">025</span>@Retention(RUNTIME)<a name="line.25"></a>
+<span class="sourceLineNo">026</span>@Inherited<a name="line.26"></a>
+<span class="sourceLineNo">027</span>public @interface HeaderIfNE {<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span>   /**<a name="line.29"></a>
+<span class="sourceLineNo">030</span>    * The HTTP header name.<a name="line.30"></a>
+<span class="sourceLineNo">031</span>    * Can be blank if the value is an instance of &lt;code&gt;Map&amp;lt;String,Object&amp;gt;&lt;/code&gt;.<a name="line.31"></a>
+<span class="sourceLineNo">032</span>    */<a name="line.32"></a>
+<span class="sourceLineNo">033</span>   String value();<a name="line.33"></a>
+<span class="sourceLineNo">034</span>}<a name="line.34"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/remoteable/Query.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/remoteable/Query.html b/content/site/apidocs/src-html/org/apache/juneau/remoteable/Query.html
new file mode 100644
index 0000000..703a681
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/remoteable/Query.html
@@ -0,0 +1,132 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.remoteable;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static java.lang.annotation.ElementType.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import static java.lang.annotation.RetentionPolicy.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.lang.annotation.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>import org.apache.juneau.urlencoding.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>/**<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * Annotation applied to Java method arguments of interface proxies to denote that they are QUERY parameters on the request.<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * &lt;p&gt;<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * &lt;p class='bcode'&gt;<a name="line.26"></a>
+<span class="sourceLineNo">027</span> *    &lt;ja&gt;@Remoteable&lt;/ja&gt;(path=&lt;js&gt;"/myproxy"&lt;/js&gt;)<a name="line.27"></a>
+<span class="sourceLineNo">028</span> *    &lt;jk&gt;public interface&lt;/jk&gt; MyProxy {<a name="line.28"></a>
+<span class="sourceLineNo">029</span> *<a name="line.29"></a>
+<span class="sourceLineNo">030</span> *       &lt;ja&gt;@RemoteMethod&lt;/ja&gt;(path=&lt;js&gt;"/mymethod1"&lt;/js&gt;)<a name="line.30"></a>
+<span class="sourceLineNo">031</span> *       String myProxyMethod1(&lt;ja&gt;@Query&lt;/ja&gt;(&lt;js&gt;"foo"&lt;/js&gt;)&lt;/ja&gt; String foo, &lt;ja&gt;@Query&lt;/ja&gt;(&lt;js&gt;"bar"&lt;/js&gt;)&lt;/ja&gt; MyPojo pojo);<a name="line.31"></a>
+<span class="sourceLineNo">032</span> *<a name="line.32"></a>
+<span class="sourceLineNo">033</span> *       &lt;ja&gt;@RemoteMethod&lt;/ja&gt;(path=&lt;js&gt;"/mymethod2"&lt;/js&gt;)<a name="line.33"></a>
+<span class="sourceLineNo">034</span> *       String myProxyMethod2(&lt;ja&gt;@Query&lt;/ja&gt; Map&amp;lt;String,Object&amp;gt; query);<a name="line.34"></a>
+<span class="sourceLineNo">035</span> *<a name="line.35"></a>
+<span class="sourceLineNo">036</span> *       &lt;ja&gt;@RemoteMethod&lt;/ja&gt;(path=&lt;js&gt;"/mymethod3"&lt;/js&gt;)<a name="line.36"></a>
+<span class="sourceLineNo">037</span> *       String myProxyMethod2(&lt;ja&gt;@Query&lt;/ja&gt; String queryString);<a name="line.37"></a>
+<span class="sourceLineNo">038</span> *    }<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * &lt;/p&gt;<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * &lt;p&gt;<a name="line.40"></a>
+<span class="sourceLineNo">041</span> * The argument can be any of the following types:<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * &lt;ul class='spaced-list'&gt;<a name="line.42"></a>
+<span class="sourceLineNo">043</span> *    &lt;li&gt;Any serializable POJO - Converted to text using {@link UrlEncodingSerializer#serializePart(Object, Boolean, Boolean)}.<a name="line.43"></a>
+<span class="sourceLineNo">044</span> *    &lt;li&gt;&lt;code&gt;Map&amp;lt;String,Object&amp;gt;&lt;/code&gt; - Individual name-value pairs.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> *       Values are converted to text using {@link UrlEncodingSerializer#serializePart(Object, Boolean, Boolean)}.<a name="line.45"></a>
+<span class="sourceLineNo">046</span> *    &lt;li&gt;{@link String} - Treated as a query string.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * &lt;/ul&gt;<a name="line.47"></a>
+<span class="sourceLineNo">048</span>*/<a name="line.48"></a>
+<span class="sourceLineNo">049</span>@Documented<a name="line.49"></a>
+<span class="sourceLineNo">050</span>@Target(PARAMETER)<a name="line.50"></a>
+<span class="sourceLineNo">051</span>@Retention(RUNTIME)<a name="line.51"></a>
+<span class="sourceLineNo">052</span>@Inherited<a name="line.52"></a>
+<span class="sourceLineNo">053</span>public @interface Query {<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span>   /**<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    * The query parameter name.<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    * Can be blank if the value is an instance of &lt;code&gt;Map&amp;lt;String,Object&amp;gt;&lt;/code&gt; or &lt;code&gt;String&lt;/code&gt;.<a name="line.57"></a>
+<span class="sourceLineNo">058</span>    */<a name="line.58"></a>
+<span class="sourceLineNo">059</span>   String value() default "";<a name="line.59"></a>
+<span class="sourceLineNo">060</span>}<a name="line.60"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/remoteable/QueryIfNE.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/remoteable/QueryIfNE.html b/content/site/apidocs/src-html/org/apache/juneau/remoteable/QueryIfNE.html
new file mode 100644
index 0000000..46941c5
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/remoteable/QueryIfNE.html
@@ -0,0 +1,106 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.remoteable;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static java.lang.annotation.ElementType.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import static java.lang.annotation.RetentionPolicy.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.lang.annotation.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>/**<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * Identical to {@link Query @Query} except skips values if they're null/blank.<a name="line.21"></a>
+<span class="sourceLineNo">022</span> */<a name="line.22"></a>
+<span class="sourceLineNo">023</span>@Documented<a name="line.23"></a>
+<span class="sourceLineNo">024</span>@Target(PARAMETER)<a name="line.24"></a>
+<span class="sourceLineNo">025</span>@Retention(RUNTIME)<a name="line.25"></a>
+<span class="sourceLineNo">026</span>@Inherited<a name="line.26"></a>
+<span class="sourceLineNo">027</span>public @interface QueryIfNE {<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span>   /**<a name="line.29"></a>
+<span class="sourceLineNo">030</span>    * The query parameter name.<a name="line.30"></a>
+<span class="sourceLineNo">031</span>    * Can be blank if the value is an instance of &lt;code&gt;Map&amp;lt;String,Object&amp;gt;&lt;/code&gt; or &lt;code&gt;String&lt;/code&gt;.<a name="line.31"></a>
+<span class="sourceLineNo">032</span>    */<a name="line.32"></a>
+<span class="sourceLineNo">033</span>   String value();<a name="line.33"></a>
+<span class="sourceLineNo">034</span>}<a name="line.34"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteMethod.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteMethod.html b/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteMethod.html
new file mode 100644
index 0000000..5340221
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteMethod.html
@@ -0,0 +1,135 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.remoteable;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static java.lang.annotation.ElementType.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import static java.lang.annotation.RetentionPolicy.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.io.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.lang.annotation.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>/**<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * Annotation applied to Java methods on interface proxy classes.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * &lt;p&gt;<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * TODO &lt;i&gt;(sorry)&lt;/i&gt;<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * &lt;p&gt;<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * The return type on the Java method can be any of the following:<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * &lt;ul&gt;<a name="line.27"></a>
+<span class="sourceLineNo">028</span> *    &lt;li&gt;&lt;jk&gt;void&lt;/jk&gt; - Don't parse any response.  Note that the method will still throw an exception if an error HTTP status is returned.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> *    &lt;li&gt;Any parsable POJO - The body of the response will be converted to the POJO using the parser defined on the &lt;code&gt;RestClient&lt;/code&gt;.<a name="line.29"></a>
+<span class="sourceLineNo">030</span> *    &lt;li&gt;&lt;code&gt;HttpResponse&lt;/code&gt; - Returns the raw &lt;code&gt;HttpResponse&lt;/code&gt; returned by the inner &lt;code&gt;HttpClient&lt;/code&gt;.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> *    &lt;li&gt;{@link Reader} - Returns access to the raw reader of the response.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> *    &lt;li&gt;{@link InputStream} - Returns access to the raw input stream of the response.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * &lt;/ul&gt;<a name="line.33"></a>
+<span class="sourceLineNo">034</span> */<a name="line.34"></a>
+<span class="sourceLineNo">035</span>@Documented<a name="line.35"></a>
+<span class="sourceLineNo">036</span>@Target(METHOD)<a name="line.36"></a>
+<span class="sourceLineNo">037</span>@Retention(RUNTIME)<a name="line.37"></a>
+<span class="sourceLineNo">038</span>@Inherited<a name="line.38"></a>
+<span class="sourceLineNo">039</span>public @interface RemoteMethod {<a name="line.39"></a>
+<span class="sourceLineNo">040</span><a name="line.40"></a>
+<span class="sourceLineNo">041</span>   /**<a name="line.41"></a>
+<span class="sourceLineNo">042</span>    * The path to the REST service for this Java method relative to the parent proxy interface URL.<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    * &lt;p&gt;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>    * The default value is the Java method name (e.g. &lt;js&gt;"http://localhost/root-url/org.foo.MyInterface/myMethod"&lt;/js&gt;) if<a name="line.44"></a>
+<span class="sourceLineNo">045</span>    *    {@link Remoteable#methodPaths() @Remoteable.methodPaths()} is &lt;js&gt;"NAME"&lt;/js&gt;, or the Java method signature<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    *    (e.g. &lt;js&gt;"http://localhost/root-url/org.foo.MyInterface/myMethod(int,boolean,java.lang.String)"&lt;/js&gt;) if<a name="line.46"></a>
+<span class="sourceLineNo">047</span>    *    it's &lt;js&gt;"SIGNATURE"&lt;/js&gt;.<a name="line.47"></a>
+<span class="sourceLineNo">048</span>    */<a name="line.48"></a>
+<span class="sourceLineNo">049</span>   String path() default "";<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span>   /**<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    * Defines whether to use &lt;code&gt;GET&lt;/code&gt; or &lt;code&gt;POST&lt;/code&gt; for REST calls.<a name="line.52"></a>
+<span class="sourceLineNo">053</span>    * &lt;p&gt;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>    * Possible values:<a name="line.54"></a>
+<span class="sourceLineNo">055</span>    * &lt;ul&gt;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    *    &lt;li&gt;&lt;js&gt;"POST"&lt;/js&gt; (default) - Parameters are serialized using the serializer registered with the RestClient.<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    *    &lt;li&gt;&lt;js&gt;"GET"&lt;/js&gt; - Parameters are serialized using the UrlEncodingSerializer registered with the RestClient.<a name="line.57"></a>
+<span class="sourceLineNo">058</span>    * &lt;/ul&gt;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>    * &lt;p&gt;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>    * The default value is &lt;js&gt;"POST"&lt;/js&gt;.<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    */<a name="line.61"></a>
+<span class="sourceLineNo">062</span>   String httpMethod() default "POST";<a name="line.62"></a>
+<span class="sourceLineNo">063</span>}<a name="line.63"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteMethodArg.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteMethodArg.html b/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteMethodArg.html
new file mode 100644
index 0000000..0a244d8
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteMethodArg.html
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.remoteable;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * Represents the metadata about an annotated argument of a method on a remote proxy interface.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> */<a name="line.17"></a>
+<span class="sourceLineNo">018</span>public class RemoteMethodArg {<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>   /** The argument name.  Can be blank. */<a name="line.20"></a>
+<span class="sourceLineNo">021</span>   public final String name;<a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span>   /** The zero-based index of the argument on the Java method. */<a name="line.23"></a>
+<span class="sourceLineNo">024</span>   public final int index;<a name="line.24"></a>
+<span class="sourceLineNo">025</span><a name="line.25"></a>
+<span class="sourceLineNo">026</span>   /** The value is skipped if it's null/empty. */<a name="line.26"></a>
+<span class="sourceLineNo">027</span>   public final boolean skipIfNE;<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span>   /**<a name="line.29"></a>
+<span class="sourceLineNo">030</span>    * Constructor.<a name="line.30"></a>
+<span class="sourceLineNo">031</span>    *<a name="line.31"></a>
+<span class="sourceLineNo">032</span>    * @param name The argument name.  Can be blank.<a name="line.32"></a>
+<span class="sourceLineNo">033</span>    * @param index The zero-based index of the argument on the Java method.<a name="line.33"></a>
+<span class="sourceLineNo">034</span>    * @param skipIfNE The value is skipped if it's null/empty.<a name="line.34"></a>
+<span class="sourceLineNo">035</span>    */<a name="line.35"></a>
+<span class="sourceLineNo">036</span>   protected RemoteMethodArg(String name, int index, boolean skipIfNE) {<a name="line.36"></a>
+<span class="sourceLineNo">037</span>      this.name = name;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>      this.index = index;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>      this.skipIfNE = skipIfNE;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>   }<a name="line.40"></a>
+<span class="sourceLineNo">041</span>}<a name="line.41"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/remoteable/Remoteable.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/remoteable/Remoteable.html b/content/site/apidocs/src-html/org/apache/juneau/remoteable/Remoteable.html
new file mode 100644
index 0000000..47c2b81
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/remoteable/Remoteable.html
@@ -0,0 +1,137 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.remoteable;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static java.lang.annotation.ElementType.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import static java.lang.annotation.RetentionPolicy.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.lang.annotation.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>/**<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * Identifies a remote proxy interface against a REST interface.<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * &lt;p&gt;<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * TODO &lt;i&gt;(sorry)&lt;/i&gt;<a name="line.23"></a>
+<span class="sourceLineNo">024</span> */<a name="line.24"></a>
+<span class="sourceLineNo">025</span>@Documented<a name="line.25"></a>
+<span class="sourceLineNo">026</span>@Target({TYPE,METHOD})<a name="line.26"></a>
+<span class="sourceLineNo">027</span>@Retention(RUNTIME)<a name="line.27"></a>
+<span class="sourceLineNo">028</span>@Inherited<a name="line.28"></a>
+<span class="sourceLineNo">029</span>public @interface Remoteable {<a name="line.29"></a>
+<span class="sourceLineNo">030</span><a name="line.30"></a>
+<span class="sourceLineNo">031</span>   /**<a name="line.31"></a>
+<span class="sourceLineNo">032</span>    * The absolute or relative path of the REST service.<a name="line.32"></a>
+<span class="sourceLineNo">033</span>    * &lt;p&gt;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>    * When a relative path is specified, it's relative to the root-url defined on the &lt;code&gt;RestClient&lt;/code&gt; used<a name="line.34"></a>
+<span class="sourceLineNo">035</span>    * to instantiate the interface.<a name="line.35"></a>
+<span class="sourceLineNo">036</span>    * &lt;p&gt;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>    * When no path is specified, the path is assumed to be the class name (e.g. &lt;js&gt;"http://localhost/root-url/org.foo.MyInterface"&lt;/js&gt;)<a name="line.37"></a>
+<span class="sourceLineNo">038</span>    */<a name="line.38"></a>
+<span class="sourceLineNo">039</span>   String path() default "";<a name="line.39"></a>
+<span class="sourceLineNo">040</span><a name="line.40"></a>
+<span class="sourceLineNo">041</span>   /**<a name="line.41"></a>
+<span class="sourceLineNo">042</span>    * Identifies which methods on the interface should be exposed through the proxy.<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    * &lt;p&gt;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>    * The options are:<a name="line.44"></a>
+<span class="sourceLineNo">045</span>    * &lt;ul&gt;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    *    &lt;li&gt;&lt;js&gt;"DECLARED"&lt;/js&gt; (default) - Only methods declared on the immediate interface/class are exposed.  Methods on parent interfaces/classes are ignored.<a name="line.46"></a>
+<span class="sourceLineNo">047</span>    *    &lt;li&gt;&lt;js&gt;"ANNOTATED"&lt;/js&gt; - Only methods annotated with {@link RemoteMethod} are exposed.<a name="line.47"></a>
+<span class="sourceLineNo">048</span>    *    &lt;li&gt;&lt;js&gt;"ALL"&lt;/js&gt; - All methods defined on the interface or class are exposed.<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    * &lt;/ul&gt;<a name="line.49"></a>
+<span class="sourceLineNo">050</span>    */<a name="line.50"></a>
+<span class="sourceLineNo">051</span>   String expose() default "DECLARED";<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span>   /**<a name="line.53"></a>
+<span class="sourceLineNo">054</span>    * Defines the methodology to use for the path names of the methods when not explicitly defined via {@link RemoteMethod#path() @RemoteMethod.path()}.<a name="line.54"></a>
+<span class="sourceLineNo">055</span>    * &lt;p&gt;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    * The options are:<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    * &lt;ul&gt;<a name="line.57"></a>
+<span class="sourceLineNo">058</span>    *    &lt;li&gt;&lt;js&gt;"NAME"&lt;/js&gt; (default) - Use the method name (e.g. "myMethod").<a name="line.58"></a>
+<span class="sourceLineNo">059</span>    *    &lt;li&gt;&lt;js&gt;"SIGNATURE"&lt;/js&gt; - Use the method signature (e.g. "myMethod(int,boolean,java.lang.String,int[][][])").<a name="line.59"></a>
+<span class="sourceLineNo">060</span>    * &lt;/ul&gt;<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    * &lt;p&gt;<a name="line.61"></a>
+<span class="sourceLineNo">062</span>    * Note that if you use &lt;js&gt;"NAME"&lt;/js&gt;, method names must be unique in the interface.<a name="line.62"></a>
+<span class="sourceLineNo">063</span>    */<a name="line.63"></a>
+<span class="sourceLineNo">064</span>   String methodPaths() default "NAME";<a name="line.64"></a>
+<span class="sourceLineNo">065</span>}<a name="line.65"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteableMeta.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteableMeta.html b/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteableMeta.html
new file mode 100644
index 0000000..d6feeba
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteableMeta.html
@@ -0,0 +1,139 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.remoteable;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import static org.apache.juneau.internal.ClassUtils.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.lang.reflect.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.util.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>import org.apache.juneau.internal.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span>/**<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * Contains the meta-data about a remoteable interface.<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * &lt;p&gt;<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * Captures the information in {@link Remoteable @Remoteable} and {@link RemoteMethod @RemoteMethod}<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * annotations for caching and reuse.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> */<a name="line.28"></a>
+<span class="sourceLineNo">029</span>public class RemoteableMeta {<a name="line.29"></a>
+<span class="sourceLineNo">030</span><a name="line.30"></a>
+<span class="sourceLineNo">031</span>   private final Map&lt;Method,RemoteableMethodMeta&gt; methods;<a name="line.31"></a>
+<span class="sourceLineNo">032</span><a name="line.32"></a>
+<span class="sourceLineNo">033</span>   /**<a name="line.33"></a>
+<span class="sourceLineNo">034</span>    * Constructor.<a name="line.34"></a>
+<span class="sourceLineNo">035</span>    *<a name="line.35"></a>
+<span class="sourceLineNo">036</span>    * @param c The interface class annotated with a {@link Remoteable @Remoteable} annotation (optional).<a name="line.36"></a>
+<span class="sourceLineNo">037</span>    * @param restUrl The absolute URL of the remote REST interface that implements this proxy interface.<a name="line.37"></a>
+<span class="sourceLineNo">038</span>    */<a name="line.38"></a>
+<span class="sourceLineNo">039</span>   public RemoteableMeta(Class&lt;?&gt; c, String restUrl) {<a name="line.39"></a>
+<span class="sourceLineNo">040</span>      Remoteable r = ReflectionUtils.getAnnotation(Remoteable.class, c);<a name="line.40"></a>
+<span class="sourceLineNo">041</span><a name="line.41"></a>
+<span class="sourceLineNo">042</span>      String expose = r == null ? "DECLARED" : r.expose();<a name="line.42"></a>
+<span class="sourceLineNo">043</span>      if (! isOneOf(expose, "ALL", "DECLARED", "ANNOTATED"))<a name="line.43"></a>
+<span class="sourceLineNo">044</span>         throw new RemoteableMetadataException(c, "Invalid value specified for ''expose'' annotation.  Valid values are [ALL,ANNOTATED,DECLARED].");<a name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span>      Map&lt;Method,RemoteableMethodMeta&gt; _methods = new LinkedHashMap&lt;Method,RemoteableMethodMeta&gt;();<a name="line.46"></a>
+<span class="sourceLineNo">047</span>      for (Method m : expose.equals("DECLARED") ? c.getDeclaredMethods() : c.getMethods()) {<a name="line.47"></a>
+<span class="sourceLineNo">048</span>         if (isPublic(m)) {<a name="line.48"></a>
+<span class="sourceLineNo">049</span>            RemoteMethod rm = c.getAnnotation(RemoteMethod.class);<a name="line.49"></a>
+<span class="sourceLineNo">050</span>            if (rm != null || ! expose.equals("ANNOTATED"))<a name="line.50"></a>
+<span class="sourceLineNo">051</span>               _methods.put(m, new RemoteableMethodMeta(restUrl, m));<a name="line.51"></a>
+<span class="sourceLineNo">052</span>         }<a name="line.52"></a>
+<span class="sourceLineNo">053</span>      }<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span>      this.methods = Collections.unmodifiableMap(_methods);<a name="line.55"></a>
+<span class="sourceLineNo">056</span>   }<a name="line.56"></a>
+<span class="sourceLineNo">057</span><a name="line.57"></a>
+<span class="sourceLineNo">058</span>   /**<a name="line.58"></a>
+<span class="sourceLineNo">059</span>    * Returns the metadata about the specified method on this interface proxy.<a name="line.59"></a>
+<span class="sourceLineNo">060</span>    *<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    * @param m The method to look up.<a name="line.61"></a>
+<span class="sourceLineNo">062</span>    * @return Metadata about the method, or &lt;jk&gt;null&lt;/jk&gt; if no metadata was found.<a name="line.62"></a>
+<span class="sourceLineNo">063</span>    */<a name="line.63"></a>
+<span class="sourceLineNo">064</span>   public RemoteableMethodMeta getMethodMeta(Method m) {<a name="line.64"></a>
+<span class="sourceLineNo">065</span>      return methods.get(m);<a name="line.65"></a>
+<span class="sourceLineNo">066</span>   }<a name="line.66"></a>
+<span class="sourceLineNo">067</span>}<a name="line.67"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteableMetadataException.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteableMetadataException.html b/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteableMetadataException.html
new file mode 100644
index 0000000..4255e11
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteableMetadataException.html
@@ -0,0 +1,128 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.remoteable;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import java.lang.reflect.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import java.text.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>import org.apache.juneau.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>/**<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * Exceptions caused by invalid Remoteable classes.<a name="line.21"></a>
+<span class="sourceLineNo">022</span> */<a name="line.22"></a>
+<span class="sourceLineNo">023</span>public class RemoteableMetadataException extends FormattedRuntimeException {<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>   private static final long serialVersionUID = 1L;<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span>   /**<a name="line.27"></a>
+<span class="sourceLineNo">028</span>    * Constructor.<a name="line.28"></a>
+<span class="sourceLineNo">029</span>    *<a name="line.29"></a>
+<span class="sourceLineNo">030</span>    * @param m The interface method that has an invalid definition.<a name="line.30"></a>
+<span class="sourceLineNo">031</span>    * @param message The {@link MessageFormat}-style message.<a name="line.31"></a>
+<span class="sourceLineNo">032</span>    * @param args Optional {@link MessageFormat}-style arguments.<a name="line.32"></a>
+<span class="sourceLineNo">033</span>    */<a name="line.33"></a>
+<span class="sourceLineNo">034</span>   public RemoteableMetadataException(Method m, String message, Object...args) {<a name="line.34"></a>
+<span class="sourceLineNo">035</span>      super(getMessage(m.getDeclaringClass(), m, message), args);<a name="line.35"></a>
+<span class="sourceLineNo">036</span>   }<a name="line.36"></a>
+<span class="sourceLineNo">037</span><a name="line.37"></a>
+<span class="sourceLineNo">038</span>   /**<a name="line.38"></a>
+<span class="sourceLineNo">039</span>    * Constructor.<a name="line.39"></a>
+<span class="sourceLineNo">040</span>    *<a name="line.40"></a>
+<span class="sourceLineNo">041</span>    * @param c The interface class that has an invalid definition.<a name="line.41"></a>
+<span class="sourceLineNo">042</span>    * @param message The {@link MessageFormat}-style message.<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    * @param args Optional {@link MessageFormat}-style arguments.<a name="line.43"></a>
+<span class="sourceLineNo">044</span>    */<a name="line.44"></a>
+<span class="sourceLineNo">045</span>   public RemoteableMetadataException(Class&lt;?&gt; c, String message, Object...args) {<a name="line.45"></a>
+<span class="sourceLineNo">046</span>      super(getMessage(c, null, message), args);<a name="line.46"></a>
+<span class="sourceLineNo">047</span>   }<a name="line.47"></a>
+<span class="sourceLineNo">048</span><a name="line.48"></a>
+<span class="sourceLineNo">049</span>   private static final String getMessage(Class&lt;?&gt; c, Method m, String msg) {<a name="line.49"></a>
+<span class="sourceLineNo">050</span>      StringBuilder sb = new StringBuilder("Invalid remoteable definition found on class ").append(c.getName());<a name="line.50"></a>
+<span class="sourceLineNo">051</span>      if (m != null)<a name="line.51"></a>
+<span class="sourceLineNo">052</span>         sb.append(" on method ").append(m.getName());<a name="line.52"></a>
+<span class="sourceLineNo">053</span>      sb.append(". ").append(msg);<a name="line.53"></a>
+<span class="sourceLineNo">054</span>      return sb.toString();<a name="line.54"></a>
+<span class="sourceLineNo">055</span>   }<a name="line.55"></a>
+<span class="sourceLineNo">056</span>}<a name="line.56"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>


[40/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/ClassMeta.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/ClassMeta.html b/content/site/apidocs/org/apache/juneau/ClassMeta.html
index 51ab4c3..ba92782 100644
--- a/content/site/apidocs/org/apache/juneau/ClassMeta.html
+++ b/content/site/apidocs/org/apache/juneau/ClassMeta.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10};
 var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab";
 <hr>
 <br>
 <pre><a href="../../../org/apache/juneau/annotation/Bean.html" title="annotation in org.apache.juneau.annotation">@Bean</a>(<a href="../../../org/apache/juneau/annotation/Bean.html#properties--">properties</a>="innerClass,classCategory,elementType,keyType,valueType,notABeanReason,initException,beanMeta")
-public final class <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.53">ClassMeta</a>&lt;T&gt;
+public final class <a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.54">ClassMeta</a>&lt;T&gt;
 extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
 implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a></pre>
 <div class="block">A wrapper class around the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> object that provides cached information
@@ -331,263 +331,257 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 </td>
 </tr>
 <tr id="i29" class="rowColor">
-<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&gt;</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#getProxyableMethods--">getProxyableMethods</a></span>()</code>
-<div class="block">All methods on this class that can be exposed as a proxy method.</div>
-</td>
-</tr>
-<tr id="i30" class="altColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationHandler.html?is-external=true" title="class or interface in java.lang.reflect">InvocationHandler</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#getProxyInvocationHandler--">getProxyInvocationHandler</a></span>()</code>
 <div class="block">Returns the interface proxy invocation handler for this class.</div>
 </td>
 </tr>
-<tr id="i31" class="rowColor">
+<tr id="i30" class="altColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#getPublicMethods--">getPublicMethods</a></span>()</code>
 <div class="block">All public methods on this class including static methods.</div>
 </td>
 </tr>
-<tr id="i32" class="altColor">
+<tr id="i31" class="rowColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#getReadableName--">getReadableName</a></span>()</code>
 <div class="block">Returns a readable name for this class (e.g.</div>
 </td>
 </tr>
-<tr id="i33" class="rowColor">
+<tr id="i32" class="altColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#getRemoteableMethods--">getRemoteableMethods</a></span>()</code>
-<div class="block">All methods on this class annotated with <a href="../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><code>@Remotable</code></a>, or all public methods if class is annotated.</div>
+<div class="block">All methods on this class annotated with <a href="../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remotable</code></a>, or all public methods if class is annotated.</div>
 </td>
 </tr>
-<tr id="i34" class="altColor">
+<tr id="i33" class="rowColor">
 <td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#getSerializedClassMeta--">getSerializedClassMeta</a></span>()</code>
 <div class="block">Returns the serialized (swapped) form of this class if there is an <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with it.</div>
 </td>
 </tr>
-<tr id="i35" class="rowColor">
+<tr id="i34" class="altColor">
 <td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#getValueType--">getValueType</a></span>()</code>
 <div class="block">For <code>Map</code> types, returns the class type of the values of the <code>Map</code>.</div>
 </td>
 </tr>
-<tr id="i36" class="altColor">
+<tr id="i35" class="rowColor">
 <td class="colFirst"><code>protected boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#hasChildPojoSwaps--">hasChildPojoSwaps</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class or any child classes has a <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with it.</div>
 </td>
 </tr>
-<tr id="i37" class="rowColor">
+<tr id="i36" class="altColor">
 <td class="colFirst"><code>int</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
 </tr>
-<tr id="i38" class="altColor">
+<tr id="i37" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isAbstract--">isAbstract</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is abstract.</div>
 </td>
 </tr>
-<tr id="i39" class="rowColor">
+<tr id="i38" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isArgs--">isArgs</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this metadata represents an array of argument types.</div>
 </td>
 </tr>
-<tr id="i40" class="altColor">
+<tr id="i39" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isArray--">isArray</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is an array.</div>
 </td>
 </tr>
-<tr id="i41" class="rowColor">
+<tr id="i40" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isAssignableFrom-java.lang.Class-">isAssignableFrom</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c)</code>
 <div class="block">Returns <jk>true</jk> if this class is a superclass of or the same as the specified class.</div>
 </td>
 </tr>
-<tr id="i42" class="altColor">
+<tr id="i41" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isBean--">isBean</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a bean.</div>
 </td>
 </tr>
-<tr id="i43" class="rowColor">
+<tr id="i42" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isBeanMap--">isBeanMap</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a>.</div>
 </td>
 </tr>
-<tr id="i44" class="altColor">
+<tr id="i43" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isBoolean--">isBoolean</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>.</div>
 </td>
 </tr>
-<tr id="i45" class="rowColor">
+<tr id="i44" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isChar--">isChar</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang"><code>Character</code></a>.</div>
 </td>
 </tr>
-<tr id="i46" class="altColor">
+<tr id="i45" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isCharSequence--">isCharSequence</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang"><code>CharSequence</code></a>.</div>
 </td>
 </tr>
-<tr id="i47" class="rowColor">
+<tr id="i46" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isClass--">isClass</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>.</div>
 </td>
 </tr>
-<tr id="i48" class="altColor">
+<tr id="i47" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isCollection--">isCollection</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>.</div>
 </td>
 </tr>
-<tr id="i49" class="rowColor">
+<tr id="i48" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isCollectionOrArray--">isCollectionOrArray</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> or is an array.</div>
 </td>
 </tr>
-<tr id="i50" class="altColor">
+<tr id="i49" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isDate--">isDate</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util"><code>Calendar</code></a>.</div>
 </td>
 </tr>
-<tr id="i51" class="rowColor">
+<tr id="i50" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isDecimal--">isDecimal</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang"><code>Float</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang"><code>Double</code></a>.</div>
 </td>
 </tr>
-<tr id="i52" class="altColor">
+<tr id="i51" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isDelegate--">isDelegate</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class implements <a href="../../../org/apache/juneau/Delegate.html" title="interface in org.apache.juneau"><code>Delegate</code></a>, meaning
    it's a representation of some other object.</div>
 </td>
 </tr>
-<tr id="i53" class="rowColor">
+<tr id="i52" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isEnum--">isEnum</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><code>Enum</code></a>.</div>
 </td>
 </tr>
-<tr id="i54" class="altColor">
+<tr id="i53" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isInputStream--">isInputStream</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>.</div>
 </td>
 </tr>
-<tr id="i55" class="rowColor">
+<tr id="i54" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isInstance-java.lang.Object-">isInstance</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>
 <div class="block">Returns <jk>true</jk> if the specified object is an instance of this class.</div>
 </td>
 </tr>
-<tr id="i56" class="altColor">
+<tr id="i55" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isInstanceOf-java.lang.Class-">isInstanceOf</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c)</code>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of or the same as the specified class.</div>
 </td>
 </tr>
-<tr id="i57" class="rowColor">
+<tr id="i56" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isMap--">isMap</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>.</div>
 </td>
 </tr>
-<tr id="i58" class="altColor">
+<tr id="i57" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isMapOrBean--">isMapOrBean</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> or it's a bean.</div>
 </td>
 </tr>
-<tr id="i59" class="rowColor">
+<tr id="i58" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isMemberClass--">isMemberClass</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is an inner class.</div>
 </td>
 </tr>
-<tr id="i60" class="altColor">
+<tr id="i59" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isNotObject--">isNotObject</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is not <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div>
 </td>
 </tr>
-<tr id="i61" class="rowColor">
+<tr id="i60" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isNullable--">isNullable</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if instance of this object can be <jk>null</jk>.</div>
 </td>
 </tr>
-<tr id="i62" class="altColor">
+<tr id="i61" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isNumber--">isNumber</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><code>Number</code></a>.</div>
 </td>
 </tr>
-<tr id="i63" class="rowColor">
+<tr id="i62" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isObject--">isObject</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div>
 </td>
 </tr>
-<tr id="i64" class="altColor">
+<tr id="i63" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isPrimitive--">isPrimitive</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a primitive.</div>
 </td>
 </tr>
-<tr id="i65" class="rowColor">
+<tr id="i64" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isReader--">isReader</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a>.</div>
 </td>
 </tr>
-<tr id="i66" class="altColor">
+<tr id="i65" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isRemoteable--">isRemoteable</a></span>()</code>
-<div class="block">Returns <jk>true</jk> if this class or one of it's methods are annotated with <a href="../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><code>@Remotable</code></a>.</div>
+<div class="block">Returns <jk>true</jk> if this class or one of it's methods are annotated with <a href="../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remotable</code></a>.</div>
 </td>
 </tr>
-<tr id="i67" class="rowColor">
+<tr id="i66" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isString--">isString</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>.</div>
 </td>
 </tr>
-<tr id="i68" class="altColor">
+<tr id="i67" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isUri--">isUri</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net"><code>URI</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net"><code>URL</code></a>.</div>
 </td>
 </tr>
-<tr id="i69" class="rowColor">
+<tr id="i68" class="altColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#isVoid--">isVoid</a></span>()</code>
 <div class="block">Returns <jk>true</jk> if this class is <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang"><code>Void</code></a> or <jk>void</jk>.</div>
 </td>
 </tr>
-<tr id="i70" class="altColor">
+<tr id="i69" class="rowColor">
 <td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#newInstance--">newInstance</a></span>()</code>
 <div class="block">Create a new instance of the main class of this declared type.</div>
 </td>
 </tr>
-<tr id="i71" class="rowColor">
+<tr id="i70" class="altColor">
 <td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#newInstance-java.lang.Object-">newInstance</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer)</code>
 <div class="block">Same as <a href="../../../org/apache/juneau/ClassMeta.html#newInstance--"><code>newInstance()</code></a> except for instantiating non-static member classes.</div>
 </td>
 </tr>
-<tr id="i72" class="altColor">
+<tr id="i71" class="rowColor">
 <td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#newInstanceFromNumber-org.apache.juneau.BeanSession-java.lang.Object-java.lang.Number-">newInstanceFromNumber</a></span>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a>&nbsp;session,
                      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer,
@@ -595,31 +589,31 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 <div class="block">Create a new instance of the main class of this declared type from a <code>Number</code> input.</div>
 </td>
 </tr>
-<tr id="i73" class="rowColor">
+<tr id="i72" class="altColor">
 <td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#newInstanceFromString-java.lang.Object-java.lang.String-">newInstanceFromString</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer,
                      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;arg)</code>
 <div class="block">Create a new instance of the main class of this declared type from a <code>String</code> input.</div>
 </td>
 </tr>
-<tr id="i74" class="altColor">
+<tr id="i73" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#same-org.apache.juneau.ClassMeta-">same</a></span>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;cm)</code>
 <div class="block">Similar to <a href="../../../org/apache/juneau/ClassMeta.html#equals-java.lang.Object-"><code>equals(Object)</code></a> except primitive and Object types that are similar
  are considered the same.</div>
 </td>
 </tr>
-<tr id="i75" class="rowColor">
+<tr id="i74" class="altColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#toString--">toString</a></span>()</code>&nbsp;</td>
 </tr>
-<tr id="i76" class="altColor">
+<tr id="i75" class="rowColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#toString-boolean-">toString</a></span>(boolean&nbsp;simple)</code>
 <div class="block">Same as <a href="../../../org/apache/juneau/ClassMeta.html#toString--"><code>toString()</code></a> except use simple class names.</div>
 </td>
 </tr>
-<tr id="i77" class="rowColor">
+<tr id="i76" class="altColor">
 <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ClassMeta.html#toString-java.lang.StringBuilder-boolean-">toString</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb,
         boolean&nbsp;simple)</code>
@@ -661,7 +655,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 <ul class="blockList">
 <li class="blockList">
 <h4>getBeanTypePropertyName</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.705">getBeanTypePropertyName</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.706">getBeanTypePropertyName</a>()</pre>
 <div class="block">Returns the type property name associated with this class and subclasses.
  <p>
  If <jk>null</jk>, <js>"_type"</js> should be assumed.</div>
@@ -677,7 +671,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 <ul class="blockList">
 <li class="blockList">
 <h4>getDictionaryName</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.716">getDictionaryName</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.717">getDictionaryName</a>()</pre>
 <div class="block">Returns the bean dictionary name associated with this class.
  <p>
  The lexical name is defined by <a href="../../../org/apache/juneau/annotation/Bean.html#typeName--"><code>Bean.typeName()</code></a>.</div>
@@ -693,7 +687,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 <ul class="blockList">
 <li class="blockList">
 <h4>getBeanRegistry</h4>
-<pre>public&nbsp;<a href="../../../org/apache/juneau/BeanRegistry.html" title="class in org.apache.juneau">BeanRegistry</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.729">getBeanRegistry</a>()</pre>
+<pre>public&nbsp;<a href="../../../org/apache/juneau/BeanRegistry.html" title="class in org.apache.juneau">BeanRegistry</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.730">getBeanRegistry</a>()</pre>
 <div class="block">Returns the bean registry for this class.
  <p>
  This bean registry contains names specified in the <a href="../../../org/apache/juneau/annotation/Bean.html#beanDictionary--"><code>Bean.beanDictionary()</code></a> annotation defined
@@ -711,7 +705,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 <ul class="blockList">
 <li class="blockList">
 <h4>getClassCategory</h4>
-<pre>public&nbsp;org.apache.juneau.ClassMeta.ClassCategory&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.738">getClassCategory</a>()</pre>
+<pre>public&nbsp;org.apache.juneau.ClassMeta.ClassCategory&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.739">getClassCategory</a>()</pre>
 <div class="block">Returns the category of this class.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -725,7 +719,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 <ul class="blockList">
 <li class="blockList">
 <h4>isAssignableFrom</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.748">isAssignableFrom</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.749">isAssignableFrom</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c)</pre>
 <div class="block">Returns <jk>true</jk> if this class is a superclass of or the same as the specified class.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -741,7 +735,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 <ul class="blockList">
 <li class="blockList">
 <h4>isInstanceOf</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.758">isInstanceOf</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.759">isInstanceOf</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c)</pre>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of or the same as the specified class.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -757,7 +751,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 <ul class="blockList">
 <li class="blockList">
 <h4>hasChildPojoSwaps</h4>
-<pre>protected&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.770">hasChildPojoSwaps</a>()</pre>
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.771">hasChildPojoSwaps</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class or any child classes has a <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with it.
  <p>
  Used when transforming bean properties to prevent having to look up transforms if we know for certain
@@ -774,7 +768,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 <ul class="blockList">
 <li class="blockList">
 <h4>getChildPojoSwapForSwap</h4>
-<pre>protected&nbsp;<a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a>&lt;?,?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.781">getChildPojoSwapForSwap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;normalClass)</pre>
+<pre>protected&nbsp;<a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a>&lt;?,?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.782">getChildPojoSwapForSwap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;normalClass)</pre>
 <div class="block">Returns the <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> where the specified class is the same/subclass of the normal class of
  one of the child pojo swaps associated with this class.</div>
 <dl>
@@ -791,7 +785,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 <ul class="blockList">
 <li class="blockList">
 <h4>getChildPojoSwapForUnswap</h4>
-<pre>protected&nbsp;<a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a>&lt;?,?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.808">getChildPojoSwapForUnswap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;swapClass)</pre>
+<pre>protected&nbsp;<a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a>&lt;?,?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.809">getChildPojoSwapForUnswap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;swapClass)</pre>
 <div class="block">Returns the <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> where the specified class is the same/subclass of the swap class of
  one of the child pojo swaps associated with this class.</div>
 <dl>
@@ -808,7 +802,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 <ul class="blockList">
 <li class="blockList">
 <h4>findNoArgConstructor</h4>
-<pre>protected static&nbsp;&lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a>&lt;? extends T&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.839">findNoArgConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c,
+<pre>protected static&nbsp;&lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a>&lt;? extends T&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.840">findNoArgConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c,
                                                                    <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>&nbsp;v)</pre>
 <div class="block">Locates the no-arg constructor for the specified class.
  Constructor must match the visibility requirements specified by parameter 'v'.
@@ -829,7 +823,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 <ul class="blockList">
 <li class="blockList">
 <h4>getInnerClass</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.857">getInnerClass</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.858">getInnerClass</a>()</pre>
 <div class="block">Returns the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> object that this class type wraps.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -844,7 +838,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/T
 <li class="blockList">
 <h4>getSerializedClassMeta</h4>
 <pre><a href="../../../org/apache/juneau/annotation/BeanIgnore.html" title="annotation in org.apache.juneau.annotation">@BeanIgnore</a>
-public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.867">getSerializedClassMeta</a>()</pre>
+public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.868">getSerializedClassMeta</a>()</pre>
 <div class="block">Returns the serialized (swapped) form of this class if there is an <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with it.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -858,7 +852,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getElementType</h4>
-<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.876">getElementType</a>()</pre>
+<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.877">getElementType</a>()</pre>
 <div class="block">For array and <code>Collection</code> types, returns the class type of the components of the array or <code>Collection</code>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -872,7 +866,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getKeyType</h4>
-<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.885">getKeyType</a>()</pre>
+<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.886">getKeyType</a>()</pre>
 <div class="block">For <code>Map</code> types, returns the class type of the keys of the <code>Map</code>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -886,7 +880,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getValueType</h4>
-<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.894">getValueType</a>()</pre>
+<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.895">getValueType</a>()</pre>
 <div class="block">For <code>Map</code> types, returns the class type of the values of the <code>Map</code>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -900,7 +894,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isDelegate</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.904">isDelegate</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.905">isDelegate</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class implements <a href="../../../org/apache/juneau/Delegate.html" title="interface in org.apache.juneau"><code>Delegate</code></a>, meaning
    it's a representation of some other object.</div>
 <dl>
@@ -915,7 +909,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isMap</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.913">isMap</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.914">isMap</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -929,7 +923,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isMapOrBean</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.922">isMapOrBean</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.923">isMapOrBean</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> or it's a bean.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -943,7 +937,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isBeanMap</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.931">isBeanMap</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.932">isBeanMap</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau"><code>BeanMap</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -957,7 +951,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isCollection</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.940">isCollection</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.941">isCollection</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -971,7 +965,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isCollectionOrArray</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.949">isCollectionOrArray</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.950">isCollectionOrArray</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> or is an array.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -985,7 +979,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isClass</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.958">isClass</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.959">isClass</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -999,7 +993,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isEnum</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.967">isEnum</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.968">isEnum</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><code>Enum</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1013,7 +1007,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isArray</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.976">isArray</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.977">isArray</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is an array.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1027,7 +1021,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isBean</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.985">isBean</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.986">isBean</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a bean.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1041,7 +1035,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isObject</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.994">isObject</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.995">isObject</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1055,7 +1049,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isNotObject</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1003">isNotObject</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1004">isNotObject</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is not <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1069,7 +1063,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isNumber</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1012">isNumber</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1013">isNumber</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><code>Number</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1083,7 +1077,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isDecimal</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1021">isDecimal</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1022">isDecimal</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang"><code>Float</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang"><code>Double</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1097,7 +1091,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isBoolean</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1030">isBoolean</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1031">isBoolean</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1111,7 +1105,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isCharSequence</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1039">isCharSequence</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1040">isCharSequence</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a subclass of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang"><code>CharSequence</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1125,7 +1119,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isString</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1048">isString</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1049">isString</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1139,7 +1133,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isChar</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1057">isChar</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1058">isChar</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang"><code>Character</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1153,7 +1147,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isPrimitive</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1066">isPrimitive</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1067">isPrimitive</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a primitive.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1167,7 +1161,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isDate</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1075">isDate</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1076">isDate</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util"><code>Calendar</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1181,7 +1175,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isUri</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1084">isUri</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1085">isUri</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net"><code>URI</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net"><code>URL</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1195,7 +1189,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isReader</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1093">isReader</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1094">isReader</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1209,7 +1203,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isInputStream</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1102">isInputStream</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1103">isInputStream</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1223,7 +1217,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isVoid</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1111">isVoid</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1112">isVoid</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang"><code>Void</code></a> or <jk>void</jk>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1237,7 +1231,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isArgs</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1120">isArgs</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1121">isArgs</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this metadata represents an array of argument types.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1251,7 +1245,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getArgs</h4>
-<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;[]&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1129">getArgs</a>()</pre>
+<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;[]&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1130">getArgs</a>()</pre>
 <div class="block">Returns the argument types of this meta.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1265,7 +1259,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getArg</h4>
-<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1140">getArg</a>(int&nbsp;index)</pre>
+<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1141">getArg</a>(int&nbsp;index)</pre>
 <div class="block">Returns the argument metadata at the specified index if this is an args metadata object.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1283,7 +1277,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isNullable</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1154">isNullable</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1155">isNullable</a>()</pre>
 <div class="block">Returns <jk>true</jk> if instance of this object can be <jk>null</jk>.
  <p>
  Objects can be <jk>null</jk>, but primitives cannot, except for chars which can be represented
@@ -1300,8 +1294,8 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isRemoteable</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1165">isRemoteable</a>()</pre>
-<div class="block">Returns <jk>true</jk> if this class or one of it's methods are annotated with <a href="../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><code>@Remotable</code></a>.</div>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1166">isRemoteable</a>()</pre>
+<div class="block">Returns <jk>true</jk> if this class or one of it's methods are annotated with <a href="../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remotable</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd><jk>true</jk> if this class is remoteable.</dd>
@@ -1314,7 +1308,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isAbstract</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1173">isAbstract</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1174">isAbstract</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is abstract.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1328,7 +1322,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>isMemberClass</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1181">isMemberClass</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1182">isMemberClass</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class is an inner class.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1342,8 +1336,8 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getRemoteableMethods</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1191">getRemoteableMethods</a>()</pre>
-<div class="block">All methods on this class annotated with <a href="../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><code>@Remotable</code></a>, or all public methods if class is annotated.
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1192">getRemoteableMethods</a>()</pre>
+<div class="block">All methods on this class annotated with <a href="../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remotable</code></a>, or all public methods if class is annotated.
  Keys are method signatures.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1351,29 +1345,13 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 </dl>
 </li>
 </ul>
-<a name="getProxyableMethods--">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>getProxyableMethods</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1202">getProxyableMethods</a>()</pre>
-<div class="block">All methods on this class that can be exposed as a proxy method.
- <p>
- Same as <a href="../../../org/apache/juneau/ClassMeta.html#getRemoteableMethods--"><code>getRemoteableMethods()</code></a> except returns all public methods if class is not annotated with <a href="../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><code>@Remotable</code></a>.</div>
-<dl>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>All proxyable methods on this class.</dd>
-</dl>
-</li>
-</ul>
 <a name="getPublicMethods--">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>getPublicMethods</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1212">getPublicMethods</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1202">getPublicMethods</a>()</pre>
 <div class="block">All public methods on this class including static methods.
  Keys are method signatures.</div>
 <dl>
@@ -1388,7 +1366,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getPojoSwap</h4>
-<pre>public&nbsp;<a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a>&lt;<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>,?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1222">getPojoSwap</a>()</pre>
+<pre>public&nbsp;<a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a>&lt;<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>,?&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1212">getPojoSwap</a>()</pre>
 <div class="block">Returns the <a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform"><code>PojoSwap</code></a> associated with this class.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1403,7 +1381,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getBeanMeta</h4>
-<pre>public&nbsp;<a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a>&lt;<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1232">getBeanMeta</a>()</pre>
+<pre>public&nbsp;<a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a>&lt;<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1222">getBeanMeta</a>()</pre>
 <div class="block">Returns the <a href="../../../org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau"><code>BeanMeta</code></a> associated with this class.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1418,7 +1396,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getConstructor</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a>&lt;? extends <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1241">getConstructor</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a>&lt;? extends <a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1231">getConstructor</a>()</pre>
 <div class="block">Returns the no-arg constructor for this class.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1432,7 +1410,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getExtendedMeta</h4>
-<pre>public&nbsp;&lt;M extends <a href="../../../org/apache/juneau/ClassMetaExtended.html" title="class in org.apache.juneau">ClassMetaExtended</a>&gt;&nbsp;M&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1251">getExtendedMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;M&gt;&nbsp;c)</pre>
+<pre>public&nbsp;&lt;M extends <a href="../../../org/apache/juneau/ClassMetaExtended.html" title="class in org.apache.juneau">ClassMetaExtended</a>&gt;&nbsp;M&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1241">getExtendedMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;M&gt;&nbsp;c)</pre>
 <div class="block">Returns the language-specified extended metadata on this class.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1448,7 +1426,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getProxyInvocationHandler</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationHandler.html?is-external=true" title="class or interface in java.lang.reflect">InvocationHandler</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1260">getProxyInvocationHandler</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationHandler.html?is-external=true" title="class or interface in java.lang.reflect">InvocationHandler</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1250">getProxyInvocationHandler</a>()</pre>
 <div class="block">Returns the interface proxy invocation handler for this class.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1462,7 +1440,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>canCreateNewInstance</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1269">canCreateNewInstance</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1259">canCreateNewInstance</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this class has a no-arg constructor or invocation handler.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1476,7 +1454,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>canCreateNewInstance</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1289">canCreateNewInstance</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1279">canCreateNewInstance</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer)</pre>
 <div class="block">Returns <jk>true</jk> if this class has a no-arg constructor or invocation handler.
  Returns <jk>false</jk> if this is a non-static member class and the outer object does not match
    the class type of the defining class.</div>
@@ -1494,7 +1472,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>canCreateNewBean</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1303">canCreateNewBean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1293">canCreateNewBean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer)</pre>
 <div class="block">Returns <jk>true</jk> if this class can be instantiated as a bean.
  Returns <jk>false</jk> if this is a non-static member class and the outer object does not match
    the class type of the defining class.</div>
@@ -1512,7 +1490,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>canCreateNewInstanceFromString</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1319">canCreateNewInstanceFromString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1309">canCreateNewInstanceFromString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer)</pre>
 <div class="block">Returns <jk>true</jk> if this class can call the <a href="../../../org/apache/juneau/ClassMeta.html#newInstanceFromString-java.lang.Object-java.lang.String-"><code>newInstanceFromString(Object, String)</code></a> method.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1528,7 +1506,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>canCreateNewInstanceFromNumber</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1336">canCreateNewInstanceFromNumber</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1326">canCreateNewInstanceFromNumber</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer)</pre>
 <div class="block">Returns <jk>true</jk> if this class can call the <a href="../../../org/apache/juneau/ClassMeta.html#newInstanceFromString-java.lang.Object-java.lang.String-"><code>newInstanceFromString(Object, String)</code></a> method.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1544,7 +1522,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getNewInstanceFromNumberClass</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1351">getNewInstanceFromNumberClass</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1341">getNewInstanceFromNumberClass</a>()</pre>
 <div class="block">Returns the class type of the parameter of the numeric constructor.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1558,7 +1536,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getNameProperty</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1360">getNameProperty</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1350">getNameProperty</a>()</pre>
 <div class="block">Returns the method annotated with <a href="../../../org/apache/juneau/annotation/NameProperty.html" title="annotation in org.apache.juneau.annotation"><code>@NameProperty</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1572,7 +1550,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getParentProperty</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1369">getParentProperty</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1359">getParentProperty</a>()</pre>
 <div class="block">Returns the method annotated with <a href="../../../org/apache/juneau/annotation/ParentProperty.html" title="annotation in org.apache.juneau.annotation"><code>@ParentProperty</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1586,7 +1564,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getNotABeanReason</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1378">getNotABeanReason</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1368">getNotABeanReason</a>()</pre>
 <div class="block">Returns the reason why this class is not a bean, or <jk>null</jk> if it is a bean.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1600,7 +1578,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getInitException</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1387">getInitException</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1377">getInitException</a>()</pre>
 <div class="block">Returns any exception that was throw in the <code>init()</code> method.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1614,7 +1592,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getBeanContext</h4>
-<pre>public&nbsp;<a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1396">getBeanContext</a>()</pre>
+<pre>public&nbsp;<a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1386">getBeanContext</a>()</pre>
 <div class="block">Returns the <a href="../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau"><code>BeanContext</code></a> that created this object.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1628,7 +1606,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getPrimitiveDefault</h4>
-<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1406">getPrimitiveDefault</a>()</pre>
+<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1396">getPrimitiveDefault</a>()</pre>
 <div class="block">Returns the default value for primitives such as <jk>int</jk> or <jk>Integer</jk>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1642,7 +1620,7 @@ public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>newInstanceFromString</h4>
-<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1430">newInstanceFromString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer,
+<pre>public&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="type parameter in ClassMeta">T</a>&nbsp;<a href="../../../src-html/org/apache/juneau/ClassMeta.html#line.1420">newInstanceFromString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=tru

<TRUNCATED>


[35/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/RemoteableMetadataException.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/RemoteableMetadataException.html b/content/site/apidocs/org/apache/juneau/remoteable/RemoteableMetadataException.html
new file mode 100644
index 0000000..a8d02ab
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/RemoteableMetadataException.html
@@ -0,0 +1,310 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RemoteableMetadataException (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="RemoteableMetadataException (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/RemoteableMetadataException.html" target="_top">Frames</a></li>
+<li><a href="RemoteableMetadataException.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li>Method</li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.remoteable</div>
+<h2 title="Class RemoteableMetadataException" class="title">Class RemoteableMetadataException</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">java.lang.RuntimeException</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../org/apache/juneau/FormattedRuntimeException.html" title="class in org.apache.juneau">org.apache.juneau.FormattedRuntimeException</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.remoteable.RemoteableMetadataException</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMetadataException.html#line.23">RemoteableMetadataException</a>
+extends <a href="../../../../org/apache/juneau/FormattedRuntimeException.html" title="class in org.apache.juneau">FormattedRuntimeException</a></pre>
+<div class="block">Exceptions caused by invalid Remoteable classes.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../serialized-form.html#org.apache.juneau.remoteable.RemoteableMetadataException">Serialized Form</a></dd>
+</dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteableMetadataException.html#RemoteableMetadataException-java.lang.Class-java.lang.String-java.lang.Object...-">RemoteableMetadataException</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c,
+                           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message,
+                           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;args)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteableMetadataException.html#RemoteableMetadataException-java.lang.reflect.Method-java.lang.String-java.lang.Object...-">RemoteableMetadataException</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;m,
+                           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message,
+                           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;args)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-" title="class or interface in java.lang">addSuppressed</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--" title="class or interface in java.lang">fillInStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang">getCause</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--" title="class or interface in java.lang">getLocalizedMessage</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getMessage--" title="class or interface in java.lang">getMessage</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace--" title="class or inter
 face in java.lang">getStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getSuppressed--" title="class or interface in java.lang">getSuppressed</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#initCause-java.lang.Throwable-" title="class or interface in java.lang">initCause</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace--" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintStream-" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintWriter-" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lan
 g/Throwable.html?is-external=true#setStackTrace-java.lang.StackTraceElement:A-" title="class or interface in java.lang">setStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="RemoteableMetadataException-java.lang.reflect.Method-java.lang.String-java.lang.Object...-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>RemoteableMetadataException</h4>
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMetadataException.html#line.34">RemoteableMetadataException</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;m,
+                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message,
+                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;args)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>m</code> - The interface method that has an invalid definition.</dd>
+<dd><code>message</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style message.</dd>
+<dd><code>args</code> - Optional <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments.</dd>
+</dl>
+</li>
+</ul>
+<a name="RemoteableMetadataException-java.lang.Class-java.lang.String-java.lang.Object...-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>RemoteableMetadataException</h4>
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMetadataException.html#line.45">RemoteableMetadataException</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;c,
+                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message,
+                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;args)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>c</code> - The interface class that has an invalid definition.</dd>
+<dd><code>message</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style message.</dd>
+<dd><code>args</code> - Optional <a href="http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html?is-external=true" title="class or interface in java.text"><code>MessageFormat</code></a>-style arguments.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/RemoteableMetadataException.html" target="_top">Frames</a></li>
+<li><a href="RemoteableMetadataException.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li>Method</li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/RemoteableMethodMeta.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/RemoteableMethodMeta.html b/content/site/apidocs/org/apache/juneau/remoteable/RemoteableMethodMeta.html
new file mode 100644
index 0000000..4331d40
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/RemoteableMethodMeta.html
@@ -0,0 +1,410 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RemoteableMethodMeta (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="RemoteableMethodMeta (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/RemoteableMethodMeta.html" target="_top">Frames</a></li>
+<li><a href="RemoteableMethodMeta.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.remoteable</div>
+<h2 title="Class RemoteableMethodMeta" class="title">Class RemoteableMethodMeta</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.remoteable.RemoteableMethodMeta</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMethodMeta.html#line.28">RemoteableMethodMeta</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Contains the meta-data about a Java method on a remoteable interface.
+ <p>
+ Captures the information in <a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable"><code>@RemoteMethod</code></a> annotations for caching and reuse.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html#RemoteableMethodMeta-java.lang.String-java.lang.reflect.Method-">RemoteableMethodMeta</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;restUrl,
+                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;m)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html#getBodyArg--">getBodyArg</a></span>()</code>
+<div class="block">Returns the argument annotated with <a href="../../../../org/apache/juneau/remoteable/Body.html" title="annotation in org.apache.juneau.remoteable"><code>@Body</code></a>.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable">RemoteMethodArg</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html#getFormDataArgs--">getFormDataArgs</a></span>()</code>
+<div class="block">Returns the <a href="../../../../org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><code>@FormData</code></a> annotated arguments on this Java method.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable">RemoteMethodArg</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html#getHeaderArgs--">getHeaderArgs</a></span>()</code>
+<div class="block">Returns the <a href="../../../../org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><code>@Header</code></a> annotated arguments on this Java method.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html#getHttpMethod--">getHttpMethod</a></span>()</code>
+<div class="block">Returns the value of the <a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html#httpMethod--"><code>RemoteMethod.httpMethod()</code></a> annotation on this Java method.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html#getOtherArgs--">getOtherArgs</a></span>()</code>
+<div class="block">Returns the remaining non-annotated arguments on this Java method.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable">RemoteMethodArg</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html#getQueryArgs--">getQueryArgs</a></span>()</code>
+<div class="block">Returns the <a href="../../../../org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><code>@Query</code></a> annotated arguments on this Java method.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html#getUrl--">getUrl</a></span>()</code>
+<div class="block">Returns the absolute URL of the REST interface invoked by this Java method.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="RemoteableMethodMeta-java.lang.String-java.lang.reflect.Method-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>RemoteableMethodMeta</h4>
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMethodMeta.html#line.42">RemoteableMethodMeta</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;restUrl,
+                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;m)</pre>
+<div class="block">Constructor.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>restUrl</code> - The absolute URL of the REST interface backing the interface proxy.</dd>
+<dd><code>m</code> - The Java method.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="getHttpMethod--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getHttpMethod</h4>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMethodMeta.html#line.126">getHttpMethod</a>()</pre>
+<div class="block">Returns the value of the <a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html#httpMethod--"><code>RemoteMethod.httpMethod()</code></a> annotation on this Java method.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The value of the <a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html#httpMethod--"><code>RemoteMethod.httpMethod()</code></a> annotation, never <jk>null</jk>.</dd>
+</dl>
+</li>
+</ul>
+<a name="getUrl--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getUrl</h4>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMethodMeta.html#line.134">getUrl</a>()</pre>
+<div class="block">Returns the absolute URL of the REST interface invoked by this Java method.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The absolute URL of the REST interface, never <jk>null</jk>.</dd>
+</dl>
+</li>
+</ul>
+<a name="getQueryArgs--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getQueryArgs</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable">RemoteMethodArg</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMethodMeta.html#line.142">getQueryArgs</a>()</pre>
+<div class="block">Returns the <a href="../../../../org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><code>@Query</code></a> annotated arguments on this Java method.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A map of <a href="../../../../org/apache/juneau/remoteable/Query.html#value--"><code>@Query.value()</code></a> names to zero-indexed argument indices.</dd>
+</dl>
+</li>
+</ul>
+<a name="getFormDataArgs--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getFormDataArgs</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable">RemoteMethodArg</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMethodMeta.html#line.150">getFormDataArgs</a>()</pre>
+<div class="block">Returns the <a href="../../../../org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><code>@FormData</code></a> annotated arguments on this Java method.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A map of <a href="../../../../org/apache/juneau/remoteable/FormData.html#value--"><code>@FormData.value()</code></a> names to zero-indexed argument indices.</dd>
+</dl>
+</li>
+</ul>
+<a name="getHeaderArgs--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getHeaderArgs</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable">RemoteMethodArg</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMethodMeta.html#line.158">getHeaderArgs</a>()</pre>
+<div class="block">Returns the <a href="../../../../org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><code>@Header</code></a> annotated arguments on this Java method.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A map of <a href="../../../../org/apache/juneau/remoteable/Header.html#value--"><code>@Header.value()</code></a> names to zero-indexed argument indices.</dd>
+</dl>
+</li>
+</ul>
+<a name="getOtherArgs--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getOtherArgs</h4>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMethodMeta.html#line.166">getOtherArgs</a>()</pre>
+<div class="block">Returns the remaining non-annotated arguments on this Java method.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A list of zero-indexed argument indices.</dd>
+</dl>
+</li>
+</ul>
+<a name="getBodyArg--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getBodyArg</h4>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/RemoteableMethodMeta.html#line.174">getBodyArg</a>()</pre>
+<div class="block">Returns the argument annotated with <a href="../../../../org/apache/juneau/remoteable/Body.html" title="annotation in org.apache.juneau.remoteable"><code>@Body</code></a>.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A index of the argument with the <a href="../../../../org/apache/juneau/remoteable/Body.html" title="annotation in org.apache.juneau.remoteable"><code>@Body</code></a> annotation, or <jk>null</jk> if no argument exists.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/RemoteableMethodMeta.html" target="_top">Frames</a></li>
+<li><a href="RemoteableMethodMeta.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/package-frame.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/package-frame.html b/content/site/apidocs/org/apache/juneau/remoteable/package-frame.html
new file mode 100644
index 0000000..a6d0dfb
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/package-frame.html
@@ -0,0 +1,38 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>org.apache.juneau.remoteable (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<h1 class="bar"><a href="../../../../org/apache/juneau/remoteable/package-summary.html" target="classFrame">org.apache.juneau.remoteable</a></h1>
+<div class="indexContainer">
+<h2 title="Classes">Classes</h2>
+<ul title="Classes">
+<li><a href="RemoteableMeta.html" title="class in org.apache.juneau.remoteable" target="classFrame">RemoteableMeta</a></li>
+<li><a href="RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable" target="classFrame">RemoteableMethodMeta</a></li>
+<li><a href="RemoteMethodArg.html" title="class in org.apache.juneau.remoteable" target="classFrame">RemoteMethodArg</a></li>
+</ul>
+<h2 title="Exceptions">Exceptions</h2>
+<ul title="Exceptions">
+<li><a href="RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable" target="classFrame">RemoteableMetadataException</a></li>
+</ul>
+<h2 title="Annotation Types">Annotation Types</h2>
+<ul title="Annotation Types">
+<li><a href="Body.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">Body</a></li>
+<li><a href="FormData.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">FormData</a></li>
+<li><a href="FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">FormDataIfNE</a></li>
+<li><a href="Header.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">Header</a></li>
+<li><a href="HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">HeaderIfNE</a></li>
+<li><a href="Query.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">Query</a></li>
+<li><a href="QueryIfNE.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">QueryIfNE</a></li>
+<li><a href="Remoteable.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">Remoteable</a></li>
+<li><a href="RemoteMethod.html" title="annotation in org.apache.juneau.remoteable" target="classFrame">RemoteMethod</a></li>
+</ul>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/package-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/package-summary.html b/content/site/apidocs/org/apache/juneau/remoteable/package-summary.html
new file mode 100644
index 0000000..3e594cf
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/package-summary.html
@@ -0,0 +1,276 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>org.apache.juneau.remoteable (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="org.apache.juneau.remoteable (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li class="navBarCell1Rev">Package</li>
+<li>Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/plaintext/package-summary.html">Prev&nbsp;Package</a></li>
+<li><a href="../../../../org/apache/juneau/rest/package-summary.html">Next&nbsp;Package</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/package-summary.html" target="_top">Frames</a></li>
+<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h1 title="Package" class="title">Package&nbsp;org.apache.juneau.remoteable</h1>
+<div class="docSummary">
+<div class="block">Remoteable interface proxies</div>
+</div>
+<p>See:&nbsp;<a href="#package.description">Description</a></p>
+</div>
+<div class="contentContainer">
+<ul class="blockList">
+<li class="blockList">
+<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
+<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Class</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMeta</a></td>
+<td class="colLast">
+<div class="block">Contains the meta-data about a remoteable interface.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMethodMeta</a></td>
+<td class="colLast">
+<div class="block">Contains the meta-data about a Java method on a remoteable interface.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable">RemoteMethodArg</a></td>
+<td class="colLast">
+<div class="block">Represents the metadata about an annotated argument of a method on a remote proxy interface.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList">
+<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation">
+<caption><span>Exception Summary</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Exception</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable">RemoteableMetadataException</a></td>
+<td class="colLast">
+<div class="block">Exceptions caused by invalid Remoteable classes.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList">
+<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Annotation Types Summary table, listing annotation types, and an explanation">
+<caption><span>Annotation Types Summary</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Annotation Type</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/remoteable/Body.html" title="annotation in org.apache.juneau.remoteable">Body</a></td>
+<td class="colLast">
+<div class="block">Annotation applied to Java method arguments of interface proxies to denote that they are the HTTP body of the request.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable">FormData</a></td>
+<td class="colLast">
+<div class="block">Annotation applied to Java method arguments of interface proxies to denote that they are FORM post parameters on the request.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/remoteable/FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable">FormDataIfNE</a></td>
+<td class="colLast">
+<div class="block">Identical to <a href="../../../../org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><code>@FormData</code></a> except skips values if they're null/blank.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable">Header</a></td>
+<td class="colLast">
+<div class="block">Annotation applied to Java method arguments of interface proxies to denote that they are serialized as an HTTP header value.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/remoteable/HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable">HeaderIfNE</a></td>
+<td class="colLast">
+<div class="block">Identical to <a href="../../../../org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><code>@Header</code></a> except skips values if they're null/blank.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable">Query</a></td>
+<td class="colLast">
+<div class="block">Annotation applied to Java method arguments of interface proxies to denote that they are QUERY parameters on the request.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/remoteable/QueryIfNE.html" title="annotation in org.apache.juneau.remoteable">QueryIfNE</a></td>
+<td class="colLast">
+<div class="block">Identical to <a href="../../../../org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><code>@Query</code></a> except skips values if they're null/blank.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable">Remoteable</a></td>
+<td class="colLast">
+<div class="block">Identifies a remote proxy interface against a REST interface.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable">RemoteMethod</a></td>
+<td class="colLast">
+<div class="block">Annotation applied to Java methods on interface proxy classes.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+<a name="package.description">
+<!--   -->
+</a>
+<h2 title="Package org.apache.juneau.remoteable Description">Package org.apache.juneau.remoteable Description</h2>
+<div class="block"><p>Remoteable interface proxies</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='#Overview'>Remoteable support overview</a></p> 
+</ol>
+
+<!-- ======================================================================================================== -->
+<a id="Overview"></a>
+<h2 class='topic' onclick='toggle(this)'>1 - Remoteable support overview</h2>
+<div class='topic'>
+   TODO <i>(sorry)</i>
+</div>
+<p align="center"><i><b>*** f�n ***</b></i></p></div>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li class="navBarCell1Rev">Package</li>
+<li>Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/plaintext/package-summary.html">Prev&nbsp;Package</a></li>
+<li><a href="../../../../org/apache/juneau/rest/package-summary.html">Next&nbsp;Package</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/package-summary.html" target="_top">Frames</a></li>
+<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/package-tree.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/package-tree.html b/content/site/apidocs/org/apache/juneau/remoteable/package-tree.html
new file mode 100644
index 0000000..41c25cb
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/package-tree.html
@@ -0,0 +1,167 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>org.apache.juneau.remoteable Class Hierarchy (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="org.apache.juneau.remoteable Class Hierarchy (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li>Class</li>
+<li class="navBarCell1Rev">Tree</li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/plaintext/package-tree.html">Prev</a></li>
+<li><a href="../../../../org/apache/juneau/rest/package-tree.html">Next</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/package-tree.html" target="_top">Frames</a></li>
+<li><a href="package-tree.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h1 class="title">Hierarchy For Package org.apache.juneau.remoteable</h1>
+<span class="packageHierarchyLabel">Package Hierarchies:</span>
+<ul class="horizontal">
+<li><a href="../../../../overview-tree.html">All Packages</a></li>
+</ul>
+</div>
+<div class="contentContainer">
+<h2 title="Class Hierarchy">Class Hierarchy</h2>
+<ul>
+<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
+<ul>
+<li type="circle">org.apache.juneau.remoteable.<a href="../../../../org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteableMeta</span></a></li>
+<li type="circle">org.apache.juneau.remoteable.<a href="../../../../org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteableMethodMeta</span></a></li>
+<li type="circle">org.apache.juneau.remoteable.<a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteMethodArg</span></a></li>
+<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Throwable</span></a> (implements java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
+<ul>
+<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Exception</span></a>
+<ul>
+<li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">RuntimeException</span></a>
+<ul>
+<li type="circle">org.apache.juneau.<a href="../../../../org/apache/juneau/FormattedRuntimeException.html" title="class in org.apache.juneau"><span class="typeNameLink">FormattedRuntimeException</span></a>
+<ul>
+<li type="circle">org.apache.juneau.remoteable.<a href="../../../../org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteableMetadataException</span></a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<h2 title="Annotation Type Hierarchy">Annotation Type Hierarchy</h2>
+<ul>
+<li type="circle">org.apache.juneau.remoteable.<a href="../../../../org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteMethod</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="../../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Remoteable</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="../../../../org/apache/juneau/remoteable/QueryIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">QueryIfNE</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="../../../../org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Query</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="../../../../org/apache/juneau/remoteable/HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">HeaderIfNE</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="../../../../org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Header</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="../../../../org/apache/juneau/remoteable/FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">FormDataIfNE</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="../../../../org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">FormData</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="../../../../org/apache/juneau/remoteable/Body.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Body</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li>Class</li>
+<li class="navBarCell1Rev">Tree</li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/plaintext/package-tree.html">Prev</a></li>
+<li><a href="../../../../org/apache/juneau/rest/package-tree.html">Next</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/package-tree.html" target="_top">Frames</a></li>
+<li><a href="package-tree.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/Redirect.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/Redirect.html b/content/site/apidocs/org/apache/juneau/rest/Redirect.html
index b4c0375..0ab7a4d 100644
--- a/content/site/apidocs/org/apache/juneau/rest/Redirect.html
+++ b/content/site/apidocs/org/apache/juneau/rest/Redirect.html
@@ -340,7 +340,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <div class="block">Calculates the URL to redirect to.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>s</code> - Use this serializer to encode arguments using the <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializeUrlPart-java.lang.Object-"><code>UrlEncodingSerializer.serializeUrlPart(Object)</code></a> method.</dd>
+<dd><code>s</code> - Use this serializer to encode arguments using the <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object,Boolean,Boolean)</code></a> method.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>The URL to redirect to.</dd>
 </dl>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/RestCallHandler.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RestCallHandler.html b/content/site/apidocs/org/apache/juneau/rest/RestCallHandler.html
index 454c133..95e9044 100644
--- a/content/site/apidocs/org/apache/juneau/rest/RestCallHandler.html
+++ b/content/site/apidocs/org/apache/juneau/rest/RestCallHandler.html
@@ -108,7 +108,7 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <hr>
 <br>
-<pre>public class <a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.40">RestCallHandler</a>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.41">RestCallHandler</a>
 extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
 <div class="block">Class that handles the basic lifecycle of an HTTP REST call.
  <p>
@@ -267,7 +267,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>RestCallHandler</h4>
-<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.51">RestCallHandler</a>(<a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a>&nbsp;context)</pre>
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.52">RestCallHandler</a>(<a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a>&nbsp;context)</pre>
 <div class="block">Constructor.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -289,7 +289,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createRequest</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.67">createRequest</a>(<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a>&nbsp;req)
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.68">createRequest</a>(<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a>&nbsp;req)
                              throws <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletException.html?is-external=true" title="class or interface in javax.servlet">ServletException</a></pre>
 <div class="block">Creates a <a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest"><code>RestRequest</code></a> object based on the specified incoming <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http"><code>HttpServletRequest</code></a> object.
  <p>
@@ -310,7 +310,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>createResponse</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.82">createResponse</a>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.83">createResponse</a>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
                                       <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletResponse.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletResponse</a>&nbsp;res)
                                throws <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletException.html?is-external=true" title="class or interface in javax.servlet">ServletException</a></pre>
 <div class="block">Creates a <a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest"><code>RestResponse</code></a> object based on the specified incoming <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletResponse.html?is-external=true" title="class or interface in javax.servlet.http"><code>HttpServletResponse</code></a> object
@@ -334,7 +334,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>service</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.96">service</a>(<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a>&nbsp;r1,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.97">service</a>(<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a>&nbsp;r1,
                        <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletResponse.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletResponse</a>&nbsp;r2)
                 throws <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletException.html?is-external=true" title="class or interface in javax.servlet">ServletException</a>,
                        <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
@@ -357,7 +357,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>handleResponse</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.202">handleResponse</a>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.203">handleResponse</a>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
                               <a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;res,
                               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;output)
                        throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
@@ -387,7 +387,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>handleNotFound</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.221">handleNotFound</a>(int&nbsp;rc,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.222">handleNotFound</a>(int&nbsp;rc,
                               <a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
                               <a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;res)
                        throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
@@ -411,7 +411,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>handleError</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.247">handleError</a>(<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a>&nbsp;req,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.248">handleError</a>(<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a>&nbsp;req,
                            <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletResponse.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletResponse</a>&nbsp;res,
                            <a href="../../../../org/apache/juneau/rest/RestException.html" title="class in org.apache.juneau.rest">RestException</a>&nbsp;e)
                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
@@ -436,7 +436,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>renderError</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.266">renderError</a>(<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a>&nbsp;req,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.267">renderError</a>(<a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletRequest</a>&nbsp;req,
                            <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletResponse.html?is-external=true" title="class or interface in javax.servlet.http">HttpServletResponse</a>&nbsp;res,
                            <a href="../../../../org/apache/juneau/rest/RestException.html" title="class in org.apache.juneau.rest">RestException</a>&nbsp;e)
                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
@@ -462,7 +462,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>onSuccess</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.300">onSuccess</a>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.308">onSuccess</a>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
                          <a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;res,
                          long&nbsp;time)</pre>
 <div class="block">Callback method for listening for successful completion of requests.
@@ -484,7 +484,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>onPreCall</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.314">onPreCall</a>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req)
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.322">onPreCall</a>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req)
                   throws <a href="../../../../org/apache/juneau/rest/RestException.html" title="class in org.apache.juneau.rest">RestException</a></pre>
 <div class="block">Callback method that gets invoked right before the REST Java method is invoked.
  <p>
@@ -504,7 +504,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>onPostCall</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.330">onPostCall</a>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.338">onPostCall</a>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
                           <a href="../../../../org/apache/juneau/rest/RestResponse.html" title="class in org.apache.juneau.rest">RestResponse</a>&nbsp;res)
                    throws <a href="../../../../org/apache/juneau/rest/RestException.html" title="class in org.apache.juneau.rest">RestException</a></pre>
 <div class="block">Callback method that gets invoked right after the REST Java method is invoked, but before
@@ -527,7 +527,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getSessionObjects</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.343">getSessionObjects</a>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req)</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestCallHandler.html#line.351">getSessionObjects</a>(<a href="../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req)</pre>
 <div class="block">Returns the session objects for the specified request.
  <p>
  The default implementation simply returns a single map containing <code>{'req':req}</code>.</div>


[41/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/index-all.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/index-all.html b/content/site/apidocs/index-all.html
index a669f70..c70a473 100644
--- a/content/site/apidocs/index-all.html
+++ b/content/site/apidocs/index-all.html
@@ -1007,6 +1007,14 @@
 <dd>
 <div class="block">Appends the specified pair to the end of this list.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/NameValuePairs.html#append-java.lang.String-java.lang.Object-">append(String, Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a></dt>
+<dd>
+<div class="block">Appends the specified name/value pair to the end of this list.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/NameValuePairs.html#append-java.lang.String-java.lang.Object-org.apache.juneau.urlencoding.UrlEncodingSerializer-">append(String, Object, UrlEncodingSerializer)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a></dt>
+<dd>
+<div class="block">Appends the specified name/value pair to the end of this list.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/serializer/SerializerGroupBuilder.html#append-java.lang.Class...-">append(Class&lt;?&gt;...)</a></span> - Method in class org.apache.juneau.serializer.<a href="org/apache/juneau/serializer/SerializerGroupBuilder.html" title="class in org.apache.juneau.serializer">SerializerGroupBuilder</a></dt>
 <dd>
 <div class="block">Registers the specified serializers with this group.</div>
@@ -1085,6 +1093,14 @@
 <dd>
 <div class="block">Convenience method for adding a contents of another map to this map.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/utils/AList.html#appendAll-T...-">appendAll(T...)</a></span> - Method in class org.apache.juneau.utils.<a href="org/apache/juneau/utils/AList.html" title="class in org.apache.juneau.utils">AList</a></dt>
+<dd>
+<div class="block">Adds multiple entries to this list.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/utils/ASet.html#appendAll-T...-">appendAll(T...)</a></span> - Method in class org.apache.juneau.utils.<a href="org/apache/juneau/utils/ASet.html" title="class in org.apache.juneau.utils">ASet</a></dt>
+<dd>
+<div class="block">Adds multiple entries to this set.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/internal/ReflectionUtils.html#appendAnnotations-java.lang.Class-java.lang.Class-java.util.List-">appendAnnotations(Class&lt;T&gt;, Class&lt;?&gt;, List&lt;T&gt;)</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/ReflectionUtils.html" title="class in org.apache.juneau.internal">ReflectionUtils</a></dt>
 <dd>
 <div class="block">Finds and appends the specified annotation on the specified class and superclasses/interfaces to the specified list.</div>
@@ -1144,7 +1160,7 @@
 <dd>
 <div class="block">Appends a numeric value to the output.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/uon/UonWriter.html#appendObject-java.lang.Object-boolean-">appendObject(Object, boolean)</a></span> - Method in class org.apache.juneau.uon.<a href="org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/uon/UonWriter.html#appendObject-java.lang.Object-boolean-boolean-">appendObject(Object, boolean, boolean)</a></span> - Method in class org.apache.juneau.uon.<a href="org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a></dt>
 <dd>
 <div class="block">Serializes the specified simple object as a UON string value.</div>
 </dd>
@@ -2872,6 +2888,10 @@
 <dd>
 <div class="block">Creates a <a href="org/apache/juneau/dto/html5/Body.html" title="class in org.apache.juneau.dto.html5"><code>Body</code></a> element with the specified child nodes.</div>
 </dd>
+<dt><a href="org/apache/juneau/remoteable/Body.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Body</span></a> - Annotation Type in <a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></dt>
+<dd>
+<div class="block">Annotation applied to Java method arguments of interface proxies to denote that they are the HTTP body of the request.</div>
+</dd>
 <dt><a href="org/apache/juneau/rest/annotation/Body.html" title="annotation in org.apache.juneau.rest.annotation"><span class="typeNameLink">Body</span></a> - Annotation Type in <a href="org/apache/juneau/rest/annotation/package-summary.html">org.apache.juneau.rest.annotation</a></dt>
 <dd>
 <div class="block">Annotation that can be applied to a parameter of a <a href="org/apache/juneau/rest/annotation/RestMethod.html" title="annotation in org.apache.juneau.rest.annotation"><code>RestMethod</code></a> annotated method
@@ -4255,7 +4275,7 @@
 <dd>
 <div class="block">Sets the value for the <code>Connection</code> request header.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RetryOn.html#CONNECTION_LOST">CONNECTION_LOST</a></span> - Static variable in interface org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client">RetryOn</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RetryOn.html#CONNECTION_LOST">CONNECTION_LOST</a></span> - Static variable in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a></dt>
 <dd>
 <div class="block">Default RetryOn that returns <jk>true</jk> if the HTTP connection could not be made.</div>
 </dd>
@@ -5182,10 +5202,6 @@
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/ini/XorEncoder.html#decode-java.lang.String-java.lang.String-">decode(String, String)</a></span> - Method in class org.apache.juneau.ini.<a href="org/apache/juneau/ini/XorEncoder.html" title="class in org.apache.juneau.ini">XorEncoder</a></dt>
 <dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestUtils.html#decode-java.lang.String-">decode(String)</a></span> - Static method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestUtils.html" title="class in org.apache.juneau.rest">RestUtils</a></dt>
-<dd>
-<div class="block">Decodes a <code>application/x-www-form-urlencoded</code> string using <code>UTF-8</code> encoding scheme.</div>
-</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/xml/XmlUtils.html#decode-java.lang.String-java.lang.StringBuilder-">decode(String, StringBuilder)</a></span> - Static method in class org.apache.juneau.xml.<a href="org/apache/juneau/xml/XmlUtils.html" title="class in org.apache.juneau.xml">XmlUtils</a></dt>
 <dd>
 <div class="block">Translates any _x####_ sequences (introduced by the various encode methods) back into their original characters.</div>
@@ -5280,7 +5296,7 @@
 <dd>
 <div class="block">Default HTTP request logger.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RetryOn.html#DEFAULT">DEFAULT</a></span> - Static variable in interface org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client">RetryOn</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RetryOn.html#DEFAULT">DEFAULT</a></span> - Static variable in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a></dt>
 <dd>
 <div class="block">Default RetryOn that returns <jk>true</jk> of any HTTP response &gt;= 400 is received.</div>
 </dd>
@@ -5918,6 +5934,10 @@
 <dd>
 <div class="block">Perform a <code>POST</code> request against the specified URL.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestClient.html#doPost-java.lang.Object-">doPost(Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client">RestClient</a></dt>
+<dd>
+<div class="block">Same as <a href="org/apache/juneau/rest/client/RestClient.html#doPost-java.lang.Object-java.lang.Object-"><code>RestClient.doPost(Object, Object)</code></a> but don't specify the input yet.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/microservice/resources/DirectoryResource.html#doPut-org.apache.juneau.rest.RestRequest-">doPut(RestRequest)</a></span> - Method in class org.apache.juneau.microservice.resources.<a href="org/apache/juneau/microservice/resources/DirectoryResource.html" title="class in org.apache.juneau.microservice.resources">DirectoryResource</a></dt>
 <dd>
 <div class="block">[PUT /*]
@@ -6088,10 +6108,6 @@
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/ini/XorEncoder.html#encode-java.lang.String-java.lang.String-">encode(String, String)</a></span> - Method in class org.apache.juneau.ini.<a href="org/apache/juneau/ini/XorEncoder.html" title="class in org.apache.juneau.ini">XorEncoder</a></dt>
 <dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestUtils.html#encode-java.lang.String-">encode(String)</a></span> - Static method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestUtils.html" title="class in org.apache.juneau.rest">RestUtils</a></dt>
-<dd>
-<div class="block">Encodes a <code>application/x-www-form-urlencoded</code> string using <code>UTF-8</code> encoding scheme.</div>
-</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/xml/XmlUtils.html#encodeAttr-java.io.Writer-java.lang.Object-">encodeAttr(Writer, Object)</a></span> - Static method in class org.apache.juneau.xml.<a href="org/apache/juneau/xml/XmlUtils.html" title="class in org.apache.juneau.xml">XmlUtils</a></dt>
 <dd>
 <div class="block">Serializes and encodes the specified object as valid XML attribute name.</div>
@@ -6759,6 +6775,10 @@
 <dd>
 <div class="block">Returns the first object in the pair.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/StringUtils.html#firstNonWhitespaceChar-java.lang.String-">firstNonWhitespaceChar(String)</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/StringUtils.html" title="class in org.apache.juneau.internal">StringUtils</a></dt>
+<dd>
+<div class="block">Returns the first non-whitespace character in the string.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/dto/swagger/SecurityScheme.html#flow-java.lang.String-">flow(String)</a></span> - Method in class org.apache.juneau.dto.swagger.<a href="org/apache/juneau/dto/swagger/SecurityScheme.html" title="class in org.apache.juneau.dto.swagger">SecurityScheme</a></dt>
 <dd>
 <div class="block">Synonym for <a href="org/apache/juneau/dto/swagger/SecurityScheme.html#setFlow-java.lang.String-"><code>SecurityScheme.setFlow(String)</code></a>.</div>
@@ -6897,11 +6917,43 @@
 <dd>
 <div class="block">Constructor.</div>
 </dd>
+<dt><a href="org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">FormData</span></a> - Annotation Type in <a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></dt>
+<dd>
+<div class="block">Annotation applied to Java method arguments of interface proxies to denote that they are FORM post parameters on the request.</div>
+</dd>
 <dt><a href="org/apache/juneau/rest/annotation/FormData.html" title="annotation in org.apache.juneau.rest.annotation"><span class="typeNameLink">FormData</span></a> - Annotation Type in <a href="org/apache/juneau/rest/annotation/package-summary.html">org.apache.juneau.rest.annotation</a></dt>
 <dd>
 <div class="block">Annotation that can be applied to a parameter of a <a href="org/apache/juneau/rest/annotation/RestMethod.html" title="annotation in org.apache.juneau.rest.annotation"><code>RestMethod</code></a> annotated method
    to identify it as a form post entry converted to a POJO.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#formData-java.lang.String-java.lang.Object-boolean-">formData(String, Object, boolean)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Adds a form data pair to this request to perform a URL-encoded form post.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#formData-java.lang.String-java.lang.Object-">formData(String, Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Adds a form data pair to this request to perform a URL-encoded form post.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#formData-org.apache.juneau.rest.client.NameValuePairs-">formData(NameValuePairs)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Adds form data pairs to this request to perform a URL-encoded form post.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#formData-java.util.Map-">formData(Map&lt;String, Object&gt;)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Adds form data pairs to this request to perform a URL-encoded form post.</div>
+</dd>
+<dt><a href="org/apache/juneau/remoteable/FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">FormDataIfNE</span></a> - Annotation Type in <a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></dt>
+<dd>
+<div class="block">Identical to <a href="org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><code>@FormData</code></a> except skips values if they're null/blank.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#formDataIfNE-java.lang.String-java.lang.Object-">formDataIfNE(String, Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Adds a form data pair to the request if the parameter value is not <jk>null</jk> or an empty string.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#formDataIfNE-java.util.Map-">formDataIfNE(Map&lt;String, Object&gt;)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Adds form data parameters to the request for any parameters that aren't null/empty.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/dto/html5/Button.html#formenctype-java.lang.String-">formenctype(String)</a></span> - Method in class org.apache.juneau.dto.html5.<a href="org/apache/juneau/dto/html5/Button.html" title="class in org.apache.juneau.dto.html5">Button</a></dt>
 <dd>
 <div class="block"><a class="./org/apache/juneau/dto/html5/doclink" href="https://www.w3.org/TR/html5/forms.html#attr-fs-formenctype">formenctype</a> attribute.</div>
@@ -7404,6 +7456,10 @@
 <dd>
 <div class="block">Reads the input from the HTTP request as JSON, XML, or HTML and converts the input to a POJO.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html#getBodyArg--">getBodyArg()</a></span> - Method in class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMethodMeta</a></dt>
+<dd>
+<div class="block">Returns the argument annotated with <a href="org/apache/juneau/remoteable/Body.html" title="annotation in org.apache.juneau.remoteable"><code>@Body</code></a>.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestRequest.html#getBodyAsString--">getBodyAsString()</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a></dt>
 <dd>
 <div class="block">Returns the HTTP body content as a plain string.</div>
@@ -8190,6 +8246,10 @@
 <dd>
 <div class="block">Returns the <a href="org/apache/juneau/xml/annotation/Xml.html#format--"><code>Xml.format()</code></a> annotation defined on the class.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html#getFormDataArgs--">getFormDataArgs()</a></span> - Method in class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMethodMeta</a></dt>
+<dd>
+<div class="block">Returns the <a href="org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><code>@FormData</code></a> annotated arguments on this Java method.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestRequest.html#getFormDataParameter-java.lang.String-">getFormDataParameter(String)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a></dt>
 <dd>
 <div class="block">Returns a form data parameter value.</div>
@@ -8266,6 +8326,10 @@
 <dd>
 <div class="block">Returns the specified header value converted to a POJO.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html#getHeaderArgs--">getHeaderArgs()</a></span> - Method in class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMethodMeta</a></dt>
+<dd>
+<div class="block">Returns the <a href="org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><code>@Header</code></a> annotated arguments on this Java method.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/dto/swagger/ResponseInfo.html#getHeaders--">getHeaders()</a></span> - Method in class org.apache.juneau.dto.swagger.<a href="org/apache/juneau/dto/swagger/ResponseInfo.html" title="class in org.apache.juneau.dto.swagger">ResponseInfo</a></dt>
 <dd>
 <div class="block">Bean property getter:  <property>headers</property>.</div>
@@ -8304,6 +8368,10 @@
 <dd>
 <div class="block">Returns the language of the target of this link.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html#getHttpMethod--">getHttpMethod()</a></span> - Method in class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMethodMeta</a></dt>
+<dd>
+<div class="block">Returns the value of the <a href="org/apache/juneau/remoteable/RemoteMethod.html#httpMethod--"><code>RemoteMethod.httpMethod()</code></a> annotation on this Java method.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCallException.html#getHttpResponse--">getHttpResponse()</a></span> - Method in exception org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></dt>
 <dd>
 <div class="block">Returns the HTTP response object that caused this exception.</div>
@@ -8874,6 +8942,10 @@
 <dd>
 <div class="block">Returns <a href="org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal"><code>ClassUtils.MethodInfo</code></a> beans that describe the specified methods.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteableMeta.html#getMethodMeta-java.lang.reflect.Method-">getMethodMeta(Method)</a></span> - Method in class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMeta</a></dt>
+<dd>
+<div class="block">Returns the metadata about the specified method on this interface proxy.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/jaxrs/BaseProvider.html#getMethodProperties-java.lang.annotation.Annotation:A-">getMethodProperties(Annotation[])</a></span> - Method in class org.apache.juneau.rest.jaxrs.<a href="org/apache/juneau/rest/jaxrs/BaseProvider.html" title="class in org.apache.juneau.rest.jaxrs">BaseProvider</a></dt>
 <dd>
 <div class="block">Returns properties defined on the specified method through the <a href="org/apache/juneau/rest/annotation/RestMethod.html#properties--"><code>RestMethod.properties()</code></a>
@@ -9183,6 +9255,10 @@
 <dd>
 <div class="block">[OPTIONS /*] - Show resource options.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html#getOtherArgs--">getOtherArgs()</a></span> - Method in class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMethodMeta</a></dt>
+<dd>
+<div class="block">Returns the remaining non-annotated arguments on this Java method.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/parser/ParserSession.html#getOuter--">getOuter()</a></span> - Method in class org.apache.juneau.parser.<a href="org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a></dt>
 <dd>
 <div class="block">Returns the outer object used for instantiating top-level non-static member classes.</div>
@@ -9615,10 +9691,6 @@
 <dd>
 <div class="block">Bean property getter:  <property>protocols</property>.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/ClassMeta.html#getProxyableMethods--">getProxyableMethods()</a></span> - Method in class org.apache.juneau.<a href="org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a></dt>
-<dd>
-<div class="block">All methods on this class that can be exposed as a proxy method.</div>
-</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/ClassMeta.html#getProxyInvocationHandler--">getProxyInvocationHandler()</a></span> - Method in class org.apache.juneau.<a href="org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a></dt>
 <dd>
 <div class="block">Returns the interface proxy invocation handler for this class.</div>
@@ -9636,6 +9708,10 @@
 <dd>
 <div class="block">Returns the publish timestamp of this entry.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html#getQueryArgs--">getQueryArgs()</a></span> - Method in class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMethodMeta</a></dt>
+<dd>
+<div class="block">Returns the <a href="org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><code>@Query</code></a> annotated arguments on this Java method.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestRequest.html#getQueryParameter-java.lang.String-">getQueryParameter(String)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a></dt>
 <dd>
 <div class="block">Returns a query parameter value.</div>
@@ -9787,15 +9863,15 @@
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/ClassMeta.html#getRemoteableMethods--">getRemoteableMethods()</a></span> - Method in class org.apache.juneau.<a href="org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a></dt>
 <dd>
-<div class="block">All methods on this class annotated with <a href="org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><code>@Remotable</code></a>, or all public methods if class is annotated.</div>
+<div class="block">All methods on this class annotated with <a href="org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remotable</code></a>, or all public methods if class is annotated.</div>
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-">getRemoteableProxy(Class&lt;T&gt;)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client">RestClient</a></dt>
 <dd>
-<div class="block">Create a new proxy interface for the specified remoteable service interface.</div>
+<div class="block">Create a new proxy interface against a REST interface.</div>
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-java.lang.Object-">getRemoteableProxy(Class&lt;T&gt;, Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client">RestClient</a></dt>
 <dd>
-<div class="block">Create a new proxy interface for the specified REST PROXY interface.</div>
+<div class="block">Same as <a href="org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-"><code>RestClient.getRemoteableProxy(Class)</code></a> except explicitly specifies the URL of the REST interface.</div>
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-java.lang.Object-org.apache.juneau.serializer.Serializer-org.apache.juneau.parser.Parser-">getRemoteableProxy(Class&lt;T&gt;, Object, Serializer, Parser)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client">RestClient</a></dt>
 <dd>
@@ -9961,6 +10037,10 @@
 <dd>
 <div class="block">Returns the highest-level <code>ParseException</code> in the stack trace.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestException.html#getRootCause--">getRootCause()</a></span> - Method in exception org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestException.html" title="class in org.apache.juneau.rest">RestException</a></dt>
+<dd>
+<div class="block">Returns the root cause of this exception.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/serializer/SerializeException.html#getRootCause--">getRootCause()</a></span> - Method in exception org.apache.juneau.serializer.<a href="org/apache/juneau/serializer/SerializeException.html" title="class in org.apache.juneau.serializer">SerializeException</a></dt>
 <dd>
 <div class="block">Returns the highest-level <code>ParseException</code> in the stack trace.</div>
@@ -10595,6 +10675,10 @@
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/microservice/resources/DirectoryResource.FileResource.html#getUrl--">getUrl()</a></span> - Method in class org.apache.juneau.microservice.resources.<a href="org/apache/juneau/microservice/resources/DirectoryResource.FileResource.html" title="class in org.apache.juneau.microservice.resources">DirectoryResource.FileResource</a></dt>
 <dd>&nbsp;</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html#getUrl--">getUrl()</a></span> - Method in class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMethodMeta</a></dt>
+<dd>
+<div class="block">Returns the absolute URL of the REST interface invoked by this Java method.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestRequest.html#getURL-java.lang.String-">getURL(String)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a></dt>
 <dd>
 <div class="block">Returns a resolved URL.</div>
@@ -11010,14 +11094,22 @@
 <dd>
 <div class="block">Synonym for <a href="org/apache/juneau/dto/swagger/ResponseInfo.html#addHeader-java.lang.String-org.apache.juneau.dto.swagger.HeaderInfo-"><code>ResponseInfo.addHeader(String,HeaderInfo)</code></a>.</div>
 </dd>
+<dt><a href="org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Header</span></a> - Annotation Type in <a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></dt>
+<dd>
+<div class="block">Annotation applied to Java method arguments of interface proxies to denote that they are serialized as an HTTP header value.</div>
+</dd>
 <dt><a href="org/apache/juneau/rest/annotation/Header.html" title="annotation in org.apache.juneau.rest.annotation"><span class="typeNameLink">Header</span></a> - Annotation Type in <a href="org/apache/juneau/rest/annotation/package-summary.html">org.apache.juneau.rest.annotation</a></dt>
 <dd>
 <div class="block">Annotation that can be applied to a parameter of a <a href="org/apache/juneau/rest/annotation/RestMethod.html" title="annotation in org.apache.juneau.rest.annotation"><code>RestMethod</code></a> annotated method
    to identify it as a HTTP request header converted to a POJO.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#header-java.lang.String-java.lang.Object-boolean-">header(String, Object, boolean)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Sets a header on the request.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#header-java.lang.String-java.lang.Object-">header(String, Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
 <dd>
-<div class="block">Convenience method for setting a header value on the request.</div>
+<div class="block">Sets a header on the request.</div>
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#header-org.apache.http.Header-">header(Header)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
 <dd>
@@ -11035,6 +11127,14 @@
 <dd>
 <div class="block">Specifies an HTTP response header value.</div>
 </dd>
+<dt><a href="org/apache/juneau/remoteable/HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">HeaderIfNE</span></a> - Annotation Type in <a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></dt>
+<dd>
+<div class="block">Identical to <a href="org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><code>@Header</code></a> except skips values if they're null/blank.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#headerIfNE-java.lang.String-java.lang.Object-">headerIfNE(String, Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Sets a header on the request if the value is not null/empty.</div>
+</dd>
 <dt><a href="org/apache/juneau/dto/swagger/HeaderInfo.html" title="class in org.apache.juneau.dto.swagger"><span class="typeNameLink">HeaderInfo</span></a> - Class in <a href="org/apache/juneau/dto/swagger/package-summary.html">org.apache.juneau.dto.swagger</a></dt>
 <dd>
 <div class="block">Describes a single HTTP header.</div>
@@ -11061,6 +11161,10 @@
 <dd>
 <div class="block"><a class="./org/apache/juneau/dto/html5/doclink" href="https://www.w3.org/TR/html5/tabular-data.html#attr-tdth-headers">headers</a> attribute.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#headers-java.util.Map-">headers(Map&lt;String, Object&gt;)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Sets headers on the request.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/ReaderResource.Builder.html#headers-java.util.Map-">headers(Map&lt;String, Object&gt;)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/ReaderResource.Builder.html" title="class in org.apache.juneau.rest">ReaderResource.Builder</a></dt>
 <dd>
 <div class="block">Specifies HTTP response header values.</div>
@@ -11069,6 +11173,10 @@
 <dd>
 <div class="block">Specifies HTTP response header values.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#headersIfNE-java.util.Map-">headersIfNE(Map&lt;String, Object&gt;)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Sets headers on the request if the values are not null/empty.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/dto/html5/Canvas.html#height-java.lang.Object-">height(Object)</a></span> - Method in class org.apache.juneau.dto.html5.<a href="org/apache/juneau/dto/html5/Canvas.html" title="class in org.apache.juneau.dto.html5">Canvas</a></dt>
 <dd>
 <div class="block"><a class="./org/apache/juneau/dto/html5/doclink" href="https://www.w3.org/TR/html5/scripting-1.html#attr-canvas-height">height</a> attribute.</div>
@@ -12380,6 +12488,10 @@
 <dd>
 <div class="block">The current indentation depth into the model.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteMethodArg.html#index">index</a></span> - Variable in class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable">RemoteMethodArg</a></dt>
+<dd>
+<div class="block">The zero-based index of the argument on the Java method.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/internal/ArrayUtils.html#indexOf-T-T:A-">indexOf(T, T[])</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/ArrayUtils.html" title="class in org.apache.juneau.internal">ArrayUtils</a></dt>
 <dd>
 <div class="block">Returns the index position of the element in the specified array
@@ -13054,6 +13166,10 @@
 <dd>
 <div class="block">Returns <jk>true</jk> if this class is <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/StringUtils.html#isOneOf-java.lang.String-java.lang.String...-">isOneOf(String, String...)</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/StringUtils.html" title="class in org.apache.juneau.internal">StringUtils</a></dt>
+<dd>
+<div class="block">Returns <jk>true</jk> if the specified string is one of the specified values.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/xml/annotation/XmlFormat.html#isOneOf-org.apache.juneau.xml.annotation.XmlFormat...-">isOneOf(XmlFormat...)</a></span> - Method in enum org.apache.juneau.xml.annotation.<a href="org/apache/juneau/xml/annotation/XmlFormat.html" title="enum in org.apache.juneau.xml.annotation">XmlFormat</a></dt>
 <dd>
 <div class="block">Returns <jk>true</jk> if this format is one of those specified.</div>
@@ -13110,7 +13226,7 @@
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/ClassMeta.html#isRemoteable--">isRemoteable()</a></span> - Method in class org.apache.juneau.<a href="org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a></dt>
 <dd>
-<div class="block">Returns <jk>true</jk> if this class or one of it's methods are annotated with <a href="org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><code>@Remotable</code></a>.</div>
+<div class="block">Returns <jk>true</jk> if this class or one of it's methods are annotated with <a href="org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remotable</code></a>.</div>
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestContext.html#isRenderResponseStackTraces--">isRenderResponseStackTraces()</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a></dt>
 <dd>
@@ -15016,6 +15132,10 @@
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/microservice/resources/LogsResource.FileResource.html#name">name</a></span> - Variable in class org.apache.juneau.microservice.resources.<a href="org/apache/juneau/microservice/resources/LogsResource.FileResource.html" title="class in org.apache.juneau.microservice.resources">LogsResource.FileResource</a></dt>
 <dd>&nbsp;</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteMethodArg.html#name">name</a></span> - Variable in class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable">RemoteMethodArg</a></dt>
+<dd>
+<div class="block">The argument name.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/labels/BeanDescription.BeanPropertyDescription.html#name">name</a></span> - Variable in class org.apache.juneau.rest.labels.<a href="org/apache/juneau/rest/labels/BeanDescription.BeanPropertyDescription.html" title="class in org.apache.juneau.rest.labels">BeanDescription.BeanPropertyDescription</a></dt>
 <dd>
 <div class="block">The bean property name.</div>
@@ -15138,6 +15258,10 @@
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/dto/html5/Nav.html#Nav--">Nav()</a></span> - Constructor for class org.apache.juneau.dto.html5.<a href="org/apache/juneau/dto/html5/Nav.html" title="class in org.apache.juneau.dto.html5">Nav</a></dt>
 <dd>&nbsp;</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/uon/UonUtils.html#needsQuotes-java.lang.String-">needsQuotes(String)</a></span> - Static method in class org.apache.juneau.uon.<a href="org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon">UonUtils</a></dt>
+<dd>
+<div class="block">Returns <jk>true</jk> if the specified string needs to be quoted per UON notation.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/BeanMeta.html#newBean-java.lang.Object-">newBean(Object)</a></span> - Method in class org.apache.juneau.<a href="org/apache/juneau/BeanMeta.html" title="class in org.apache.juneau">BeanMeta</a></dt>
 <dd>
 <div class="block">Creates a new instance of this bean.</div>
@@ -15727,7 +15851,7 @@
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCallLogger.html#onClose-org.apache.juneau.rest.client.RestCall-">onClose(RestCall)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCallLogger.html" title="class in org.apache.juneau.rest.client">RestCallLogger</a></dt>
 <dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RetryOn.html#onCode-int-">onCode(int)</a></span> - Method in interface org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client">RetryOn</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RetryOn.html#onCode-int-">onCode(int)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a></dt>
 <dd>
 <div class="block">Subclasses should override this method to determine whether the HTTP response is retryable.</div>
 </dd>
@@ -15938,6 +16062,10 @@
 <dd>
 <div class="block"><a class="./org/apache/juneau/dto/html5/doclink" href="https://www.w3.org/TR/html5/webappapis.html#handler-onresize">onresize</a> attribute.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RetryOn.html#onResponse-org.apache.http.HttpResponse-">onResponse(HttpResponse)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a></dt>
+<dd>
+<div class="block">Subclasses should override this method to determine whether the HTTP response is retryable.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCallInterceptor.html#onRetry-org.apache.juneau.rest.client.RestCall-int-org.apache.http.HttpRequest-org.apache.http.HttpResponse-java.lang.Exception-">onRetry(RestCall, int, HttpRequest, HttpResponse, Exception)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCallInterceptor.html" title="class in org.apache.juneau.rest.client">RestCallInterceptor</a></dt>
 <dd>
 <div class="block">Called if retry is going to be attempted.</div>
@@ -16178,6 +16306,10 @@
 <dd>
 <div class="block">Plain-text serialization and parsing support</div>
 </dd>
+<dt><a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a> - package org.apache.juneau.remoteable</dt>
+<dd>
+<div class="block">Remoteable interface proxies</div>
+</dd>
 <dt><a href="org/apache/juneau/rest/package-summary.html">org.apache.juneau.rest</a> - package org.apache.juneau.rest</dt>
 <dd>
 <div class="block">REST Servlet API</div>
@@ -16390,10 +16522,6 @@
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/dto/html5/Param.html#Param--">Param()</a></span> - Constructor for class org.apache.juneau.dto.html5.<a href="org/apache/juneau/dto/html5/Param.html" title="class in org.apache.juneau.dto.html5">Param</a></dt>
 <dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#param-java.lang.String-java.lang.Object-">param(String, Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
-<dd>
-<div class="block">Adds a parameter to the URI query.</div>
-</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/dto/swagger/Swagger.html#parameter-java.lang.String-org.apache.juneau.dto.swagger.ParameterInfo-">parameter(String, ParameterInfo)</a></span> - Method in class org.apache.juneau.dto.swagger.<a href="org/apache/juneau/dto/swagger/Swagger.html" title="class in org.apache.juneau.dto.swagger">Swagger</a></dt>
 <dd>
 <div class="block">Synonym for <a href="org/apache/juneau/dto/swagger/Swagger.html#addParameter-java.lang.String-org.apache.juneau.dto.swagger.ParameterInfo-"><code>Swagger.addParameter(String,ParameterInfo)</code></a>.</div>
@@ -16431,17 +16559,13 @@
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/internal/ClassUtils.MethodInfo.html#parameterTypes">parameterTypes</a></span> - Variable in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal">ClassUtils.MethodInfo</a></dt>
 <dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#paramIfNE-java.lang.String-java.lang.Object-">paramIfNE(String, Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestClientBuilder.html#paramFormat-java.lang.String-">paramFormat(String)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></dt>
 <dd>
-<div class="block">Adds a parameter to the URI query if the parameter value is not <jk>null</jk> or an empty string.</div>
+<div class="block">Sets the <a href="org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#URLENC_paramFormat"><code>UrlEncodingSerializerContext.URLENC_paramFormat</code></a> property on the URL-encoding serializers in this group.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#paramIfNN-java.lang.String-java.lang.Object-">paramIfNN(String, Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#paramFormat-java.lang.String-">paramFormat(String)</a></span> - Method in class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></dt>
 <dd>
-<div class="block">Adds a parameter to the URI query if the parameter value is not <jk>null</jk>.</div>
-</dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#params-java.util.Map-">params(Map&lt;String, Object&gt;)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
-<dd>
-<div class="block">Adds parameters to the URI query.</div>
+<div class="block"><b>Configuration property:</b>  Format to use for top-level query names and simple parameters.</div>
 </dd>
 <dt><a href="org/apache/juneau/annotation/ParentProperty.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">ParentProperty</span></a> - Annotation Type in <a href="org/apache/juneau/annotation/package-summary.html">org.apache.juneau.annotation</a></dt>
 <dd>
@@ -16546,17 +16670,17 @@
 <dd>
 <div class="block">Reads a numeric string from the specified reader.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingParser.html#parseParameter-java.lang.CharSequence-java.lang.reflect.Type-java.lang.reflect.Type...-">parseParameter(CharSequence, Type, Type...)</a></span> - Method in class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingParser.html#parsePart-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-">parsePart(String, Type, Type...)</a></span> - Method in class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a></dt>
 <dd>
-<div class="block">Parses a single query parameter value into the specified class type.</div>
+<div class="block">Parses a single query parameter or header value into the specified class type.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingParser.html#parseParameter-java.lang.CharSequence-java.lang.Class-">parseParameter(CharSequence, Class&lt;T&gt;)</a></span> - Method in class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingParser.html#parsePart-java.lang.String-java.lang.Class-">parsePart(String, Class&lt;T&gt;)</a></span> - Method in class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a></dt>
 <dd>
-<div class="block">Parses a single query parameter value into the specified class type.</div>
+<div class="block">Parses a single query parameter or header value into the specified class type.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingParser.html#parseParameter-java.lang.CharSequence-org.apache.juneau.ClassMeta-">parseParameter(CharSequence, ClassMeta&lt;T&gt;)</a></span> - Method in class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingParser.html#parsePart-java.lang.String-org.apache.juneau.ClassMeta-">parsePart(String, ClassMeta&lt;T&gt;)</a></span> - Method in class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a></dt>
 <dd>
-<div class="block">Same as <a href="org/apache/juneau/urlencoding/UrlEncodingParser.html#parseParameter-java.lang.CharSequence-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>UrlEncodingParser.parseParameter(CharSequence, Type, Type...)</code></a> except the type has already
+<div class="block">Same as <a href="org/apache/juneau/urlencoding/UrlEncodingParser.html#parsePart-java.lang.String-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>UrlEncodingParser.parsePart(String, Type, Type...)</code></a> except the type has already
  been converted to a <a href="org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> object.</div>
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/ini/ConfigFileBuilder.html#parser-org.apache.juneau.parser.ReaderParser-">parser(ReaderParser)</a></span> - Method in class org.apache.juneau.ini.<a href="org/apache/juneau/ini/ConfigFileBuilder.html" title="class in org.apache.juneau.ini">ConfigFileBuilder</a></dt>
@@ -16824,6 +16948,18 @@
 <dd>
 <div class="block">Constructor</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestClientBuilder.html#plainTextParams--">plainTextParams()</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></dt>
+<dd>
+<div class="block">Shortcut for calling <code>paramFormat(<js>"PLAINTEXT"</js>)</code>.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html#plainTextParams--">plainTextParams()</a></span> - Method in class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingSerializerBuilder.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerBuilder</a></dt>
+<dd>
+<div class="block">Shortcut for calling <code>paramFormat(<js>"PLAINTEXT"</js>)</code>.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#plainTextParams--">plainTextParams()</a></span> - Method in class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerSession</a></dt>
+<dd>
+<div class="block">Returns <jk>true</jk> if the <a href="org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#URLENC_paramFormat"><code>UrlEncodingSerializerContext.URLENC_paramFormat</code></a> is <js>"PLAINTEXT"</js>.</div>
+</dd>
 <dt><a href="org/apache/juneau/plaintext/PlainTextParser.html" title="class in org.apache.juneau.plaintext"><span class="typeNameLink">PlainTextParser</span></a> - Class in <a href="org/apache/juneau/plaintext/package-summary.html">org.apache.juneau.plaintext</a></dt>
 <dd>
 <div class="block">Parsers HTTP plain text request bodies into <a class="./org/apache/juneau/plaintext/doclink" href="../../../../overview-summary.html#Core.PojoCategories">Group 5</a> POJOs.</div>
@@ -17625,11 +17761,27 @@
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/xml/XmlWriter.html#q--">q()</a></span> - Method in class org.apache.juneau.xml.<a href="org/apache/juneau/xml/XmlWriter.html" title="class in org.apache.juneau.xml">XmlWriter</a></dt>
 <dd>&nbsp;</dd>
+<dt><a href="org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Query</span></a> - Annotation Type in <a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></dt>
+<dd>
+<div class="block">Annotation applied to Java method arguments of interface proxies to denote that they are QUERY parameters on the request.</div>
+</dd>
 <dt><a href="org/apache/juneau/rest/annotation/Query.html" title="annotation in org.apache.juneau.rest.annotation"><span class="typeNameLink">Query</span></a> - Annotation Type in <a href="org/apache/juneau/rest/annotation/package-summary.html">org.apache.juneau.rest.annotation</a></dt>
 <dd>
 <div class="block">Identical to <a href="org/apache/juneau/rest/annotation/FormData.html" title="annotation in org.apache.juneau.rest.annotation"><code>@FormData</code></a>, but only retrieves the parameter from the
    URL string, not URL-encoded form posts.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#query-java.lang.String-java.lang.Object-boolean-">query(String, Object, boolean)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Adds a query parameter to the URI query.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#query-java.lang.String-java.lang.Object-">query(String, Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Adds a query parameter to the URI query.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#query-java.util.Map-">query(Map&lt;String, Object&gt;)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Adds query parameters to the URI query.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#query-java.lang.String-">query(String)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
 <dd>
 <div class="block">Sets a custom URI query.</div>
@@ -17640,6 +17792,18 @@
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/converters/Queryable.html#Queryable--">Queryable()</a></span> - Constructor for class org.apache.juneau.rest.converters.<a href="org/apache/juneau/rest/converters/Queryable.html" title="class in org.apache.juneau.rest.converters">Queryable</a></dt>
 <dd>&nbsp;</dd>
+<dt><a href="org/apache/juneau/remoteable/QueryIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">QueryIfNE</span></a> - Annotation Type in <a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></dt>
+<dd>
+<div class="block">Identical to <a href="org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><code>@Query</code></a> except skips values if they're null/blank.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#queryIfNE-java.lang.String-java.lang.Object-">queryIfNE(String, Object)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Adds a query parameter to the URI query if the parameter value is not <jk>null</jk> or an empty string.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestCall.html#queryIfNE-java.util.Map-">queryIfNE(Map&lt;String, Object&gt;)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></dt>
+<dd>
+<div class="block">Adds query parameters to the URI for any parameters that aren't null/empty.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/csv/CsvSerializerBuilder.html#quoteChar-char-">quoteChar(char)</a></span> - Method in class org.apache.juneau.csv.<a href="org/apache/juneau/csv/CsvSerializerBuilder.html" title="class in org.apache.juneau.csv">CsvSerializerBuilder</a></dt>
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/html/HtmlSerializerBuilder.html#quoteChar-char-">quoteChar(char)</a></span> - Method in class org.apache.juneau.html.<a href="org/apache/juneau/html/HtmlSerializerBuilder.html" title="class in org.apache.juneau.html">HtmlSerializerBuilder</a></dt>
@@ -18327,13 +18491,41 @@
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/xml/XmlSerializerBuilder.html#relativeUriBase-java.lang.String-">relativeUriBase(String)</a></span> - Method in class org.apache.juneau.xml.<a href="org/apache/juneau/xml/XmlSerializerBuilder.html" title="class in org.apache.juneau.xml">XmlSerializerBuilder</a></dt>
 <dd>&nbsp;</dd>
-<dt><a href="org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Remoteable</span></a> - Annotation Type in <a href="org/apache/juneau/annotation/package-summary.html">org.apache.juneau.annotation</a></dt>
+<dt><a href="org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Remoteable</span></a> - Annotation Type in <a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></dt>
 <dd>
-<div class="block">Identifies services whose Java class or methods can be invoked remotely.</div>
+<div class="block">Identifies a remote proxy interface against a REST interface.</div>
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html#REMOTEABLE_includeOnlyRemotableMethods">REMOTEABLE_includeOnlyRemotableMethods</a></span> - Static variable in class org.apache.juneau.rest.remoteable.<a href="org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html" title="class in org.apache.juneau.rest.remoteable">RemoteableServiceProperties</a></dt>
 <dd>
-<div class="block">Only expose interfaces and methods annotated with <a href="org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><code>@Remoteable</code></a> (<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>, default=<jk>false</jk>).</div>
+<div class="block">Only expose interfaces and methods annotated with <a href="org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remoteable</code></a> (<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>, default=<jk>false</jk>).</div>
+</dd>
+<dt><a href="org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteableMeta</span></a> - Class in <a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></dt>
+<dd>
+<div class="block">Contains the meta-data about a remoteable interface.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteableMeta.html#RemoteableMeta-java.lang.Class-java.lang.String-">RemoteableMeta(Class&lt;?&gt;, String)</a></span> - Constructor for class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMeta</a></dt>
+<dd>
+<div class="block">Constructor.</div>
+</dd>
+<dt><a href="org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteableMetadataException</span></a> - Exception in <a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></dt>
+<dd>
+<div class="block">Exceptions caused by invalid Remoteable classes.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteableMetadataException.html#RemoteableMetadataException-java.lang.reflect.Method-java.lang.String-java.lang.Object...-">RemoteableMetadataException(Method, String, Object...)</a></span> - Constructor for exception org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable">RemoteableMetadataException</a></dt>
+<dd>
+<div class="block">Constructor.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteableMetadataException.html#RemoteableMetadataException-java.lang.Class-java.lang.String-java.lang.Object...-">RemoteableMetadataException(Class&lt;?&gt;, String, Object...)</a></span> - Constructor for exception org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable">RemoteableMetadataException</a></dt>
+<dd>
+<div class="block">Constructor.</div>
+</dd>
+<dt><a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteableMethodMeta</span></a> - Class in <a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></dt>
+<dd>
+<div class="block">Contains the meta-data about a Java method on a remoteable interface.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html#RemoteableMethodMeta-java.lang.String-java.lang.reflect.Method-">RemoteableMethodMeta(String, Method)</a></span> - Constructor for class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable">RemoteableMethodMeta</a></dt>
+<dd>
+<div class="block">Constructor.</div>
 </dd>
 <dt><a href="org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html" title="class in org.apache.juneau.rest.remoteable"><span class="typeNameLink">RemoteableServiceProperties</span></a> - Class in <a href="org/apache/juneau/rest/remoteable/package-summary.html">org.apache.juneau.rest.remoteable</a></dt>
 <dd>
@@ -18347,9 +18539,17 @@
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/remoteable/RemoteableServlet.html#RemoteableServlet--">RemoteableServlet()</a></span> - Constructor for class org.apache.juneau.rest.remoteable.<a href="org/apache/juneau/rest/remoteable/RemoteableServlet.html" title="class in org.apache.juneau.rest.remoteable">RemoteableServlet</a></dt>
 <dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestClientBuilder.html#remoteableServletUri-java.lang.String-">remoteableServletUri(String)</a></span> - Method in class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></dt>
+<dt><a href="org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteMethod</span></a> - Annotation Type in <a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></dt>
 <dd>
-<div class="block">Sets the URI of the remoteable services REST servlet for invoking remoteable services.</div>
+<div class="block">Annotation applied to Java methods on interface proxy classes.</div>
+</dd>
+<dt><a href="org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteMethodArg</span></a> - Class in <a href="org/apache/juneau/remoteable/package-summary.html">org.apache.juneau.remoteable</a></dt>
+<dd>
+<div class="block">Represents the metadata about an annotated argument of a method on a remote proxy interface.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteMethodArg.html#RemoteMethodArg-java.lang.String-int-boolean-">RemoteMethodArg(String, int, boolean)</a></span> - Constructor for class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable">RemoteMethodArg</a></dt>
+<dd>
+<div class="block">Constructor.</div>
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/ini/ConfigFile.html#remove-java.lang.String-java.lang.String-">remove(String, String)</a></span> - Method in class org.apache.juneau.ini.<a href="org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a></dt>
 <dd>
@@ -19473,13 +19673,9 @@
 <dd>
 <div class="block">Utility class for interfacing with remote REST interfaces.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestClient.html#RestClient-org.apache.juneau.PropertyStore-org.apache.http.impl.client.CloseableHttpClient-boolean-org.apache.juneau.serializer.Serializer-org.apache.juneau.parser.Parser-org.apache.juneau.urlencoding.UrlEncodingSerializer-java.util.Map-java.util.List-java.lang.String-java.util.Map-java.lang.String-org.apache.juneau.rest.client.RetryOn-int-long-boolean-java.util.concurrent.ExecutorService-boolean-">RestClient(PropertyStore, CloseableHttpClient, boolean, Serializer, Parser, UrlEncodingSerializer, Map&lt;String, String&gt;, List&lt;RestCallInterceptor&gt;, String, Map&lt;Method, String&gt;, String, RetryOn, int, long, boolean, ExecutorService, boolean)</a></span> - Constructor for class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client">RestClient</a></dt>
-<dd>
-<div class="block">Create a new REST client.</div>
-</dd>
 <dt><a href="org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">RestClientBuilder</span></a> - Class in <a href="org/apache/juneau/rest/client/package-summary.html">org.apache.juneau.rest.client</a></dt>
 <dd>
-<div class="block">Builder class for <a href="org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client"><code>RestClient</code></a> class.</div>
+<div class="block">Builder class for the <a href="org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client"><code>RestClient</code></a> class.</div>
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RestClientBuilder.html#RestClientBuilder--">RestClientBuilder()</a></span> - Constructor for class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></dt>
 <dd>
@@ -19669,10 +19865,12 @@
 <dd>
 <div class="block">Make HTTP calls retryable if an error response (>=400) is received.</div>
 </dd>
-<dt><a href="org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client"><span class="typeNameLink">RetryOn</span></a> - Interface in <a href="org/apache/juneau/rest/client/package-summary.html">org.apache.juneau.rest.client</a></dt>
+<dt><a href="org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">RetryOn</span></a> - Class in <a href="org/apache/juneau/rest/client/package-summary.html">org.apache.juneau.rest.client</a></dt>
 <dd>
 <div class="block">Used to determine whether a request should be retried based on the HTTP response code.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/client/RetryOn.html#RetryOn--">RetryOn()</a></span> - Constructor for class org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a></dt>
+<dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/BeanSession.html#returnStringBuilder-java.lang.StringBuilder-">returnStringBuilder(StringBuilder)</a></span> - Method in class org.apache.juneau.<a href="org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a></dt>
 <dd>
 <div class="block">Returns a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><code>StringBuilder</code></a> object back into the internal reuse pool.</div>
@@ -20151,7 +20349,7 @@
 <dd>
 <div class="block">Serialize the specified object to the specified writer.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-">serializeAnything(UonSerializerSession, UonWriter, Object, ClassMeta&lt;?&gt;, String, BeanPropertyMeta)</a></span> - Method in class org.apache.juneau.uon.<a href="org/apache/juneau/uon/UonSerializer.html" title="class in org.apache.juneau.uon">UonSerializer</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-boolean-">serializeAnything(UonSerializerSession, UonWriter, Object, ClassMeta&lt;?&gt;, String, BeanPropertyMeta, boolean)</a></span> - Method in class org.apache.juneau.uon.<a href="org/apache/juneau/uon/UonSerializer.html" title="class in org.apache.juneau.uon">UonSerializer</a></dt>
 <dd>
 <div class="block">Workhorse method.</div>
 </dd>
@@ -20196,6 +20394,11 @@
 <dd>
 <div class="block">Constructor.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-">serializePart(Object, Boolean, Boolean)</a></span> - Method in class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a></dt>
+<dd>
+<div class="block">Converts the specified object to a string using this serializers <a href="org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-java.lang.Class-"><code>BeanSession.convertToType(Object, Class)</code></a> method
+   and runs <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URLEncoder.html?is-external=true#encode-java.lang.String-java.lang.String-" title="class or interface in java.net"><code>URLEncoder.encode(String,String)</code></a> against the results.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/ini/ConfigFileBuilder.html#serializer-org.apache.juneau.serializer.WriterSerializer-">serializer(WriterSerializer)</a></span> - Method in class org.apache.juneau.ini.<a href="org/apache/juneau/ini/ConfigFileBuilder.html" title="class in org.apache.juneau.ini">ConfigFileBuilder</a></dt>
 <dd>
 <div class="block">Specify the serializer to use for serializing POJOs when using <a href="org/apache/juneau/ini/ConfigFile.html#put-java.lang.String-java.lang.Object-"><code>ConfigFile.put(String, Object)</code></a>.</div>
@@ -20369,11 +20572,6 @@
 <dd>
 <div class="block">Convenience method for serializing an object to a hex-encoded String.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializeUrlPart-java.lang.Object-">serializeUrlPart(Object)</a></span> - Method in class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a></dt>
-<dd>
-<div class="block">Converts the specified object to a string using this serializers <a href="org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-java.lang.Class-"><code>BeanSession.convertToType(Object, Class)</code></a> method
-   and runs <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URLEncoder.html?is-external=true#encode-java.lang.String-java.lang.String-" title="class or interface in java.net"><code>URLEncoder.encode(String,String)</code></a> against the results.</div>
-</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestCallHandler.html#service-javax.servlet.http.HttpServletRequest-javax.servlet.http.HttpServletResponse-">service(HttpServletRequest, HttpServletResponse)</a></span> - Method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest">RestCallHandler</a></dt>
 <dd>
 <div class="block">The main service method.</div>
@@ -22427,6 +22625,10 @@
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/internal/CharSequenceReader.html#skip-long-">skip(long)</a></span> - Method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/CharSequenceReader.html" title="class in org.apache.juneau.internal">CharSequenceReader</a></dt>
 <dd>&nbsp;</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/remoteable/RemoteMethodArg.html#skipIfNE">skipIfNE</a></span> - Variable in class org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable">RemoteMethodArg</a></dt>
+<dd>
+<div class="block">The value is skipped if it's null/empty.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/dto/html5/HtmlBuilder.html#small--">small()</a></span> - Static method in class org.apache.juneau.dto.html5.<a href="org/apache/juneau/dto/html5/HtmlBuilder.html" title="class in org.apache.juneau.dto.html5">HtmlBuilder</a></dt>
 <dd>
 <div class="block">Creates an empty <a href="org/apache/juneau/dto/html5/Small.html" title="class in org.apache.juneau.dto.html5"><code>Small</code></a> element.</div>
@@ -24356,7 +24558,7 @@
 <dd>
 <div class="block">Efficiently trims the path info part from a request URI.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestUtils.html#trimSlashes-java.lang.String-">trimSlashes(String)</a></span> - Static method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestUtils.html" title="class in org.apache.juneau.rest">RestUtils</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/StringUtils.html#trimSlashes-java.lang.String-">trimSlashes(String)</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/StringUtils.html" title="class in org.apache.juneau.internal">StringUtils</a></dt>
 <dd>
 <div class="block">Trims <js>'/'</js> characters from both the start and end of the specified string.</div>
 </dd>
@@ -24438,11 +24640,11 @@
 <dd>
 <div class="block">Sets the <a href="org/apache/juneau/serializer/SerializerContext.html#SERIALIZER_trimStrings"><code>SerializerContext.SERIALIZER_trimStrings</code></a> property on all serializers in this group.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestUtils.html#trimTrailingSlashes-java.lang.String-">trimTrailingSlashes(String)</a></span> - Static method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestUtils.html" title="class in org.apache.juneau.rest">RestUtils</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/StringUtils.html#trimTrailingSlashes-java.lang.String-">trimTrailingSlashes(String)</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/StringUtils.html" title="class in org.apache.juneau.internal">StringUtils</a></dt>
 <dd>
 <div class="block">Trims <js>'/'</js> characters from the end of the specified string.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/rest/RestUtils.html#trimTrailingSlashes-java.lang.StringBuffer-">trimTrailingSlashes(StringBuffer)</a></span> - Static method in class org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestUtils.html" title="class in org.apache.juneau.rest">RestUtils</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/StringUtils.html#trimTrailingSlashes-java.lang.StringBuffer-">trimTrailingSlashes(StringBuffer)</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/StringUtils.html" title="class in org.apache.juneau.internal">StringUtils</a></dt>
 <dd>
 <div class="block">Trims <js>'/'</js> characters from the end of the specified string.</div>
 </dd>
@@ -24806,10 +25008,16 @@
 <dd>
 <div class="block">Session object that lives for the duration of a single use of <a href="org/apache/juneau/uon/UonSerializer.html" title="class in org.apache.juneau.uon"><code>UonSerializer</code></a>.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/uon/UonSerializerSession.html#UonSerializerSession-org.apache.juneau.uon.UonSerializerContext-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">UonSerializerSession(UonSerializerContext, ObjectMap, Object, Method, Locale, TimeZone, MediaType)</a></span> - Constructor for class org.apache.juneau.uon.<a href="org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon">UonSerializerSession</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/uon/UonSerializerSession.html#UonSerializerSession-org.apache.juneau.uon.UonSerializerContext-java.lang.Boolean-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">UonSerializerSession(UonSerializerContext, Boolean, ObjectMap, Object, Method, Locale, TimeZone, MediaType)</a></span> - Constructor for class org.apache.juneau.uon.<a href="org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon">UonSerializerSession</a></dt>
 <dd>
 <div class="block">Create a new session using properties specified in the context.</div>
 </dd>
+<dt><a href="org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">UonUtils</span></a> - Class in <a href="org/apache/juneau/uon/package-summary.html">org.apache.juneau.uon</a></dt>
+<dd>
+<div class="block">Utility methods for the UON and UrlEncoding serializers and parsers.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/uon/UonUtils.html#UonUtils--">UonUtils()</a></span> - Constructor for class org.apache.juneau.uon.<a href="org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon">UonUtils</a></dt>
+<dd>&nbsp;</dd>
 <dt><a href="org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">UonWriter</span></a> - Class in <a href="org/apache/juneau/uon/package-summary.html">org.apache.juneau.uon</a></dt>
 <dd>
 <div class="block">Specialized writer for serializing UON-encoded text.</div>
@@ -24914,10 +25122,22 @@
 <dd>
 <div class="block">Synonym for <a href="org/apache/juneau/dto/swagger/License.html#setUrl-java.lang.String-"><code>License.setUrl(String)</code></a>.</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/StringUtils.html#urlDecode-java.lang.String-">urlDecode(String)</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/StringUtils.html" title="class in org.apache.juneau.internal">StringUtils</a></dt>
+<dd>
+<div class="block">Decodes a <code>application/x-www-form-urlencoded</code> string using <code>UTF-8</code> encoding scheme.</div>
+</dd>
 <dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingContext.html#URLENC_expandedParams">URLENC_expandedParams</a></span> - Static variable in class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingContext.html" title="class in org.apache.juneau.urlencoding">UrlEncodingContext</a></dt>
 <dd>
 <div class="block">Serialize bean property collections/arrays as separate key/value pairs (<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>, default=<jk>false</jk>).</div>
 </dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html#URLENC_paramFormat">URLENC_paramFormat</a></span> - Static variable in class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingSerializerContext.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerContext</a></dt>
+<dd>
+<div class="block"><b>Configuration property:</b>  Format to use for top-level query names and simple parameters.</div>
+</dd>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/internal/StringUtils.html#urlEncode-java.lang.String-">urlEncode(String)</a></span> - Static method in class org.apache.juneau.internal.<a href="org/apache/juneau/internal/StringUtils.html" title="class in org.apache.juneau.internal">StringUtils</a></dt>
+<dd>
+<div class="block">Encodes a <code>application/x-www-form-urlencoded</code> string using <code>UTF-8</code> encoding scheme.</div>
+</dd>
 <dt><a href="org/apache/juneau/rest/matchers/UrlEncodedFormMatcher.html" title="class in org.apache.juneau.rest.matchers"><span class="typeNameLink">UrlEncodedFormMatcher</span></a> - Class in <a href="org/apache/juneau/rest/matchers/package-summary.html">org.apache.juneau.rest.matchers</a></dt>
 <dd>
 <div class="block">Predefined matcher for matching requests with content type <js>"application/x-www-form-urlencoded"</js>.</div>
@@ -25031,7 +25251,7 @@
 <dd>
 <div class="block">Session object that lives for the duration of a single use of <a href="org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding"><code>UrlEncodingSerializer</code></a>.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#UrlEncodingSerializerSession-org.apache.juneau.urlencoding.UrlEncodingSerializerContext-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">UrlEncodingSerializerSession(UrlEncodingSerializerContext, ObjectMap, Object, Method, Locale, TimeZone, MediaType)</a></span> - Constructor for class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerSession</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html#UrlEncodingSerializerSession-org.apache.juneau.urlencoding.UrlEncodingSerializerContext-java.lang.Boolean-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">UrlEncodingSerializerSession(UrlEncodingSerializerContext, Boolean, ObjectMap, Object, Method, Locale, TimeZone, MediaType)</a></span> - Constructor for class org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingSerializerSession.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializerSession</a></dt>
 <dd>
 <div class="block">Create a new session using properties specified in the context.</div>
 </dd>


[21/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/internal/StringUtils.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/internal/StringUtils.html b/content/site/apidocs/src-html/org/apache/juneau/internal/StringUtils.html
index c615663..dad3675 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/internal/StringUtils.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/internal/StringUtils.html
@@ -24,1105 +24,1228 @@
 <span class="sourceLineNo">016</span><a name="line.16"></a>
 <span class="sourceLineNo">017</span>import java.io.*;<a name="line.17"></a>
 <span class="sourceLineNo">018</span>import java.math.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span>import java.nio.*;<a name="line.19"></a>
-<span class="sourceLineNo">020</span>import java.nio.charset.*;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import java.util.*;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import java.util.concurrent.atomic.*;<a name="line.22"></a>
-<span class="sourceLineNo">023</span>import java.util.regex.*;<a name="line.23"></a>
-<span class="sourceLineNo">024</span><a name="line.24"></a>
-<span class="sourceLineNo">025</span>import javax.xml.bind.*;<a name="line.25"></a>
-<span class="sourceLineNo">026</span><a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.juneau.parser.*;<a name="line.27"></a>
-<span class="sourceLineNo">028</span><a name="line.28"></a>
-<span class="sourceLineNo">029</span>/**<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * Reusable string utility methods.<a name="line.30"></a>
-<span class="sourceLineNo">031</span> */<a name="line.31"></a>
-<span class="sourceLineNo">032</span>public final class StringUtils {<a name="line.32"></a>
-<span class="sourceLineNo">033</span><a name="line.33"></a>
-<span class="sourceLineNo">034</span>   private static final AsciiSet numberChars = new AsciiSet("-xX.+-#pP0123456789abcdefABCDEF");<a name="line.34"></a>
-<span class="sourceLineNo">035</span>   private static final AsciiSet firstNumberChars = new AsciiSet("+-.#0123456789");<a name="line.35"></a>
-<span class="sourceLineNo">036</span>   private static final AsciiSet octChars = new AsciiSet("01234567");<a name="line.36"></a>
-<span class="sourceLineNo">037</span>   private static final AsciiSet decChars = new AsciiSet("0123456789");<a name="line.37"></a>
-<span class="sourceLineNo">038</span>   private static final AsciiSet hexChars = new AsciiSet("0123456789abcdefABCDEF");<a name="line.38"></a>
-<span class="sourceLineNo">039</span><a name="line.39"></a>
-<span class="sourceLineNo">040</span>   // Maps 6-bit nibbles to BASE64 characters.<a name="line.40"></a>
-<span class="sourceLineNo">041</span>   private static final char[] base64m1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".toCharArray();<a name="line.41"></a>
-<span class="sourceLineNo">042</span><a name="line.42"></a>
-<span class="sourceLineNo">043</span>   // Maps BASE64 characters to 6-bit nibbles.<a name="line.43"></a>
-<span class="sourceLineNo">044</span>   private static final byte[] base64m2 = new byte[128];<a name="line.44"></a>
-<span class="sourceLineNo">045</span>   static {<a name="line.45"></a>
-<span class="sourceLineNo">046</span>      for (int i = 0; i &lt; 64; i++)<a name="line.46"></a>
-<span class="sourceLineNo">047</span>         base64m2[base64m1[i]] = (byte)i;<a name="line.47"></a>
-<span class="sourceLineNo">048</span>   }<a name="line.48"></a>
-<span class="sourceLineNo">049</span><a name="line.49"></a>
-<span class="sourceLineNo">050</span>   /**<a name="line.50"></a>
-<span class="sourceLineNo">051</span>    * Parses a number from the specified reader stream.<a name="line.51"></a>
-<span class="sourceLineNo">052</span>    *<a name="line.52"></a>
-<span class="sourceLineNo">053</span>    * @param r The reader to parse the string from.<a name="line.53"></a>
-<span class="sourceLineNo">054</span>    * @param type The number type to created. &lt;br&gt;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>    * Can be any of the following:<a name="line.55"></a>
-<span class="sourceLineNo">056</span>    * &lt;ul&gt;<a name="line.56"></a>
-<span class="sourceLineNo">057</span>    *    &lt;li&gt; Integer<a name="line.57"></a>
-<span class="sourceLineNo">058</span>    *    &lt;li&gt; Double<a name="line.58"></a>
-<span class="sourceLineNo">059</span>    *    &lt;li&gt; Float<a name="line.59"></a>
-<span class="sourceLineNo">060</span>    *    &lt;li&gt; Long<a name="line.60"></a>
-<span class="sourceLineNo">061</span>    *    &lt;li&gt; Short<a name="line.61"></a>
-<span class="sourceLineNo">062</span>    *    &lt;li&gt; Byte<a name="line.62"></a>
-<span class="sourceLineNo">063</span>    *    &lt;li&gt; BigInteger<a name="line.63"></a>
-<span class="sourceLineNo">064</span>    *    &lt;li&gt; BigDecimal<a name="line.64"></a>
-<span class="sourceLineNo">065</span>    * &lt;/ul&gt;<a name="line.65"></a>
-<span class="sourceLineNo">066</span>    * If &lt;jk&gt;null&lt;/jk&gt;, uses the best guess.<a name="line.66"></a>
-<span class="sourceLineNo">067</span>    * @throws IOException If a problem occurred trying to read from the reader.<a name="line.67"></a>
-<span class="sourceLineNo">068</span>    * @return The parsed number.<a name="line.68"></a>
-<span class="sourceLineNo">069</span>    * @throws Exception<a name="line.69"></a>
-<span class="sourceLineNo">070</span>    */<a name="line.70"></a>
-<span class="sourceLineNo">071</span>   public static Number parseNumber(ParserReader r, Class&lt;? extends Number&gt; type) throws Exception {<a name="line.71"></a>
-<span class="sourceLineNo">072</span>      return parseNumber(parseNumberString(r), type);<a name="line.72"></a>
-<span class="sourceLineNo">073</span>   }<a name="line.73"></a>
-<span class="sourceLineNo">074</span><a name="line.74"></a>
-<span class="sourceLineNo">075</span>   /**<a name="line.75"></a>
-<span class="sourceLineNo">076</span>    * Reads a numeric string from the specified reader.<a name="line.76"></a>
-<span class="sourceLineNo">077</span>    *<a name="line.77"></a>
-<span class="sourceLineNo">078</span>    * @param r The reader to read form.<a name="line.78"></a>
-<span class="sourceLineNo">079</span>    * @return The parsed number string.<a name="line.79"></a>
-<span class="sourceLineNo">080</span>    * @throws Exception<a name="line.80"></a>
-<span class="sourceLineNo">081</span>    */<a name="line.81"></a>
-<span class="sourceLineNo">082</span>   public static String parseNumberString(ParserReader r) throws Exception {<a name="line.82"></a>
-<span class="sourceLineNo">083</span>      r.mark();<a name="line.83"></a>
-<span class="sourceLineNo">084</span>      int c = 0;<a name="line.84"></a>
-<span class="sourceLineNo">085</span>      while (true) {<a name="line.85"></a>
-<span class="sourceLineNo">086</span>         c = r.read();<a name="line.86"></a>
-<span class="sourceLineNo">087</span>         if (c == -1)<a name="line.87"></a>
-<span class="sourceLineNo">088</span>            break;<a name="line.88"></a>
-<span class="sourceLineNo">089</span>         if (! numberChars.contains((char)c)) {<a name="line.89"></a>
-<span class="sourceLineNo">090</span>            r.unread();<a name="line.90"></a>
-<span class="sourceLineNo">091</span>            break;<a name="line.91"></a>
-<span class="sourceLineNo">092</span>         }<a name="line.92"></a>
-<span class="sourceLineNo">093</span>      }<a name="line.93"></a>
-<span class="sourceLineNo">094</span>      return r.getMarked();<a name="line.94"></a>
-<span class="sourceLineNo">095</span>   }<a name="line.95"></a>
-<span class="sourceLineNo">096</span><a name="line.96"></a>
-<span class="sourceLineNo">097</span>   /**<a name="line.97"></a>
-<span class="sourceLineNo">098</span>    * Parses a number from the specified string.<a name="line.98"></a>
-<span class="sourceLineNo">099</span>    *<a name="line.99"></a>
-<span class="sourceLineNo">100</span>    * @param s The string to parse the number from.<a name="line.100"></a>
-<span class="sourceLineNo">101</span>    * @param type The number type to created. &lt;br&gt;<a name="line.101"></a>
-<span class="sourceLineNo">102</span>    * Can be any of the following:<a name="line.102"></a>
-<span class="sourceLineNo">103</span>    * &lt;ul&gt;<a name="line.103"></a>
-<span class="sourceLineNo">104</span>    *    &lt;li&gt; Integer<a name="line.104"></a>
-<span class="sourceLineNo">105</span>    *    &lt;li&gt; Double<a name="line.105"></a>
-<span class="sourceLineNo">106</span>    *    &lt;li&gt; Float<a name="line.106"></a>
-<span class="sourceLineNo">107</span>    *    &lt;li&gt; Long<a name="line.107"></a>
-<span class="sourceLineNo">108</span>    *    &lt;li&gt; Short<a name="line.108"></a>
-<span class="sourceLineNo">109</span>    *    &lt;li&gt; Byte<a name="line.109"></a>
-<span class="sourceLineNo">110</span>    *    &lt;li&gt; BigInteger<a name="line.110"></a>
-<span class="sourceLineNo">111</span>    *    &lt;li&gt; BigDecimal<a name="line.111"></a>
-<span class="sourceLineNo">112</span>    * &lt;/ul&gt;<a name="line.112"></a>
-<span class="sourceLineNo">113</span>    * If &lt;jk&gt;null&lt;/jk&gt;, uses the best guess.<a name="line.113"></a>
-<span class="sourceLineNo">114</span>    * @return The parsed number.<a name="line.114"></a>
-<span class="sourceLineNo">115</span>    * @throws ParseException<a name="line.115"></a>
-<span class="sourceLineNo">116</span>    */<a name="line.116"></a>
-<span class="sourceLineNo">117</span>   public static Number parseNumber(String s, Class&lt;? extends Number&gt; type) throws ParseException {<a name="line.117"></a>
-<span class="sourceLineNo">118</span><a name="line.118"></a>
-<span class="sourceLineNo">119</span>      if (s.isEmpty())<a name="line.119"></a>
-<span class="sourceLineNo">120</span>         s = "0";<a name="line.120"></a>
-<span class="sourceLineNo">121</span>      if (type == null)<a name="line.121"></a>
-<span class="sourceLineNo">122</span>         type = Number.class;<a name="line.122"></a>
-<span class="sourceLineNo">123</span><a name="line.123"></a>
-<span class="sourceLineNo">124</span>      try {<a name="line.124"></a>
-<span class="sourceLineNo">125</span>         // Determine the data type if it wasn't specified.<a name="line.125"></a>
-<span class="sourceLineNo">126</span>         boolean isAutoDetect = (type == Number.class);<a name="line.126"></a>
-<span class="sourceLineNo">127</span>         boolean isDecimal = false;<a name="line.127"></a>
-<span class="sourceLineNo">128</span>         if (isAutoDetect) {<a name="line.128"></a>
-<span class="sourceLineNo">129</span>            // If we're auto-detecting, then we use either an Integer, Long, or Double depending on how<a name="line.129"></a>
-<span class="sourceLineNo">130</span>            // long the string is.<a name="line.130"></a>
-<span class="sourceLineNo">131</span>            // An integer range is -2,147,483,648 to 2,147,483,647<a name="line.131"></a>
-<span class="sourceLineNo">132</span>            // An long range is -9,223,372,036,854,775,808 to +9,223,372,036,854,775,807<a name="line.132"></a>
-<span class="sourceLineNo">133</span>            isDecimal = isDecimal(s);<a name="line.133"></a>
-<span class="sourceLineNo">134</span>            if (isDecimal) {<a name="line.134"></a>
-<span class="sourceLineNo">135</span>               if (s.length() &gt; 20)<a name="line.135"></a>
-<span class="sourceLineNo">136</span>                  type = Double.class;<a name="line.136"></a>
-<span class="sourceLineNo">137</span>               else if (s.length() &gt;= 10)<a name="line.137"></a>
-<span class="sourceLineNo">138</span>                  type = Long.class;<a name="line.138"></a>
-<span class="sourceLineNo">139</span>               else<a name="line.139"></a>
-<span class="sourceLineNo">140</span>                  type = Integer.class;<a name="line.140"></a>
-<span class="sourceLineNo">141</span>            }<a name="line.141"></a>
-<span class="sourceLineNo">142</span>            else if (isFloat(s))<a name="line.142"></a>
-<span class="sourceLineNo">143</span>               type = Double.class;<a name="line.143"></a>
-<span class="sourceLineNo">144</span>            else<a name="line.144"></a>
-<span class="sourceLineNo">145</span>               throw new NumberFormatException(s);<a name="line.145"></a>
-<span class="sourceLineNo">146</span>         }<a name="line.146"></a>
-<span class="sourceLineNo">147</span><a name="line.147"></a>
-<span class="sourceLineNo">148</span>         if (type == Double.class || type == Double.TYPE) {<a name="line.148"></a>
-<span class="sourceLineNo">149</span>            Double d = Double.valueOf(s);<a name="line.149"></a>
-<span class="sourceLineNo">150</span>            Float f = Float.valueOf(s);<a name="line.150"></a>
-<span class="sourceLineNo">151</span>            if (isAutoDetect &amp;&amp; (!isDecimal) &amp;&amp; d.toString().equals(f.toString()))<a name="line.151"></a>
-<span class="sourceLineNo">152</span>               return f;<a name="line.152"></a>
-<span class="sourceLineNo">153</span>            return d;<a name="line.153"></a>
-<span class="sourceLineNo">154</span>         }<a name="line.154"></a>
-<span class="sourceLineNo">155</span>         if (type == Float.class || type == Float.TYPE)<a name="line.155"></a>
-<span class="sourceLineNo">156</span>            return Float.valueOf(s);<a name="line.156"></a>
-<span class="sourceLineNo">157</span>         if (type == BigDecimal.class)<a name="line.157"></a>
-<span class="sourceLineNo">158</span>            return new BigDecimal(s);<a name="line.158"></a>
-<span class="sourceLineNo">159</span>         if (type == Long.class || type == Long.TYPE || type == AtomicLong.class) {<a name="line.159"></a>
-<span class="sourceLineNo">160</span>            try {<a name="line.160"></a>
-<span class="sourceLineNo">161</span>               Long l = Long.decode(s);<a name="line.161"></a>
-<span class="sourceLineNo">162</span>               if (type == AtomicLong.class)<a name="line.162"></a>
-<span class="sourceLineNo">163</span>                  return new AtomicLong(l);<a name="line.163"></a>
-<span class="sourceLineNo">164</span>               if (isAutoDetect &amp;&amp; l &gt;= Integer.MIN_VALUE &amp;&amp; l &lt;= Integer.MAX_VALUE) {<a name="line.164"></a>
-<span class="sourceLineNo">165</span>                  // This occurs if the string is 10 characters long but is still a valid integer value.<a name="line.165"></a>
-<span class="sourceLineNo">166</span>                  return l.intValue();<a name="line.166"></a>
-<span class="sourceLineNo">167</span>               }<a name="line.167"></a>
-<span class="sourceLineNo">168</span>               return l;<a name="line.168"></a>
-<span class="sourceLineNo">169</span>            } catch (NumberFormatException e) {<a name="line.169"></a>
-<span class="sourceLineNo">170</span>               if (isAutoDetect) {<a name="line.170"></a>
-<span class="sourceLineNo">171</span>                  // This occurs if the string is 20 characters long but still falls outside the range of a valid long.<a name="line.171"></a>
-<span class="sourceLineNo">172</span>                  return Double.valueOf(s);<a name="line.172"></a>
-<span class="sourceLineNo">173</span>               }<a name="line.173"></a>
-<span class="sourceLineNo">174</span>               throw e;<a name="line.174"></a>
-<span class="sourceLineNo">175</span>            }<a name="line.175"></a>
-<span class="sourceLineNo">176</span>         }<a name="line.176"></a>
-<span class="sourceLineNo">177</span>         if (type == Integer.class || type == Integer.TYPE)<a name="line.177"></a>
-<span class="sourceLineNo">178</span>            return Integer.decode(s);<a name="line.178"></a>
-<span class="sourceLineNo">179</span>         if (type == Short.class || type == Short.TYPE)<a name="line.179"></a>
-<span class="sourceLineNo">180</span>            return Short.decode(s);<a name="line.180"></a>
-<span class="sourceLineNo">181</span>         if (type == Byte.class || type == Byte.TYPE)<a name="line.181"></a>
-<span class="sourceLineNo">182</span>            return Byte.decode(s);<a name="line.182"></a>
-<span class="sourceLineNo">183</span>         if (type == BigInteger.class)<a name="line.183"></a>
-<span class="sourceLineNo">184</span>            return new BigInteger(s);<a name="line.184"></a>
-<span class="sourceLineNo">185</span>         if (type == AtomicInteger.class)<a name="line.185"></a>
-<span class="sourceLineNo">186</span>            return new AtomicInteger(Integer.decode(s));<a name="line.186"></a>
-<span class="sourceLineNo">187</span>         throw new ParseException("Unsupported Number type: {0}", type.getName());<a name="line.187"></a>
-<span class="sourceLineNo">188</span>      } catch (NumberFormatException e) {<a name="line.188"></a>
-<span class="sourceLineNo">189</span>         throw new ParseException("Invalid number: ''{0}'', class=''{1}''", s, type.getSimpleName()).initCause(e);<a name="line.189"></a>
-<span class="sourceLineNo">190</span>      }<a name="line.190"></a>
-<span class="sourceLineNo">191</span>   }<a name="line.191"></a>
-<span class="sourceLineNo">192</span><a name="line.192"></a>
-<span class="sourceLineNo">193</span>   private final static Pattern fpRegex = Pattern.compile(<a name="line.193"></a>
-<span class="sourceLineNo">194</span>      "[+-]?(NaN|Infinity|((((\\p{Digit}+)(\\.)?((\\p{Digit}+)?)([eE][+-]?(\\p{Digit}+))?)|(\\.((\\p{Digit}+))([eE][+-]?(\\p{Digit}+))?)|(((0[xX](\\p{XDigit}+)(\\.)?)|(0[xX](\\p{XDigit}+)?(\\.)(\\p{XDigit}+)))[pP][+-]?(\\p{Digit}+)))[fFdD]?))[\\x00-\\x20]*"<a name="line.194"></a>
-<span class="sourceLineNo">195</span>   );<a name="line.195"></a>
+<span class="sourceLineNo">019</span>import java.net.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.nio.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.nio.charset.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.util.*;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import java.util.concurrent.atomic.*;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import java.util.regex.*;<a name="line.24"></a>
+<span class="sourceLineNo">025</span><a name="line.25"></a>
+<span class="sourceLineNo">026</span>import javax.xml.bind.*;<a name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.juneau.parser.*;<a name="line.28"></a>
+<span class="sourceLineNo">029</span><a name="line.29"></a>
+<span class="sourceLineNo">030</span>/**<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Reusable string utility methods.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> */<a name="line.32"></a>
+<span class="sourceLineNo">033</span>public final class StringUtils {<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span>   private static final AsciiSet numberChars = new AsciiSet("-xX.+-#pP0123456789abcdefABCDEF");<a name="line.35"></a>
+<span class="sourceLineNo">036</span>   private static final AsciiSet firstNumberChars = new AsciiSet("+-.#0123456789");<a name="line.36"></a>
+<span class="sourceLineNo">037</span>   private static final AsciiSet octChars = new AsciiSet("01234567");<a name="line.37"></a>
+<span class="sourceLineNo">038</span>   private static final AsciiSet decChars = new AsciiSet("0123456789");<a name="line.38"></a>
+<span class="sourceLineNo">039</span>   private static final AsciiSet hexChars = new AsciiSet("0123456789abcdefABCDEF");<a name="line.39"></a>
+<span class="sourceLineNo">040</span><a name="line.40"></a>
+<span class="sourceLineNo">041</span>   // Maps 6-bit nibbles to BASE64 characters.<a name="line.41"></a>
+<span class="sourceLineNo">042</span>   private static final char[] base64m1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".toCharArray();<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span>   // Characters that do not need to be URL-encoded<a name="line.44"></a>
+<span class="sourceLineNo">045</span>   private static final AsciiSet unencodedChars = new AsciiSet("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.!~*'()\\");<a name="line.45"></a>
+<span class="sourceLineNo">046</span><a name="line.46"></a>
+<span class="sourceLineNo">047</span>   // Maps BASE64 characters to 6-bit nibbles.<a name="line.47"></a>
+<span class="sourceLineNo">048</span>   private static final byte[] base64m2 = new byte[128];<a name="line.48"></a>
+<span class="sourceLineNo">049</span>   static {<a name="line.49"></a>
+<span class="sourceLineNo">050</span>      for (int i = 0; i &lt; 64; i++)<a name="line.50"></a>
+<span class="sourceLineNo">051</span>         base64m2[base64m1[i]] = (byte)i;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>   }<a name="line.52"></a>
+<span class="sourceLineNo">053</span><a name="line.53"></a>
+<span class="sourceLineNo">054</span>   /**<a name="line.54"></a>
+<span class="sourceLineNo">055</span>    * Parses a number from the specified reader stream.<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    *<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    * @param r The reader to parse the string from.<a name="line.57"></a>
+<span class="sourceLineNo">058</span>    * @param type The number type to created. &lt;br&gt;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>    * Can be any of the following:<a name="line.59"></a>
+<span class="sourceLineNo">060</span>    * &lt;ul&gt;<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    *    &lt;li&gt; Integer<a name="line.61"></a>
+<span class="sourceLineNo">062</span>    *    &lt;li&gt; Double<a name="line.62"></a>
+<span class="sourceLineNo">063</span>    *    &lt;li&gt; Float<a name="line.63"></a>
+<span class="sourceLineNo">064</span>    *    &lt;li&gt; Long<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    *    &lt;li&gt; Short<a name="line.65"></a>
+<span class="sourceLineNo">066</span>    *    &lt;li&gt; Byte<a name="line.66"></a>
+<span class="sourceLineNo">067</span>    *    &lt;li&gt; BigInteger<a name="line.67"></a>
+<span class="sourceLineNo">068</span>    *    &lt;li&gt; BigDecimal<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    * &lt;/ul&gt;<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    * If &lt;jk&gt;null&lt;/jk&gt;, uses the best guess.<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    * @throws IOException If a problem occurred trying to read from the reader.<a name="line.71"></a>
+<span class="sourceLineNo">072</span>    * @return The parsed number.<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    * @throws Exception<a name="line.73"></a>
+<span class="sourceLineNo">074</span>    */<a name="line.74"></a>
+<span class="sourceLineNo">075</span>   public static Number parseNumber(ParserReader r, Class&lt;? extends Number&gt; type) throws Exception {<a name="line.75"></a>
+<span class="sourceLineNo">076</span>      return parseNumber(parseNumberString(r), type);<a name="line.76"></a>
+<span class="sourceLineNo">077</span>   }<a name="line.77"></a>
+<span class="sourceLineNo">078</span><a name="line.78"></a>
+<span class="sourceLineNo">079</span>   /**<a name="line.79"></a>
+<span class="sourceLineNo">080</span>    * Reads a numeric string from the specified reader.<a name="line.80"></a>
+<span class="sourceLineNo">081</span>    *<a name="line.81"></a>
+<span class="sourceLineNo">082</span>    * @param r The reader to read form.<a name="line.82"></a>
+<span class="sourceLineNo">083</span>    * @return The parsed number string.<a name="line.83"></a>
+<span class="sourceLineNo">084</span>    * @throws Exception<a name="line.84"></a>
+<span class="sourceLineNo">085</span>    */<a name="line.85"></a>
+<span class="sourceLineNo">086</span>   public static String parseNumberString(ParserReader r) throws Exception {<a name="line.86"></a>
+<span class="sourceLineNo">087</span>      r.mark();<a name="line.87"></a>
+<span class="sourceLineNo">088</span>      int c = 0;<a name="line.88"></a>
+<span class="sourceLineNo">089</span>      while (true) {<a name="line.89"></a>
+<span class="sourceLineNo">090</span>         c = r.read();<a name="line.90"></a>
+<span class="sourceLineNo">091</span>         if (c == -1)<a name="line.91"></a>
+<span class="sourceLineNo">092</span>            break;<a name="line.92"></a>
+<span class="sourceLineNo">093</span>         if (! numberChars.contains((char)c)) {<a name="line.93"></a>
+<span class="sourceLineNo">094</span>            r.unread();<a name="line.94"></a>
+<span class="sourceLineNo">095</span>            break;<a name="line.95"></a>
+<span class="sourceLineNo">096</span>         }<a name="line.96"></a>
+<span class="sourceLineNo">097</span>      }<a name="line.97"></a>
+<span class="sourceLineNo">098</span>      return r.getMarked();<a name="line.98"></a>
+<span class="sourceLineNo">099</span>   }<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>   /**<a name="line.101"></a>
+<span class="sourceLineNo">102</span>    * Parses a number from the specified string.<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    *<a name="line.103"></a>
+<span class="sourceLineNo">104</span>    * @param s The string to parse the number from.<a name="line.104"></a>
+<span class="sourceLineNo">105</span>    * @param type The number type to created. &lt;br&gt;<a name="line.105"></a>
+<span class="sourceLineNo">106</span>    * Can be any of the following:<a name="line.106"></a>
+<span class="sourceLineNo">107</span>    * &lt;ul&gt;<a name="line.107"></a>
+<span class="sourceLineNo">108</span>    *    &lt;li&gt; Integer<a name="line.108"></a>
+<span class="sourceLineNo">109</span>    *    &lt;li&gt; Double<a name="line.109"></a>
+<span class="sourceLineNo">110</span>    *    &lt;li&gt; Float<a name="line.110"></a>
+<span class="sourceLineNo">111</span>    *    &lt;li&gt; Long<a name="line.111"></a>
+<span class="sourceLineNo">112</span>    *    &lt;li&gt; Short<a name="line.112"></a>
+<span class="sourceLineNo">113</span>    *    &lt;li&gt; Byte<a name="line.113"></a>
+<span class="sourceLineNo">114</span>    *    &lt;li&gt; BigInteger<a name="line.114"></a>
+<span class="sourceLineNo">115</span>    *    &lt;li&gt; BigDecimal<a name="line.115"></a>
+<span class="sourceLineNo">116</span>    * &lt;/ul&gt;<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    * If &lt;jk&gt;null&lt;/jk&gt;, uses the best guess.<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    * @return The parsed number.<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    * @throws ParseException<a name="line.119"></a>
+<span class="sourceLineNo">120</span>    */<a name="line.120"></a>
+<span class="sourceLineNo">121</span>   public static Number parseNumber(String s, Class&lt;? extends Number&gt; type) throws ParseException {<a name="line.121"></a>
+<span class="sourceLineNo">122</span><a name="line.122"></a>
+<span class="sourceLineNo">123</span>      if (s.isEmpty())<a name="line.123"></a>
+<span class="sourceLineNo">124</span>         s = "0";<a name="line.124"></a>
+<span class="sourceLineNo">125</span>      if (type == null)<a name="line.125"></a>
+<span class="sourceLineNo">126</span>         type = Number.class;<a name="line.126"></a>
+<span class="sourceLineNo">127</span><a name="line.127"></a>
+<span class="sourceLineNo">128</span>      try {<a name="line.128"></a>
+<span class="sourceLineNo">129</span>         // Determine the data type if it wasn't specified.<a name="line.129"></a>
+<span class="sourceLineNo">130</span>         boolean isAutoDetect = (type == Number.class);<a name="line.130"></a>
+<span class="sourceLineNo">131</span>         boolean isDecimal = false;<a name="line.131"></a>
+<span class="sourceLineNo">132</span>         if (isAutoDetect) {<a name="line.132"></a>
+<span class="sourceLineNo">133</span>            // If we're auto-detecting, then we use either an Integer, Long, or Double depending on how<a name="line.133"></a>
+<span class="sourceLineNo">134</span>            // long the string is.<a name="line.134"></a>
+<span class="sourceLineNo">135</span>            // An integer range is -2,147,483,648 to 2,147,483,647<a name="line.135"></a>
+<span class="sourceLineNo">136</span>            // An long range is -9,223,372,036,854,775,808 to +9,223,372,036,854,775,807<a name="line.136"></a>
+<span class="sourceLineNo">137</span>            isDecimal = isDecimal(s);<a name="line.137"></a>
+<span class="sourceLineNo">138</span>            if (isDecimal) {<a name="line.138"></a>
+<span class="sourceLineNo">139</span>               if (s.length() &gt; 20)<a name="line.139"></a>
+<span class="sourceLineNo">140</span>                  type = Double.class;<a name="line.140"></a>
+<span class="sourceLineNo">141</span>               else if (s.length() &gt;= 10)<a name="line.141"></a>
+<span class="sourceLineNo">142</span>                  type = Long.class;<a name="line.142"></a>
+<span class="sourceLineNo">143</span>               else<a name="line.143"></a>
+<span class="sourceLineNo">144</span>                  type = Integer.class;<a name="line.144"></a>
+<span class="sourceLineNo">145</span>            }<a name="line.145"></a>
+<span class="sourceLineNo">146</span>            else if (isFloat(s))<a name="line.146"></a>
+<span class="sourceLineNo">147</span>               type = Double.class;<a name="line.147"></a>
+<span class="sourceLineNo">148</span>            else<a name="line.148"></a>
+<span class="sourceLineNo">149</span>               throw new NumberFormatException(s);<a name="line.149"></a>
+<span class="sourceLineNo">150</span>         }<a name="line.150"></a>
+<span class="sourceLineNo">151</span><a name="line.151"></a>
+<span class="sourceLineNo">152</span>         if (type == Double.class || type == Double.TYPE) {<a name="line.152"></a>
+<span class="sourceLineNo">153</span>            Double d = Double.valueOf(s);<a name="line.153"></a>
+<span class="sourceLineNo">154</span>            Float f = Float.valueOf(s);<a name="line.154"></a>
+<span class="sourceLineNo">155</span>            if (isAutoDetect &amp;&amp; (!isDecimal) &amp;&amp; d.toString().equals(f.toString()))<a name="line.155"></a>
+<span class="sourceLineNo">156</span>               return f;<a name="line.156"></a>
+<span class="sourceLineNo">157</span>            return d;<a name="line.157"></a>
+<span class="sourceLineNo">158</span>         }<a name="line.158"></a>
+<span class="sourceLineNo">159</span>         if (type == Float.class || type == Float.TYPE)<a name="line.159"></a>
+<span class="sourceLineNo">160</span>            return Float.valueOf(s);<a name="line.160"></a>
+<span class="sourceLineNo">161</span>         if (type == BigDecimal.class)<a name="line.161"></a>
+<span class="sourceLineNo">162</span>            return new BigDecimal(s);<a name="line.162"></a>
+<span class="sourceLineNo">163</span>         if (type == Long.class || type == Long.TYPE || type == AtomicLong.class) {<a name="line.163"></a>
+<span class="sourceLineNo">164</span>            try {<a name="line.164"></a>
+<span class="sourceLineNo">165</span>               Long l = Long.decode(s);<a name="line.165"></a>
+<span class="sourceLineNo">166</span>               if (type == AtomicLong.class)<a name="line.166"></a>
+<span class="sourceLineNo">167</span>                  return new AtomicLong(l);<a name="line.167"></a>
+<span class="sourceLineNo">168</span>               if (isAutoDetect &amp;&amp; l &gt;= Integer.MIN_VALUE &amp;&amp; l &lt;= Integer.MAX_VALUE) {<a name="line.168"></a>
+<span class="sourceLineNo">169</span>                  // This occurs if the string is 10 characters long but is still a valid integer value.<a name="line.169"></a>
+<span class="sourceLineNo">170</span>                  return l.intValue();<a name="line.170"></a>
+<span class="sourceLineNo">171</span>               }<a name="line.171"></a>
+<span class="sourceLineNo">172</span>               return l;<a name="line.172"></a>
+<span class="sourceLineNo">173</span>            } catch (NumberFormatException e) {<a name="line.173"></a>
+<span class="sourceLineNo">174</span>               if (isAutoDetect) {<a name="line.174"></a>
+<span class="sourceLineNo">175</span>                  // This occurs if the string is 20 characters long but still falls outside the range of a valid long.<a name="line.175"></a>
+<span class="sourceLineNo">176</span>                  return Double.valueOf(s);<a name="line.176"></a>
+<span class="sourceLineNo">177</span>               }<a name="line.177"></a>
+<span class="sourceLineNo">178</span>               throw e;<a name="line.178"></a>
+<span class="sourceLineNo">179</span>            }<a name="line.179"></a>
+<span class="sourceLineNo">180</span>         }<a name="line.180"></a>
+<span class="sourceLineNo">181</span>         if (type == Integer.class || type == Integer.TYPE)<a name="line.181"></a>
+<span class="sourceLineNo">182</span>            return Integer.decode(s);<a name="line.182"></a>
+<span class="sourceLineNo">183</span>         if (type == Short.class || type == Short.TYPE)<a name="line.183"></a>
+<span class="sourceLineNo">184</span>            return Short.decode(s);<a name="line.184"></a>
+<span class="sourceLineNo">185</span>         if (type == Byte.class || type == Byte.TYPE)<a name="line.185"></a>
+<span class="sourceLineNo">186</span>            return Byte.decode(s);<a name="line.186"></a>
+<span class="sourceLineNo">187</span>         if (type == BigInteger.class)<a name="line.187"></a>
+<span class="sourceLineNo">188</span>            return new BigInteger(s);<a name="line.188"></a>
+<span class="sourceLineNo">189</span>         if (type == AtomicInteger.class)<a name="line.189"></a>
+<span class="sourceLineNo">190</span>            return new AtomicInteger(Integer.decode(s));<a name="line.190"></a>
+<span class="sourceLineNo">191</span>         throw new ParseException("Unsupported Number type: {0}", type.getName());<a name="line.191"></a>
+<span class="sourceLineNo">192</span>      } catch (NumberFormatException e) {<a name="line.192"></a>
+<span class="sourceLineNo">193</span>         throw new ParseException("Invalid number: ''{0}'', class=''{1}''", s, type.getSimpleName()).initCause(e);<a name="line.193"></a>
+<span class="sourceLineNo">194</span>      }<a name="line.194"></a>
+<span class="sourceLineNo">195</span>   }<a name="line.195"></a>
 <span class="sourceLineNo">196</span><a name="line.196"></a>
-<span class="sourceLineNo">197</span>   /**<a name="line.197"></a>
-<span class="sourceLineNo">198</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if this string can be parsed by {@link #parseNumber(String, Class)}.<a name="line.198"></a>
-<span class="sourceLineNo">199</span>    *<a name="line.199"></a>
-<span class="sourceLineNo">200</span>    * @param s The string to check.<a name="line.200"></a>
-<span class="sourceLineNo">201</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if this string can be parsed without causing an exception.<a name="line.201"></a>
-<span class="sourceLineNo">202</span>    */<a name="line.202"></a>
-<span class="sourceLineNo">203</span>   public static boolean isNumeric(String s) {<a name="line.203"></a>
-<span class="sourceLineNo">204</span>      if (s == null || s.isEmpty())<a name="line.204"></a>
-<span class="sourceLineNo">205</span>         return false;<a name="line.205"></a>
-<span class="sourceLineNo">206</span>      if (! isFirstNumberChar(s.charAt(0)))<a name="line.206"></a>
-<span class="sourceLineNo">207</span>         return false;<a name="line.207"></a>
-<span class="sourceLineNo">208</span>      return isDecimal(s) || isFloat(s);<a name="line.208"></a>
-<span class="sourceLineNo">209</span>   }<a name="line.209"></a>
-<span class="sourceLineNo">210</span><a name="line.210"></a>
-<span class="sourceLineNo">211</span>   /**<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if the specified character is a valid first character for a number.<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    *<a name="line.213"></a>
-<span class="sourceLineNo">214</span>    * @param c The character to test.<a name="line.214"></a>
-<span class="sourceLineNo">215</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified character is a valid first character for a number.<a name="line.215"></a>
-<span class="sourceLineNo">216</span>    */<a name="line.216"></a>
-<span class="sourceLineNo">217</span>   public static boolean isFirstNumberChar(char c) {<a name="line.217"></a>
-<span class="sourceLineNo">218</span>      return firstNumberChars.contains(c);<a name="line.218"></a>
-<span class="sourceLineNo">219</span>   }<a name="line.219"></a>
-<span class="sourceLineNo">220</span><a name="line.220"></a>
-<span class="sourceLineNo">221</span>   /**<a name="line.221"></a>
-<span class="sourceLineNo">222</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if the specified string is a floating point number.<a name="line.222"></a>
-<span class="sourceLineNo">223</span>    *<a name="line.223"></a>
-<span class="sourceLineNo">224</span>    * @param s The string to check.<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified string is a floating point number.<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    */<a name="line.226"></a>
-<span class="sourceLineNo">227</span>   public static boolean isFloat(String s) {<a name="line.227"></a>
-<span class="sourceLineNo">228</span>      if (s == null || s.isEmpty())<a name="line.228"></a>
-<span class="sourceLineNo">229</span>         return false;<a name="line.229"></a>
-<span class="sourceLineNo">230</span>      if (! firstNumberChars.contains(s.charAt(0)))<a name="line.230"></a>
-<span class="sourceLineNo">231</span>         return (s.equals("NaN") || s.equals("Infinity"));<a name="line.231"></a>
-<span class="sourceLineNo">232</span>      int i = 0;<a name="line.232"></a>
-<span class="sourceLineNo">233</span>      int length = s.length();<a name="line.233"></a>
-<span class="sourceLineNo">234</span>      char c = s.charAt(0);<a name="line.234"></a>
-<span class="sourceLineNo">235</span>      if (c == '+' || c == '-')<a name="line.235"></a>
-<span class="sourceLineNo">236</span>         i++;<a name="line.236"></a>
-<span class="sourceLineNo">237</span>      if (i == length)<a name="line.237"></a>
-<span class="sourceLineNo">238</span>         return false;<a name="line.238"></a>
-<span class="sourceLineNo">239</span>      c = s.charAt(i++);<a name="line.239"></a>
-<span class="sourceLineNo">240</span>      if (c == '.' || decChars.contains(c)) {<a name="line.240"></a>
-<span class="sourceLineNo">241</span>         return fpRegex.matcher(s).matches();<a name="line.241"></a>
-<span class="sourceLineNo">242</span>      }<a name="line.242"></a>
-<span class="sourceLineNo">243</span>      return false;<a name="line.243"></a>
-<span class="sourceLineNo">244</span>   }<a name="line.244"></a>
-<span class="sourceLineNo">245</span><a name="line.245"></a>
-<span class="sourceLineNo">246</span>   /**<a name="line.246"></a>
-<span class="sourceLineNo">247</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if the specified string is numeric.<a name="line.247"></a>
-<span class="sourceLineNo">248</span>    *<a name="line.248"></a>
-<span class="sourceLineNo">249</span>    * @param s The string to check.<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified string is numeric.<a name="line.250"></a>
-<span class="sourceLineNo">251</span>    */<a name="line.251"></a>
-<span class="sourceLineNo">252</span>   public static boolean isDecimal(String s) {<a name="line.252"></a>
-<span class="sourceLineNo">253</span>      if (s == null || s.isEmpty())<a name="line.253"></a>
-<span class="sourceLineNo">254</span>         return false;<a name="line.254"></a>
-<span class="sourceLineNo">255</span>      if (! firstNumberChars.contains(s.charAt(0)))<a name="line.255"></a>
-<span class="sourceLineNo">256</span>         return false;<a name="line.256"></a>
-<span class="sourceLineNo">257</span>      int i = 0;<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      int length = s.length();<a name="line.258"></a>
-<span class="sourceLineNo">259</span>      char c = s.charAt(0);<a name="line.259"></a>
-<span class="sourceLineNo">260</span>      boolean isPrefixed = false;<a name="line.260"></a>
-<span class="sourceLineNo">261</span>      if (c == '+' || c == '-') {<a name="line.261"></a>
-<span class="sourceLineNo">262</span>         isPrefixed = true;<a name="line.262"></a>
-<span class="sourceLineNo">263</span>         i++;<a name="line.263"></a>
-<span class="sourceLineNo">264</span>      }<a name="line.264"></a>
-<span class="sourceLineNo">265</span>      if (i == length)<a name="line.265"></a>
-<span class="sourceLineNo">266</span>         return false;<a name="line.266"></a>
-<span class="sourceLineNo">267</span>      c = s.charAt(i++);<a name="line.267"></a>
-<span class="sourceLineNo">268</span>      if (c == '0' &amp;&amp; length &gt; (isPrefixed ? 2 : 1)) {<a name="line.268"></a>
-<span class="sourceLineNo">269</span>         c = s.charAt(i++);<a name="line.269"></a>
-<span class="sourceLineNo">270</span>         if (c == 'x' || c == 'X') {<a name="line.270"></a>
-<span class="sourceLineNo">271</span>            for (int j = i; j &lt; length; j++) {<a name="line.271"></a>
-<span class="sourceLineNo">272</span>               if (! hexChars.contains(s.charAt(j)))<a name="line.272"></a>
-<span class="sourceLineNo">273</span>                  return false;<a name="line.273"></a>
-<span class="sourceLineNo">274</span>            }<a name="line.274"></a>
-<span class="sourceLineNo">275</span>         } else if (octChars.contains(c)) {<a name="line.275"></a>
-<span class="sourceLineNo">276</span>            for (int j = i; j &lt; length; j++)<a name="line.276"></a>
-<span class="sourceLineNo">277</span>               if (! octChars.contains(s.charAt(j)))<a name="line.277"></a>
-<span class="sourceLineNo">278</span>                  return false;<a name="line.278"></a>
-<span class="sourceLineNo">279</span>         } else {<a name="line.279"></a>
-<span class="sourceLineNo">280</span>            return false;<a name="line.280"></a>
-<span class="sourceLineNo">281</span>         }<a name="line.281"></a>
-<span class="sourceLineNo">282</span>      } else if (c == '#') {<a name="line.282"></a>
-<span class="sourceLineNo">283</span>         for (int j = i; j &lt; length; j++) {<a name="line.283"></a>
-<span class="sourceLineNo">284</span>            if (! hexChars.contains(s.charAt(j)))<a name="line.284"></a>
-<span class="sourceLineNo">285</span>               return false;<a name="line.285"></a>
-<span class="sourceLineNo">286</span>         }<a name="line.286"></a>
-<span class="sourceLineNo">287</span>      } else if (decChars.contains(c)) {<a name="line.287"></a>
-<span class="sourceLineNo">288</span>         for (int j = i; j &lt; length; j++)<a name="line.288"></a>
-<span class="sourceLineNo">289</span>            if (! decChars.contains(s.charAt(j)))<a name="line.289"></a>
-<span class="sourceLineNo">290</span>               return false;<a name="line.290"></a>
-<span class="sourceLineNo">291</span>      } else {<a name="line.291"></a>
-<span class="sourceLineNo">292</span>         return false;<a name="line.292"></a>
-<span class="sourceLineNo">293</span>      }<a name="line.293"></a>
-<span class="sourceLineNo">294</span>      return true;<a name="line.294"></a>
-<span class="sourceLineNo">295</span>   }<a name="line.295"></a>
-<span class="sourceLineNo">296</span><a name="line.296"></a>
-<span class="sourceLineNo">297</span>   /**<a name="line.297"></a>
-<span class="sourceLineNo">298</span>    * Convenience method for getting a stack trace as a string.<a name="line.298"></a>
-<span class="sourceLineNo">299</span>    *<a name="line.299"></a>
-<span class="sourceLineNo">300</span>    * @param t The throwable to get the stack trace from.<a name="line.300"></a>
-<span class="sourceLineNo">301</span>    * @return The same content that would normally be rendered via &lt;code&gt;t.printStackTrace()&lt;/code&gt;<a name="line.301"></a>
-<span class="sourceLineNo">302</span>    */<a name="line.302"></a>
-<span class="sourceLineNo">303</span>   public static String getStackTrace(Throwable t) {<a name="line.303"></a>
-<span class="sourceLineNo">304</span>      StringWriter sw = new StringWriter();<a name="line.304"></a>
-<span class="sourceLineNo">305</span>      PrintWriter pw = new PrintWriter(sw);<a name="line.305"></a>
-<span class="sourceLineNo">306</span>      t.printStackTrace(pw);<a name="line.306"></a>
-<span class="sourceLineNo">307</span>      pw.flush();<a name="line.307"></a>
-<span class="sourceLineNo">308</span>      pw.close();<a name="line.308"></a>
-<span class="sourceLineNo">309</span>      return sw.toString();<a name="line.309"></a>
-<span class="sourceLineNo">310</span>   }<a name="line.310"></a>
-<span class="sourceLineNo">311</span><a name="line.311"></a>
-<span class="sourceLineNo">312</span>   /**<a name="line.312"></a>
-<span class="sourceLineNo">313</span>    * Join the specified tokens into a delimited string.<a name="line.313"></a>
-<span class="sourceLineNo">314</span>    *<a name="line.314"></a>
-<span class="sourceLineNo">315</span>    * @param tokens The tokens to join.<a name="line.315"></a>
-<span class="sourceLineNo">316</span>    * @param separator The delimiter.<a name="line.316"></a>
-<span class="sourceLineNo">317</span>    * @return The delimited string.  If &lt;code&gt;tokens&lt;/code&gt; is &lt;jk&gt;null&lt;/jk&gt;, returns &lt;jk&gt;null&lt;/jk&gt;.<a name="line.317"></a>
-<span class="sourceLineNo">318</span>    */<a name="line.318"></a>
-<span class="sourceLineNo">319</span>   public static String join(Object[] tokens, String separator) {<a name="line.319"></a>
-<span class="sourceLineNo">320</span>      if (tokens == null)<a name="line.320"></a>
-<span class="sourceLineNo">321</span>         return null;<a name="line.321"></a>
-<span class="sourceLineNo">322</span>      StringBuilder sb = new StringBuilder();<a name="line.322"></a>
-<span class="sourceLineNo">323</span>      for (int i = 0; i &lt; tokens.length; i++) {<a name="line.323"></a>
-<span class="sourceLineNo">324</span>         if (i &gt; 0)<a name="line.324"></a>
-<span class="sourceLineNo">325</span>            sb.append(separator);<a name="line.325"></a>
-<span class="sourceLineNo">326</span>         sb.append(tokens[i]);<a name="line.326"></a>
-<span class="sourceLineNo">327</span>      }<a name="line.327"></a>
-<span class="sourceLineNo">328</span>      return sb.toString();<a name="line.328"></a>
-<span class="sourceLineNo">329</span>   }<a name="line.329"></a>
-<span class="sourceLineNo">330</span><a name="line.330"></a>
-<span class="sourceLineNo">331</span>   /**<a name="line.331"></a>
-<span class="sourceLineNo">332</span>    * Join the specified tokens into a delimited string.<a name="line.332"></a>
-<span class="sourceLineNo">333</span>    *<a name="line.333"></a>
-<span class="sourceLineNo">334</span>    * @param tokens The tokens to join.<a name="line.334"></a>
-<span class="sourceLineNo">335</span>    * @param d The delimiter.<a name="line.335"></a>
-<span class="sourceLineNo">336</span>    * @return The delimited string.  If &lt;code&gt;tokens&lt;/code&gt; is &lt;jk&gt;null&lt;/jk&gt;, returns &lt;jk&gt;null&lt;/jk&gt;.<a name="line.336"></a>
-<span class="sourceLineNo">337</span>    */<a name="line.337"></a>
-<span class="sourceLineNo">338</span>   public static String join(int[] tokens, String d) {<a name="line.338"></a>
-<span class="sourceLineNo">339</span>      if (tokens == null)<a name="line.339"></a>
-<span class="sourceLineNo">340</span>         return null;<a name="line.340"></a>
-<span class="sourceLineNo">341</span>      StringBuilder sb = new StringBuilder();<a name="line.341"></a>
-<span class="sourceLineNo">342</span>      for (int i = 0; i &lt; tokens.length; i++) {<a name="line.342"></a>
-<span class="sourceLineNo">343</span>         if (i &gt; 0)<a name="line.343"></a>
-<span class="sourceLineNo">344</span>            sb.append(d);<a name="line.344"></a>
-<span class="sourceLineNo">345</span>         sb.append(tokens[i]);<a name="line.345"></a>
-<span class="sourceLineNo">346</span>      }<a name="line.346"></a>
-<span class="sourceLineNo">347</span>      return sb.toString();<a name="line.347"></a>
-<span class="sourceLineNo">348</span>   }<a name="line.348"></a>
-<span class="sourceLineNo">349</span><a name="line.349"></a>
-<span class="sourceLineNo">350</span>   /**<a name="line.350"></a>
-<span class="sourceLineNo">351</span>    * Join the specified tokens into a delimited string.<a name="line.351"></a>
-<span class="sourceLineNo">352</span>    *<a name="line.352"></a>
-<span class="sourceLineNo">353</span>    * @param tokens The tokens to join.<a name="line.353"></a>
-<span class="sourceLineNo">354</span>    * @param d The delimiter.<a name="line.354"></a>
-<span class="sourceLineNo">355</span>    * @return The delimited string.  If &lt;code&gt;tokens&lt;/code&gt; is &lt;jk&gt;null&lt;/jk&gt;, returns &lt;jk&gt;null&lt;/jk&gt;.<a name="line.355"></a>
-<span class="sourceLineNo">356</span>    */<a name="line.356"></a>
-<span class="sourceLineNo">357</span>   public static String join(Collection&lt;?&gt; tokens, String d) {<a name="line.357"></a>
-<span class="sourceLineNo">358</span>      if (tokens == null)<a name="line.358"></a>
-<span class="sourceLineNo">359</span>         return null;<a name="line.359"></a>
-<span class="sourceLineNo">360</span>      return join(tokens, d, new StringBuilder()).toString();<a name="line.360"></a>
-<span class="sourceLineNo">361</span>   }<a name="line.361"></a>
-<span class="sourceLineNo">362</span><a name="line.362"></a>
-<span class="sourceLineNo">363</span>   /**<a name="line.363"></a>
-<span class="sourceLineNo">364</span>    * Joins the specified tokens into a delimited string and writes the output to the specified string builder.<a name="line.364"></a>
-<span class="sourceLineNo">365</span>    *<a name="line.365"></a>
-<span class="sourceLineNo">366</span>    * @param tokens The tokens to join.<a name="line.366"></a>
-<span class="sourceLineNo">367</span>    * @param d The delimiter.<a name="line.367"></a>
-<span class="sourceLineNo">368</span>    * @param sb The string builder to append the response to.<a name="line.368"></a>
-<span class="sourceLineNo">369</span>    * @return The same string builder passed in as &lt;code&gt;sb&lt;/code&gt;.<a name="line.369"></a>
-<span class="sourceLineNo">370</span>    */<a name="line.370"></a>
-<span class="sourceLineNo">371</span>   public static StringBuilder join(Collection&lt;?&gt; tokens, String d, StringBuilder sb) {<a name="line.371"></a>
-<span class="sourceLineNo">372</span>      if (tokens == null)<a name="line.372"></a>
-<span class="sourceLineNo">373</span>         return sb;<a name="line.373"></a>
-<span class="sourceLineNo">374</span>      for (Iterator&lt;?&gt; iter = tokens.iterator(); iter.hasNext();) {<a name="line.374"></a>
-<span class="sourceLineNo">375</span>         sb.append(iter.next());<a name="line.375"></a>
-<span class="sourceLineNo">376</span>         if (iter.hasNext())<a name="line.376"></a>
-<span class="sourceLineNo">377</span>            sb.append(d);<a name="line.377"></a>
-<span class="sourceLineNo">378</span>      }<a name="line.378"></a>
-<span class="sourceLineNo">379</span>      return sb;<a name="line.379"></a>
-<span class="sourceLineNo">380</span>   }<a name="line.380"></a>
-<span class="sourceLineNo">381</span><a name="line.381"></a>
-<span class="sourceLineNo">382</span>   /**<a name="line.382"></a>
-<span class="sourceLineNo">383</span>    * Joins the specified tokens into a delimited string.<a name="line.383"></a>
-<span class="sourceLineNo">384</span>    *<a name="line.384"></a>
-<span class="sourceLineNo">385</span>    * @param tokens The tokens to join.<a name="line.385"></a>
-<span class="sourceLineNo">386</span>    * @param d The delimiter.<a name="line.386"></a>
-<span class="sourceLineNo">387</span>    * @return The delimited string.  If &lt;code&gt;tokens&lt;/code&gt; is &lt;jk&gt;null&lt;/jk&gt;, returns &lt;jk&gt;null&lt;/jk&gt;.<a name="line.387"></a>
-<span class="sourceLineNo">388</span>    */<a name="line.388"></a>
-<span class="sourceLineNo">389</span>   public static String join(Object[] tokens, char d) {<a name="line.389"></a>
-<span class="sourceLineNo">390</span>      if (tokens == null)<a name="line.390"></a>
-<span class="sourceLineNo">391</span>         return null;<a name="line.391"></a>
-<span class="sourceLineNo">392</span>      return join(tokens, d, new StringBuilder()).toString();<a name="line.392"></a>
-<span class="sourceLineNo">393</span>   }<a name="line.393"></a>
-<span class="sourceLineNo">394</span><a name="line.394"></a>
-<span class="sourceLineNo">395</span>   /**<a name="line.395"></a>
-<span class="sourceLineNo">396</span>    * Join the specified tokens into a delimited string and writes the output to the specified string builder.<a name="line.396"></a>
-<span class="sourceLineNo">397</span>    *<a name="line.397"></a>
-<span class="sourceLineNo">398</span>    * @param tokens The tokens to join.<a name="line.398"></a>
-<span class="sourceLineNo">399</span>    * @param d The delimiter.<a name="line.399"></a>
-<span class="sourceLineNo">400</span>    * @param sb The string builder to append the response to.<a name="line.400"></a>
-<span class="sourceLineNo">401</span>    * @return The same string builder passed in as &lt;code&gt;sb&lt;/code&gt;.<a name="line.401"></a>
-<span class="sourceLineNo">402</span>    */<a name="line.402"></a>
-<span class="sourceLineNo">403</span>   public static StringBuilder join(Object[] tokens, char d, StringBuilder sb) {<a name="line.403"></a>
-<span class="sourceLineNo">404</span>      if (tokens == null)<a name="line.404"></a>
-<span class="sourceLineNo">405</span>         return sb;<a name="line.405"></a>
-<span class="sourceLineNo">406</span>      for (int i = 0; i &lt; tokens.length; i++) {<a name="line.406"></a>
-<span class="sourceLineNo">407</span>         if (i &gt; 0)<a name="line.407"></a>
-<span class="sourceLineNo">408</span>            sb.append(d);<a name="line.408"></a>
-<span class="sourceLineNo">409</span>         sb.append(tokens[i]);<a name="line.409"></a>
-<span class="sourceLineNo">410</span>      }<a name="line.410"></a>
-<span class="sourceLineNo">411</span>      return sb;<a name="line.411"></a>
-<span class="sourceLineNo">412</span>   }<a name="line.412"></a>
-<span class="sourceLineNo">413</span><a name="line.413"></a>
-<span class="sourceLineNo">414</span>   /**<a name="line.414"></a>
-<span class="sourceLineNo">415</span>    * Join the specified tokens into a delimited string.<a name="line.415"></a>
-<span class="sourceLineNo">416</span>    *<a name="line.416"></a>
-<span class="sourceLineNo">417</span>    * @param tokens The tokens to join.<a name="line.417"></a>
-<span class="sourceLineNo">418</span>    * @param d The delimiter.<a name="line.418"></a>
-<span class="sourceLineNo">419</span>    * @return The delimited string.  If &lt;code&gt;tokens&lt;/code&gt; is &lt;jk&gt;null&lt;/jk&gt;, returns &lt;jk&gt;null&lt;/jk&gt;.<a name="line.419"></a>
-<span class="sourceLineNo">420</span>    */<a name="line.420"></a>
-<span class="sourceLineNo">421</span>   public static String join(int[] tokens, char d) {<a name="line.421"></a>
-<span class="sourceLineNo">422</span>      if (tokens == null)<a name="line.422"></a>
-<span class="sourceLineNo">423</span>         return null;<a name="line.423"></a>
-<span class="sourceLineNo">424</span>      StringBuilder sb = new StringBuilder();<a name="line.424"></a>
-<span class="sourceLineNo">425</span>      for (int i = 0; i &lt; tokens.length; i++) {<a name="line.425"></a>
-<span class="sourceLineNo">426</span>         if (i &gt; 0)<a name="line.426"></a>
-<span class="sourceLineNo">427</span>            sb.append(d);<a name="line.427"></a>
-<span class="sourceLineNo">428</span>         sb.append(tokens[i]);<a name="line.428"></a>
-<span class="sourceLineNo">429</span>      }<a name="line.429"></a>
-<span class="sourceLineNo">430</span>      return sb.toString();<a name="line.430"></a>
-<span class="sourceLineNo">431</span>   }<a name="line.431"></a>
-<span class="sourceLineNo">432</span><a name="line.432"></a>
-<span class="sourceLineNo">433</span>   /**<a name="line.433"></a>
-<span class="sourceLineNo">434</span>    * Join the specified tokens into a delimited string.<a name="line.434"></a>
-<span class="sourceLineNo">435</span>    *<a name="line.435"></a>
-<span class="sourceLineNo">436</span>    * @param tokens The tokens to join.<a name="line.436"></a>
-<span class="sourceLineNo">437</span>    * @param d The delimiter.<a name="line.437"></a>
-<span class="sourceLineNo">438</span>    * @return The delimited string.  If &lt;code&gt;tokens&lt;/code&gt; is &lt;jk&gt;null&lt;/jk&gt;, returns &lt;jk&gt;null&lt;/jk&gt;.<a name="line.438"></a>
-<span class="sourceLineNo">439</span>    */<a name="line.439"></a>
-<span class="sourceLineNo">440</span>   public static String join(Collection&lt;?&gt; tokens, char d) {<a name="line.440"></a>
-<span class="sourceLineNo">441</span>      if (tokens == null)<a name="line.441"></a>
-<span class="sourceLineNo">442</span>         return null;<a name="line.442"></a>
-<span class="sourceLineNo">443</span>      StringBuilder sb = new StringBuilder();<a name="line.443"></a>
-<span class="sourceLineNo">444</span>      for (Iterator&lt;?&gt; iter = tokens.iterator(); iter.hasNext();) {<a name="line.444"></a>
-<span class="sourceLineNo">445</span>         sb.append(iter.next());<a name="line.445"></a>
-<span class="sourceLineNo">446</span>         if (iter.hasNext())<a name="line.446"></a>
-<span class="sourceLineNo">447</span>            sb.append(d);<a name="line.447"></a>
-<span class="sourceLineNo">448</span>      }<a name="line.448"></a>
-<span class="sourceLineNo">449</span>      return sb.toString();<a name="line.449"></a>
-<span class="sourceLineNo">450</span>   }<a name="line.450"></a>
-<span class="sourceLineNo">451</span><a name="line.451"></a>
-<span class="sourceLineNo">452</span>   /**<a name="line.452"></a>
-<span class="sourceLineNo">453</span>    * Splits a character-delimited string into a string array.<a name="line.453"></a>
-<span class="sourceLineNo">454</span>    * Does not split on escaped-delimiters (e.g. "\,");<a name="line.454"></a>
-<span class="sourceLineNo">455</span>    * Resulting tokens are trimmed of whitespace.<a name="line.455"></a>
-<span class="sourceLineNo">456</span>    * &lt;b&gt;NOTE:&lt;/b&gt;  This behavior is different than the Jakarta equivalent.<a name="line.456"></a>
-<span class="sourceLineNo">457</span>    * split("a,b,c",',') -&gt; {"a","b","c"}<a name="line.457"></a>
-<span class="sourceLineNo">458</span>    * split("a, b ,c ",',') -&gt; {"a","b","c"}<a name="line.458"></a>
-<span class="sourceLineNo">459</span>    * split("a,,c",',') -&gt; {"a","","c"}<a name="line.459"></a>
-<span class="sourceLineNo">460</span>    * split(",,",',') -&gt; {"","",""}<a name="line.460"></a>
-<span class="sourceLineNo">461</span>    * split("",',') -&gt; {}<a name="line.461"></a>
-<span class="sourceLineNo">462</span>    * split(null,',') -&gt; null<a name="line.462"></a>
-<span class="sourceLineNo">463</span>    * split("a,b\,c,d", ',', false) -&gt; {"a","b\,c","d"}<a name="line.463"></a>
-<span class="sourceLineNo">464</span>    * split("a,b\\,c,d", ',', false) -&gt; {"a","b\","c","d"}<a name="line.464"></a>
-<span class="sourceLineNo">465</span>    * split("a,b\,c,d", ',', true) -&gt; {"a","b,c","d"}<a name="line.465"></a>
-<span class="sourceLineNo">466</span>    *<a name="line.466"></a>
-<span class="sourceLineNo">467</span>    * @param s The string to split.  Can be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.467"></a>
-<span class="sourceLineNo">468</span>    * @param c The character to split on.<a name="line.468"></a>
-<span class="sourceLineNo">469</span>    * @return The tokens.<a name="line.469"></a>
-<span class="sourceLineNo">470</span>    */<a name="line.470"></a>
-<span class="sourceLineNo">471</span>   public static String[] split(String s, char c) {<a name="line.471"></a>
-<span class="sourceLineNo">472</span><a name="line.472"></a>
-<span class="sourceLineNo">473</span>      char[] unEscapeChars = new char[]{'\\', c};<a name="line.473"></a>
-<span class="sourceLineNo">474</span><a name="line.474"></a>
-<span class="sourceLineNo">475</span>      if (s == null)<a name="line.475"></a>
-<span class="sourceLineNo">476</span>         return null;<a name="line.476"></a>
-<span class="sourceLineNo">477</span>      if (isEmpty(s))<a name="line.477"></a>
-<span class="sourceLineNo">478</span>         return new String[0];<a name="line.478"></a>
-<span class="sourceLineNo">479</span><a name="line.479"></a>
-<span class="sourceLineNo">480</span>      List&lt;String&gt; l = new LinkedList&lt;String&gt;();<a name="line.480"></a>
-<span class="sourceLineNo">481</span>      char[] sArray = s.toCharArray();<a name="line.481"></a>
-<span class="sourceLineNo">482</span>      int x1 = 0, escapeCount = 0;<a name="line.482"></a>
-<span class="sourceLineNo">483</span>      for (int i = 0; i &lt; sArray.length; i++) {<a name="line.483"></a>
-<span class="sourceLineNo">484</span>         if (sArray[i] == '\\') escapeCount++;<a name="line.484"></a>
-<span class="sourceLineNo">485</span>         else if (sArray[i]==c &amp;&amp; escapeCount % 2 == 0) {<a name="line.485"></a>
-<span class="sourceLineNo">486</span>            String s2 = new String(sArray, x1, i-x1);<a name="line.486"></a>
-<span class="sourceLineNo">487</span>            String s3 = unEscapeChars(s2, unEscapeChars);<a name="line.487"></a>
-<span class="sourceLineNo">488</span>            l.add(s3.trim());<a name="line.488"></a>
-<span class="sourceLineNo">489</span>            x1 = i+1;<a name="line.489"></a>
-<span class="sourceLineNo">490</span>         }<a name="line.490"></a>
-<span class="sourceLineNo">491</span>         if (sArray[i] != '\\') escapeCount = 0;<a name="line.491"></a>
-<span class="sourceLineNo">492</span>      }<a name="line.492"></a>
-<span class="sourceLineNo">493</span>      String s2 = new String(sArray, x1, sArray.length-x1);<a name="line.493"></a>
-<span class="sourceLineNo">494</span>      String s3 = unEscapeChars(s2, unEscapeChars);<a name="line.494"></a>
-<span class="sourceLineNo">495</span>      l.add(s3.trim());<a name="line.495"></a>
-<span class="sourceLineNo">496</span><a name="line.496"></a>
-<span class="sourceLineNo">497</span>      return l.toArray(new String[l.size()]);<a name="line.497"></a>
-<span class="sourceLineNo">498</span>   }<a name="line.498"></a>
-<span class="sourceLineNo">499</span><a name="line.499"></a>
-<span class="sourceLineNo">500</span>   /**<a name="line.500"></a>
-<span class="sourceLineNo">501</span>    * Same as {@link #split(String, char)} except splits all strings in the input and returns a single result.<a name="line.501"></a>
-<span class="sourceLineNo">502</span>    *<a name="line.502"></a>
-<span class="sourceLineNo">503</span>    * @param s The string to split.  Can be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.503"></a>
-<span class="sourceLineNo">504</span>    * @param c The character to split on.<a name="line.504"></a>
-<span class="sourceLineNo">505</span>    * @return The tokens.<a name="line.505"></a>
-<span class="sourceLineNo">506</span>    */<a name="line.506"></a>
-<span class="sourceLineNo">507</span>   public static String[] split(String[] s, char c) {<a name="line.507"></a>
-<span class="sourceLineNo">508</span>      if (s == null)<a name="line.508"></a>
-<span class="sourceLineNo">509</span>         return null;<a name="line.509"></a>
-<span class="sourceLineNo">510</span>      List&lt;String&gt; l = new LinkedList&lt;String&gt;();<a name="line.510"></a>
-<span class="sourceLineNo">511</span>      for (String ss : s) {<a name="line.511"></a>
-<span class="sourceLineNo">512</span>         if (ss == null || ss.indexOf(c) == -1)<a name="line.512"></a>
-<span class="sourceLineNo">513</span>            l.add(ss);<a name="line.513"></a>
-<span class="sourceLineNo">514</span>         else<a name="line.514"></a>
-<span class="sourceLineNo">515</span>            l.addAll(Arrays.asList(split(ss, c)));<a name="line.515"></a>
-<span class="sourceLineNo">516</span>      }<a name="line.516"></a>
-<span class="sourceLineNo">517</span>      return l.toArray(new String[l.size()]);<a name="line.517"></a>
-<span class="sourceLineNo">518</span>   }<a name="line.518"></a>
-<span class="sourceLineNo">519</span><a name="line.519"></a>
-<span class="sourceLineNo">520</span>   /**<a name="line.520"></a>
-<span class="sourceLineNo">521</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if specified string is &lt;jk&gt;null&lt;/jk&gt; or empty.<a name="line.521"></a>
-<span class="sourceLineNo">522</span>    *<a name="line.522"></a>
-<span class="sourceLineNo">523</span>    * @param s The string to check.<a name="line.523"></a>
-<span class="sourceLineNo">524</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if specified string is &lt;jk&gt;null&lt;/jk&gt; or empty.<a name="line.524"></a>
-<span class="sourceLineNo">525</span>    */<a name="line.525"></a>
-<span class="sourceLineNo">526</span>   public static boolean isEmpty(String s) {<a name="line.526"></a>
-<span class="sourceLineNo">527</span>      return s == null || s.isEmpty();<a name="line.527"></a>
-<span class="sourceLineNo">528</span>   }<a name="line.528"></a>
-<span class="sourceLineNo">529</span><a name="line.529"></a>
-<span class="sourceLineNo">530</span>   /**<a name="line.530"></a>
-<span class="sourceLineNo">531</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if specified string is &lt;jk&gt;null&lt;/jk&gt; or it's {@link #toString()} method returns an empty string.<a name="line.531"></a>
-<span class="sourceLineNo">532</span>    *<a name="line.532"></a>
-<span class="sourceLineNo">533</span>    * @param s The string to check.<a name="line.533"></a>
-<span class="sourceLineNo">534</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if specified string is &lt;jk&gt;null&lt;/jk&gt; or it's {@link #toString()} method returns an empty string.<a name="line.534"></a>
-<span class="sourceLineNo">535</span>    */<a name="line.535"></a>
-<span class="sourceLineNo">536</span>   public static boolean isEmpty(Object s) {<a name="line.536"></a>
-<span class="sourceLineNo">537</span>      return s == null || s.toString().isEmpty();<a name="line.537"></a>
-<span class="sourceLineNo">538</span>   }<a name="line.538"></a>
-<span class="sourceLineNo">539</span><a name="line.539"></a>
-<span class="sourceLineNo">540</span>   /**<a name="line.540"></a>
-<span class="sourceLineNo">541</span>    * Returns &lt;jk&gt;null&lt;/jk&gt; if the specified string is &lt;jk&gt;null&lt;/jk&gt; or empty.<a name="line.541"></a>
-<span class="sourceLineNo">542</span>    *<a name="line.542"></a>
-<span class="sourceLineNo">543</span>    * @param s The string to check.<a name="line.543"></a>
-<span class="sourceLineNo">544</span>    * @return &lt;jk&gt;null&lt;/jk&gt; if the specified string is &lt;jk&gt;null&lt;/jk&gt; or empty, or the same string if not.<a name="line.544"></a>
-<span class="sourceLineNo">545</span>    */<a name="line.545"></a>
-<span class="sourceLineNo">546</span>   public static String nullIfEmpty(String s) {<a name="line.546"></a>
-<span class="sourceLineNo">547</span>      if (s == null || s.isEmpty())<a name="line.547"></a>
-<span class="sourceLineNo">548</span>         return null;<a name="line.548"></a>
-<span class="sourceLineNo">549</span>      return s;<a name="line.549"></a>
-<span class="sourceLineNo">550</span>   }<a name="line.550"></a>
-<span class="sourceLineNo">551</span><a name="line.551"></a>
-<span class="sourceLineNo">552</span>   /**<a name="line.552"></a>
-<span class="sourceLineNo">553</span>    * Removes escape characters (\) from the specified characters.<a name="line.553"></a>
-<span class="sourceLineNo">554</span>    *<a name="line.554"></a>
-<span class="sourceLineNo">555</span>    * @param s The string to remove escape characters from.<a name="line.555"></a>
-<span class="sourceLineNo">556</span>    * @param toEscape The characters escaped.<a name="line.556"></a>
-<span class="sourceLineNo">557</span>    * @return A new string if characters were removed, or the same string if not or if the input was &lt;jk&gt;null&lt;/jk&gt;.<a name="line.557"></a>
-<span class="sourceLineNo">558</span>    */<a name="line.558"></a>
-<span class="sourceLineNo">559</span>   public static String unEscapeChars(String s, char[] toEscape) {<a name="line.559"></a>
-<span class="sourceLineNo">560</span>      return unEscapeChars(s, toEscape, '\\');<a name="line.560"></a>
-<span class="sourceLineNo">561</span>   }<a name="line.561"></a>
-<span class="sourceLineNo">562</span><a name="line.562"></a>
-<span class="sourceLineNo">563</span>   /**<a name="line.563"></a>
-<span class="sourceLineNo">564</span>    * Removes escape characters (specified by escapeChar) from the specified characters.<a name="line.564"></a>
-<span class="sourceLineNo">565</span>    *<a name="line.565"></a>
-<span class="sourceLineNo">566</span>    * @param s The string to remove escape characters from.<a name="line.566"></a>
-<span class="sourceLineNo">567</span>    * @param toEscape The characters escaped.<a name="line.567"></a>
-<span class="sourceLineNo">568</span>    * @param escapeChar The escape character.<a name="line.568"></a>
-<span class="sourceLineNo">569</span>    * @return A new string if characters were removed, or the same string if not or if the input was &lt;jk&gt;null&lt;/jk&gt;.<a name="line.569"></a>
-<span class="sourceLineNo">570</span>    */<a name="line.570"></a>
-<span class="sourceLineNo">571</span>   public static String unEscapeChars(String s, char[] toEscape, char escapeChar) {<a name="line.571"></a>
-<span class="sourceLineNo">572</span>      if (s == null) return null;<a name="line.572"></a>
-<span class="sourceLineNo">573</span>      if (s.length() == 0 || toEscape == null || toEscape.length == 0 || escapeChar == 0) return s;<a name="line.573"></a>
-<span class="sourceLineNo">574</span>      StringBuffer sb = new StringBuffer(s.length());<a name="line.574"></a>
-<span class="sourceLineNo">575</span>      char[] sArray = s.toCharArray();<a name="line.575"></a>
-<span class="sourceLineNo">576</span>      for (int i = 0; i &lt; sArray.length; i++) {<a name="line.576"></a>
-<span class="sourceLineNo">577</span>         char c = sArray[i];<a name="line.577"></a>
-<span class="sourceLineNo">578</span><a name="line.578"></a>
-<span class="sourceLineNo">579</span>         if (c == escapeChar) {<a name="line.579"></a>
-<span class="sourceLineNo">580</span>            if (i+1 != sArray.length) {<a name="line.580"></a>
-<span class="sourceLineNo">581</span>               char c2 = sArray[i+1];<a name="line.581"></a>
-<span class="sourceLineNo">582</span>               boolean isOneOf = false;<a name="line.582"></a>
-<span class="sourceLineNo">583</span>               for (int j = 0; j &lt; toEscape.length &amp;&amp; ! isOneOf; j++)<a name="line.583"></a>
-<span class="sourceLineNo">584</span>                  isOneOf = (c2 == toEscape[j]);<a name="line.584"></a>
-<span class="sourceLineNo">585</span>               if (isOneOf) {<a name="line.585"></a>
-<span class="sourceLineNo">586</span>                  i++;<a name="line.586"></a>
-<span class="sourceLineNo">587</span>               } else if (c2 == escapeChar) {<a name="line.587"></a>
-<span class="sourceLineNo">588</span>                  sb.append(escapeChar);<a name="line.588"></a>
-<span class="sourceLineNo">589</span>                  i++;<a name="line.589"></a>
-<span class="sourceLineNo">590</span>               }<a name="line.590"></a>
-<span class="sourceLineNo">591</span>            }<a name="line.591"></a>
-<span class="sourceLineNo">592</span>         }<a name="line.592"></a>
-<span class="sourceLineNo">593</span>         sb.append(sArray[i]);<a name="line.593"></a>
-<span class="sourceLineNo">594</span>      }<a name="line.594"></a>
-<span class="sourceLineNo">595</span>      return sb.toString();<a name="line.595"></a>
-<span class="sourceLineNo">596</span>   }<a name="line.596"></a>
-<span class="sourceLineNo">597</span><a name="line.597"></a>
-<span class="sourceLineNo">598</span>   /**<a name="line.598"></a>
-<span class="sourceLineNo">599</span>    * Debug method for rendering non-ASCII character sequences.<a name="line.599"></a>
-<span class="sourceLineNo">600</span>    *<a name="line.600"></a>
-<span class="sourceLineNo">601</span>    * @param s The string to decode.<a name="line.601"></a>
-<span class="sourceLineNo">602</span>    * @return A string with non-ASCII characters converted to &lt;js&gt;"[hex]"&lt;/js&gt; sequences.<a name="line.602"></a>
-<span class="sourceLineNo">603</span>    */<a name="line.603"></a>
-<span class="sourceLineNo">604</span>   public static String decodeHex(String s) {<a name="line.604"></a>
-<span class="sourceLineNo">605</span>      if (s == null)<a name="line.605"></a>
-<span class="sourceLineNo">606</span>         return null;<a name="line.606"></a>
-<span class="sourceLineNo">607</span>      StringBuilder sb = new StringBuilder();<a name="line.607"></a>
-<span class="sourceLineNo">608</span>      for (char c : s.toCharArray()) {<a name="line.608"></a>
-<span class="sourceLineNo">609</span>         if (c &lt; ' ' || c &gt; '~')<a name="line.609"></a>
-<span class="sourceLineNo">610</span>            sb.append("["+Integer.toHexString(c)+"]");<a name="line.610"></a>
-<span class="sourceLineNo">611</span>         else<a name="line.611"></a>
-<span class="sourceLineNo">612</span>            sb.append(c);<a name="line.612"></a>
-<span class="sourceLineNo">613</span>      }<a name="line.613"></a>
-<span class="sourceLineNo">614</span>      return sb.toString();<a name="line.614"></a>
-<span class="sourceLineNo">615</span>   }<a name="line.615"></a>
-<span class="sourceLineNo">616</span><a name="line.616"></a>
-<span class="sourceLineNo">617</span>   /**<a name="line.617"></a>
-<span class="sourceLineNo">618</span>    * An efficient method for checking if a string starts with a character.<a name="line.618"></a>
-<span class="sourceLineNo">619</span>    *<a name="line.619"></a>
-<span class="sourceLineNo">620</span>    * @param s The string to check.  Can be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.620"></a>
-<span class="sourceLineNo">621</span>    * @param c The character to check for.<a name="line.621"></a>
-<span class="sourceLineNo">622</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified string is not &lt;jk&gt;null&lt;/jk&gt; and starts with the specified character.<a name="line.622"></a>
-<span class="sourceLineNo">623</span>    */<a name="line.623"></a>
-<span class="sourceLineNo">624</span>   public static boolean startsWith(String s, char c) {<a name="line.624"></a>
-<span class="sourceLineNo">625</span>      if (s != null) {<a name="line.625"></a>
-<span class="sourceLineNo">626</span>         int i = s.length();<a name="line.626"></a>
-<span class="sourceLineNo">627</span>         if (i &gt; 0)<a name="line.627"></a>
-<span class="sourceLineNo">628</span>            return s.charAt(0) == c;<a name="line.628"></a>
-<span class="sourceLineNo">629</span>      }<a name="line.629"></a>
-<span class="sourceLineNo">630</span>      return false;<a name="line.630"></a>
-<span class="sourceLineNo">631</span>   }<a name="line.631"></a>
-<span class="sourceLineNo">632</span><a name="line.632"></a>
-<span class="sourceLineNo">633</span>   /**<a name="line.633"></a>
-<span class="sourceLineNo">634</span>    * An efficient method for checking if a string ends with a character.<a name="line.634"></a>
-<span class="sourceLineNo">635</span>    *<a name="line.635"></a>
-<span class="sourceLineNo">636</span>    * @param s The string to check.  Can be &lt;jk&gt;null&lt;/jk&gt;.<a name="line.636"></a>
-<span class="sourceLineNo">637</span>    * @param c The character to check for.<a name="line.637"></a>
-<span class="sourceLineNo">638</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified string is not &lt;jk&gt;null&lt;/jk&gt; and ends with the specified character.<a name="line.638"></a>
-<span class="sourceLineNo">639</span>    */<a name="line.639"></a>
-<span class="sourceLineNo">640</span>   public static boolean endsWith(String s, char c) {<a name="line.640"></a>
-<span class="sourceLineNo">641</span>      if (s != null) {<a name="line.641"></a>
-<span class="sourceLineNo">642</span>         int i = s.length();<a name="line.642"></a>
-<span class="sourceLineNo">643</span>         if (i &gt; 0)<a name="line.643"></a>
-<span class="sourceLineNo">644</span>            return s.charAt(i-1) == c;<a name="line.644"></a>
-<span class="sourceLineNo">645</span>      }<a name="line.645"></a>
-<span class="sourceLineNo">646</span>      return false;<a name="line.646"></a>
-<span class="sourceLineNo">647</span>   }<a name="line.647"></a>
-<span class="sourceLineNo">648</span><a name="line.648"></a>
-<span class="sourceLineNo">649</span>   /**<a name="line.649"></a>
-<span class="sourceLineNo">650</span>    * Converts the specified number into a 4 hexadecimal characters.<a name="line.650"></a>
-<span class="sourceLineNo">651</span>    *<a name="line.651"></a>
-<span class="sourceLineNo">652</span>    * @param num The number to convert to hex.<a name="line.652"></a>
-<span class="sourceLineNo">653</span>    * @return A &lt;code&gt;&lt;jk&gt;char&lt;/jk&gt;[4]&lt;/code&gt; containing the specified characters.<a name="line.653"></a>
-<span class="sourceLineNo">654</span>    */<a name="line.654"></a>
-<span class="sourceLineNo">655</span>   public static final char[] toHex(int num) {<a name="line.655"></a>
-<span class="sourceLineNo">656</span>      char[] n = new char[4];<a name="line.656"></a>
-<span class="sourceLineNo">657</span>      int a = num%16;<a name="line.657"></a>
-<span class="sourceLineNo">658</span>      n[3] = (char)(a &gt; 9 ? 'A'+a-10 : '0'+a);<a name="line.658"></a>
-<span class="sourceLineNo">659</span>      int base = 16;<a name="line.659"></a>
-<span class="sourceLineNo">660</span>      for (int i = 1; i &lt; 4; i++) {<a name="line.660"></a>
-<span class="sourceLineNo">661</span>         a = (num/base)%16;<a name="line.661"></a>
-<span class="sourceLineNo">662</span>         base &lt;&lt;= 4;<a name="line.662"></a>
-<span class="sourceLineNo">663</span>         n[3-i] = (char)(a &gt; 9 ? 'A'+a-10 : '0'+a);<a name="line.663"></a>
-<span class="sourceLineNo">664</span>      }<a name="line.664"></a>
-<span class="sourceLineNo">665</span>      return n;<a name="line.665"></a>
-<span class="sourceLineNo">666</span>   }<a name="line.666"></a>
-<span class="sourceLineNo">667</span><a name="line.667"></a>
-<span class="sourceLineNo">668</span>   /**<a name="line.668"></a>
-<span class="sourceLineNo">669</span>    * Tests two strings for equality, but gracefully handles nulls.<a name="line.669"></a>
-<span class="sourceLineNo">670</span>    *<a name="line.670"></a>
-<span class="sourceLineNo">671</span>    * @param s1 String 1.<a name="line.671"></a>
-<span class="sourceLineNo">672</span>    * @param s2 String 2.<a name="line.672"></a>
-<span class="sourceLineNo">673</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the strings are equal.<a name="line.673"></a>
-<span class="sourceLineNo">674</span>    */<a name="line.674"></a>
-<span class="sourceLineNo">675</span>   public static boolean isEquals(String s1, String s2) {<a name="line.675"></a>
-<span class="sourceLineNo">676</span>      if (s1 == null)<a name="line.676"></a>
-<span class="sourceLineNo">677</span>         return s2 == null;<a name="line.677"></a>
-<span class="sourceLineNo">678</span>      if (s2 == null)<a name="line.678"></a>
-<span class="sourceLineNo">679</span>         return false;<a name="line.679"></a>
-<span class="sourceLineNo">680</span>      return s1.equals(s2);<a name="line.680"></a>
-<span class="sourceLineNo">681</span>   }<a name="line.681"></a>
-<span class="sourceLineNo">682</span><a name="line.682"></a>
-<span class="sourceLineNo">683</span>   /**<a name="line.683"></a>
-<span class="sourceLineNo">684</span>    * Shortcut for calling &lt;code&gt;base64Encode(in.getBytes(&lt;js&gt;"UTF-8"&lt;/js&gt;))&lt;/code&gt;<a name="line.684"></a>
-<span class="sourceLineNo">685</span>    *<a name="line.685"></a>
-<span class="sourceLineNo">686</span>    * @param in The input string to convert.<a name="line.686"></a>
-<span class="sourceLineNo">687</span>    * @return The string converted to BASE-64 encoding.<a name="line.687"></a>
-<span class="sourceLineNo">688</span>    */<a name="line.688"></a>
-<span class="sourceLineNo">689</span>   public static String base64EncodeToString(String in) {<a name="line.689"></a>
-<span class="sourceLineNo">690</span>      if (in == null)<a name="line.690"></a>
-<span class="sourceLineNo">691</span>         return null;<a name="line.691"></a>
-<span class="sourceLineNo">692</span>      return base64Encode(in.getBytes(IOUtils.UTF8));<a name="line.692"></a>
-<span class="sourceLineNo">693</span>   }<a name="line.693"></a>
-<span class="sourceLineNo">694</span><a name="line.694"></a>
-<span class="sourceLineNo">695</span>   /**<a name="line.695"></a>
-<span class="sourceLineNo">696</span>    * BASE64-encodes the specified byte array.<a name="line.696"></a>
-<span class="sourceLineNo">697</span>    *<a name="line.697"></a>
-<span class="sourceLineNo">698</span>    * @param in The input byte array to convert.<a name="line.698"></a>
-<span class="sourceLineNo">699</span>    * @return The byte array converted to a BASE-64 encoded string.<a name="line.699"></a>
-<span class="sourceLineNo">700</span>    */<a name="line.700"></a>
-<span class="sourceLineNo">701</span>   public static String base64Encode(byte[] in) {<a name="line.701"></a>
-<span class="sourceLineNo">702</span>      int outLength = (in.length * 4 + 2) / 3;   // Output length without padding<a name="line.702"></a>
-<span class="sourceLineNo">703</span>      char[] out = new char[((in.length + 2) / 3) * 4];  // Length includes padding.<a name="line.703"></a>
-<span class="sourceLineNo">704</span>      int iIn = 0;<a name="line.704"></a>
-<span class="sourceLineNo">705</span>      int iOut = 0;<a name="line.705"></a>
-<span class="sourceLineNo">706</span>      while (iIn &lt; in.length) {<a name="line.706"></a>
-<span class="sourceLineNo">707</span>         int i0 = in[iIn++] &amp; 0xff;<a name="line.707"></a>
-<span class="sourceLineNo">708</span>         int i1 = iIn &lt; in.length ? in[iIn++] &amp; 0xff : 0;<a name="line.708"></a>
-<span class="sourceLineNo">709</span>         int i2 = iIn &lt; in.length ? in[iIn++] &amp; 0xff : 0;<a name="line.709"></a>
-<span class="sourceLineNo">710</span>         int o0 = i0 &gt;&gt;&gt; 2;<a name="line.710"></a>
-<span class="sourceLineNo">711</span>         int o1 = ((i0 &amp; 3) &lt;&lt; 4) | (i1 &gt;&gt;&gt; 4);<a name="line.711"></a>
-<span class="sourceLineNo">712</span>         int o2 = ((i1 &amp; 0xf) &lt;&lt; 2) | (i2 &gt;&gt;&gt; 6);<a name="line.712"></a>
-<span class="sourceLineNo">713</span>         int o3 = i2 &amp; 0x3F;<a name="line.713"></a>
-<span class="sourceLineNo">714</span>         out[iOut++] = base64m1[o0];<a name="line.714"></a>
-<span class="sourceLineNo">715</span>         out[iOut++] = base64m1[o1];<a name="line.715"></a>
-<span class="sourceLineNo">716</span>         out[iOut] = iOut &lt; outLength ? base64m1[o2] : '=';<a name="line.716"></a>
-<span class="sourceLineNo">717</span>         iOut++;<a name="line.717"></a>
-<span class="sourceLineNo">718</span>         out[iOut] = iOut &lt; outLength ? base64m1[o3] : '=';<a name="line.718"></a>
-<span class="sourceLineNo">719</span>         iOut++;<a name="line.719"></a>
-<span class="sourceLineNo">720</span>      }<a name="line.720"></a>
-<span class="sourceLineNo">721</span>      return new String(out);<a name="line.721"></a>
-<span class="sourceLineNo">722</span>   }<a name="line.722"></a>
-<span class="sourceLineNo">723</span><a name="line.723"></a>
-<span class="sourceLineNo">724</span>   /**<a name="line.724"></a>
-<span class="sourceLineNo">725</span>    * Shortcut for calling &lt;code&gt;base64Decode(String)&lt;/code&gt; and converting the<a name="line.725"></a>
-<span class="sourceLineNo">726</span>    *    result to a UTF-8 encoded string.<a name="line.726"></a>
-<span class="sourceLineNo">727</span>    *<a name="line.727"></a>
-<span class="sourceLineNo">728</span>    * @param in The BASE-64 encoded string to decode.<a name="line.728"></a>
-<span class="sourceLineNo">729</span>    * @return The decoded string.<a name="line.729"></a>
-<span class="sourceLineNo">730</span>    */<a name="line.730"></a>
-<span class="sourceLineNo">731</span>   public static String base64DecodeToString(String in) {<a name="line.731"></a>
-<span class="sourceLineNo">732</span>      byte[] b = base64Decode(in);<a name="line.732"></a>
-<span class="sourceLineNo">733</span>      if (b == null)<a name="line.733"></a>
-<span class="sourceLineNo">734</span>         return null;<a name="line.734"></a>
-<span class="sourceLineNo">735</span>      return new String(b, IOUtils.UTF8);<a name="line.735"></a>
-<span class="sourceLineNo">736</span>   }<a name="line.736"></a>
-<span class="sourceLineNo">737</span><a name="line.737"></a>
-<span class="sourceLineNo">738</span>   /**<a name="line.738"></a>
-<span class="sourceLineNo">739</span>    * BASE64-decodes the specified string.<a name="line.739"></a>
-<span class="sourceLineNo">740</span>    *<a name="line.740"></a>
-<span class="sourceLineNo">741</span>    * @param in The BASE-64 encoded string.<a name="line.741"></a>
-<span class="sourceLineNo">742</span>    * @return The decoded byte array.<a name="line.742"></a>
-<span class="sourceLineNo">743</span>    */<a name="line.743"></a>
-<span class="sourceLineNo">744</span>   public static byte[] base64Decode(String in) {<a name="line.744"></a>
-<span class="sourceLineNo">745</span>      if (in == null)<a name="line.745"></a>
-<span class="sourceLineNo">746</span>         return null;<a name="line.746"></a>
-<span class="sourceLineNo">747</span><a name="line.747"></a>
-<span class="sourceLineNo">748</span>      byte bIn[] = in.getBytes(IOUtils.UTF8);<a name="line.748"></a>
-<span class="sourceLineNo">749</span><a name="line.749"></a>
-<span class="sourceLineNo">750</span>      if (bIn.length % 4 != 0)<a name="line.750"></a>
-<span class="sourceLineNo">751</span>         illegalArg("Invalid BASE64 string length.  Must be multiple of 4.");<a name="line.751"></a>
-<span class="sourceLineNo">752</span><a name="line.752"></a>
-<span class="sourceLineNo">753</span>      // Strip out any trailing '=' filler characters.<a name="line.753"></a>
-<span class="sourceLineNo">754</span>      int inLength = bIn.length;<a name="line.754"></a>
-<span class="sourceLineNo">755</span>      while (inLength &gt; 0 &amp;&amp; bIn[inLength - 1] == '=')<a name="line.755"></a>
-<span class="sourceLineNo">756</span>         inLength--;<a name="line.756"></a>
-<span class="sourceLineNo">757</span><a name="line.757"></a>
-<span class="sourceLineNo">758</span>      int outLength = (inLength * 3) / 4;<a name="line.758"></a>
-<span class="sourceLineNo">759</span>      byte[] out = new byte[outLength];<a name="line.759"></a>
-<span class="sourceLineNo">760</span>      int iIn = 0;<a name="line.760"></a>
-<span class="sourceLineNo">761</span>      int iOut = 0;<a name="line.761"></a>
-<span class="sourceLineNo">762</span>      while (iIn &lt; inLength) {<a name="line.762"></a>
-<span class="sourceLineNo">763</span>         int i0 = bIn[iIn++];<a name="line.763"></a>
-<span class="sourceLineNo">764</span>         int i1 = bIn[iIn++];<a name="line.764"></a>
-<span class="sourceLineNo">765</span>         int i2 = iIn &lt; inLength ? bIn[iIn++] : 'A';<a name="line.765"></a>
-<span class="sourceLineNo">766</span>         int i3 = iIn &lt; inLength ? bIn[iIn++] : 'A';<a name="line.766"></a>
-<span class="sourceLineNo">767</span>         int b0 = base64m2[i0];<a name="line.767"></a>
-<span class="sourceLineNo">768</span>         int b1 = base64m2[i1];<a name="line.768"></a>
-<span class="sourceLineNo">769</span>         int b2 = base

<TRUNCATED>


[11/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestCall.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestCall.html b/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestCall.html
index a2b1e2f..d2595b4 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestCall.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestCall.html
@@ -20,1603 +20,1816 @@
 <span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
 <span class="sourceLineNo">013</span>package org.apache.juneau.rest.client;<a name="line.13"></a>
 <span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import java.io.*;<a name="line.15"></a>
-<span class="sourceLineNo">016</span>import java.lang.reflect.*;<a name="line.16"></a>
-<span class="sourceLineNo">017</span>import java.net.*;<a name="line.17"></a>
-<span class="sourceLineNo">018</span>import java.util.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span>import java.util.concurrent.*;<a name="line.19"></a>
-<span class="sourceLineNo">020</span>import java.util.logging.*;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import java.util.regex.*;<a name="line.21"></a>
-<span class="sourceLineNo">022</span><a name="line.22"></a>
-<span class="sourceLineNo">023</span>import org.apache.http.*;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import org.apache.http.client.*;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.http.client.config.*;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.http.client.methods.*;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.http.client.utils.*;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.http.impl.client.*;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.http.util.*;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.juneau.*;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.juneau.encoders.*;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.juneau.internal.*;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.juneau.parser.*;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.juneau.parser.ParseException;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.juneau.serializer.*;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.juneau.utils.*;<a name="line.36"></a>
-<span class="sourceLineNo">037</span><a name="line.37"></a>
-<span class="sourceLineNo">038</span>/**<a name="line.38"></a>
-<span class="sourceLineNo">039</span> * Represents a connection to a remote REST resource.<a name="line.39"></a>
-<span class="sourceLineNo">040</span> * &lt;p&gt;<a name="line.40"></a>
-<span class="sourceLineNo">041</span> * Instances of this class are created by the various {@code doX()} methods on the {@link RestClient} class.<a name="line.41"></a>
-<span class="sourceLineNo">042</span> * &lt;p&gt;<a name="line.42"></a>
-<span class="sourceLineNo">043</span> * This class uses only Java standard APIs.  Requests can be built up using a fluent interface with method chaining, like so...<a name="line.43"></a>
-<span class="sourceLineNo">044</span> *<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * &lt;p class='bcode'&gt;<a name="line.45"></a>
-<span class="sourceLineNo">046</span> *    RestClient client = &lt;jk&gt;new&lt;/jk&gt; RestClient();<a name="line.46"></a>
-<span class="sourceLineNo">047</span> *    RestCall c = client.doPost(&lt;jsf&gt;URL&lt;/jsf&gt;).setInput(o).setHeader(x,y);<a name="line.47"></a>
-<span class="sourceLineNo">048</span> *    MyBean b = c.getResponse(MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.48"></a>
-<span class="sourceLineNo">049</span> * &lt;/p&gt;<a name="line.49"></a>
-<span class="sourceLineNo">050</span> * &lt;p&gt;<a name="line.50"></a>
-<span class="sourceLineNo">051</span> * The actual connection and request/response transaction occurs when calling one of the &lt;code&gt;getResponseXXX()&lt;/code&gt; methods.<a name="line.51"></a>
-<span class="sourceLineNo">052</span> *<a name="line.52"></a>
-<span class="sourceLineNo">053</span> * &lt;h5 class='section'&gt;Additional information:&lt;/h5&gt;<a name="line.53"></a>
-<span class="sourceLineNo">054</span> * &lt;ul&gt;<a name="line.54"></a>
-<span class="sourceLineNo">055</span> *    &lt;li&gt;&lt;a class="doclink" href="package-summary.html#RestClient"&gt;org.apache.juneau.rest.client &amp;gt; REST client API&lt;/a&gt; for more information and code examples.<a name="line.55"></a>
-<span class="sourceLineNo">056</span> * &lt;/ul&gt;<a name="line.56"></a>
-<span class="sourceLineNo">057</span> */<a name="line.57"></a>
-<span class="sourceLineNo">058</span>@SuppressWarnings("hiding")<a name="line.58"></a>
-<span class="sourceLineNo">059</span>public final class RestCall {<a name="line.59"></a>
-<span class="sourceLineNo">060</span><a name="line.60"></a>
-<span class="sourceLineNo">061</span>   private final RestClient client;                       // The client that created this call.<a name="line.61"></a>
-<span class="sourceLineNo">062</span>   private final HttpRequestBase request;                 // The request.<a name="line.62"></a>
-<span class="sourceLineNo">063</span>   private HttpResponse response;                         // The response.<a name="line.63"></a>
-<span class="sourceLineNo">064</span>   private List&lt;RestCallInterceptor&gt; interceptors = new ArrayList&lt;RestCallInterceptor&gt;();               // Used for intercepting and altering requests.<a name="line.64"></a>
-<span class="sourceLineNo">065</span><a name="line.65"></a>
-<span class="sourceLineNo">066</span>   private boolean isConnected = false;                   // connect() has been called.<a name="line.66"></a>
-<span class="sourceLineNo">067</span>   private boolean allowRedirectsOnPosts;<a name="line.67"></a>
-<span class="sourceLineNo">068</span>   private int retries = 1;<a name="line.68"></a>
-<span class="sourceLineNo">069</span>   private int redirectOnPostsTries = 5;<a name="line.69"></a>
-<span class="sourceLineNo">070</span>   private long retryInterval = -1;<a name="line.70"></a>
-<span class="sourceLineNo">071</span>   private RetryOn retryOn;<a name="line.71"></a>
-<span class="sourceLineNo">072</span>   private boolean ignoreErrors;<a name="line.72"></a>
-<span class="sourceLineNo">073</span>   private boolean byLines = false;<a name="line.73"></a>
-<span class="sourceLineNo">074</span>   private TeeWriter writers = new TeeWriter();<a name="line.74"></a>
-<span class="sourceLineNo">075</span>   private StringWriter capturedResponseWriter;<a name="line.75"></a>
-<span class="sourceLineNo">076</span>   private String capturedResponse;<a name="line.76"></a>
-<span class="sourceLineNo">077</span>   private TeeOutputStream outputStreams = new TeeOutputStream();<a name="line.77"></a>
-<span class="sourceLineNo">078</span>   private boolean isClosed = false;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>   private boolean isFailed = false;<a name="line.79"></a>
-<span class="sourceLineNo">080</span>   private Object input;<a name="line.80"></a>
-<span class="sourceLineNo">081</span>   private Serializer serializer;<a name="line.81"></a>
-<span class="sourceLineNo">082</span>   private Parser parser;<a name="line.82"></a>
-<span class="sourceLineNo">083</span>   private URIBuilder uriBuilder;<a name="line.83"></a>
-<span class="sourceLineNo">084</span>   private final ExecutorService executorService;<a name="line.84"></a>
-<span class="sourceLineNo">085</span><a name="line.85"></a>
-<span class="sourceLineNo">086</span>   /**<a name="line.86"></a>
-<span class="sourceLineNo">087</span>    * Constructs a REST call with the specified method name.<a name="line.87"></a>
-<span class="sourceLineNo">088</span>    *<a name="line.88"></a>
-<span class="sourceLineNo">089</span>    * @param client The client that created this request.<a name="line.89"></a>
-<span class="sourceLineNo">090</span>    * @param request The wrapped Apache HTTP client request object.<a name="line.90"></a>
-<span class="sourceLineNo">091</span>    * @param uri The URI for this call.<a name="line.91"></a>
-<span class="sourceLineNo">092</span>    * @throws RestCallException If an exception or non-200 response code occurred during the connection attempt.<a name="line.92"></a>
-<span class="sourceLineNo">093</span>    */<a name="line.93"></a>
-<span class="sourceLineNo">094</span>   protected RestCall(RestClient client, HttpRequestBase request, URI uri) throws RestCallException {<a name="line.94"></a>
-<span class="sourceLineNo">095</span>      this.client = client;<a name="line.95"></a>
-<span class="sourceLineNo">096</span>      this.request = request;<a name="line.96"></a>
-<span class="sourceLineNo">097</span>      for (RestCallInterceptor i : this.client.interceptors)<a name="line.97"></a>
-<span class="sourceLineNo">098</span>         interceptor(i);<a name="line.98"></a>
-<span class="sourceLineNo">099</span>      this.retryOn = client.retryOn;<a name="line.99"></a>
-<span class="sourceLineNo">100</span>      this.retries = client.retries;<a name="line.100"></a>
-<span class="sourceLineNo">101</span>      this.retryInterval = client.retryInterval;<a name="line.101"></a>
-<span class="sourceLineNo">102</span>      this.serializer = client.serializer;<a name="line.102"></a>
-<span class="sourceLineNo">103</span>      this.parser = client.parser;<a name="line.103"></a>
-<span class="sourceLineNo">104</span>      this.executorService = client.executorService;<a name="line.104"></a>
-<span class="sourceLineNo">105</span>      uriBuilder = new URIBuilder(uri);<a name="line.105"></a>
-<span class="sourceLineNo">106</span>   }<a name="line.106"></a>
-<span class="sourceLineNo">107</span><a name="line.107"></a>
-<span class="sourceLineNo">108</span>   /**<a name="line.108"></a>
-<span class="sourceLineNo">109</span>    * Sets the URI for this call.<a name="line.109"></a>
-<span class="sourceLineNo">110</span>    * &lt;p&gt;<a name="line.110"></a>
-<span class="sourceLineNo">111</span>    * Can be any of the following types:<a name="line.111"></a>
-<span class="sourceLineNo">112</span>    * &lt;ul&gt;<a name="line.112"></a>
-<span class="sourceLineNo">113</span>    *    &lt;li&gt;{@link URI}<a name="line.113"></a>
-<span class="sourceLineNo">114</span>    *    &lt;li&gt;{@link URL}<a name="line.114"></a>
-<span class="sourceLineNo">115</span>    *    &lt;li&gt;{@link URIBuilder}<a name="line.115"></a>
-<span class="sourceLineNo">116</span>    *    &lt;li&gt;Anything else converted to a string using {@link Object#toString()}.<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    * &lt;/ul&gt;<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    * Relative URL strings will be interpreted as relative to the root URL defined on the client.<a name="line.118"></a>
-<span class="sourceLineNo">119</span>    *<a name="line.119"></a>
-<span class="sourceLineNo">120</span>    * @param uri The URI to use for this call.<a name="line.120"></a>
-<span class="sourceLineNo">121</span>    * This overrides the URI passed in from the client.<a name="line.121"></a>
-<span class="sourceLineNo">122</span>    * @return This object (for method chaining).<a name="line.122"></a>
-<span class="sourceLineNo">123</span>    * @throws RestCallException<a name="line.123"></a>
-<span class="sourceLineNo">124</span>    */<a name="line.124"></a>
-<span class="sourceLineNo">125</span>   public RestCall uri(Object uri) throws RestCallException {<a name="line.125"></a>
-<span class="sourceLineNo">126</span>      try {<a name="line.126"></a>
-<span class="sourceLineNo">127</span>         if (uri != null)<a name="line.127"></a>
-<span class="sourceLineNo">128</span>            uriBuilder = new URIBuilder(client.toURI(uri));<a name="line.128"></a>
-<span class="sourceLineNo">129</span>         return this;<a name="line.129"></a>
-<span class="sourceLineNo">130</span>      } catch (URISyntaxException e) {<a name="line.130"></a>
-<span class="sourceLineNo">131</span>         throw new RestCallException(e);<a name="line.131"></a>
-<span class="sourceLineNo">132</span>      }<a name="line.132"></a>
-<span class="sourceLineNo">133</span>   }<a name="line.133"></a>
-<span class="sourceLineNo">134</span><a name="line.134"></a>
-<span class="sourceLineNo">135</span>   /**<a name="line.135"></a>
-<span class="sourceLineNo">136</span>    * Sets the URI scheme.<a name="line.136"></a>
-<span class="sourceLineNo">137</span>    *<a name="line.137"></a>
-<span class="sourceLineNo">138</span>    * @param scheme The new URI host.<a name="line.138"></a>
-<span class="sourceLineNo">139</span>    * @return This object (for method chaining).<a name="line.139"></a>
-<span class="sourceLineNo">140</span>    */<a name="line.140"></a>
-<span class="sourceLineNo">141</span>   public RestCall scheme(String scheme) {<a name="line.141"></a>
-<span class="sourceLineNo">142</span>      uriBuilder.setScheme(scheme);<a name="line.142"></a>
-<span class="sourceLineNo">143</span>      return this;<a name="line.143"></a>
-<span class="sourceLineNo">144</span>   }<a name="line.144"></a>
-<span class="sourceLineNo">145</span><a name="line.145"></a>
-<span class="sourceLineNo">146</span>   /**<a name="line.146"></a>
-<span class="sourceLineNo">147</span>    * Sets the URI host.<a name="line.147"></a>
-<span class="sourceLineNo">148</span>    *<a name="line.148"></a>
-<span class="sourceLineNo">149</span>    * @param host The new URI host.<a name="line.149"></a>
-<span class="sourceLineNo">150</span>    * @return This object (for method chaining).<a name="line.150"></a>
-<span class="sourceLineNo">151</span>    */<a name="line.151"></a>
-<span class="sourceLineNo">152</span>   public RestCall host(String host) {<a name="line.152"></a>
-<span class="sourceLineNo">153</span>      uriBuilder.setHost(host);<a name="line.153"></a>
-<span class="sourceLineNo">154</span>      return this;<a name="line.154"></a>
-<span class="sourceLineNo">155</span>   }<a name="line.155"></a>
-<span class="sourceLineNo">156</span><a name="line.156"></a>
-<span class="sourceLineNo">157</span>   /**<a name="line.157"></a>
-<span class="sourceLineNo">158</span>    * Sets the URI port.<a name="line.158"></a>
-<span class="sourceLineNo">159</span>    *<a name="line.159"></a>
-<span class="sourceLineNo">160</span>    * @param port The new URI port.<a name="line.160"></a>
-<span class="sourceLineNo">161</span>    * @return This object (for method chaining).<a name="line.161"></a>
-<span class="sourceLineNo">162</span>    */<a name="line.162"></a>
-<span class="sourceLineNo">163</span>   public RestCall port(int port) {<a name="line.163"></a>
-<span class="sourceLineNo">164</span>      uriBuilder.setPort(port);<a name="line.164"></a>
-<span class="sourceLineNo">165</span>      return this;<a name="line.165"></a>
-<span class="sourceLineNo">166</span>   }<a name="line.166"></a>
-<span class="sourceLineNo">167</span><a name="line.167"></a>
-<span class="sourceLineNo">168</span>   /**<a name="line.168"></a>
-<span class="sourceLineNo">169</span>    * Adds a parameter to the URI query.<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    *<a name="line.170"></a>
-<span class="sourceLineNo">171</span>    * @param name The parameter name.<a name="line.171"></a>
-<span class="sourceLineNo">172</span>    * @param value The parameter value converted to a string using UON notation.<a name="line.172"></a>
-<span class="sourceLineNo">173</span>    * @return This object (for method chaining).<a name="line.173"></a>
-<span class="sourceLineNo">174</span>    * @throws RestCallException<a name="line.174"></a>
-<span class="sourceLineNo">175</span>    */<a name="line.175"></a>
-<span class="sourceLineNo">176</span>   public RestCall param(String name, Object value) throws RestCallException {<a name="line.176"></a>
-<span class="sourceLineNo">177</span>      uriBuilder.addParameter(name, client.getUrlEncodingSerializer().serializeUrlPart(value));<a name="line.177"></a>
-<span class="sourceLineNo">178</span>      return this;<a name="line.178"></a>
-<span class="sourceLineNo">179</span>   }<a name="line.179"></a>
-<span class="sourceLineNo">180</span><a name="line.180"></a>
-<span class="sourceLineNo">181</span>   /**<a name="line.181"></a>
-<span class="sourceLineNo">182</span>    * Adds parameters to the URI query.<a name="line.182"></a>
-<span class="sourceLineNo">183</span>    *<a name="line.183"></a>
-<span class="sourceLineNo">184</span>    * @param params The parameters.  Values are converted to a string using UON notation.<a name="line.184"></a>
-<span class="sourceLineNo">185</span>    * @return This object (for method chaining).<a name="line.185"></a>
-<span class="sourceLineNo">186</span>    * @throws RestCallException<a name="line.186"></a>
-<span class="sourceLineNo">187</span>    */<a name="line.187"></a>
-<span class="sourceLineNo">188</span>   public RestCall params(Map&lt;String,Object&gt; params) throws RestCallException {<a name="line.188"></a>
-<span class="sourceLineNo">189</span>      for (Map.Entry&lt;String,Object&gt; p : params.entrySet())<a name="line.189"></a>
-<span class="sourceLineNo">190</span>         uriBuilder.addParameter(p.getKey(), client.getUrlEncodingSerializer().serializeUrlPart(p.getValue()));<a name="line.190"></a>
-<span class="sourceLineNo">191</span>      return this;<a name="line.191"></a>
-<span class="sourceLineNo">192</span>   }<a name="line.192"></a>
-<span class="sourceLineNo">193</span><a name="line.193"></a>
-<span class="sourceLineNo">194</span>   /**<a name="line.194"></a>
-<span class="sourceLineNo">195</span>    * Adds a parameter to the URI query if the parameter value is not &lt;jk&gt;null&lt;/jk&gt;.<a name="line.195"></a>
-<span class="sourceLineNo">196</span>    *<a name="line.196"></a>
-<span class="sourceLineNo">197</span>    * @param name The parameter name.<a name="line.197"></a>
-<span class="sourceLineNo">198</span>    * @param value The parameter value converted to a string using UON notation.<a name="line.198"></a>
-<span class="sourceLineNo">199</span>    * @return This object (for method chaining).<a name="line.199"></a>
-<span class="sourceLineNo">200</span>    * @throws RestCallException<a name="line.200"></a>
-<span class="sourceLineNo">201</span>    */<a name="line.201"></a>
-<span class="sourceLineNo">202</span>   public RestCall paramIfNN(String name, Object value) throws RestCallException {<a name="line.202"></a>
-<span class="sourceLineNo">203</span>      if (value != null)<a name="line.203"></a>
-<span class="sourceLineNo">204</span>         uriBuilder.addParameter(name, client.getUrlEncodingSerializer().serializeUrlPart(value));<a name="line.204"></a>
-<span class="sourceLineNo">205</span>      return this;<a name="line.205"></a>
-<span class="sourceLineNo">206</span>   }<a name="line.206"></a>
-<span class="sourceLineNo">207</span><a name="line.207"></a>
-<span class="sourceLineNo">208</span>   /**<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    * Adds a parameter to the URI query if the parameter value is not &lt;jk&gt;null&lt;/jk&gt; or an empty string.<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    *<a name="line.210"></a>
-<span class="sourceLineNo">211</span>    * @param name The parameter name.<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    * @param value The parameter value converted to a string using UON notation.<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    * @return This object (for method chaining).<a name="line.213"></a>
-<span class="sourceLineNo">214</span>    * @throws RestCallException<a name="line.214"></a>
-<span class="sourceLineNo">215</span>    */<a name="line.215"></a>
-<span class="sourceLineNo">216</span>   public RestCall paramIfNE(String name, Object value) throws RestCallException {<a name="line.216"></a>
-<span class="sourceLineNo">217</span>      if (! StringUtils.isEmpty(value))<a name="line.217"></a>
-<span class="sourceLineNo">218</span>         uriBuilder.addParameter(name, client.getUrlEncodingSerializer().serializeUrlPart(value));<a name="line.218"></a>
-<span class="sourceLineNo">219</span>      return this;<a name="line.219"></a>
-<span class="sourceLineNo">220</span>   }<a name="line.220"></a>
-<span class="sourceLineNo">221</span><a name="line.221"></a>
-<span class="sourceLineNo">222</span>   /**<a name="line.222"></a>
-<span class="sourceLineNo">223</span>    * Sets a custom URI query.<a name="line.223"></a>
-<span class="sourceLineNo">224</span>    *<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    * @param query The new URI query string.<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    * @return This object (for method chaining).<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    */<a name="line.227"></a>
-<span class="sourceLineNo">228</span>   public RestCall query(String query) {<a name="line.228"></a>
-<span class="sourceLineNo">229</span>      uriBuilder.setCustomQuery(query);<a name="line.229"></a>
-<span class="sourceLineNo">230</span>      return this;<a name="line.230"></a>
-<span class="sourceLineNo">231</span>   }<a name="line.231"></a>
-<span class="sourceLineNo">232</span><a name="line.232"></a>
-<span class="sourceLineNo">233</span>   /**<a name="line.233"></a>
-<span class="sourceLineNo">234</span>    * Sets the URI user info.<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    *<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    * @param userInfo The new URI user info.<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    * @return This object (for method chaining).<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    */<a name="line.238"></a>
-<span class="sourceLineNo">239</span>   public RestCall userInfo(String userInfo) {<a name="line.239"></a>
-<span class="sourceLineNo">240</span>      uriBuilder.setUserInfo(userInfo);<a name="line.240"></a>
-<span class="sourceLineNo">241</span>      return this;<a name="line.241"></a>
-<span class="sourceLineNo">242</span>   }<a name="line.242"></a>
-<span class="sourceLineNo">243</span><a name="line.243"></a>
-<span class="sourceLineNo">244</span>   /**<a name="line.244"></a>
-<span class="sourceLineNo">245</span>    * Sets the URI user info.<a name="line.245"></a>
-<span class="sourceLineNo">246</span>    *<a name="line.246"></a>
-<span class="sourceLineNo">247</span>    * @param username The new URI username.<a name="line.247"></a>
-<span class="sourceLineNo">248</span>    * @param password The new URI password.<a name="line.248"></a>
-<span class="sourceLineNo">249</span>    * @return This object (for method chaining).<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    */<a name="line.250"></a>
-<span class="sourceLineNo">251</span>   public RestCall userInfo(String username, String password) {<a name="line.251"></a>
-<span class="sourceLineNo">252</span>      uriBuilder.setUserInfo(username, password);<a name="line.252"></a>
-<span class="sourceLineNo">253</span>      return this;<a name="line.253"></a>
-<span class="sourceLineNo">254</span>   }<a name="line.254"></a>
-<span class="sourceLineNo">255</span><a name="line.255"></a>
-<span class="sourceLineNo">256</span>   /**<a name="line.256"></a>
-<span class="sourceLineNo">257</span>    * Sets the input for this REST call.<a name="line.257"></a>
-<span class="sourceLineNo">258</span>    *<a name="line.258"></a>
-<span class="sourceLineNo">259</span>    * @param input The input to be sent to the REST resource (only valid for PUT and POST) requests. &lt;br&gt;<a name="line.259"></a>
-<span class="sourceLineNo">260</span>    * Can be of the following types:<a name="line.260"></a>
-<span class="sourceLineNo">261</span>    * &lt;ul class='spaced-list'&gt;<a name="line.261"></a>
-<span class="sourceLineNo">262</span>    *    &lt;li&gt;{@link Reader} - Raw contents of {@code Reader} will be serialized to remote resource.<a name="line.262"></a>
-<span class="sourceLineNo">263</span>    *    &lt;li&gt;{@link InputStream} - Raw contents of {@code InputStream} will be serialized to remote resource.<a name="line.263"></a>
-<span class="sourceLineNo">264</span>    *    &lt;li&gt;{@link Object} - POJO to be converted to text using the {@link Serializer} registered with the {@link RestClient}.<a name="line.264"></a>
-<span class="sourceLineNo">265</span>    *    &lt;li&gt;{@link HttpEntity} - Bypass Juneau serialization and pass HttpEntity directly to HttpClient.<a name="line.265"></a>
-<span class="sourceLineNo">266</span>    * &lt;/ul&gt;<a name="line.266"></a>
-<span class="sourceLineNo">267</span>    * @return This object (for method chaining).<a name="line.267"></a>
-<span class="sourceLineNo">268</span>    * @throws RestCallException If a retry was attempted, but the entity was not repeatable.<a name="line.268"></a>
-<span class="sourceLineNo">269</span>    */<a name="line.269"></a>
-<span class="sourceLineNo">270</span>   public RestCall input(final Object input) throws RestCallException {<a name="line.270"></a>
-<span class="sourceLineNo">271</span>      this.input = input;<a name="line.271"></a>
-<span class="sourceLineNo">272</span>      return this;<a name="line.272"></a>
-<span class="sourceLineNo">273</span>   }<a name="line.273"></a>
-<span class="sourceLineNo">274</span><a name="line.274"></a>
-<span class="sourceLineNo">275</span>   /**<a name="line.275"></a>
-<span class="sourceLineNo">276</span>    * Specifies the serializer to use on this call.<a name="line.276"></a>
-<span class="sourceLineNo">277</span>    * &lt;p&gt;<a name="line.277"></a>
-<span class="sourceLineNo">278</span>    * Overrides the serializer specified on the {@link RestClient}.<a name="line.278"></a>
-<span class="sourceLineNo">279</span>    *<a name="line.279"></a>
-<span class="sourceLineNo">280</span>    * @param serializer The serializer used to serialize POJOs to the body of the HTTP request.<a name="line.280"></a>
-<span class="sourceLineNo">281</span>    * @return This object (for method chaining).<a name="line.281"></a>
-<span class="sourceLineNo">282</span>    */<a name="line.282"></a>
-<span class="sourceLineNo">283</span>   public RestCall serializer(Serializer serializer) {<a name="line.283"></a>
-<span class="sourceLineNo">284</span>      this.serializer = serializer;<a name="line.284"></a>
-<span class="sourceLineNo">285</span>      return this;<a name="line.285"></a>
-<span class="sourceLineNo">286</span>   }<a name="line.286"></a>
-<span class="sourceLineNo">287</span><a name="line.287"></a>
-<span class="sourceLineNo">288</span>   /**<a name="line.288"></a>
-<span class="sourceLineNo">289</span>    * Specifies the parser to use on this call.<a name="line.289"></a>
-<span class="sourceLineNo">290</span>    * &lt;p&gt;<a name="line.290"></a>
-<span class="sourceLineNo">291</span>    * Overrides the parser specified on the {@link RestClient}.<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    *<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    * @param parser The parser used to parse POJOs from the body of the HTTP response.<a name="line.293"></a>
-<span class="sourceLineNo">294</span>    * @return This object (for method chaining).<a name="line.294"></a>
-<span class="sourceLineNo">295</span>    */<a name="line.295"></a>
-<span class="sourceLineNo">296</span>   public RestCall parser(Parser parser) {<a name="line.296"></a>
-<span class="sourceLineNo">297</span>      this.parser = parser;<a name="line.297"></a>
-<span class="sourceLineNo">298</span>      return this;<a name="line.298"></a>
-<span class="sourceLineNo">299</span>   }<a name="line.299"></a>
-<span class="sourceLineNo">300</span><a name="line.300"></a>
-<span class="sourceLineNo">301</span><a name="line.301"></a>
-<span class="sourceLineNo">302</span>   //--------------------------------------------------------------------------------<a name="line.302"></a>
-<span class="sourceLineNo">303</span>   // HTTP headers<a name="line.303"></a>
-<span class="sourceLineNo">304</span>   //--------------------------------------------------------------------------------<a name="line.304"></a>
-<span class="sourceLineNo">305</span><a name="line.305"></a>
-<span class="sourceLineNo">306</span>   /**<a name="line.306"></a>
-<span class="sourceLineNo">307</span>    * Convenience method for setting a header value on the request.<a name="line.307"></a>
-<span class="sourceLineNo">308</span>    * &lt;p&gt;<a name="line.308"></a>
-<span class="sourceLineNo">309</span>    * Equivalent to calling &lt;code&gt;restCall.getRequest().setHeader(name, value.toString())&lt;/code&gt;.<a name="line.309"></a>
-<span class="sourceLineNo">310</span>    *<a name="line.310"></a>
-<span class="sourceLineNo">311</span>    * @param name The header name.<a name="line.311"></a>
-<span class="sourceLineNo">312</span>    * @param value The header value.<a name="line.312"></a>
-<span class="sourceLineNo">313</span>    * @return This object (for method chaining).<a name="line.313"></a>
-<span class="sourceLineNo">314</span>    */<a name="line.314"></a>
-<span class="sourceLineNo">315</span>   public RestCall header(String name, Object value) {<a name="line.315"></a>
-<span class="sourceLineNo">316</span>      request.setHeader(name, value.toString());<a name="line.316"></a>
-<span class="sourceLineNo">317</span>      return this;<a name="line.317"></a>
-<span class="sourceLineNo">318</span>   }<a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span>   /**<a name="line.320"></a>
-<span class="sourceLineNo">321</span>    * Sets the value for the &lt;code&gt;Accept&lt;/code&gt; request header.<a name="line.321"></a>
-<span class="sourceLineNo">322</span>    * &lt;p&gt;<a name="line.322"></a>
-<span class="sourceLineNo">323</span>    * This overrides the media type specified on the parser, but is overridden by calling &lt;code&gt;header(&lt;js&gt;"Accept"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.323"></a>
-<span class="sourceLineNo">324</span>    *<a name="line.324"></a>
-<span class="sourceLineNo">325</span>    * @param value The new header value.<a name="line.325"></a>
-<span class="sourceLineNo">326</span>    * @return This object (for method chaining).<a name="line.326"></a>
-<span class="sourceLineNo">327</span>    */<a name="line.327"></a>
-<span class="sourceLineNo">328</span>   public RestCall accept(Object value) {<a name="line.328"></a>
-<span class="sourceLineNo">329</span>      return header("Accept", value);<a name="line.329"></a>
-<span class="sourceLineNo">330</span>   }<a name="line.330"></a>
-<span class="sourceLineNo">331</span><a name="line.331"></a>
-<span class="sourceLineNo">332</span>   /**<a name="line.332"></a>
-<span class="sourceLineNo">333</span>    * Sets the value for the &lt;code&gt;Accept-Charset&lt;/code&gt; request header.<a name="line.333"></a>
-<span class="sourceLineNo">334</span>    * &lt;p&gt;<a name="line.334"></a>
-<span class="sourceLineNo">335</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Accept-Charset"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.335"></a>
-<span class="sourceLineNo">336</span>    *<a name="line.336"></a>
-<span class="sourceLineNo">337</span>    * @param value The new header value.<a name="line.337"></a>
-<span class="sourceLineNo">338</span>    * @return This object (for method chaining).<a name="line.338"></a>
-<span class="sourceLineNo">339</span>    */<a name="line.339"></a>
-<span class="sourceLineNo">340</span>   public RestCall acceptCharset(Object value) {<a name="line.340"></a>
-<span class="sourceLineNo">341</span>      return header("Accept-Charset", value);<a name="line.341"></a>
-<span class="sourceLineNo">342</span>   }<a name="line.342"></a>
-<span class="sourceLineNo">343</span><a name="line.343"></a>
-<span class="sourceLineNo">344</span>   /**<a name="line.344"></a>
-<span class="sourceLineNo">345</span>    * Sets the value for the &lt;code&gt;Accept-Encoding&lt;/code&gt; request header.<a name="line.345"></a>
-<span class="sourceLineNo">346</span>    * &lt;p&gt;<a name="line.346"></a>
-<span class="sourceLineNo">347</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Accept-Encoding"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.347"></a>
-<span class="sourceLineNo">348</span>    *<a name="line.348"></a>
-<span class="sourceLineNo">349</span>    * @param value The new header value.<a name="line.349"></a>
-<span class="sourceLineNo">350</span>    * @return This object (for method chaining).<a name="line.350"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import java.io.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.lang.reflect.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.net.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.util.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.util.concurrent.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.util.logging.*;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import java.util.regex.*;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>import org.apache.http.*;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.http.client.*;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.http.client.config.*;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.http.client.entity.*;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.http.client.methods.*;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.http.client.utils.*;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.http.impl.client.*;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.http.util.*;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.juneau.*;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.juneau.encoders.*;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.juneau.internal.*;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.juneau.parser.*;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.juneau.parser.ParseException;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.juneau.serializer.*;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.juneau.utils.*;<a name="line.39"></a>
+<span class="sourceLineNo">040</span><a name="line.40"></a>
+<span class="sourceLineNo">041</span>/**<a name="line.41"></a>
+<span class="sourceLineNo">042</span> * Represents a connection to a remote REST resource.<a name="line.42"></a>
+<span class="sourceLineNo">043</span> * &lt;p&gt;<a name="line.43"></a>
+<span class="sourceLineNo">044</span> * Instances of this class are created by the various {@code doX()} methods on the {@link RestClient} class.<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * &lt;p&gt;<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * This class uses only Java standard APIs.  Requests can be built up using a fluent interface with method chaining, like so...<a name="line.46"></a>
+<span class="sourceLineNo">047</span> *<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * &lt;p class='bcode'&gt;<a name="line.48"></a>
+<span class="sourceLineNo">049</span> *    RestClient client = &lt;jk&gt;new&lt;/jk&gt; RestClient();<a name="line.49"></a>
+<span class="sourceLineNo">050</span> *    RestCall c = client.doPost(&lt;jsf&gt;URL&lt;/jsf&gt;).setInput(o).setHeader(x,y);<a name="line.50"></a>
+<span class="sourceLineNo">051</span> *    MyBean b = c.getResponse(MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * &lt;/p&gt;<a name="line.52"></a>
+<span class="sourceLineNo">053</span> * &lt;p&gt;<a name="line.53"></a>
+<span class="sourceLineNo">054</span> * The actual connection and request/response transaction occurs when calling one of the &lt;code&gt;getResponseXXX()&lt;/code&gt; methods.<a name="line.54"></a>
+<span class="sourceLineNo">055</span> *<a name="line.55"></a>
+<span class="sourceLineNo">056</span> * &lt;h5 class='section'&gt;Additional information:&lt;/h5&gt;<a name="line.56"></a>
+<span class="sourceLineNo">057</span> * &lt;ul&gt;<a name="line.57"></a>
+<span class="sourceLineNo">058</span> *    &lt;li&gt;&lt;a class="doclink" href="package-summary.html#RestClient"&gt;org.apache.juneau.rest.client &amp;gt; REST client API&lt;/a&gt; for more information and code examples.<a name="line.58"></a>
+<span class="sourceLineNo">059</span> * &lt;/ul&gt;<a name="line.59"></a>
+<span class="sourceLineNo">060</span> */<a name="line.60"></a>
+<span class="sourceLineNo">061</span>@SuppressWarnings("hiding")<a name="line.61"></a>
+<span class="sourceLineNo">062</span>public final class RestCall {<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span>   private final RestClient client;                       // The client that created this call.<a name="line.64"></a>
+<span class="sourceLineNo">065</span>   private final HttpRequestBase request;                 // The request.<a name="line.65"></a>
+<span class="sourceLineNo">066</span>   private HttpResponse response;                         // The response.<a name="line.66"></a>
+<span class="sourceLineNo">067</span>   private List&lt;RestCallInterceptor&gt; interceptors = new ArrayList&lt;RestCallInterceptor&gt;();               // Used for intercepting and altering requests.<a name="line.67"></a>
+<span class="sourceLineNo">068</span><a name="line.68"></a>
+<span class="sourceLineNo">069</span>   private boolean isConnected = false;                   // connect() has been called.<a name="line.69"></a>
+<span class="sourceLineNo">070</span>   private boolean allowRedirectsOnPosts;<a name="line.70"></a>
+<span class="sourceLineNo">071</span>   private int retries = 1;<a name="line.71"></a>
+<span class="sourceLineNo">072</span>   private int redirectOnPostsTries = 5;<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   private long retryInterval = -1;<a name="line.73"></a>
+<span class="sourceLineNo">074</span>   private RetryOn retryOn;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>   private boolean ignoreErrors;<a name="line.75"></a>
+<span class="sourceLineNo">076</span>   private boolean byLines = false;<a name="line.76"></a>
+<span class="sourceLineNo">077</span>   private TeeWriter writers = new TeeWriter();<a name="line.77"></a>
+<span class="sourceLineNo">078</span>   private StringWriter capturedResponseWriter;<a name="line.78"></a>
+<span class="sourceLineNo">079</span>   private String capturedResponse;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>   private TeeOutputStream outputStreams = new TeeOutputStream();<a name="line.80"></a>
+<span class="sourceLineNo">081</span>   private boolean isClosed = false;<a name="line.81"></a>
+<span class="sourceLineNo">082</span>   private boolean isFailed = false;<a name="line.82"></a>
+<span class="sourceLineNo">083</span>   private Object input;<a name="line.83"></a>
+<span class="sourceLineNo">084</span>   private boolean hasInput;  // input() was called, even if it's setting 'null'.<a name="line.84"></a>
+<span class="sourceLineNo">085</span>   private Serializer serializer;<a name="line.85"></a>
+<span class="sourceLineNo">086</span>   private Parser parser;<a name="line.86"></a>
+<span class="sourceLineNo">087</span>   private URIBuilder uriBuilder;<a name="line.87"></a>
+<span class="sourceLineNo">088</span>   private NameValuePairs formData;<a name="line.88"></a>
+<span class="sourceLineNo">089</span><a name="line.89"></a>
+<span class="sourceLineNo">090</span>   /**<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    * Constructs a REST call with the specified method name.<a name="line.91"></a>
+<span class="sourceLineNo">092</span>    *<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    * @param client The client that created this request.<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    * @param request The wrapped Apache HTTP client request object.<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    * @param uri The URI for this call.<a name="line.95"></a>
+<span class="sourceLineNo">096</span>    * @throws RestCallException If an exception or non-200 response code occurred during the connection attempt.<a name="line.96"></a>
+<span class="sourceLineNo">097</span>    */<a name="line.97"></a>
+<span class="sourceLineNo">098</span>   protected RestCall(RestClient client, HttpRequestBase request, URI uri) throws RestCallException {<a name="line.98"></a>
+<span class="sourceLineNo">099</span>      this.client = client;<a name="line.99"></a>
+<span class="sourceLineNo">100</span>      this.request = request;<a name="line.100"></a>
+<span class="sourceLineNo">101</span>      for (RestCallInterceptor i : this.client.interceptors)<a name="line.101"></a>
+<span class="sourceLineNo">102</span>         interceptor(i);<a name="line.102"></a>
+<span class="sourceLineNo">103</span>      this.retryOn = client.retryOn;<a name="line.103"></a>
+<span class="sourceLineNo">104</span>      this.retries = client.retries;<a name="line.104"></a>
+<span class="sourceLineNo">105</span>      this.retryInterval = client.retryInterval;<a name="line.105"></a>
+<span class="sourceLineNo">106</span>      this.serializer = client.serializer;<a name="line.106"></a>
+<span class="sourceLineNo">107</span>      this.parser = client.parser;<a name="line.107"></a>
+<span class="sourceLineNo">108</span>      uriBuilder = new URIBuilder(uri);<a name="line.108"></a>
+<span class="sourceLineNo">109</span>   }<a name="line.109"></a>
+<span class="sourceLineNo">110</span><a name="line.110"></a>
+<span class="sourceLineNo">111</span>   /**<a name="line.111"></a>
+<span class="sourceLineNo">112</span>    * Sets the URI for this call.<a name="line.112"></a>
+<span class="sourceLineNo">113</span>    * &lt;p&gt;<a name="line.113"></a>
+<span class="sourceLineNo">114</span>    * Can be any of the following types:<a name="line.114"></a>
+<span class="sourceLineNo">115</span>    * &lt;ul&gt;<a name="line.115"></a>
+<span class="sourceLineNo">116</span>    *    &lt;li&gt;{@link URI}<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    *    &lt;li&gt;{@link URL}<a name="line.117"></a>
+<span class="sourceLineNo">118</span>    *    &lt;li&gt;{@link URIBuilder}<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    *    &lt;li&gt;Anything else converted to a string using {@link Object#toString()}.<a name="line.119"></a>
+<span class="sourceLineNo">120</span>    * &lt;/ul&gt;<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    * Relative URL strings will be interpreted as relative to the root URL defined on the client.<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    *<a name="line.122"></a>
+<span class="sourceLineNo">123</span>    * @param uri The URI to use for this call.<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    * This overrides the URI passed in from the client.<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    * @return This object (for method chaining).<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    * @throws RestCallException<a name="line.126"></a>
+<span class="sourceLineNo">127</span>    */<a name="line.127"></a>
+<span class="sourceLineNo">128</span>   public RestCall uri(Object uri) throws RestCallException {<a name="line.128"></a>
+<span class="sourceLineNo">129</span>      try {<a name="line.129"></a>
+<span class="sourceLineNo">130</span>         if (uri != null)<a name="line.130"></a>
+<span class="sourceLineNo">131</span>            uriBuilder = new URIBuilder(client.toURI(uri));<a name="line.131"></a>
+<span class="sourceLineNo">132</span>         return this;<a name="line.132"></a>
+<span class="sourceLineNo">133</span>      } catch (URISyntaxException e) {<a name="line.133"></a>
+<span class="sourceLineNo">134</span>         throw new RestCallException(e);<a name="line.134"></a>
+<span class="sourceLineNo">135</span>      }<a name="line.135"></a>
+<span class="sourceLineNo">136</span>   }<a name="line.136"></a>
+<span class="sourceLineNo">137</span><a name="line.137"></a>
+<span class="sourceLineNo">138</span>   /**<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    * Sets the URI scheme.<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    *<a name="line.140"></a>
+<span class="sourceLineNo">141</span>    * @param scheme The new URI host.<a name="line.141"></a>
+<span class="sourceLineNo">142</span>    * @return This object (for method chaining).<a name="line.142"></a>
+<span class="sourceLineNo">143</span>    */<a name="line.143"></a>
+<span class="sourceLineNo">144</span>   public RestCall scheme(String scheme) {<a name="line.144"></a>
+<span class="sourceLineNo">145</span>      uriBuilder.setScheme(scheme);<a name="line.145"></a>
+<span class="sourceLineNo">146</span>      return this;<a name="line.146"></a>
+<span class="sourceLineNo">147</span>   }<a name="line.147"></a>
+<span class="sourceLineNo">148</span><a name="line.148"></a>
+<span class="sourceLineNo">149</span>   /**<a name="line.149"></a>
+<span class="sourceLineNo">150</span>    * Sets the URI host.<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    *<a name="line.151"></a>
+<span class="sourceLineNo">152</span>    * @param host The new URI host.<a name="line.152"></a>
+<span class="sourceLineNo">153</span>    * @return This object (for method chaining).<a name="line.153"></a>
+<span class="sourceLineNo">154</span>    */<a name="line.154"></a>
+<span class="sourceLineNo">155</span>   public RestCall host(String host) {<a name="line.155"></a>
+<span class="sourceLineNo">156</span>      uriBuilder.setHost(host);<a name="line.156"></a>
+<span class="sourceLineNo">157</span>      return this;<a name="line.157"></a>
+<span class="sourceLineNo">158</span>   }<a name="line.158"></a>
+<span class="sourceLineNo">159</span><a name="line.159"></a>
+<span class="sourceLineNo">160</span>   /**<a name="line.160"></a>
+<span class="sourceLineNo">161</span>    * Sets the URI port.<a name="line.161"></a>
+<span class="sourceLineNo">162</span>    *<a name="line.162"></a>
+<span class="sourceLineNo">163</span>    * @param port The new URI port.<a name="line.163"></a>
+<span class="sourceLineNo">164</span>    * @return This object (for method chaining).<a name="line.164"></a>
+<span class="sourceLineNo">165</span>    */<a name="line.165"></a>
+<span class="sourceLineNo">166</span>   public RestCall port(int port) {<a name="line.166"></a>
+<span class="sourceLineNo">167</span>      uriBuilder.setPort(port);<a name="line.167"></a>
+<span class="sourceLineNo">168</span>      return this;<a name="line.168"></a>
+<span class="sourceLineNo">169</span>   }<a name="line.169"></a>
+<span class="sourceLineNo">170</span><a name="line.170"></a>
+<span class="sourceLineNo">171</span>   /**<a name="line.171"></a>
+<span class="sourceLineNo">172</span>    * Adds a query parameter to the URI query.<a name="line.172"></a>
+<span class="sourceLineNo">173</span>    *<a name="line.173"></a>
+<span class="sourceLineNo">174</span>    * @param name The parameter name.<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    * Can be null/blank if the value is a {@link Map} or {@link String}.<a name="line.175"></a>
+<span class="sourceLineNo">176</span>    * @param value The parameter value converted to a string using UON notation.<a name="line.176"></a>
+<span class="sourceLineNo">177</span>    * Can also be a {@link Map} or {@link String} if the name is null/blank.<a name="line.177"></a>
+<span class="sourceLineNo">178</span>    * If a {@link String} and the name is null/blank, then calls {@link URIBuilder#setCustomQuery(String)}.<a name="line.178"></a>
+<span class="sourceLineNo">179</span>    * @param skipIfEmpty Don't add the pair if the value is empty.<a name="line.179"></a>
+<span class="sourceLineNo">180</span>    * @return This object (for method chaining).<a name="line.180"></a>
+<span class="sourceLineNo">181</span>    */<a name="line.181"></a>
+<span class="sourceLineNo">182</span>   @SuppressWarnings("unchecked")<a name="line.182"></a>
+<span class="sourceLineNo">183</span>   public RestCall query(String name, Object value, boolean skipIfEmpty) {<a name="line.183"></a>
+<span class="sourceLineNo">184</span>      if (! isEmpty(name)) {<a name="line.184"></a>
+<span class="sourceLineNo">185</span>         if (! (isEmpty(value) &amp;&amp; skipIfEmpty))<a name="line.185"></a>
+<span class="sourceLineNo">186</span>            uriBuilder.addParameter(name, client.getUrlEncodingSerializer().serializePart(value, false, null));<a name="line.186"></a>
+<span class="sourceLineNo">187</span>      } else {<a name="line.187"></a>
+<span class="sourceLineNo">188</span>         if (value instanceof String) {<a name="line.188"></a>
+<span class="sourceLineNo">189</span>            String s = value.toString();<a name="line.189"></a>
+<span class="sourceLineNo">190</span>            if (! isEmpty(s))<a name="line.190"></a>
+<span class="sourceLineNo">191</span>               uriBuilder.setCustomQuery(s);<a name="line.191"></a>
+<span class="sourceLineNo">192</span>         } else if (value instanceof Map) {<a name="line.192"></a>
+<span class="sourceLineNo">193</span>            for (Map.Entry&lt;String,Object&gt; p : ((Map&lt;String,Object&gt;) value).entrySet())<a name="line.193"></a>
+<span class="sourceLineNo">194</span>               query(p.getKey(), p.getValue(), skipIfEmpty);<a name="line.194"></a>
+<span class="sourceLineNo">195</span>         } else {<a name="line.195"></a>
+<span class="sourceLineNo">196</span>            throw new RuntimeException("Invalid name passed to query(name,value,skipIfEmpty).");<a name="line.196"></a>
+<span class="sourceLineNo">197</span>         }<a name="line.197"></a>
+<span class="sourceLineNo">198</span>      }<a name="line.198"></a>
+<span class="sourceLineNo">199</span>      return this;<a name="line.199"></a>
+<span class="sourceLineNo">200</span>   }<a name="line.200"></a>
+<span class="sourceLineNo">201</span><a name="line.201"></a>
+<span class="sourceLineNo">202</span>   /**<a name="line.202"></a>
+<span class="sourceLineNo">203</span>    * Adds a query parameter to the URI query.<a name="line.203"></a>
+<span class="sourceLineNo">204</span>    *<a name="line.204"></a>
+<span class="sourceLineNo">205</span>    * @param name The parameter name.<a name="line.205"></a>
+<span class="sourceLineNo">206</span>    * @param value The parameter value converted to a string using UON notation.<a name="line.206"></a>
+<span class="sourceLineNo">207</span>    * @return This object (for method chaining).<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    * @throws RestCallException<a name="line.208"></a>
+<span class="sourceLineNo">209</span>    */<a name="line.209"></a>
+<span class="sourceLineNo">210</span>   public RestCall query(String name, Object value) throws RestCallException {<a name="line.210"></a>
+<span class="sourceLineNo">211</span>      return query(name, value, false);<a name="line.211"></a>
+<span class="sourceLineNo">212</span>   }<a name="line.212"></a>
+<span class="sourceLineNo">213</span><a name="line.213"></a>
+<span class="sourceLineNo">214</span>   /**<a name="line.214"></a>
+<span class="sourceLineNo">215</span>    * Adds query parameters to the URI query.<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    *<a name="line.216"></a>
+<span class="sourceLineNo">217</span>    * @param params The parameters.  Values are converted to a string using UON notation.<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    * @return This object (for method chaining).<a name="line.218"></a>
+<span class="sourceLineNo">219</span>    * @throws RestCallException<a name="line.219"></a>
+<span class="sourceLineNo">220</span>    */<a name="line.220"></a>
+<span class="sourceLineNo">221</span>   public RestCall query(Map&lt;String,Object&gt; params) throws RestCallException {<a name="line.221"></a>
+<span class="sourceLineNo">222</span>      return query(null, params);<a name="line.222"></a>
+<span class="sourceLineNo">223</span>   }<a name="line.223"></a>
+<span class="sourceLineNo">224</span><a name="line.224"></a>
+<span class="sourceLineNo">225</span>   /**<a name="line.225"></a>
+<span class="sourceLineNo">226</span>    * Adds a query parameter to the URI query if the parameter value is not &lt;jk&gt;null&lt;/jk&gt; or an empty string.<a name="line.226"></a>
+<span class="sourceLineNo">227</span>    * &lt;p&gt;<a name="line.227"></a>
+<span class="sourceLineNo">228</span>    * NE = "not empty"<a name="line.228"></a>
+<span class="sourceLineNo">229</span>    *<a name="line.229"></a>
+<span class="sourceLineNo">230</span>    * @param name The parameter name.<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    * @param value The parameter value converted to a string using UON notation.<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    * @return This object (for method chaining).<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    * @throws RestCallException<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    */<a name="line.234"></a>
+<span class="sourceLineNo">235</span>   public RestCall queryIfNE(String name, Object value) throws RestCallException {<a name="line.235"></a>
+<span class="sourceLineNo">236</span>      return query(name, value, true);<a name="line.236"></a>
+<span class="sourceLineNo">237</span>   }<a name="line.237"></a>
+<span class="sourceLineNo">238</span><a name="line.238"></a>
+<span class="sourceLineNo">239</span>   /**<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    * Adds query parameters to the URI for any parameters that aren't null/empty.<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    * &lt;p&gt;<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    * NE = "not empty"<a name="line.242"></a>
+<span class="sourceLineNo">243</span>    *<a name="line.243"></a>
+<span class="sourceLineNo">244</span>    * @param params The parameters.  Values are converted to a string using UON notation.<a name="line.244"></a>
+<span class="sourceLineNo">245</span>    * @return This object (for method chaining).<a name="line.245"></a>
+<span class="sourceLineNo">246</span>    * @throws RestCallException<a name="line.246"></a>
+<span class="sourceLineNo">247</span>    */<a name="line.247"></a>
+<span class="sourceLineNo">248</span>   public RestCall queryIfNE(Map&lt;String,Object&gt; params) throws RestCallException {<a name="line.248"></a>
+<span class="sourceLineNo">249</span>      return query(null, params, true);<a name="line.249"></a>
+<span class="sourceLineNo">250</span>   }<a name="line.250"></a>
+<span class="sourceLineNo">251</span><a name="line.251"></a>
+<span class="sourceLineNo">252</span>   /**<a name="line.252"></a>
+<span class="sourceLineNo">253</span>    * Sets a custom URI query.<a name="line.253"></a>
+<span class="sourceLineNo">254</span>    *<a name="line.254"></a>
+<span class="sourceLineNo">255</span>    * @param query The new URI query string.<a name="line.255"></a>
+<span class="sourceLineNo">256</span>    * @return This object (for method chaining).<a name="line.256"></a>
+<span class="sourceLineNo">257</span>    */<a name="line.257"></a>
+<span class="sourceLineNo">258</span>   public RestCall query(String query) {<a name="line.258"></a>
+<span class="sourceLineNo">259</span>      uriBuilder.setCustomQuery(query);<a name="line.259"></a>
+<span class="sourceLineNo">260</span>      return this;<a name="line.260"></a>
+<span class="sourceLineNo">261</span>   }<a name="line.261"></a>
+<span class="sourceLineNo">262</span><a name="line.262"></a>
+<span class="sourceLineNo">263</span>   /**<a name="line.263"></a>
+<span class="sourceLineNo">264</span>    * Adds a form data pair to this request to perform a URL-encoded form post.<a name="line.264"></a>
+<span class="sourceLineNo">265</span>    *<a name="line.265"></a>
+<span class="sourceLineNo">266</span>    * @param name The parameter name.<a name="line.266"></a>
+<span class="sourceLineNo">267</span>    * Can be null/blank if the value is a {@link Map} or {@link NameValuePairs}.<a name="line.267"></a>
+<span class="sourceLineNo">268</span>    * @param value The parameter value converted to a string using UON notation.<a name="line.268"></a>
+<span class="sourceLineNo">269</span>    * Can also be a {@link Map} or {@link NameValuePairs}.<a name="line.269"></a>
+<span class="sourceLineNo">270</span>    * @param skipIfEmpty Don't add the pair if the value is empty.<a name="line.270"></a>
+<span class="sourceLineNo">271</span>    * @return This object (for method chaining).<a name="line.271"></a>
+<span class="sourceLineNo">272</span>    */<a name="line.272"></a>
+<span class="sourceLineNo">273</span>   @SuppressWarnings("unchecked")<a name="line.273"></a>
+<span class="sourceLineNo">274</span>   public RestCall formData(String name, Object value, boolean skipIfEmpty) {<a name="line.274"></a>
+<span class="sourceLineNo">275</span>      if (formData == null)<a name="line.275"></a>
+<span class="sourceLineNo">276</span>         formData = new NameValuePairs();<a name="line.276"></a>
+<span class="sourceLineNo">277</span>      if (! isEmpty(name)) {<a name="line.277"></a>
+<span class="sourceLineNo">278</span>         if (! (isEmpty(value) &amp;&amp; skipIfEmpty))<a name="line.278"></a>
+<span class="sourceLineNo">279</span>            formData.add(new SerializedNameValuePair(name, value, client.getUrlEncodingSerializer()));<a name="line.279"></a>
+<span class="sourceLineNo">280</span>      } else {<a name="line.280"></a>
+<span class="sourceLineNo">281</span>         if (value instanceof NameValuePairs) {<a name="line.281"></a>
+<span class="sourceLineNo">282</span>            formData.addAll((NameValuePairs)value);<a name="line.282"></a>
+<span class="sourceLineNo">283</span>         } else if (value instanceof Map) {<a name="line.283"></a>
+<span class="sourceLineNo">284</span>            for (Map.Entry&lt;String,Object&gt; p : ((Map&lt;String,Object&gt;) value).entrySet())<a name="line.284"></a>
+<span class="sourceLineNo">285</span>               formData(p.getKey(), p.getValue(), skipIfEmpty);<a name="line.285"></a>
+<span class="sourceLineNo">286</span>         } else {<a name="line.286"></a>
+<span class="sourceLineNo">287</span>            throw new RuntimeException("Invalid name passed to formData(name,value,skipIfEmpty).");<a name="line.287"></a>
+<span class="sourceLineNo">288</span>         }<a name="line.288"></a>
+<span class="sourceLineNo">289</span>      }<a name="line.289"></a>
+<span class="sourceLineNo">290</span>      return this;<a name="line.290"></a>
+<span class="sourceLineNo">291</span>   }<a name="line.291"></a>
+<span class="sourceLineNo">292</span><a name="line.292"></a>
+<span class="sourceLineNo">293</span>   /**<a name="line.293"></a>
+<span class="sourceLineNo">294</span>    * Adds a form data pair to this request to perform a URL-encoded form post.<a name="line.294"></a>
+<span class="sourceLineNo">295</span>    *<a name="line.295"></a>
+<span class="sourceLineNo">296</span>    * @param name The parameter name.<a name="line.296"></a>
+<span class="sourceLineNo">297</span>    * Can be null/blank if the value is a {@link Map} or {@link NameValuePairs}.<a name="line.297"></a>
+<span class="sourceLineNo">298</span>    * @param value The parameter value converted to a string using UON notation.<a name="line.298"></a>
+<span class="sourceLineNo">299</span>    * Can also be a {@link Map} or {@link NameValuePairs}.<a name="line.299"></a>
+<span class="sourceLineNo">300</span>    * @return This object (for method chaining).<a name="line.300"></a>
+<span class="sourceLineNo">301</span>    * @throws RestCallException If name was null/blank and value wasn't a {@link Map} or {@link NameValuePairs}.<a name="line.301"></a>
+<span class="sourceLineNo">302</span>    */<a name="line.302"></a>
+<span class="sourceLineNo">303</span>   public RestCall formData(String name, Object value) throws RestCallException {<a name="line.303"></a>
+<span class="sourceLineNo">304</span>      return formData(name, value, false);<a name="line.304"></a>
+<span class="sourceLineNo">305</span>   }<a name="line.305"></a>
+<span class="sourceLineNo">306</span><a name="line.306"></a>
+<span class="sourceLineNo">307</span>   /**<a name="line.307"></a>
+<span class="sourceLineNo">308</span>    * Adds form data pairs to this request to perform a URL-encoded form post.<a name="line.308"></a>
+<span class="sourceLineNo">309</span>    *<a name="line.309"></a>
+<span class="sourceLineNo">310</span>    * @param nameValuePairs The name-value pairs of the request.<a name="line.310"></a>
+<span class="sourceLineNo">311</span>    * @return This object (for method chaining).<a name="line.311"></a>
+<span class="sourceLineNo">312</span>    * @throws RestCallException<a name="line.312"></a>
+<span class="sourceLineNo">313</span>    */<a name="line.313"></a>
+<span class="sourceLineNo">314</span>   public RestCall formData(NameValuePairs nameValuePairs) throws RestCallException {<a name="line.314"></a>
+<span class="sourceLineNo">315</span>      return formData(null, nameValuePairs);<a name="line.315"></a>
+<span class="sourceLineNo">316</span>   }<a name="line.316"></a>
+<span class="sourceLineNo">317</span><a name="line.317"></a>
+<span class="sourceLineNo">318</span>   /**<a name="line.318"></a>
+<span class="sourceLineNo">319</span>    * Adds form data pairs to this request to perform a URL-encoded form post.<a name="line.319"></a>
+<span class="sourceLineNo">320</span>    *<a name="line.320"></a>
+<span class="sourceLineNo">321</span>    * @param params The parameters.  Values are converted to a string using UON notation.<a name="line.321"></a>
+<span class="sourceLineNo">322</span>    * @return This object (for method chaining).<a name="line.322"></a>
+<span class="sourceLineNo">323</span>    * @throws RestCallException If name was null/blank and value wasn't a {@link Map} or {@link NameValuePairs}.<a name="line.323"></a>
+<span class="sourceLineNo">324</span>    */<a name="line.324"></a>
+<span class="sourceLineNo">325</span>   public RestCall formData(Map&lt;String,Object&gt; params) throws RestCallException {<a name="line.325"></a>
+<span class="sourceLineNo">326</span>      return formData(null, params);<a name="line.326"></a>
+<span class="sourceLineNo">327</span>   }<a name="line.327"></a>
+<span class="sourceLineNo">328</span><a name="line.328"></a>
+<span class="sourceLineNo">329</span>   /**<a name="line.329"></a>
+<span class="sourceLineNo">330</span>    * Adds a form data pair to the request if the parameter value is not &lt;jk&gt;null&lt;/jk&gt; or an empty string.<a name="line.330"></a>
+<span class="sourceLineNo">331</span>    * &lt;p&gt;<a name="line.331"></a>
+<span class="sourceLineNo">332</span>    * NE = "not empty"<a name="line.332"></a>
+<span class="sourceLineNo">333</span>    *<a name="line.333"></a>
+<span class="sourceLineNo">334</span>    * @param name The parameter name.<a name="line.334"></a>
+<span class="sourceLineNo">335</span>    * @param value The parameter value converted to a string using UON notation.<a name="line.335"></a>
+<span class="sourceLineNo">336</span>    * @return This object (for method chaining).<a name="line.336"></a>
+<span class="sourceLineNo">337</span>    * @throws RestCallException<a name="line.337"></a>
+<span class="sourceLineNo">338</span>    */<a name="line.338"></a>
+<span class="sourceLineNo">339</span>   public RestCall formDataIfNE(String name, Object value) throws RestCallException {<a name="line.339"></a>
+<span class="sourceLineNo">340</span>      return formData(name, value, true);<a name="line.340"></a>
+<span class="sourceLineNo">341</span>   }<a name="line.341"></a>
+<span class="sourceLineNo">342</span><a name="line.342"></a>
+<span class="sourceLineNo">343</span>   /**<a name="line.343"></a>
+<span class="sourceLineNo">344</span>    * Adds form data parameters to the request for any parameters that aren't null/empty.<a name="line.344"></a>
+<span class="sourceLineNo">345</span>    * &lt;p&gt;<a name="line.345"></a>
+<span class="sourceLineNo">346</span>    * NE = "not empty"<a name="line.346"></a>
+<span class="sourceLineNo">347</span>    *<a name="line.347"></a>
+<span class="sourceLineNo">348</span>    * @param params The parameters.  Values are converted to a string using UON notation.<a name="line.348"></a>
+<span class="sourceLineNo">349</span>    * @return This object (for method chaining).<a name="line.349"></a>
+<span class="sourceLineNo">350</span>    * @throws RestCallException<a name="line.350"></a>
 <span class="sourceLineNo">351</span>    */<a name="line.351"></a>
-<span class="sourceLineNo">352</span>   public RestCall acceptEncoding(Object value) {<a name="line.352"></a>
-<span class="sourceLineNo">353</span>      return header("Accept-Encoding", value);<a name="line.353"></a>
+<span class="sourceLineNo">352</span>   public RestCall formDataIfNE(Map&lt;String,Object&gt; params) throws RestCallException {<a name="line.352"></a>
+<span class="sourceLineNo">353</span>      return formData(null, params, true);<a name="line.353"></a>
 <span class="sourceLineNo">354</span>   }<a name="line.354"></a>
 <span class="sourceLineNo">355</span><a name="line.355"></a>
 <span class="sourceLineNo">356</span>   /**<a name="line.356"></a>
-<span class="sourceLineNo">357</span>    * Sets the value for the &lt;code&gt;Accept-Language&lt;/code&gt; request header.<a name="line.357"></a>
-<span class="sourceLineNo">358</span>    * &lt;p&gt;<a name="line.358"></a>
-<span class="sourceLineNo">359</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Accept-Language"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.359"></a>
-<span class="sourceLineNo">360</span>    *<a name="line.360"></a>
-<span class="sourceLineNo">361</span>    * @param value The new header value.<a name="line.361"></a>
-<span class="sourceLineNo">362</span>    * @return This object (for method chaining).<a name="line.362"></a>
-<span class="sourceLineNo">363</span>    */<a name="line.363"></a>
-<span class="sourceLineNo">364</span>   public RestCall acceptLanguage(Object value) {<a name="line.364"></a>
-<span class="sourceLineNo">365</span>      return header("Accept-Language", value);<a name="line.365"></a>
-<span class="sourceLineNo">366</span>   }<a name="line.366"></a>
-<span class="sourceLineNo">367</span><a name="line.367"></a>
-<span class="sourceLineNo">368</span>   /**<a name="line.368"></a>
-<span class="sourceLineNo">369</span>    * Sets the value for the &lt;code&gt;Authorization&lt;/code&gt; request header.<a name="line.369"></a>
-<span class="sourceLineNo">370</span>    * &lt;p&gt;<a name="line.370"></a>
-<span class="sourceLineNo">371</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Authorization"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.371"></a>
-<span class="sourceLineNo">372</span>    *<a name="line.372"></a>
-<span class="sourceLineNo">373</span>    * @param value The new header value.<a name="line.373"></a>
-<span class="sourceLineNo">374</span>    * @return This object (for method chaining).<a name="line.374"></a>
-<span class="sourceLineNo">375</span>    */<a name="line.375"></a>
-<span class="sourceLineNo">376</span>   public RestCall authorization(Object value) {<a name="line.376"></a>
-<span class="sourceLineNo">377</span>      return header("Authorization", value);<a name="line.377"></a>
-<span class="sourceLineNo">378</span>   }<a name="line.378"></a>
-<span class="sourceLineNo">379</span><a name="line.379"></a>
-<span class="sourceLineNo">380</span>   /**<a name="line.380"></a>
-<span class="sourceLineNo">381</span>    * Sets the value for the &lt;code&gt;Cache-Control&lt;/code&gt; request header.<a name="line.381"></a>
-<span class="sourceLineNo">382</span>    * &lt;p&gt;<a name="line.382"></a>
-<span class="sourceLineNo">383</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Cache-Control"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.383"></a>
-<span class="sourceLineNo">384</span>    *<a name="line.384"></a>
-<span class="sourceLineNo">385</span>    * @param value The new header value.<a name="line.385"></a>
-<span class="sourceLineNo">386</span>    * @return This object (for method chaining).<a name="line.386"></a>
-<span class="sourceLineNo">387</span>    */<a name="line.387"></a>
-<span class="sourceLineNo">388</span>   public RestCall cacheControl(Object value) {<a name="line.388"></a>
-<span class="sourceLineNo">389</span>      return header("Cache-Control", value);<a name="line.389"></a>
-<span class="sourceLineNo">390</span>   }<a name="line.390"></a>
-<span class="sourceLineNo">391</span><a name="line.391"></a>
-<span class="sourceLineNo">392</span>   /**<a name="line.392"></a>
-<span class="sourceLineNo">393</span>    * Sets the value for the &lt;code&gt;Connection&lt;/code&gt; request header.<a name="line.393"></a>
-<span class="sourceLineNo">394</span>    * &lt;p&gt;<a name="line.394"></a>
-<span class="sourceLineNo">395</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Connection"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.395"></a>
-<span class="sourceLineNo">396</span>    *<a name="line.396"></a>
-<span class="sourceLineNo">397</span>    * @param value The new header value.<a name="line.397"></a>
-<span class="sourceLineNo">398</span>    * @return This object (for method chaining).<a name="line.398"></a>
-<span class="sourceLineNo">399</span>    */<a name="line.399"></a>
-<span class="sourceLineNo">400</span>   public RestCall connection(Object value) {<a name="line.400"></a>
-<span class="sourceLineNo">401</span>      return header("Connection", value);<a name="line.401"></a>
-<span class="sourceLineNo">402</span>   }<a name="line.402"></a>
-<span class="sourceLineNo">403</span><a name="line.403"></a>
-<span class="sourceLineNo">404</span>   /**<a name="line.404"></a>
-<span class="sourceLineNo">405</span>    * Sets the value for the &lt;code&gt;Content-Length&lt;/code&gt; request header.<a name="line.405"></a>
-<span class="sourceLineNo">406</span>    * &lt;p&gt;<a name="line.406"></a>
-<span class="sourceLineNo">407</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Content-Length"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.407"></a>
-<span class="sourceLineNo">408</span>    *<a name="line.408"></a>
-<span class="sourceLineNo">409</span>    * @param value The new header value.<a name="line.409"></a>
-<span class="sourceLineNo">410</span>    * @return This object (for method chaining).<a name="line.410"></a>
-<span class="sourceLineNo">411</span>    */<a name="line.411"></a>
-<span class="sourceLineNo">412</span>   public RestCall contentLength(Object value) {<a name="line.412"></a>
-<span class="sourceLineNo">413</span>      return header("Content-Length", value);<a name="line.413"></a>
-<span class="sourceLineNo">414</span>   }<a name="line.414"></a>
-<span class="sourceLineNo">415</span><a name="line.415"></a>
-<span class="sourceLineNo">416</span>   /**<a name="line.416"></a>
-<span class="sourceLineNo">417</span>    * Sets the value for the &lt;code&gt;Content-Type&lt;/code&gt; request header.<a name="line.417"></a>
-<span class="sourceLineNo">418</span>    * &lt;p&gt;<a name="line.418"></a>
-<span class="sourceLineNo">419</span>    * This overrides the media type specified on the serializer, but is overridden by calling &lt;code&gt;header(&lt;js&gt;"Content-Type"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.419"></a>
-<span class="sourceLineNo">420</span>    *<a name="line.420"></a>
-<span class="sourceLineNo">421</span>    * @param value The new header value.<a name="line.421"></a>
-<span class="sourceLineNo">422</span>    * @return This object (for method chaining).<a name="line.422"></a>
-<span class="sourceLineNo">423</span>    */<a name="line.423"></a>
-<span class="sourceLineNo">424</span>   public RestCall contentType(Object value) {<a name="line.424"></a>
-<span class="sourceLineNo">425</span>      return header("Content-Type", value);<a name="line.425"></a>
-<span class="sourceLineNo">426</span>   }<a name="line.426"></a>
-<span class="sourceLineNo">427</span><a name="line.427"></a>
-<span class="sourceLineNo">428</span>   /**<a name="line.428"></a>
-<span class="sourceLineNo">429</span>    * Sets the value for the &lt;code&gt;Date&lt;/code&gt; request header.<a name="line.429"></a>
-<span class="sourceLineNo">430</span>    * &lt;p&gt;<a name="line.430"></a>
-<span class="sourceLineNo">431</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Date"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.431"></a>
-<span class="sourceLineNo">432</span>    *<a name="line.432"></a>
-<span class="sourceLineNo">433</span>    * @param value The new header value.<a name="line.433"></a>
-<span class="sourceLineNo">434</span>    * @return This object (for method chaining).<a name="line.434"></a>
-<span class="sourceLineNo">435</span>    */<a name="line.435"></a>
-<span class="sourceLineNo">436</span>   public RestCall date(Object value) {<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      return header("Date", value);<a name="line.437"></a>
-<span class="sourceLineNo">438</span>   }<a name="line.438"></a>
-<span class="sourceLineNo">439</span><a name="line.439"></a>
-<span class="sourceLineNo">440</span>   /**<a name="line.440"></a>
-<span class="sourceLineNo">441</span>    * Sets the value for the &lt;code&gt;Expect&lt;/code&gt; request header.<a name="line.441"></a>
-<span class="sourceLineNo">442</span>    * &lt;p&gt;<a name="line.442"></a>
-<span class="sourceLineNo">443</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Expect"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.443"></a>
-<span class="sourceLineNo">444</span>    *<a name="line.444"></a>
-<span class="sourceLineNo">445</span>    * @param value The new header value.<a name="line.445"></a>
-<span class="sourceLineNo">446</span>    * @return This object (for method chaining).<a name="line.446"></a>
-<span class="sourceLineNo">447</span>    */<a name="line.447"></a>
-<span class="sourceLineNo">448</span>   public RestCall expect(Object value) {<a name="line.448"></a>
-<span class="sourceLineNo">449</span>      return header("Expect", value);<a name="line.449"></a>
-<span class="sourceLineNo">450</span>   }<a name="line.450"></a>
-<span class="sourceLineNo">451</span><a name="line.451"></a>
-<span class="sourceLineNo">452</span>   /**<a name="line.452"></a>
-<span class="sourceLineNo">453</span>    * Sets the value for the &lt;code&gt;Forwarded&lt;/code&gt; request header.<a name="line.453"></a>
-<span class="sourceLineNo">454</span>    * &lt;p&gt;<a name="line.454"></a>
-<span class="sourceLineNo">455</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Forwarded"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.455"></a>
-<span class="sourceLineNo">456</span>    *<a name="line.456"></a>
-<span class="sourceLineNo">457</span>    * @param value The new header value.<a name="line.457"></a>
-<span class="sourceLineNo">458</span>    * @return This object (for method chaining).<a name="line.458"></a>
-<span class="sourceLineNo">459</span>    */<a name="line.459"></a>
-<span class="sourceLineNo">460</span>   public RestCall forwarded(Object value) {<a name="line.460"></a>
-<span class="sourceLineNo">461</span>      return header("Forwarded", value);<a name="line.461"></a>
-<span class="sourceLineNo">462</span>   }<a name="line.462"></a>
-<span class="sourceLineNo">463</span><a name="line.463"></a>
-<span class="sourceLineNo">464</span>   /**<a name="line.464"></a>
-<span class="sourceLineNo">465</span>    * Sets the value for the &lt;code&gt;From&lt;/code&gt; request header.<a name="line.465"></a>
-<span class="sourceLineNo">466</span>    * &lt;p&gt;<a name="line.466"></a>
-<span class="sourceLineNo">467</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"From"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.467"></a>
-<span class="sourceLineNo">468</span>    *<a name="line.468"></a>
-<span class="sourceLineNo">469</span>    * @param value The new header value.<a name="line.469"></a>
-<span class="sourceLineNo">470</span>    * @return This object (for method chaining).<a name="line.470"></a>
-<span class="sourceLineNo">471</span>    */<a name="line.471"></a>
-<span class="sourceLineNo">472</span>   public RestCall from(Object value) {<a name="line.472"></a>
-<span class="sourceLineNo">473</span>      return header("From", value);<a name="line.473"></a>
-<span class="sourceLineNo">474</span>   }<a name="line.474"></a>
-<span class="sourceLineNo">475</span><a name="line.475"></a>
-<span class="sourceLineNo">476</span>   /**<a name="line.476"></a>
-<span class="sourceLineNo">477</span>    * Sets the value for the &lt;code&gt;Host&lt;/code&gt; request header.<a name="line.477"></a>
-<span class="sourceLineNo">478</span>    * &lt;p&gt;<a name="line.478"></a>
-<span class="sourceLineNo">479</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Host"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.479"></a>
-<span class="sourceLineNo">480</span>    *<a name="line.480"></a>
-<span class="sourceLineNo">481</span>    * @param value The new header value.<a name="line.481"></a>
-<span class="sourceLineNo">482</span>    * @return This object (for method chaining).<a name="line.482"></a>
-<span class="sourceLineNo">483</span>    */<a name="line.483"></a>
-<span class="sourceLineNo">484</span>   public RestCall host(Object value) {<a name="line.484"></a>
-<span class="sourceLineNo">485</span>      return header("Host", value);<a name="line.485"></a>
-<span class="sourceLineNo">486</span>   }<a name="line.486"></a>
-<span class="sourceLineNo">487</span><a name="line.487"></a>
-<span class="sourceLineNo">488</span>   /**<a name="line.488"></a>
-<span class="sourceLineNo">489</span>    * Sets the value for the &lt;code&gt;If-Match&lt;/code&gt; request header.<a name="line.489"></a>
-<span class="sourceLineNo">490</span>    * &lt;p&gt;<a name="line.490"></a>
-<span class="sourceLineNo">491</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"If-Match"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.491"></a>
-<span class="sourceLineNo">492</span>    *<a name="line.492"></a>
-<span class="sourceLineNo">493</span>    * @param value The new header value.<a name="line.493"></a>
-<span class="sourceLineNo">494</span>    * @return This object (for method chaining).<a name="line.494"></a>
-<span class="sourceLineNo">495</span>    */<a name="line.495"></a>
-<span class="sourceLineNo">496</span>   public RestCall ifMatch(Object value) {<a name="line.496"></a>
-<span class="sourceLineNo">497</span>      return header("If-Match", value);<a name="line.497"></a>
-<span class="sourceLineNo">498</span>   }<a name="line.498"></a>
-<span class="sourceLineNo">499</span><a name="line.499"></a>
-<span class="sourceLineNo">500</span>   /**<a name="line.500"></a>
-<span class="sourceLineNo">501</span>    * Sets the value for the &lt;code&gt;If-Modified-Since&lt;/code&gt; request header.<a name="line.501"></a>
-<span class="sourceLineNo">502</span>    * &lt;p&gt;<a name="line.502"></a>
-<span class="sourceLineNo">503</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"If-Modified-Since"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.503"></a>
-<span class="sourceLineNo">504</span>    *<a name="line.504"></a>
-<span class="sourceLineNo">505</span>    * @param value The new header value.<a name="line.505"></a>
-<span class="sourceLineNo">506</span>    * @return This object (for method chaining).<a name="line.506"></a>
-<span class="sourceLineNo">507</span>    */<a name="line.507"></a>
-<span class="sourceLineNo">508</span>   public RestCall ifModifiedSince(Object value) {<a name="line.508"></a>
-<span class="sourceLineNo">509</span>      return header("If-Modified-Since", value);<a name="line.509"></a>
-<span class="sourceLineNo">510</span>   }<a name="line.510"></a>
-<span class="sourceLineNo">511</span><a name="line.511"></a>
-<span class="sourceLineNo">512</span>   /**<a name="line.512"></a>
-<span class="sourceLineNo">513</span>    * Sets the value for the &lt;code&gt;If-None-Match&lt;/code&gt; request header.<a name="line.513"></a>
-<span class="sourceLineNo">514</span>    * &lt;p&gt;<a name="line.514"></a>
-<span class="sourceLineNo">515</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"If-None-Match"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.515"></a>
-<span class="sourceLineNo">516</span>    *<a name="line.516"></a>
-<span class="sourceLineNo">517</span>    * @param value The new header value.<a name="line.517"></a>
-<span class="sourceLineNo">518</span>    * @return This object (for method chaining).<a name="line.518"></a>
-<span class="sourceLineNo">519</span>    */<a name="line.519"></a>
-<span class="sourceLineNo">520</span>   public RestCall ifNoneMatch(Object value) {<a name="line.520"></a>
-<span class="sourceLineNo">521</span>      return header("If-None-Match", value);<a name="line.521"></a>
-<span class="sourceLineNo">522</span>   }<a name="line.522"></a>
-<span class="sourceLineNo">523</span><a name="line.523"></a>
-<span class="sourceLineNo">524</span>   /**<a name="line.524"></a>
-<span class="sourceLineNo">525</span>    * Sets the value for the &lt;code&gt;If-Range&lt;/code&gt; request header.<a name="line.525"></a>
-<span class="sourceLineNo">526</span>    * &lt;p&gt;<a name="line.526"></a>
-<span class="sourceLineNo">527</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"If-Range"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.527"></a>
-<span class="sourceLineNo">528</span>    *<a name="line.528"></a>
-<span class="sourceLineNo">529</span>    * @param value The new header value.<a name="line.529"></a>
-<span class="sourceLineNo">530</span>    * @return This object (for method chaining).<a name="line.530"></a>
-<span class="sourceLineNo">531</span>    */<a name="line.531"></a>
-<span class="sourceLineNo">532</span>   public RestCall ifRange(Object value) {<a name="line.532"></a>
-<span class="sourceLineNo">533</span>      return header("If-Range", value);<a name="line.533"></a>
-<span class="sourceLineNo">534</span>   }<a name="line.534"></a>
-<span class="sourceLineNo">535</span><a name="line.535"></a>
-<span class="sourceLineNo">536</span>   /**<a name="line.536"></a>
-<span class="sourceLineNo">537</span>    * Sets the value for the &lt;code&gt;If-Unmodified-Since&lt;/code&gt; request header.<a name="line.537"></a>
-<span class="sourceLineNo">538</span>    * &lt;p&gt;<a name="line.538"></a>
-<span class="sourceLineNo">539</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"If-Unmodified-Since"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.539"></a>
-<span class="sourceLineNo">540</span>    *<a name="line.540"></a>
-<span class="sourceLineNo">541</span>    * @param value The new header value.<a name="line.541"></a>
-<span class="sourceLineNo">542</span>    * @return This object (for method chaining).<a name="line.542"></a>
-<span class="sourceLineNo">543</span>    */<a name="line.543"></a>
-<span class="sourceLineNo">544</span>   public RestCall ifUnmodifiedSince(Object value) {<a name="line.544"></a>
-<span class="sourceLineNo">545</span>      return header("If-Unmodified-Since", value);<a name="line.545"></a>
-<span class="sourceLineNo">546</span>   }<a name="line.546"></a>
-<span class="sourceLineNo">547</span><a name="line.547"></a>
-<span class="sourceLineNo">548</span>   /**<a name="line.548"></a>
-<span class="sourceLineNo">549</span>    * Sets the value for the &lt;code&gt;Max-Forwards&lt;/code&gt; request header.<a name="line.549"></a>
-<span class="sourceLineNo">550</span>    * &lt;p&gt;<a name="line.550"></a>
-<span class="sourceLineNo">551</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Max-Forwards"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.551"></a>
-<span class="sourceLineNo">552</span>    *<a name="line.552"></a>
-<span class="sourceLineNo">553</span>    * @param value The new header value.<a name="line.553"></a>
-<span class="sourceLineNo">554</span>    * @return This object (for method chaining).<a name="line.554"></a>
-<span class="sourceLineNo">555</span>    */<a name="line.555"></a>
-<span class="sourceLineNo">556</span>   public RestCall maxForwards(Object value) {<a name="line.556"></a>
-<span class="sourceLineNo">557</span>      return header("If-Unmodified-Since", value);<a name="line.557"></a>
-<span class="sourceLineNo">558</span>   }<a name="line.558"></a>
-<span class="sourceLineNo">559</span><a name="line.559"></a>
-<span class="sourceLineNo">560</span>   /**<a name="line.560"></a>
-<span class="sourceLineNo">561</span>    * Sets the value for the &lt;code&gt;Origin&lt;/code&gt; request header.<a name="line.561"></a>
-<span class="sourceLineNo">562</span>    * &lt;p&gt;<a name="line.562"></a>
-<span class="sourceLineNo">563</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Origin"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.563"></a>
-<span class="sourceLineNo">564</span>    *<a name="line.564"></a>
-<span class="sourceLineNo">565</span>    * @param value The new header value.<a name="line.565"></a>
-<span class="sourceLineNo">566</span>    * @return This object (for method chaining).<a name="line.566"></a>
-<span class="sourceLineNo">567</span>    */<a name="line.567"></a>
-<span class="sourceLineNo">568</span>   public RestCall origin(Object value) {<a name="line.568"></a>
-<span class="sourceLineNo">569</span>      return header("If-Unmodified-Since", value);<a name="line.569"></a>
-<span class="sourceLineNo">570</span>   }<a name="line.570"></a>
-<span class="sourceLineNo">571</span><a name="line.571"></a>
-<span class="sourceLineNo">572</span>   /**<a name="line.572"></a>
-<span class="sourceLineNo">573</span>    * Sets the value for the &lt;code&gt;Pragma&lt;/code&gt; request header.<a name="line.573"></a>
-<span class="sourceLineNo">574</span>    * &lt;p&gt;<a name="line.574"></a>
-<span class="sourceLineNo">575</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Pragma"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.575"></a>
-<span class="sourceLineNo">576</span>    *<a name="line.576"></a>
-<span class="sourceLineNo">577</span>    * @param value The new header value.<a name="line.577"></a>
-<span class="sourceLineNo">578</span>    * @return This object (for method chaining).<a name="line.578"></a>
-<span class="sourceLineNo">579</span>    */<a name="line.579"></a>
-<span class="sourceLineNo">580</span>   public RestCall pragma(Object value) {<a name="line.580"></a>
-<span class="sourceLineNo">581</span>      return header("Pragma", value);<a name="line.581"></a>
-<span class="sourceLineNo">582</span>   }<a name="line.582"></a>
-<span class="sourceLineNo">583</span><a name="line.583"></a>
-<span class="sourceLineNo">584</span>   /**<a name="line.584"></a>
-<span class="sourceLineNo">585</span>    * Sets the value for the &lt;code&gt;Proxy-Authorization&lt;/code&gt; request header.<a name="line.585"></a>
-<span class="sourceLineNo">586</span>    * &lt;p&gt;<a name="line.586"></a>
-<span class="sourceLineNo">587</span>    * This is a shortcut for calling &lt;code&gt;header(&lt;js&gt;"Proxy-Authorization"&lt;/js&gt;, value);&lt;/code&gt;<a name="line.587"></a>
-<span class="sourceLineNo">588</span>    *<a name="line.588"></a>
-<span class="sourceLineNo">589</span>    * @param value The new header

<TRUNCATED>


[08/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestRequestEntity.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestRequestEntity.html b/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestRequestEntity.html
index b4a6294..023195b 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestRequestEntity.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/client/RestRequestEntity.html
@@ -62,38 +62,40 @@
 <span class="sourceLineNo">054</span>            } else if (! serializer.isWriterSerializer()) {<a name="line.54"></a>
 <span class="sourceLineNo">055</span>               OutputStreamSerializer s2 = (OutputStreamSerializer)serializer;<a name="line.55"></a>
 <span class="sourceLineNo">056</span>               s2.serialize(output, os);<a name="line.56"></a>
-<span class="sourceLineNo">057</span>               os.close();<a name="line.57"></a>
-<span class="sourceLineNo">058</span>            } else {<a name="line.58"></a>
-<span class="sourceLineNo">059</span>               Writer w = new OutputStreamWriter(os, IOUtils.UTF8);<a name="line.59"></a>
-<span class="sourceLineNo">060</span>               WriterSerializer s2 = (WriterSerializer)serializer;<a name="line.60"></a>
-<span class="sourceLineNo">061</span>               s2.serialize(output, w);<a name="line.61"></a>
-<span class="sourceLineNo">062</span>               w.close();<a name="line.62"></a>
-<span class="sourceLineNo">063</span>            }<a name="line.63"></a>
-<span class="sourceLineNo">064</span>         } catch (SerializeException e) {<a name="line.64"></a>
-<span class="sourceLineNo">065</span>            throw new org.apache.juneau.rest.client.RestCallException(e);<a name="line.65"></a>
-<span class="sourceLineNo">066</span>         }<a name="line.66"></a>
-<span class="sourceLineNo">067</span>      }<a name="line.67"></a>
-<span class="sourceLineNo">068</span>   }<a name="line.68"></a>
-<span class="sourceLineNo">069</span><a name="line.69"></a>
-<span class="sourceLineNo">070</span>   @Override /* BasicHttpEntity */<a name="line.70"></a>
-<span class="sourceLineNo">071</span>   public boolean isRepeatable() {<a name="line.71"></a>
-<span class="sourceLineNo">072</span>      return true;<a name="line.72"></a>
-<span class="sourceLineNo">073</span>   }<a name="line.73"></a>
-<span class="sourceLineNo">074</span><a name="line.74"></a>
-<span class="sourceLineNo">075</span>   @Override /* BasicHttpEntity */<a name="line.75"></a>
-<span class="sourceLineNo">076</span>   public InputStream getContent() {<a name="line.76"></a>
-<span class="sourceLineNo">077</span>      if (outputBytes == null) {<a name="line.77"></a>
-<span class="sourceLineNo">078</span>         ByteArrayOutputStream baos = new ByteArrayOutputStream();<a name="line.78"></a>
-<span class="sourceLineNo">079</span>         try {<a name="line.79"></a>
-<span class="sourceLineNo">080</span>            writeTo(baos);<a name="line.80"></a>
-<span class="sourceLineNo">081</span>            outputBytes = baos.toByteArray();<a name="line.81"></a>
-<span class="sourceLineNo">082</span>         } catch (IOException e) {<a name="line.82"></a>
-<span class="sourceLineNo">083</span>            throw new RuntimeException(e);<a name="line.83"></a>
-<span class="sourceLineNo">084</span>         }<a name="line.84"></a>
-<span class="sourceLineNo">085</span>      }<a name="line.85"></a>
-<span class="sourceLineNo">086</span>      return new ByteArrayInputStream(outputBytes);<a name="line.86"></a>
-<span class="sourceLineNo">087</span>   }<a name="line.87"></a>
-<span class="sourceLineNo">088</span>}<a name="line.88"></a>
+<span class="sourceLineNo">057</span>               os.flush();<a name="line.57"></a>
+<span class="sourceLineNo">058</span>               os.close();<a name="line.58"></a>
+<span class="sourceLineNo">059</span>            } else {<a name="line.59"></a>
+<span class="sourceLineNo">060</span>               Writer w = new OutputStreamWriter(os, IOUtils.UTF8);<a name="line.60"></a>
+<span class="sourceLineNo">061</span>               WriterSerializer s2 = (WriterSerializer)serializer;<a name="line.61"></a>
+<span class="sourceLineNo">062</span>               s2.serialize(output, w);<a name="line.62"></a>
+<span class="sourceLineNo">063</span>               w.flush();<a name="line.63"></a>
+<span class="sourceLineNo">064</span>               w.close();<a name="line.64"></a>
+<span class="sourceLineNo">065</span>            }<a name="line.65"></a>
+<span class="sourceLineNo">066</span>         } catch (SerializeException e) {<a name="line.66"></a>
+<span class="sourceLineNo">067</span>            throw new org.apache.juneau.rest.client.RestCallException(e);<a name="line.67"></a>
+<span class="sourceLineNo">068</span>         }<a name="line.68"></a>
+<span class="sourceLineNo">069</span>      }<a name="line.69"></a>
+<span class="sourceLineNo">070</span>   }<a name="line.70"></a>
+<span class="sourceLineNo">071</span><a name="line.71"></a>
+<span class="sourceLineNo">072</span>   @Override /* BasicHttpEntity */<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   public boolean isRepeatable() {<a name="line.73"></a>
+<span class="sourceLineNo">074</span>      return true;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>   }<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span>   @Override /* BasicHttpEntity */<a name="line.77"></a>
+<span class="sourceLineNo">078</span>   public InputStream getContent() {<a name="line.78"></a>
+<span class="sourceLineNo">079</span>      if (outputBytes == null) {<a name="line.79"></a>
+<span class="sourceLineNo">080</span>         ByteArrayOutputStream baos = new ByteArrayOutputStream();<a name="line.80"></a>
+<span class="sourceLineNo">081</span>         try {<a name="line.81"></a>
+<span class="sourceLineNo">082</span>            writeTo(baos);<a name="line.82"></a>
+<span class="sourceLineNo">083</span>            outputBytes = baos.toByteArray();<a name="line.83"></a>
+<span class="sourceLineNo">084</span>         } catch (IOException e) {<a name="line.84"></a>
+<span class="sourceLineNo">085</span>            throw new RuntimeException(e);<a name="line.85"></a>
+<span class="sourceLineNo">086</span>         }<a name="line.86"></a>
+<span class="sourceLineNo">087</span>      }<a name="line.87"></a>
+<span class="sourceLineNo">088</span>      return new ByteArrayInputStream(outputBytes);<a name="line.88"></a>
+<span class="sourceLineNo">089</span>   }<a name="line.89"></a>
+<span class="sourceLineNo">090</span>}<a name="line.90"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/client/RetryOn.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/client/RetryOn.html b/content/site/apidocs/src-html/org/apache/juneau/rest/client/RetryOn.html
index c52ce00..b0819da 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/client/RetryOn.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/client/RetryOn.html
@@ -20,39 +20,57 @@
 <span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
 <span class="sourceLineNo">013</span>package org.apache.juneau.rest.client;<a name="line.13"></a>
 <span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>/**<a name="line.15"></a>
-<span class="sourceLineNo">016</span> * Used to determine whether a request should be retried based on the HTTP response code.<a name="line.16"></a>
-<span class="sourceLineNo">017</span> */<a name="line.17"></a>
-<span class="sourceLineNo">018</span>public interface RetryOn {<a name="line.18"></a>
-<span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>   /**<a name="line.20"></a>
-<span class="sourceLineNo">021</span>    * Default RetryOn that returns &lt;jk&gt;true&lt;/jk&gt; of any HTTP response &amp;gt;= 400 is received.<a name="line.21"></a>
-<span class="sourceLineNo">022</span>    */<a name="line.22"></a>
-<span class="sourceLineNo">023</span>   public static final RetryOn DEFAULT = new RetryOn() {<a name="line.23"></a>
-<span class="sourceLineNo">024</span>      @Override /* RetryOn */<a name="line.24"></a>
-<span class="sourceLineNo">025</span>      public boolean onCode(int httpResponseCode) {<a name="line.25"></a>
-<span class="sourceLineNo">026</span>         return httpResponseCode &lt;= 0 || httpResponseCode &gt;= 400;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>      }<a name="line.27"></a>
-<span class="sourceLineNo">028</span>   };<a name="line.28"></a>
-<span class="sourceLineNo">029</span><a name="line.29"></a>
-<span class="sourceLineNo">030</span>   /**<a name="line.30"></a>
-<span class="sourceLineNo">031</span>    * Default RetryOn that returns &lt;jk&gt;true&lt;/jk&gt; if the HTTP connection could not be made.<a name="line.31"></a>
-<span class="sourceLineNo">032</span>    */<a name="line.32"></a>
-<span class="sourceLineNo">033</span>   public static final RetryOn CONNECTION_LOST = new RetryOn() {<a name="line.33"></a>
-<span class="sourceLineNo">034</span>      @Override /* RetryOn */<a name="line.34"></a>
-<span class="sourceLineNo">035</span>      public boolean onCode(int httpResponseCode) {<a name="line.35"></a>
-<span class="sourceLineNo">036</span>         return httpResponseCode &lt;= 0;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>      }<a name="line.37"></a>
-<span class="sourceLineNo">038</span>   };<a name="line.38"></a>
-<span class="sourceLineNo">039</span><a name="line.39"></a>
-<span class="sourceLineNo">040</span>   /**<a name="line.40"></a>
-<span class="sourceLineNo">041</span>    * Subclasses should override this method to determine whether the HTTP response is retryable.<a name="line.41"></a>
-<span class="sourceLineNo">042</span>    *<a name="line.42"></a>
-<span class="sourceLineNo">043</span>    * @param httpResponseCode The HTTP response code.<a name="line.43"></a>
-<span class="sourceLineNo">044</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified response code is retryable.<a name="line.44"></a>
-<span class="sourceLineNo">045</span>    */<a name="line.45"></a>
-<span class="sourceLineNo">046</span>   boolean onCode(int httpResponseCode);<a name="line.46"></a>
-<span class="sourceLineNo">047</span>}<a name="line.47"></a>
+<span class="sourceLineNo">015</span>import org.apache.http.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>/**<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * Used to determine whether a request should be retried based on the HTTP response code.<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * &lt;p&gt;<a name="line.19"></a>
+<span class="sourceLineNo">020</span> * Subclasses should override either the {@link #onCode(int)} method (if you only care about<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * the HTTP status code) or {@link #onResponse(HttpResponse)} (if you want full access to<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * the HTTP response object.<a name="line.22"></a>
+<span class="sourceLineNo">023</span> */<a name="line.23"></a>
+<span class="sourceLineNo">024</span>public abstract class RetryOn {<a name="line.24"></a>
+<span class="sourceLineNo">025</span><a name="line.25"></a>
+<span class="sourceLineNo">026</span>   /**<a name="line.26"></a>
+<span class="sourceLineNo">027</span>    * Default RetryOn that returns &lt;jk&gt;true&lt;/jk&gt; of any HTTP response &amp;gt;= 400 is received.<a name="line.27"></a>
+<span class="sourceLineNo">028</span>    */<a name="line.28"></a>
+<span class="sourceLineNo">029</span>   public static final RetryOn DEFAULT = new RetryOn() {<a name="line.29"></a>
+<span class="sourceLineNo">030</span>      @Override /* RetryOn */<a name="line.30"></a>
+<span class="sourceLineNo">031</span>      public boolean onCode(int httpResponseCode) {<a name="line.31"></a>
+<span class="sourceLineNo">032</span>         return httpResponseCode &lt;= 0 || httpResponseCode &gt;= 400;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>      }<a name="line.33"></a>
+<span class="sourceLineNo">034</span>   };<a name="line.34"></a>
+<span class="sourceLineNo">035</span><a name="line.35"></a>
+<span class="sourceLineNo">036</span>   /**<a name="line.36"></a>
+<span class="sourceLineNo">037</span>    * Default RetryOn that returns &lt;jk&gt;true&lt;/jk&gt; if the HTTP connection could not be made.<a name="line.37"></a>
+<span class="sourceLineNo">038</span>    */<a name="line.38"></a>
+<span class="sourceLineNo">039</span>   public static final RetryOn CONNECTION_LOST = new RetryOn() {<a name="line.39"></a>
+<span class="sourceLineNo">040</span>      @Override /* RetryOn */<a name="line.40"></a>
+<span class="sourceLineNo">041</span>      public boolean onCode(int httpResponseCode) {<a name="line.41"></a>
+<span class="sourceLineNo">042</span>         return httpResponseCode &lt;= 0;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>      }<a name="line.43"></a>
+<span class="sourceLineNo">044</span>   };<a name="line.44"></a>
+<span class="sourceLineNo">045</span><a name="line.45"></a>
+<span class="sourceLineNo">046</span>   /**<a name="line.46"></a>
+<span class="sourceLineNo">047</span>    * Subclasses should override this method to determine whether the HTTP response is retryable.<a name="line.47"></a>
+<span class="sourceLineNo">048</span>    *<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    * @param response The HTTP response object.  May be &lt;jk&gt;null&lt;/jk&gt; if a connection could not be made.<a name="line.49"></a>
+<span class="sourceLineNo">050</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified response code is retryable.<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    */<a name="line.51"></a>
+<span class="sourceLineNo">052</span>   protected boolean onResponse(HttpResponse response) {<a name="line.52"></a>
+<span class="sourceLineNo">053</span>      return onCode(response == null || response.getStatusLine() == null ? -1 : response.getStatusLine().getStatusCode());<a name="line.53"></a>
+<span class="sourceLineNo">054</span>   }<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span>   /**<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    * Subclasses should override this method to determine whether the HTTP response is retryable.<a name="line.57"></a>
+<span class="sourceLineNo">058</span>    *<a name="line.58"></a>
+<span class="sourceLineNo">059</span>    * @param httpResponseCode The HTTP response code.  &lt;code&gt;-1&lt;/code&gt; if a connection could not be made.<a name="line.59"></a>
+<span class="sourceLineNo">060</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified response code is retryable.<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    */<a name="line.61"></a>
+<span class="sourceLineNo">062</span>   protected boolean onCode(int httpResponseCode) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span>      return false;<a name="line.63"></a>
+<span class="sourceLineNo">064</span>   }<a name="line.64"></a>
+<span class="sourceLineNo">065</span>}<a name="line.65"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/client/SerializedNameValuePair.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/client/SerializedNameValuePair.html b/content/site/apidocs/src-html/org/apache/juneau/rest/client/SerializedNameValuePair.html
index b82a2b0..4c69aee 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/client/SerializedNameValuePair.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/client/SerializedNameValuePair.html
@@ -20,76 +20,49 @@
 <span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
 <span class="sourceLineNo">013</span>package org.apache.juneau.rest.client;<a name="line.13"></a>
 <span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import static org.apache.juneau.uon.UonSerializerContext.*;<a name="line.15"></a>
-<span class="sourceLineNo">016</span><a name="line.16"></a>
-<span class="sourceLineNo">017</span>import java.io.*;<a name="line.17"></a>
-<span class="sourceLineNo">018</span><a name="line.18"></a>
-<span class="sourceLineNo">019</span>import org.apache.http.*;<a name="line.19"></a>
-<span class="sourceLineNo">020</span>import org.apache.juneau.*;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import org.apache.juneau.uon.*;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import org.apache.juneau.urlencoding.*;<a name="line.22"></a>
-<span class="sourceLineNo">023</span><a name="line.23"></a>
-<span class="sourceLineNo">024</span>/**<a name="line.24"></a>
-<span class="sourceLineNo">025</span> * Subclass of {@link NameValuePair} for serializing POJOs as URL-encoded form post entries<a name="line.25"></a>
-<span class="sourceLineNo">026</span> *    using the {@link UrlEncodingSerializer class}.<a name="line.26"></a>
-<span class="sourceLineNo">027</span> *<a name="line.27"></a>
-<span class="sourceLineNo">028</span> * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.28"></a>
-<span class="sourceLineNo">029</span> * &lt;p class='bcode'&gt;<a name="line.29"></a>
-<span class="sourceLineNo">030</span> *    NameValuePairs params = &lt;jk&gt;new&lt;/jk&gt; NameValuePairs()<a name="line.30"></a>
-<span class="sourceLineNo">031</span> *       .append(&lt;jk&gt;new&lt;/jk&gt; SerializedNameValuePair(&lt;js&gt;"myPojo"&lt;/js&gt;, pojo, UrlEncodingSerializer.&lt;jsf&gt;DEFAULT_SIMPLE&lt;/jsf&gt;))<a name="line.31"></a>
-<span class="sourceLineNo">032</span> *       .append(&lt;jk&gt;new&lt;/jk&gt; BasicNameValuePair(&lt;js&gt;"someOtherParam"&lt;/js&gt;, &lt;js&gt;"foobar"&lt;/js&gt;));<a name="line.32"></a>
-<span class="sourceLineNo">033</span> *    request.setEntity(&lt;jk&gt;new&lt;/jk&gt; UrlEncodedFormEntity(params));<a name="line.33"></a>
-<span class="sourceLineNo">034</span> * &lt;/p&gt;<a name="line.34"></a>
-<span class="sourceLineNo">035</span> */<a name="line.35"></a>
-<span class="sourceLineNo">036</span>public final class SerializedNameValuePair implements NameValuePair {<a name="line.36"></a>
-<span class="sourceLineNo">037</span>   private String name;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>   private Object value;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>   private UrlEncodingSerializer serializer;<a name="line.39"></a>
-<span class="sourceLineNo">040</span><a name="line.40"></a>
-<span class="sourceLineNo">041</span>   // We must be sure to disable character encoding since it's done in the http client layer.<a name="line.41"></a>
-<span class="sourceLineNo">042</span>   private static final ObjectMap op = new ObjectMap().append(UON_encodeChars, false);<a name="line.42"></a>
-<span class="sourceLineNo">043</span><a name="line.43"></a>
-<span class="sourceLineNo">044</span>   /**<a name="line.44"></a>
-<span class="sourceLineNo">045</span>    * Constructor.<a name="line.45"></a>
-<span class="sourceLineNo">046</span>    *<a name="line.46"></a>
-<span class="sourceLineNo">047</span>    * @param name The parameter name.<a name="line.47"></a>
-<span class="sourceLineNo">048</span>    * @param value The POJO to serialize to the parameter value.<a name="line.48"></a>
-<span class="sourceLineNo">049</span>    * @param serializer The serializer to use to convert the value to a string.<a name="line.49"></a>
-<span class="sourceLineNo">050</span>    */<a name="line.50"></a>
-<span class="sourceLineNo">051</span>   public SerializedNameValuePair(String name, Object value, UrlEncodingSerializer serializer) {<a name="line.51"></a>
-<span class="sourceLineNo">052</span>      this.name = name;<a name="line.52"></a>
-<span class="sourceLineNo">053</span>      this.value = value;<a name="line.53"></a>
-<span class="sourceLineNo">054</span>      this.serializer = serializer;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>   }<a name="line.55"></a>
-<span class="sourceLineNo">056</span><a name="line.56"></a>
-<span class="sourceLineNo">057</span>   @Override /* NameValuePair */<a name="line.57"></a>
-<span class="sourceLineNo">058</span>   public String getName() {<a name="line.58"></a>
-<span class="sourceLineNo">059</span>      if (name != null &amp;&amp; name.length() &gt; 0) {<a name="line.59"></a>
-<span class="sourceLineNo">060</span>         char c = name.charAt(0);<a name="line.60"></a>
-<span class="sourceLineNo">061</span>         if (c == '$' || c == '(') {<a name="line.61"></a>
-<span class="sourceLineNo">062</span>            try {<a name="line.62"></a>
-<span class="sourceLineNo">063</span>               UonSerializerSession s = serializer.createSession(new StringWriter(), op, null, null, null, MediaType.UON);<a name="line.63"></a>
-<span class="sourceLineNo">064</span>               serializer.serialize(s, name);<a name="line.64"></a>
-<span class="sourceLineNo">065</span>               return s.getWriter().toString();<a name="line.65"></a>
-<span class="sourceLineNo">066</span>            } catch (Exception e) {<a name="line.66"></a>
-<span class="sourceLineNo">067</span>               throw new RuntimeException(e);<a name="line.67"></a>
-<span class="sourceLineNo">068</span>            }<a name="line.68"></a>
-<span class="sourceLineNo">069</span>         }<a name="line.69"></a>
-<span class="sourceLineNo">070</span>      }<a name="line.70"></a>
-<span class="sourceLineNo">071</span>      return name;<a name="line.71"></a>
-<span class="sourceLineNo">072</span>   }<a name="line.72"></a>
-<span class="sourceLineNo">073</span><a name="line.73"></a>
-<span class="sourceLineNo">074</span>   @Override /* NameValuePair */<a name="line.74"></a>
-<span class="sourceLineNo">075</span>   public String getValue() {<a name="line.75"></a>
-<span class="sourceLineNo">076</span>      try {<a name="line.76"></a>
-<span class="sourceLineNo">077</span>         UonSerializerSession s = serializer.createSession(new StringWriter(), op, null, null, null, MediaType.UON);<a name="line.77"></a>
-<span class="sourceLineNo">078</span>         serializer.serialize(s, value);<a name="line.78"></a>
-<span class="sourceLineNo">079</span>         return s.getWriter().toString();<a name="line.79"></a>
-<span class="sourceLineNo">080</span>      } catch (Exception e) {<a name="line.80"></a>
-<span class="sourceLineNo">081</span>         throw new RuntimeException(e);<a name="line.81"></a>
-<span class="sourceLineNo">082</span>      }<a name="line.82"></a>
-<span class="sourceLineNo">083</span>   }<a name="line.83"></a>
-<span class="sourceLineNo">084</span>}<a name="line.84"></a>
+<span class="sourceLineNo">015</span>import org.apache.http.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span>import org.apache.juneau.urlencoding.*;<a name="line.16"></a>
+<span class="sourceLineNo">017</span><a name="line.17"></a>
+<span class="sourceLineNo">018</span>/**<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * Subclass of {@link NameValuePair} for serializing POJOs as URL-encoded form post entries<a name="line.19"></a>
+<span class="sourceLineNo">020</span> *    using the {@link UrlEncodingSerializer class}.<a name="line.20"></a>
+<span class="sourceLineNo">021</span> *<a name="line.21"></a>
+<span class="sourceLineNo">022</span> * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * &lt;p class='bcode'&gt;<a name="line.23"></a>
+<span class="sourceLineNo">024</span> *    NameValuePairs params = &lt;jk&gt;new&lt;/jk&gt; NameValuePairs()<a name="line.24"></a>
+<span class="sourceLineNo">025</span> *       .append(&lt;jk&gt;new&lt;/jk&gt; SerializedNameValuePair(&lt;js&gt;"myPojo"&lt;/js&gt;, pojo, UrlEncodingSerializer.&lt;jsf&gt;DEFAULT_SIMPLE&lt;/jsf&gt;))<a name="line.25"></a>
+<span class="sourceLineNo">026</span> *       .append(&lt;jk&gt;new&lt;/jk&gt; BasicNameValuePair(&lt;js&gt;"someOtherParam"&lt;/js&gt;, &lt;js&gt;"foobar"&lt;/js&gt;));<a name="line.26"></a>
+<span class="sourceLineNo">027</span> *    request.setEntity(&lt;jk&gt;new&lt;/jk&gt; UrlEncodedFormEntity(params));<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * &lt;/p&gt;<a name="line.28"></a>
+<span class="sourceLineNo">029</span> */<a name="line.29"></a>
+<span class="sourceLineNo">030</span>public final class SerializedNameValuePair implements NameValuePair {<a name="line.30"></a>
+<span class="sourceLineNo">031</span>   private String name;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>   private Object value;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>   private UrlEncodingSerializer serializer;<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span>   /**<a name="line.35"></a>
+<span class="sourceLineNo">036</span>    * Constructor.<a name="line.36"></a>
+<span class="sourceLineNo">037</span>    *<a name="line.37"></a>
+<span class="sourceLineNo">038</span>    * @param name The parameter name.<a name="line.38"></a>
+<span class="sourceLineNo">039</span>    * @param value The POJO to serialize to the parameter value.<a name="line.39"></a>
+<span class="sourceLineNo">040</span>    * @param serializer The serializer to use to convert the value to a string.<a name="line.40"></a>
+<span class="sourceLineNo">041</span>    */<a name="line.41"></a>
+<span class="sourceLineNo">042</span>   public SerializedNameValuePair(String name, Object value, UrlEncodingSerializer serializer) {<a name="line.42"></a>
+<span class="sourceLineNo">043</span>      this.name = name;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>      this.value = value;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>      this.serializer = serializer;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>   }<a name="line.46"></a>
+<span class="sourceLineNo">047</span><a name="line.47"></a>
+<span class="sourceLineNo">048</span>   @Override /* NameValuePair */<a name="line.48"></a>
+<span class="sourceLineNo">049</span>   public String getName() {<a name="line.49"></a>
+<span class="sourceLineNo">050</span>      return serializer.serializePart(name, false, null);<a name="line.50"></a>
+<span class="sourceLineNo">051</span>   }<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span>   @Override /* NameValuePair */<a name="line.53"></a>
+<span class="sourceLineNo">054</span>   public String getValue() {<a name="line.54"></a>
+<span class="sourceLineNo">055</span>      return serializer.serializePart(value, false, null);<a name="line.55"></a>
+<span class="sourceLineNo">056</span>   }<a name="line.56"></a>
+<span class="sourceLineNo">057</span>}<a name="line.57"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/labels/ResourceDescription.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/labels/ResourceDescription.html b/content/site/apidocs/src-html/org/apache/juneau/rest/labels/ResourceDescription.html
index 8fad78c..66b7e08 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/labels/ResourceDescription.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/labels/ResourceDescription.html
@@ -20,98 +20,100 @@
 <span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
 <span class="sourceLineNo">013</span>package org.apache.juneau.rest.labels;<a name="line.13"></a>
 <span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import org.apache.juneau.dto.*;<a name="line.15"></a>
-<span class="sourceLineNo">016</span>import org.apache.juneau.rest.*;<a name="line.16"></a>
-<span class="sourceLineNo">017</span><a name="line.17"></a>
-<span class="sourceLineNo">018</span>/**<a name="line.18"></a>
-<span class="sourceLineNo">019</span> * Shortcut label for child resources.  Typically used in router resources.<a name="line.19"></a>
-<span class="sourceLineNo">020</span> *<a name="line.20"></a>
-<span class="sourceLineNo">021</span> * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.21"></a>
-<span class="sourceLineNo">022</span> * &lt;p class='bcode'&gt;<a name="line.22"></a>
-<span class="sourceLineNo">023</span> *    &lt;jc&gt;// Instead of this...&lt;/jc&gt;<a name="line.23"></a>
-<span class="sourceLineNo">024</span> *    &lt;jk&gt;new&lt;/jk&gt; NameDescription(&lt;jk&gt;new&lt;/jk&gt; Link(&lt;js&gt;"httpTool"&lt;/js&gt;, uri + &lt;js&gt;"/httpTool"&lt;/js&gt;), &lt;js&gt;"HTTP request test client"&lt;/js&gt;);<a name="line.24"></a>
-<span class="sourceLineNo">025</span> *<a name="line.25"></a>
-<span class="sourceLineNo">026</span> *    &lt;jc&gt;// ...use this simpler equivalent...&lt;/jc&gt;<a name="line.26"></a>
-<span class="sourceLineNo">027</span> *    &lt;jk&gt;new&lt;/jk&gt; ResourceLink(uri, &lt;js&gt;"httpTool"&lt;/js&gt;, &lt;js&gt;"HTTP request test client"&lt;/js&gt;);<a name="line.27"></a>
-<span class="sourceLineNo">028</span> * &lt;/p&gt;<a name="line.28"></a>
-<span class="sourceLineNo">029</span> */<a name="line.29"></a>
-<span class="sourceLineNo">030</span>public final class ResourceDescription extends NameDescription implements Comparable&lt;ResourceDescription&gt; {<a name="line.30"></a>
-<span class="sourceLineNo">031</span><a name="line.31"></a>
-<span class="sourceLineNo">032</span>   /**<a name="line.32"></a>
-<span class="sourceLineNo">033</span>    * Constructor.<a name="line.33"></a>
-<span class="sourceLineNo">034</span>    *<a name="line.34"></a>
-<span class="sourceLineNo">035</span>    * @param rootUrl The root URI of the child resource (e.g. the URI of the parent resource).<a name="line.35"></a>
-<span class="sourceLineNo">036</span>    * Must not end with &lt;js&gt;'/'&lt;/js&gt;.<a name="line.36"></a>
-<span class="sourceLineNo">037</span>    * Must be URL-Encoded.<a name="line.37"></a>
-<span class="sourceLineNo">038</span>    * @param name The name of the child resource.<a name="line.38"></a>
-<span class="sourceLineNo">039</span>    * This will be URL-encoded and appended onto the root URL to create the hyperlink for the resource.<a name="line.39"></a>
-<span class="sourceLineNo">040</span>    * @param description The description of the child resource.<a name="line.40"></a>
-<span class="sourceLineNo">041</span>    */<a name="line.41"></a>
-<span class="sourceLineNo">042</span>   public ResourceDescription(String rootUrl, String name, String description) {<a name="line.42"></a>
-<span class="sourceLineNo">043</span>      super(new Link(name, (rootUrl.equals("/") || rootUrl.isEmpty() ? "/" : rootUrl + "/") + RestUtils.encode(name)), description);<a name="line.43"></a>
-<span class="sourceLineNo">044</span>   }<a name="line.44"></a>
-<span class="sourceLineNo">045</span><a name="line.45"></a>
-<span class="sourceLineNo">046</span>   /**<a name="line.46"></a>
-<span class="sourceLineNo">047</span>    * Constructor for resources that are children of a REST resource.<a name="line.47"></a>
-<span class="sourceLineNo">048</span>    *<a name="line.48"></a>
-<span class="sourceLineNo">049</span>    * @param req The HTTP request.<a name="line.49"></a>
-<span class="sourceLineNo">050</span>    * @param childPath The childPath The path of the child resource relative to the servlet.<a name="line.50"></a>
-<span class="sourceLineNo">051</span>    * @param description The description of the child resource.<a name="line.51"></a>
-<span class="sourceLineNo">052</span>    */<a name="line.52"></a>
-<span class="sourceLineNo">053</span>   public ResourceDescription(RestRequest req, String childPath, String description) {<a name="line.53"></a>
-<span class="sourceLineNo">054</span>      super(new Link(calcName(childPath), calcHref(req, childPath)), description);<a name="line.54"></a>
-<span class="sourceLineNo">055</span>   }<a name="line.55"></a>
-<span class="sourceLineNo">056</span><a name="line.56"></a>
-<span class="sourceLineNo">057</span>   private static String calcName(String childPath) {<a name="line.57"></a>
-<span class="sourceLineNo">058</span>      return RestUtils.decode(childPath.indexOf('/') == -1 ? childPath : childPath.substring(childPath.lastIndexOf('/')+1));<a name="line.58"></a>
-<span class="sourceLineNo">059</span>   }<a name="line.59"></a>
-<span class="sourceLineNo">060</span><a name="line.60"></a>
-<span class="sourceLineNo">061</span>   private static String calcHref(RestRequest req, String childPath) {<a name="line.61"></a>
-<span class="sourceLineNo">062</span>      return req.getServletURIBuilder().append('/').append(childPath).toString();<a name="line.62"></a>
-<span class="sourceLineNo">063</span>   }<a name="line.63"></a>
-<span class="sourceLineNo">064</span><a name="line.64"></a>
-<span class="sourceLineNo">065</span>   /**<a name="line.65"></a>
-<span class="sourceLineNo">066</span>    * Constructor.<a name="line.66"></a>
-<span class="sourceLineNo">067</span>    *<a name="line.67"></a>
-<span class="sourceLineNo">068</span>    * @param name The name of the child resource.<a name="line.68"></a>
-<span class="sourceLineNo">069</span>    * @param description The description of the child resource.<a name="line.69"></a>
-<span class="sourceLineNo">070</span>    */<a name="line.70"></a>
-<span class="sourceLineNo">071</span>   public ResourceDescription(String name, String description) {<a name="line.71"></a>
-<span class="sourceLineNo">072</span>      super(new Link(name, name), description);<a name="line.72"></a>
-<span class="sourceLineNo">073</span>   }<a name="line.73"></a>
-<span class="sourceLineNo">074</span><a name="line.74"></a>
-<span class="sourceLineNo">075</span>   /** No-arg constructor.  Used for JUnit testing of OPTIONS pages. */<a name="line.75"></a>
-<span class="sourceLineNo">076</span>   public ResourceDescription() {}<a name="line.76"></a>
-<span class="sourceLineNo">077</span><a name="line.77"></a>
-<span class="sourceLineNo">078</span>   @Override /* NameDescription */<a name="line.78"></a>
-<span class="sourceLineNo">079</span>   public Link getName() {<a name="line.79"></a>
-<span class="sourceLineNo">080</span>      return (Link)super.getName();<a name="line.80"></a>
-<span class="sourceLineNo">081</span>   }<a name="line.81"></a>
-<span class="sourceLineNo">082</span><a name="line.82"></a>
-<span class="sourceLineNo">083</span>   /**<a name="line.83"></a>
-<span class="sourceLineNo">084</span>    * Overridden setter.<a name="line.84"></a>
-<span class="sourceLineNo">085</span>    *<a name="line.85"></a>
-<span class="sourceLineNo">086</span>    * @param name The new name.<a name="line.86"></a>
-<span class="sourceLineNo">087</span>    */<a name="line.87"></a>
-<span class="sourceLineNo">088</span>   public void setName(Link name) {<a name="line.88"></a>
-<span class="sourceLineNo">089</span>      super.setName(name);<a name="line.89"></a>
-<span class="sourceLineNo">090</span>   }<a name="line.90"></a>
-<span class="sourceLineNo">091</span><a name="line.91"></a>
-<span class="sourceLineNo">092</span>   @Override /* Comparable */<a name="line.92"></a>
-<span class="sourceLineNo">093</span>   public int compareTo(ResourceDescription o) {<a name="line.93"></a>
-<span class="sourceLineNo">094</span>      return getName().compareTo(o.getName());<a name="line.94"></a>
-<span class="sourceLineNo">095</span>   }<a name="line.95"></a>
-<span class="sourceLineNo">096</span><a name="line.96"></a>
-<span class="sourceLineNo">097</span>   @Override /* Object */<a name="line.97"></a>
-<span class="sourceLineNo">098</span>   public boolean equals(Object o) {<a name="line.98"></a>
-<span class="sourceLineNo">099</span>      return (o instanceof ResourceDescription) &amp;&amp; ((ResourceDescription)o).getName().equals(getName());<a name="line.99"></a>
-<span class="sourceLineNo">100</span>   }<a name="line.100"></a>
-<span class="sourceLineNo">101</span><a name="line.101"></a>
-<span class="sourceLineNo">102</span>   @Override /* Object */<a name="line.102"></a>
-<span class="sourceLineNo">103</span>   public int hashCode() {<a name="line.103"></a>
-<span class="sourceLineNo">104</span>      return getName().hashCode();<a name="line.104"></a>
-<span class="sourceLineNo">105</span>   }<a name="line.105"></a>
-<span class="sourceLineNo">106</span>}<a name="line.106"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.dto.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span>import org.apache.juneau.rest.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>/**<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * Shortcut label for child resources.  Typically used in router resources.<a name="line.21"></a>
+<span class="sourceLineNo">022</span> *<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * &lt;p class='bcode'&gt;<a name="line.24"></a>
+<span class="sourceLineNo">025</span> *    &lt;jc&gt;// Instead of this...&lt;/jc&gt;<a name="line.25"></a>
+<span class="sourceLineNo">026</span> *    &lt;jk&gt;new&lt;/jk&gt; NameDescription(&lt;jk&gt;new&lt;/jk&gt; Link(&lt;js&gt;"httpTool"&lt;/js&gt;, uri + &lt;js&gt;"/httpTool"&lt;/js&gt;), &lt;js&gt;"HTTP request test client"&lt;/js&gt;);<a name="line.26"></a>
+<span class="sourceLineNo">027</span> *<a name="line.27"></a>
+<span class="sourceLineNo">028</span> *    &lt;jc&gt;// ...use this simpler equivalent...&lt;/jc&gt;<a name="line.28"></a>
+<span class="sourceLineNo">029</span> *    &lt;jk&gt;new&lt;/jk&gt; ResourceLink(uri, &lt;js&gt;"httpTool"&lt;/js&gt;, &lt;js&gt;"HTTP request test client"&lt;/js&gt;);<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * &lt;/p&gt;<a name="line.30"></a>
+<span class="sourceLineNo">031</span> */<a name="line.31"></a>
+<span class="sourceLineNo">032</span>public final class ResourceDescription extends NameDescription implements Comparable&lt;ResourceDescription&gt; {<a name="line.32"></a>
+<span class="sourceLineNo">033</span><a name="line.33"></a>
+<span class="sourceLineNo">034</span>   /**<a name="line.34"></a>
+<span class="sourceLineNo">035</span>    * Constructor.<a name="line.35"></a>
+<span class="sourceLineNo">036</span>    *<a name="line.36"></a>
+<span class="sourceLineNo">037</span>    * @param rootUrl The root URI of the child resource (e.g. the URI of the parent resource).<a name="line.37"></a>
+<span class="sourceLineNo">038</span>    * Must not end with &lt;js&gt;'/'&lt;/js&gt;.<a name="line.38"></a>
+<span class="sourceLineNo">039</span>    * Must be URL-Encoded.<a name="line.39"></a>
+<span class="sourceLineNo">040</span>    * @param name The name of the child resource.<a name="line.40"></a>
+<span class="sourceLineNo">041</span>    * This will be URL-encoded and appended onto the root URL to create the hyperlink for the resource.<a name="line.41"></a>
+<span class="sourceLineNo">042</span>    * @param description The description of the child resource.<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    */<a name="line.43"></a>
+<span class="sourceLineNo">044</span>   public ResourceDescription(String rootUrl, String name, String description) {<a name="line.44"></a>
+<span class="sourceLineNo">045</span>      super(new Link(name, (rootUrl.equals("/") || rootUrl.isEmpty() ? "/" : rootUrl + "/") + urlEncode(name)), description);<a name="line.45"></a>
+<span class="sourceLineNo">046</span>   }<a name="line.46"></a>
+<span class="sourceLineNo">047</span><a name="line.47"></a>
+<span class="sourceLineNo">048</span>   /**<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    * Constructor for resources that are children of a REST resource.<a name="line.49"></a>
+<span class="sourceLineNo">050</span>    *<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    * @param req The HTTP request.<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    * @param childPath The childPath The path of the child resource relative to the servlet.<a name="line.52"></a>
+<span class="sourceLineNo">053</span>    * @param description The description of the child resource.<a name="line.53"></a>
+<span class="sourceLineNo">054</span>    */<a name="line.54"></a>
+<span class="sourceLineNo">055</span>   public ResourceDescription(RestRequest req, String childPath, String description) {<a name="line.55"></a>
+<span class="sourceLineNo">056</span>      super(new Link(calcName(childPath), calcHref(req, childPath)), description);<a name="line.56"></a>
+<span class="sourceLineNo">057</span>   }<a name="line.57"></a>
+<span class="sourceLineNo">058</span><a name="line.58"></a>
+<span class="sourceLineNo">059</span>   private static String calcName(String childPath) {<a name="line.59"></a>
+<span class="sourceLineNo">060</span>      return urlDecode(childPath.indexOf('/') == -1 ? childPath : childPath.substring(childPath.lastIndexOf('/')+1));<a name="line.60"></a>
+<span class="sourceLineNo">061</span>   }<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span>   private static String calcHref(RestRequest req, String childPath) {<a name="line.63"></a>
+<span class="sourceLineNo">064</span>      return req.getServletURIBuilder().append('/').append(childPath).toString();<a name="line.64"></a>
+<span class="sourceLineNo">065</span>   }<a name="line.65"></a>
+<span class="sourceLineNo">066</span><a name="line.66"></a>
+<span class="sourceLineNo">067</span>   /**<a name="line.67"></a>
+<span class="sourceLineNo">068</span>    * Constructor.<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    *<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    * @param name The name of the child resource.<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    * @param description The description of the child resource.<a name="line.71"></a>
+<span class="sourceLineNo">072</span>    */<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   public ResourceDescription(String name, String description) {<a name="line.73"></a>
+<span class="sourceLineNo">074</span>      super(new Link(name, name), description);<a name="line.74"></a>
+<span class="sourceLineNo">075</span>   }<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span>   /** No-arg constructor.  Used for JUnit testing of OPTIONS pages. */<a name="line.77"></a>
+<span class="sourceLineNo">078</span>   public ResourceDescription() {}<a name="line.78"></a>
+<span class="sourceLineNo">079</span><a name="line.79"></a>
+<span class="sourceLineNo">080</span>   @Override /* NameDescription */<a name="line.80"></a>
+<span class="sourceLineNo">081</span>   public Link getName() {<a name="line.81"></a>
+<span class="sourceLineNo">082</span>      return (Link)super.getName();<a name="line.82"></a>
+<span class="sourceLineNo">083</span>   }<a name="line.83"></a>
+<span class="sourceLineNo">084</span><a name="line.84"></a>
+<span class="sourceLineNo">085</span>   /**<a name="line.85"></a>
+<span class="sourceLineNo">086</span>    * Overridden setter.<a name="line.86"></a>
+<span class="sourceLineNo">087</span>    *<a name="line.87"></a>
+<span class="sourceLineNo">088</span>    * @param name The new name.<a name="line.88"></a>
+<span class="sourceLineNo">089</span>    */<a name="line.89"></a>
+<span class="sourceLineNo">090</span>   public void setName(Link name) {<a name="line.90"></a>
+<span class="sourceLineNo">091</span>      super.setName(name);<a name="line.91"></a>
+<span class="sourceLineNo">092</span>   }<a name="line.92"></a>
+<span class="sourceLineNo">093</span><a name="line.93"></a>
+<span class="sourceLineNo">094</span>   @Override /* Comparable */<a name="line.94"></a>
+<span class="sourceLineNo">095</span>   public int compareTo(ResourceDescription o) {<a name="line.95"></a>
+<span class="sourceLineNo">096</span>      return getName().compareTo(o.getName());<a name="line.96"></a>
+<span class="sourceLineNo">097</span>   }<a name="line.97"></a>
+<span class="sourceLineNo">098</span><a name="line.98"></a>
+<span class="sourceLineNo">099</span>   @Override /* Object */<a name="line.99"></a>
+<span class="sourceLineNo">100</span>   public boolean equals(Object o) {<a name="line.100"></a>
+<span class="sourceLineNo">101</span>      return (o instanceof ResourceDescription) &amp;&amp; ((ResourceDescription)o).getName().equals(getName());<a name="line.101"></a>
+<span class="sourceLineNo">102</span>   }<a name="line.102"></a>
+<span class="sourceLineNo">103</span><a name="line.103"></a>
+<span class="sourceLineNo">104</span>   @Override /* Object */<a name="line.104"></a>
+<span class="sourceLineNo">105</span>   public int hashCode() {<a name="line.105"></a>
+<span class="sourceLineNo">106</span>      return getName().hashCode();<a name="line.106"></a>
+<span class="sourceLineNo">107</span>   }<a name="line.107"></a>
+<span class="sourceLineNo">108</span>}<a name="line.108"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/labels/ResourceLink.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/labels/ResourceLink.html b/content/site/apidocs/src-html/org/apache/juneau/rest/labels/ResourceLink.html
index 141e7ff..b1ef0e8 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/labels/ResourceLink.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/labels/ResourceLink.html
@@ -20,58 +20,60 @@
 <span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
 <span class="sourceLineNo">013</span>package org.apache.juneau.rest.labels;<a name="line.13"></a>
 <span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import java.text.*;<a name="line.15"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.15"></a>
 <span class="sourceLineNo">016</span><a name="line.16"></a>
-<span class="sourceLineNo">017</span>import org.apache.juneau.dto.*;<a name="line.17"></a>
-<span class="sourceLineNo">018</span>import org.apache.juneau.rest.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>/**<a name="line.20"></a>
-<span class="sourceLineNo">021</span> * A simple link to a child of a parent resource.<a name="line.21"></a>
-<span class="sourceLineNo">022</span> */<a name="line.22"></a>
-<span class="sourceLineNo">023</span>public class ResourceLink extends Link {<a name="line.23"></a>
-<span class="sourceLineNo">024</span><a name="line.24"></a>
-<span class="sourceLineNo">025</span>   /**<a name="line.25"></a>
-<span class="sourceLineNo">026</span>    * Constructor.<a name="line.26"></a>
-<span class="sourceLineNo">027</span>    *<a name="line.27"></a>
-<span class="sourceLineNo">028</span>    * @param req The HTTP request from the parent resource.<a name="line.28"></a>
-<span class="sourceLineNo">029</span>    * @param childPath The child resource path.<a name="line.29"></a>
-<span class="sourceLineNo">030</span>    * @param args Optional {@link MessageFormat}-style arguments.<a name="line.30"></a>
-<span class="sourceLineNo">031</span>    */<a name="line.31"></a>
-<span class="sourceLineNo">032</span>   public ResourceLink(RestRequest req, String childPath, Object...args) {<a name="line.32"></a>
-<span class="sourceLineNo">033</span>      super(getName(getPath(childPath,args)), getHref(req, getPath(childPath,args)));<a name="line.33"></a>
-<span class="sourceLineNo">034</span>   }<a name="line.34"></a>
-<span class="sourceLineNo">035</span><a name="line.35"></a>
-<span class="sourceLineNo">036</span>   /**<a name="line.36"></a>
-<span class="sourceLineNo">037</span>    * Constructor.<a name="line.37"></a>
-<span class="sourceLineNo">038</span>    *<a name="line.38"></a>
-<span class="sourceLineNo">039</span>    * @param label The label for the link.<a name="line.39"></a>
-<span class="sourceLineNo">040</span>    * @param req The HTTP request from the parent resource.<a name="line.40"></a>
-<span class="sourceLineNo">041</span>    * @param childPath The child resource path.<a name="line.41"></a>
-<span class="sourceLineNo">042</span>    * @param args Optional {@link MessageFormat}-style arguments.<a name="line.42"></a>
-<span class="sourceLineNo">043</span>    */<a name="line.43"></a>
-<span class="sourceLineNo">044</span>   public ResourceLink(String label, RestRequest req, String childPath, Object...args) {<a name="line.44"></a>
-<span class="sourceLineNo">045</span>      super(label, getHref(req, getPath(childPath,args)));<a name="line.45"></a>
-<span class="sourceLineNo">046</span>   }<a name="line.46"></a>
-<span class="sourceLineNo">047</span><a name="line.47"></a>
-<span class="sourceLineNo">048</span>   private static String getName(String childPath) {<a name="line.48"></a>
-<span class="sourceLineNo">049</span>      String s = childPath;<a name="line.49"></a>
-<span class="sourceLineNo">050</span>      if (childPath.indexOf('/') == -1)<a name="line.50"></a>
-<span class="sourceLineNo">051</span>         s = childPath;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>      else<a name="line.52"></a>
-<span class="sourceLineNo">053</span>         s = childPath.substring(childPath.lastIndexOf('/')+1);<a name="line.53"></a>
-<span class="sourceLineNo">054</span>      return RestUtils.decode(s);<a name="line.54"></a>
-<span class="sourceLineNo">055</span>   }<a name="line.55"></a>
-<span class="sourceLineNo">056</span><a name="line.56"></a>
-<span class="sourceLineNo">057</span>   private static String getHref(RestRequest req, String childPath) {<a name="line.57"></a>
-<span class="sourceLineNo">058</span>      return req.getServletURIBuilder().append('/').append(childPath).toString();<a name="line.58"></a>
-<span class="sourceLineNo">059</span>   }<a name="line.59"></a>
-<span class="sourceLineNo">060</span><a name="line.60"></a>
-<span class="sourceLineNo">061</span>   private static String getPath(String childPath, Object...args) {<a name="line.61"></a>
-<span class="sourceLineNo">062</span>      if (args.length &gt; 0)<a name="line.62"></a>
-<span class="sourceLineNo">063</span>         childPath = MessageFormat.format(childPath, args);<a name="line.63"></a>
-<span class="sourceLineNo">064</span>      return childPath;<a name="line.64"></a>
-<span class="sourceLineNo">065</span>   }<a name="line.65"></a>
-<span class="sourceLineNo">066</span>}<a name="line.66"></a>
+<span class="sourceLineNo">017</span>import java.text.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>import org.apache.juneau.dto.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import org.apache.juneau.rest.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>/**<a name="line.22"></a>
+<span class="sourceLineNo">023</span> * A simple link to a child of a parent resource.<a name="line.23"></a>
+<span class="sourceLineNo">024</span> */<a name="line.24"></a>
+<span class="sourceLineNo">025</span>public class ResourceLink extends Link {<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span>   /**<a name="line.27"></a>
+<span class="sourceLineNo">028</span>    * Constructor.<a name="line.28"></a>
+<span class="sourceLineNo">029</span>    *<a name="line.29"></a>
+<span class="sourceLineNo">030</span>    * @param req The HTTP request from the parent resource.<a name="line.30"></a>
+<span class="sourceLineNo">031</span>    * @param childPath The child resource path.<a name="line.31"></a>
+<span class="sourceLineNo">032</span>    * @param args Optional {@link MessageFormat}-style arguments.<a name="line.32"></a>
+<span class="sourceLineNo">033</span>    */<a name="line.33"></a>
+<span class="sourceLineNo">034</span>   public ResourceLink(RestRequest req, String childPath, Object...args) {<a name="line.34"></a>
+<span class="sourceLineNo">035</span>      super(getName(getPath(childPath,args)), getHref(req, getPath(childPath,args)));<a name="line.35"></a>
+<span class="sourceLineNo">036</span>   }<a name="line.36"></a>
+<span class="sourceLineNo">037</span><a name="line.37"></a>
+<span class="sourceLineNo">038</span>   /**<a name="line.38"></a>
+<span class="sourceLineNo">039</span>    * Constructor.<a name="line.39"></a>
+<span class="sourceLineNo">040</span>    *<a name="line.40"></a>
+<span class="sourceLineNo">041</span>    * @param label The label for the link.<a name="line.41"></a>
+<span class="sourceLineNo">042</span>    * @param req The HTTP request from the parent resource.<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    * @param childPath The child resource path.<a name="line.43"></a>
+<span class="sourceLineNo">044</span>    * @param args Optional {@link MessageFormat}-style arguments.<a name="line.44"></a>
+<span class="sourceLineNo">045</span>    */<a name="line.45"></a>
+<span class="sourceLineNo">046</span>   public ResourceLink(String label, RestRequest req, String childPath, Object...args) {<a name="line.46"></a>
+<span class="sourceLineNo">047</span>      super(label, getHref(req, getPath(childPath,args)));<a name="line.47"></a>
+<span class="sourceLineNo">048</span>   }<a name="line.48"></a>
+<span class="sourceLineNo">049</span><a name="line.49"></a>
+<span class="sourceLineNo">050</span>   private static String getName(String childPath) {<a name="line.50"></a>
+<span class="sourceLineNo">051</span>      String s = childPath;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>      if (childPath.indexOf('/') == -1)<a name="line.52"></a>
+<span class="sourceLineNo">053</span>         s = childPath;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>      else<a name="line.54"></a>
+<span class="sourceLineNo">055</span>         s = childPath.substring(childPath.lastIndexOf('/')+1);<a name="line.55"></a>
+<span class="sourceLineNo">056</span>      return urlDecode(s);<a name="line.56"></a>
+<span class="sourceLineNo">057</span>   }<a name="line.57"></a>
+<span class="sourceLineNo">058</span><a name="line.58"></a>
+<span class="sourceLineNo">059</span>   private static String getHref(RestRequest req, String childPath) {<a name="line.59"></a>
+<span class="sourceLineNo">060</span>      return req.getServletURIBuilder().append('/').append(childPath).toString();<a name="line.60"></a>
+<span class="sourceLineNo">061</span>   }<a name="line.61"></a>
+<span class="sourceLineNo">062</span><a name="line.62"></a>
+<span class="sourceLineNo">063</span>   private static String getPath(String childPath, Object...args) {<a name="line.63"></a>
+<span class="sourceLineNo">064</span>      if (args.length &gt; 0)<a name="line.64"></a>
+<span class="sourceLineNo">065</span>         childPath = MessageFormat.format(childPath, args);<a name="line.65"></a>
+<span class="sourceLineNo">066</span>      return childPath;<a name="line.66"></a>
+<span class="sourceLineNo">067</span>   }<a name="line.67"></a>
+<span class="sourceLineNo">068</span>}<a name="line.68"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html b/content/site/apidocs/src-html/org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html
index b2e6940..d08e473 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html
@@ -20,7 +20,7 @@
 <span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
 <span class="sourceLineNo">013</span>package org.apache.juneau.rest.remoteable;<a name="line.13"></a>
 <span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import org.apache.juneau.annotation.*;<a name="line.15"></a>
+<span class="sourceLineNo">015</span>import org.apache.juneau.remoteable.*;<a name="line.15"></a>
 <span class="sourceLineNo">016</span>import org.apache.juneau.rest.*;<a name="line.16"></a>
 <span class="sourceLineNo">017</span>import org.apache.juneau.rest.annotation.*;<a name="line.17"></a>
 <span class="sourceLineNo">018</span><a name="line.18"></a>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/vars/UrlEncodeVar.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/vars/UrlEncodeVar.html b/content/site/apidocs/src-html/org/apache/juneau/rest/vars/UrlEncodeVar.html
index 4bbdd5f..3ce88ea 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/vars/UrlEncodeVar.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/vars/UrlEncodeVar.html
@@ -20,38 +20,40 @@
 <span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
 <span class="sourceLineNo">013</span>package org.apache.juneau.rest.vars;<a name="line.13"></a>
 <span class="sourceLineNo">014</span><a name="line.14"></a>
-<span class="sourceLineNo">015</span>import org.apache.juneau.rest.*;<a name="line.15"></a>
-<span class="sourceLineNo">016</span>import org.apache.juneau.svl.*;<a name="line.16"></a>
-<span class="sourceLineNo">017</span><a name="line.17"></a>
-<span class="sourceLineNo">018</span>/**<a name="line.18"></a>
-<span class="sourceLineNo">019</span> * URL-encoding variable resolver.<a name="line.19"></a>
-<span class="sourceLineNo">020</span> * &lt;p&gt;<a name="line.20"></a>
-<span class="sourceLineNo">021</span> * The format for this var is &lt;js&gt;"$UE{innerValue}"&lt;/js&gt;.<a name="line.21"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import org.apache.juneau.internal.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span>import org.apache.juneau.svl.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>/**<a name="line.20"></a>
+<span class="sourceLineNo">021</span> * URL-encoding variable resolver.<a name="line.21"></a>
 <span class="sourceLineNo">022</span> * &lt;p&gt;<a name="line.22"></a>
-<span class="sourceLineNo">023</span> * This variable takes the contents inside the variable and replaces it with a value returned by calling {@link RestUtils#encode(String)}).<a name="line.23"></a>
+<span class="sourceLineNo">023</span> * The format for this var is &lt;js&gt;"$UE{innerValue}"&lt;/js&gt;.<a name="line.23"></a>
 <span class="sourceLineNo">024</span> * &lt;p&gt;<a name="line.24"></a>
-<span class="sourceLineNo">025</span> * Since this is a {@link SimpleVar}, any variables contained in the result will be recursively resolved.<a name="line.25"></a>
-<span class="sourceLineNo">026</span> * Likewise, if the arguments contain any variables, those will be resolved before they are passed to this var.<a name="line.26"></a>
-<span class="sourceLineNo">027</span> *<a name="line.27"></a>
-<span class="sourceLineNo">028</span> * @see org.apache.juneau.svl<a name="line.28"></a>
-<span class="sourceLineNo">029</span> */<a name="line.29"></a>
-<span class="sourceLineNo">030</span>public class UrlEncodeVar extends SimpleVar {<a name="line.30"></a>
-<span class="sourceLineNo">031</span><a name="line.31"></a>
-<span class="sourceLineNo">032</span>   /** The name of this variable. */<a name="line.32"></a>
-<span class="sourceLineNo">033</span>   public static final String NAME = "UE";<a name="line.33"></a>
-<span class="sourceLineNo">034</span><a name="line.34"></a>
-<span class="sourceLineNo">035</span>   /**<a name="line.35"></a>
-<span class="sourceLineNo">036</span>    * Constructor.<a name="line.36"></a>
-<span class="sourceLineNo">037</span>    */<a name="line.37"></a>
-<span class="sourceLineNo">038</span>   public UrlEncodeVar() {<a name="line.38"></a>
-<span class="sourceLineNo">039</span>      super(NAME);<a name="line.39"></a>
-<span class="sourceLineNo">040</span>   }<a name="line.40"></a>
-<span class="sourceLineNo">041</span><a name="line.41"></a>
-<span class="sourceLineNo">042</span>   @Override /* Parameter */<a name="line.42"></a>
-<span class="sourceLineNo">043</span>   public String resolve(VarResolverSession session, String key) {<a name="line.43"></a>
-<span class="sourceLineNo">044</span>      return RestUtils.encode(key);<a name="line.44"></a>
-<span class="sourceLineNo">045</span>   }<a name="line.45"></a>
-<span class="sourceLineNo">046</span>}<a name="line.46"></a>
+<span class="sourceLineNo">025</span> * This variable takes the contents inside the variable and replaces it with a value returned by calling {@link StringUtils#urlEncode(String)}).<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * &lt;p&gt;<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * Since this is a {@link SimpleVar}, any variables contained in the result will be recursively resolved.<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * Likewise, if the arguments contain any variables, those will be resolved before they are passed to this var.<a name="line.28"></a>
+<span class="sourceLineNo">029</span> *<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * @see org.apache.juneau.svl<a name="line.30"></a>
+<span class="sourceLineNo">031</span> */<a name="line.31"></a>
+<span class="sourceLineNo">032</span>public class UrlEncodeVar extends SimpleVar {<a name="line.32"></a>
+<span class="sourceLineNo">033</span><a name="line.33"></a>
+<span class="sourceLineNo">034</span>   /** The name of this variable. */<a name="line.34"></a>
+<span class="sourceLineNo">035</span>   public static final String NAME = "UE";<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span>   /**<a name="line.37"></a>
+<span class="sourceLineNo">038</span>    * Constructor.<a name="line.38"></a>
+<span class="sourceLineNo">039</span>    */<a name="line.39"></a>
+<span class="sourceLineNo">040</span>   public UrlEncodeVar() {<a name="line.40"></a>
+<span class="sourceLineNo">041</span>      super(NAME);<a name="line.41"></a>
+<span class="sourceLineNo">042</span>   }<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span>   @Override /* Parameter */<a name="line.44"></a>
+<span class="sourceLineNo">045</span>   public String resolve(VarResolverSession session, String key) {<a name="line.45"></a>
+<span class="sourceLineNo">046</span>      return urlEncode(key);<a name="line.46"></a>
+<span class="sourceLineNo">047</span>   }<a name="line.47"></a>
+<span class="sourceLineNo">048</span>}<a name="line.48"></a>
 
 
 


[37/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/microservice/package-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/microservice/package-summary.html b/content/site/apidocs/org/apache/juneau/microservice/package-summary.html
index 663fc7d..c5b54a2 100644
--- a/content/site/apidocs/org/apache/juneau/microservice/package-summary.html
+++ b/content/site/apidocs/org/apache/juneau/microservice/package-summary.html
@@ -757,7 +757,7 @@
                   <li><l>$R{trimmedRequestURI}</l> - Value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getTrimmedRequestURI--"><code>RestRequest.getTrimmedRequestURI()</code></a>.
                </ul>
                <li><l>$SA{key,mediaType}</l> - Object returned by <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequestWrapper.html?is-external=true#getAttribute-java.lang.String-" title="class or interface in javax.servlet"><code>ServletRequestWrapper.getAttribute(String)</code></a> converted to a string using the serializer registered to handle the specified media type.
-               <li><l>$UE{...}</l> - URL-Encode the specified value by calling <a href="../../../../org/apache/juneau/rest/RestUtils.html#encode-java.lang.String-"><code>RestUtils.encode(String)</code></a>.
+               <li><l>$UE{...}</l> - URL-Encode the specified value.
             </ul>
             <h6 class='figure'>Example usage:</h6>
             <p class='bcode'>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/parser/Parser.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/parser/Parser.html b/content/site/apidocs/org/apache/juneau/parser/Parser.html
index 3283637..00cb875 100644
--- a/content/site/apidocs/org/apache/juneau/parser/Parser.html
+++ b/content/site/apidocs/org/apache/juneau/parser/Parser.html
@@ -542,7 +542,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>parse</h4>
-<pre>public final&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.278">parse</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
+<pre>public final&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.280">parse</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
                          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
                          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)
                   throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -620,7 +620,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>parse</h4>
-<pre>public final&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.314">parse</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
+<pre>public final&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.316">parse</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
                          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)
                   throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/parser/Parser.html#parse-java.lang.Object-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>parse(Object, Type, Type...)</code></a> except optimized for a non-parameterized class.
@@ -665,7 +665,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>parse</h4>
-<pre>public final&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.331">parse</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
+<pre>public final&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.333">parse</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
                          <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;T&gt;&nbsp;type)
                   throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Same as <a href="../../../../org/apache/juneau/parser/Parser.html#parse-java.lang.Object-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>parse(Object, Type, Type...)</code></a> except the type has already been converted into a <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau"><code>ClassMeta</code></a> object.
@@ -691,7 +691,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>createSession</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.354">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.356">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
                                    <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;op,
                                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;javaMethod,
                                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer,
@@ -726,7 +726,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>createSession</h4>
-<pre>protected final&nbsp;<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.366">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input)</pre>
+<pre>protected final&nbsp;<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.368">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input)</pre>
 <div class="block">Create a basic session object without overriding properties or specifying <code>javaMethod</code>.
  <p>
  Equivalent to calling <code>createSession(<jk>null</jk>, <jk>null</jk>)</code>.</div>
@@ -744,7 +744,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>parseIntoMap</h4>
-<pre>public final&nbsp;&lt;K,V&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;K,V&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.395">parseIntoMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
+<pre>public final&nbsp;&lt;K,V&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;K,V&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.397">parseIntoMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
                                          <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;K,V&gt;&nbsp;m,
                                          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;keyType,
                                          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;valueType)
@@ -780,7 +780,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>doParseIntoMap</h4>
-<pre>protected&nbsp;&lt;K,V&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;K,V&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.420">doParseIntoMap</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;session,
+<pre>protected&nbsp;&lt;K,V&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;K,V&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.422">doParseIntoMap</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;session,
                                         <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;K,V&gt;&nbsp;m,
                                         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;keyType,
                                         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;valueType)
@@ -807,7 +807,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>parseIntoCollection</h4>
-<pre>public final&nbsp;&lt;E&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;E&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.440">parseIntoCollection</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
+<pre>public final&nbsp;&lt;E&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;E&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.442">parseIntoCollection</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
                                                    <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;E&gt;&nbsp;c,
                                                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;elementType)
                                             throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
@@ -838,7 +838,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>doParseIntoCollection</h4>
-<pre>protected&nbsp;&lt;E&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;E&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.464">doParseIntoCollection</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;session,
+<pre>protected&nbsp;&lt;E&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;E&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.466">doParseIntoCollection</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;session,
                                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;E&gt;&nbsp;c,
                                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;elementType)
                                            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
@@ -863,7 +863,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>parseArgs</h4>
-<pre>public final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.485">parseArgs</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
+<pre>public final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.487">parseArgs</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input,
                                 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>[]&nbsp;argTypes)
                          throws <a href="../../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre>
 <div class="block">Parses the specified array input with each entry in the object defined by the <code>argTypes</code>
@@ -893,7 +893,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>addListener</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.511">addListener</a>(<a href="../../../../org/apache/juneau/parser/ParserListener.html" title="class in org.apache.juneau.parser">ParserListener</a>&nbsp;listener)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.513">addListener</a>(<a href="../../../../org/apache/juneau/parser/ParserListener.html" title="class in org.apache.juneau.parser">ParserListener</a>&nbsp;listener)</pre>
 <div class="block">Adds a <a href="../../../../org/apache/juneau/parser/ParserListener.html" title="class in org.apache.juneau.parser"><code>ParserListener</code></a> to this parser to listen for parse events.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -909,7 +909,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getListeners</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/juneau/parser/ParserListener.html" title="class in org.apache.juneau.parser">ParserListener</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.521">getListeners</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/juneau/parser/ParserListener.html" title="class in org.apache.juneau.parser">ParserListener</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.523">getListeners</a>()</pre>
 <div class="block">Returns the current parser listeners associated with this parser.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -923,7 +923,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>convertAttrToType</h4>
-<pre>protected&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.537">convertAttrToType</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;session,
+<pre>protected&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.539">convertAttrToType</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;session,
                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;outer,
                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
                                   <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;T&gt;&nbsp;type)
@@ -950,7 +950,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>setParent</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.578">setParent</a>(<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;cm,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.580">setParent</a>(<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;cm,
                          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o,
                          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;parent)
                   throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
@@ -972,7 +972,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>setName</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.593">setName</a>(<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;cm,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.595">setName</a>(<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;cm,
                        <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o,
                        <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;name)
                 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
@@ -994,7 +994,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>onUnknownProperty</h4>
-<pre>protected&nbsp;&lt;T&gt;&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.613">onUnknownProperty</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;session,
+<pre>protected&nbsp;&lt;T&gt;&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.615">onUnknownProperty</a>(<a href="../../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>&nbsp;session,
                                      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;propertyName,
                                      <a href="../../../../org/apache/juneau/BeanMap.html" title="class in org.apache.juneau">BeanMap</a>&lt;T&gt;&nbsp;beanMap,
                                      int&nbsp;line,
@@ -1022,7 +1022,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>getMediaTypes</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.631">getMediaTypes</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.633">getMediaTypes</a>()</pre>
 <div class="block">Returns the media types handled based on the value of the <a href="../../../../org/apache/juneau/annotation/Consumes.html" title="annotation in org.apache.juneau.annotation"><code>Consumes</code></a> annotation on the parser class.
  <p>
  This method can be overridden by subclasses to determine the media types programatically.</div>
@@ -1038,7 +1038,7 @@ extends <a href="../../../../org/apache/juneau/CoreObject.html" title="class in
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getPrimaryMediaType</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.640">getPrimaryMediaType</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/parser/Parser.html#line.642">getPrimaryMediaType</a>()</pre>
 <div class="block">Returns the first media type specified on this parser via the <a href="../../../../org/apache/juneau/annotation/Consumes.html" title="annotation in org.apache.juneau.annotation"><code>Consumes</code></a> annotation.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/plaintext/package-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/plaintext/package-summary.html b/content/site/apidocs/org/apache/juneau/plaintext/package-summary.html
index 8ff84ba..8603677 100644
--- a/content/site/apidocs/org/apache/juneau/plaintext/package-summary.html
+++ b/content/site/apidocs/org/apache/juneau/plaintext/package-summary.html
@@ -43,7 +43,7 @@
 <div class="subNav">
 <ul class="navList">
 <li><a href="../../../../org/apache/juneau/parser/package-summary.html">Prev&nbsp;Package</a></li>
-<li><a href="../../../../org/apache/juneau/rest/package-summary.html">Next&nbsp;Package</a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/package-summary.html">Next&nbsp;Package</a></li>
 </ul>
 <ul class="navList">
 <li><a href="../../../../index.html?org/apache/juneau/plaintext/package-summary.html" target="_top">Frames</a></li>
@@ -140,7 +140,7 @@
 <div class="subNav">
 <ul class="navList">
 <li><a href="../../../../org/apache/juneau/parser/package-summary.html">Prev&nbsp;Package</a></li>
-<li><a href="../../../../org/apache/juneau/rest/package-summary.html">Next&nbsp;Package</a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/package-summary.html">Next&nbsp;Package</a></li>
 </ul>
 <ul class="navList">
 <li><a href="../../../../index.html?org/apache/juneau/plaintext/package-summary.html" target="_top">Frames</a></li>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/plaintext/package-tree.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/plaintext/package-tree.html b/content/site/apidocs/org/apache/juneau/plaintext/package-tree.html
index 6359a21..7e00ae2 100644
--- a/content/site/apidocs/org/apache/juneau/plaintext/package-tree.html
+++ b/content/site/apidocs/org/apache/juneau/plaintext/package-tree.html
@@ -43,7 +43,7 @@
 <div class="subNav">
 <ul class="navList">
 <li><a href="../../../../org/apache/juneau/parser/package-tree.html">Prev</a></li>
-<li><a href="../../../../org/apache/juneau/rest/package-tree.html">Next</a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/package-tree.html">Next</a></li>
 </ul>
 <ul class="navList">
 <li><a href="../../../../index.html?org/apache/juneau/plaintext/package-tree.html" target="_top">Frames</a></li>
@@ -141,7 +141,7 @@
 <div class="subNav">
 <ul class="navList">
 <li><a href="../../../../org/apache/juneau/parser/package-tree.html">Prev</a></li>
-<li><a href="../../../../org/apache/juneau/rest/package-tree.html">Next</a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/package-tree.html">Next</a></li>
 </ul>
 <ul class="navList">
 <li><a href="../../../../index.html?org/apache/juneau/plaintext/package-tree.html" target="_top">Frames</a></li>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/Body.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/Body.html b/content/site/apidocs/org/apache/juneau/remoteable/Body.html
new file mode 100644
index 0000000..31e8295
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/Body.html
@@ -0,0 +1,186 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Body (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="Body (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev&nbsp;Class</li>
+<li><a href="../../../../org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/Body.html" target="_top">Frames</a></li>
+<li><a href="Body.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li>Optional</li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Element</li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.remoteable</div>
+<h2 title="Annotation Type Body" class="title">Annotation Type Body</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#PARAMETER" title="class or interface in java.lang.annotation">PARAMETER</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html?is-external=true" title="class or interface in java.lang.annotation">@Inherited</a>
+public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Body.html#line.49">Body</a></pre>
+<div class="block">Annotation applied to Java method arguments of interface proxies to denote that they are the HTTP body of the request.
+ <p>
+ <h5 class='section'>Example:</h5>
+ <p class='bcode'>
+   <ja>@Remoteable</ja>(path=<js>"/myproxy"</js>)
+   <jk>public interface</jk> MyProxy {
+
+      <ja>@RemoteMethod</ja>(path=<js>"/mymethod"</js>)
+      String myProxyMethod(<ja>@Body</ja> MyPojo pojo);
+   }
+ </p>
+ <p>
+ The argument can be any of the following types:
+ <ul class='spaced-list'>
+   <li>Any serializable POJO - Converted to text using the <a href="../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer"><code>Serializer</code></a> registered with the <code>RestClient</code>.
+   <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a> - Raw contents of <code>Reader</code> will be serialized to remote resource.
+   <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> - Raw contents of <code>InputStream</code> will be serialized to remote resource.
+   <li><code>HttpEntity</code> - Bypass Juneau serialization and pass HttpEntity directly to HttpClient.
+   <li><code>NameValuePairs</code> - Converted to a URL-encoded FORM post.
+ </ul></div>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev&nbsp;Class</li>
+<li><a href="../../../../org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/Body.html" target="_top">Frames</a></li>
+<li><a href="Body.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li>Optional</li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Element</li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/FormData.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/FormData.html b/content/site/apidocs/org/apache/juneau/remoteable/FormData.html
new file mode 100644
index 0000000..7dca9f3
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/FormData.html
@@ -0,0 +1,247 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>FormData (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="FormData (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/Body.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/FormData.html" target="_top">Frames</a></li>
+<li><a href="FormData.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.remoteable</div>
+<h2 title="Annotation Type FormData" class="title">Annotation Type FormData</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#PARAMETER" title="class or interface in java.lang.annotation">PARAMETER</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html?is-external=true" title="class or interface in java.lang.annotation">@Inherited</a>
+public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/FormData.html#line.53">FormData</a></pre>
+<div class="block">Annotation applied to Java method arguments of interface proxies to denote that they are FORM post parameters on the request.
+ <p>
+ <h5 class='section'>Example:</h5>
+ <p class='bcode'>
+   <ja>@Remoteable</ja>(path=<js>"/myproxy"</js>)
+   <jk>public interface</jk> MyProxy {
+
+      <ja>@RemoteMethod</ja>(path=<js>"/mymethod1"</js>)
+      String myProxyMethod1(<ja>@FormData</ja>(<js>"foo"</js>)</ja> String foo, <ja>@FormData</ja>(<js>"bar"</js>)</ja> MyPojo pojo);
+
+      <ja>@RemoteMethod</ja>(path=<js>"/mymethod2"</js>)
+      String myProxyMethod2(<ja>@FormData</ja> NameValuePairs form);
+
+      <ja>@RemoteMethod</ja>(path=<js>"/mymethod3"</js>)
+      String myProxyMethod2(<ja>@FormData</ja> Map&lt;String,Object&gt; form);
+   }
+ </p>
+ <p>
+ The argument can be any of the following types:
+ <ul class='spaced-list'>
+   <li>Any serializable POJO - Converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object, Boolean, Boolean)</code></a>.
+   <li><code>NameValuePairs</code> - Individual name-value pairs.
+   <li><code>Map&lt;String,Object&gt;</code> - Individual name-value pairs.
+      Values are converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object, Boolean, Boolean)</code></a>.
+ </ul></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.optional.element.summary">
+<!--   -->
+</a>
+<h3>Optional Element Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Optional Element Summary table, listing optional elements, and an explanation">
+<caption><span>Optional Elements</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Optional Element and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/FormData.html#value--">value</a></span></code>
+<div class="block">The form post parameter name.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.element.detail">
+<!--   -->
+</a>
+<h3>Element Detail</h3>
+<a name="value--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>value</h4>
+<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/FormData.html#line.59">value</a></pre>
+<div class="block">The form post parameter name.
+ Can be blank if the value is an instance of <code>NameValuePairs</code> or <code>Map&lt;String,Object&gt;</code>.</div>
+<dl>
+<dt>Default:</dt>
+<dd>""</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/Body.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/FormData.html" target="_top">Frames</a></li>
+<li><a href="FormData.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/FormDataIfNE.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/FormDataIfNE.html b/content/site/apidocs/org/apache/juneau/remoteable/FormDataIfNE.html
new file mode 100644
index 0000000..679993d
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/FormDataIfNE.html
@@ -0,0 +1,223 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>FormDataIfNE (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="FormDataIfNE (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/FormDataIfNE.html" target="_top">Frames</a></li>
+<li><a href="FormDataIfNE.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.remoteable</div>
+<h2 title="Annotation Type FormDataIfNE" class="title">Annotation Type FormDataIfNE</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#PARAMETER" title="class or interface in java.lang.annotation">PARAMETER</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html?is-external=true" title="class or interface in java.lang.annotation">@Inherited</a>
+public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/FormDataIfNE.html#line.27">FormDataIfNE</a></pre>
+<div class="block">Identical to <a href="../../../../org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><code>@FormData</code></a> except skips values if they're null/blank.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.optional.element.summary">
+<!--   -->
+</a>
+<h3>Optional Element Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Optional Element Summary table, listing optional elements, and an explanation">
+<caption><span>Optional Elements</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Optional Element and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/FormDataIfNE.html#value--">value</a></span></code>
+<div class="block">The form post parameter name.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.element.detail">
+<!--   -->
+</a>
+<h3>Element Detail</h3>
+<a name="value--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>value</h4>
+<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/FormDataIfNE.html#line.33">value</a></pre>
+<div class="block">The form post parameter name.
+ Can be blank if the value is an instance of <code>NameValuePairs</code> or <code>Map&lt;String,Object&gt;</code>.</div>
+<dl>
+<dt>Default:</dt>
+<dd>""</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/FormDataIfNE.html" target="_top">Frames</a></li>
+<li><a href="FormDataIfNE.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/Header.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/Header.html b/content/site/apidocs/org/apache/juneau/remoteable/Header.html
new file mode 100644
index 0000000..9f63f48
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/Header.html
@@ -0,0 +1,243 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Header (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="Header (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/Header.html" target="_top">Frames</a></li>
+<li><a href="Header.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.remoteable</div>
+<h2 title="Annotation Type Header" class="title">Annotation Type Header</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#PARAMETER" title="class or interface in java.lang.annotation">PARAMETER</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html?is-external=true" title="class or interface in java.lang.annotation">@Inherited</a>
+public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Header.html#line.49">Header</a></pre>
+<div class="block">Annotation applied to Java method arguments of interface proxies to denote that they are serialized as an HTTP header value.
+ <p>
+ <h5 class='section'>Example:</h5>
+ <p class='bcode'>
+   <ja>@Remoteable</ja>(path=<js>"/myproxy"</js>)
+   <jk>public interface</jk> MyProxy {
+
+      <ja>@RemoteMethod</ja>(path=<js>"/mymethod1"</js>)
+      String myProxyMethod1(<ja>@Header</ja>(<js>"Foo"</js>)</ja> String foo, <ja>@Header</ja>(<js>"Bar"</js>)</ja> MyPojo pojo);
+
+      <ja>@RemoteMethod</ja>(path=<js>"/mymethod2"</js>)
+      String myProxyMethod2(<ja>@Header</ja> Map&lt;String,Object&gt; headers);
+   }
+ </p>
+ <p>
+ The argument can be any of the following types:
+ <ul class='spaced-list'>
+   <li>Any serializable POJO - Converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object, Boolean, Boolean)</code></a>.
+   <li><code>Map&lt;String,Object&gt;</code> - Individual name-value pairs.
+      Values are converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object, Boolean, Boolean)</code></a>.
+ </ul></div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.optional.element.summary">
+<!--   -->
+</a>
+<h3>Optional Element Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Optional Element Summary table, listing optional elements, and an explanation">
+<caption><span>Optional Elements</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Optional Element and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/Header.html#value--">value</a></span></code>
+<div class="block">The HTTP header name.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.element.detail">
+<!--   -->
+</a>
+<h3>Element Detail</h3>
+<a name="value--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>value</h4>
+<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/Header.html#line.55">value</a></pre>
+<div class="block">The HTTP header name.
+ Can be blank if the value is an instance of <code>Map&lt;String,Object&gt;</code>.</div>
+<dl>
+<dt>Default:</dt>
+<dd>""</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/Header.html" target="_top">Frames</a></li>
+<li><a href="Header.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Required&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/remoteable/HeaderIfNE.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/remoteable/HeaderIfNE.html b/content/site/apidocs/org/apache/juneau/remoteable/HeaderIfNE.html
new file mode 100644
index 0000000..d86a68c
--- /dev/null
+++ b/content/site/apidocs/org/apache/juneau/remoteable/HeaderIfNE.html
@@ -0,0 +1,219 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>HeaderIfNE (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title>
+<link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="HeaderIfNE (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/HeaderIfNE.html" target="_top">Frames</a></li>
+<li><a href="HeaderIfNE.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.required.element.summary">Required</a>&nbsp;|&nbsp;</li>
+<li>Optional</li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.juneau.remoteable</div>
+<h2 title="Annotation Type HeaderIfNE" class="title">Annotation Type HeaderIfNE</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#PARAMETER" title="class or interface in java.lang.annotation">PARAMETER</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html?is-external=true" title="class or interface in java.lang.annotation">@Inherited</a>
+public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/HeaderIfNE.html#line.27">HeaderIfNE</a></pre>
+<div class="block">Identical to <a href="../../../../org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><code>@Header</code></a> except skips values if they're null/blank.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.required.element.summary">
+<!--   -->
+</a>
+<h3>Required Element Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Required Element Summary table, listing required elements, and an explanation">
+<caption><span>Required Elements</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Required Element and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/HeaderIfNE.html#value--">value</a></span></code>
+<div class="block">The HTTP header name.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="annotation.type.element.detail">
+<!--   -->
+</a>
+<h3>Element Detail</h3>
+<a name="value--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>value</h4>
+<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/remoteable/HeaderIfNE.html#line.33">value</a></pre>
+<div class="block">The HTTP header name.
+ Can be blank if the value is an instance of <code>Map&lt;String,Object&gt;</code>.</div>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../index-all.html">Index</a></li>
+<li><a href="../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/juneau/remoteable/HeaderIfNE.html" target="_top">Frames</a></li>
+<li><a href="HeaderIfNE.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.required.element.summary">Required</a>&nbsp;|&nbsp;</li>
+<li>Optional</li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#annotation.type.element.detail">Element</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p>
+</body>
+</html>


[14/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/RestRequest.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RestRequest.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RestRequest.html
index ad54f0e..f552737 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/RestRequest.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RestRequest.html
@@ -23,2059 +23,2068 @@
 <span class="sourceLineNo">015</span>import static java.util.Collections.*;<a name="line.15"></a>
 <span class="sourceLineNo">016</span>import static java.util.logging.Level.*;<a name="line.16"></a>
 <span class="sourceLineNo">017</span>import static javax.servlet.http.HttpServletResponse.*;<a name="line.17"></a>
-<span class="sourceLineNo">018</span><a name="line.18"></a>
-<span class="sourceLineNo">019</span>import java.io.*;<a name="line.19"></a>
-<span class="sourceLineNo">020</span>import java.lang.reflect.*;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import java.net.*;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import java.nio.charset.*;<a name="line.22"></a>
-<span class="sourceLineNo">023</span>import java.text.*;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import java.util.*;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import java.util.logging.*;<a name="line.25"></a>
-<span class="sourceLineNo">026</span><a name="line.26"></a>
-<span class="sourceLineNo">027</span>import javax.servlet.*;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import javax.servlet.http.*;<a name="line.28"></a>
-<span class="sourceLineNo">029</span><a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.juneau.*;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.juneau.dto.swagger.*;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.juneau.encoders.*;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.juneau.encoders.Encoder;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.juneau.ini.*;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.juneau.internal.*;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.juneau.parser.*;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.juneau.parser.ParseException;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.juneau.serializer.*;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.juneau.svl.*;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.juneau.uon.*;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.juneau.urlencoding.*;<a name="line.41"></a>
-<span class="sourceLineNo">042</span>import org.apache.juneau.utils.*;<a name="line.42"></a>
-<span class="sourceLineNo">043</span><a name="line.43"></a>
-<span class="sourceLineNo">044</span>/**<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * Represents an HTTP request for a REST resource.<a name="line.45"></a>
-<span class="sourceLineNo">046</span> * &lt;p&gt;<a name="line.46"></a>
-<span class="sourceLineNo">047</span> * Equivalent to {@link HttpServletRequest} except with some additional convenience methods.<a name="line.47"></a>
-<span class="sourceLineNo">048</span> * &lt;p&gt;<a name="line.48"></a>
-<span class="sourceLineNo">049</span> * For reference, given the URL &lt;js&gt;"http://localhost:9080/contextRoot/servletPath/foo?bar=baz#qux"&lt;/js&gt;, the<a name="line.49"></a>
-<span class="sourceLineNo">050</span> *    following methods return the following values....<a name="line.50"></a>
-<span class="sourceLineNo">051</span> * &lt;table class='styled'&gt;<a name="line.51"></a>
-<span class="sourceLineNo">052</span> *    &lt;tr&gt;&lt;th&gt;Method&lt;/th&gt;&lt;th&gt;Value&lt;/th&gt;&lt;/tr&gt;<a name="line.52"></a>
-<span class="sourceLineNo">053</span> *    &lt;tr&gt;&lt;td&gt;{@code getContextPath()}&lt;/td&gt;&lt;td&gt;{@code /contextRoot}&lt;/td&gt;&lt;/tr&gt;<a name="line.53"></a>
-<span class="sourceLineNo">054</span> *    &lt;tr&gt;&lt;td&gt;{@code getPathInfo()}&lt;/td&gt;&lt;td&gt;{@code /foo}&lt;/td&gt;&lt;/tr&gt;<a name="line.54"></a>
-<span class="sourceLineNo">055</span> *    &lt;tr&gt;&lt;td&gt;{@code getPathTranslated()}&lt;/td&gt;&lt;td&gt;{@code path-to-deployed-war-on-filesystem/foo}&lt;/td&gt;&lt;/tr&gt;<a name="line.55"></a>
-<span class="sourceLineNo">056</span> *    &lt;tr&gt;&lt;td&gt;{@code getQueryString()}&lt;/td&gt;&lt;td&gt;{@code bar=baz}&lt;/td&gt;&lt;/tr&gt;<a name="line.56"></a>
-<span class="sourceLineNo">057</span> *    &lt;tr&gt;&lt;td&gt;{@code getRequestURI()}&lt;/td&gt;&lt;td&gt;{@code /contextRoot/servletPath/foo}&lt;/td&gt;&lt;/tr&gt;<a name="line.57"></a>
-<span class="sourceLineNo">058</span> *    &lt;tr&gt;&lt;td&gt;{@code getRequestURL()}&lt;/td&gt;&lt;td&gt;{@code http://localhost:9080/contextRoot/servletPath/foo}&lt;/td&gt;&lt;/tr&gt;<a name="line.58"></a>
-<span class="sourceLineNo">059</span> *    &lt;tr&gt;&lt;td&gt;{@code getServletPath()}&lt;/td&gt;&lt;td&gt;{@code /servletPath}&lt;/td&gt;&lt;/tr&gt;<a name="line.59"></a>
-<span class="sourceLineNo">060</span> * &lt;/table&gt;<a name="line.60"></a>
-<span class="sourceLineNo">061</span> * &lt;p&gt;<a name="line.61"></a>
-<span class="sourceLineNo">062</span> * Refer to &lt;a class="doclink" href="package-summary.html#TOC"&gt;REST Servlet API&lt;/a&gt; for information about using this class.<a name="line.62"></a>
-<span class="sourceLineNo">063</span> */<a name="line.63"></a>
-<span class="sourceLineNo">064</span>@SuppressWarnings("unchecked")<a name="line.64"></a>
-<span class="sourceLineNo">065</span>public final class RestRequest extends HttpServletRequestWrapper {<a name="line.65"></a>
-<span class="sourceLineNo">066</span><a name="line.66"></a>
-<span class="sourceLineNo">067</span>   private final RestContext context;<a name="line.67"></a>
-<span class="sourceLineNo">068</span><a name="line.68"></a>
-<span class="sourceLineNo">069</span>   private final String method;<a name="line.69"></a>
-<span class="sourceLineNo">070</span>   private String pathRemainder;<a name="line.70"></a>
-<span class="sourceLineNo">071</span>   private byte[] body;<a name="line.71"></a>
-<span class="sourceLineNo">072</span>   private Method javaMethod;<a name="line.72"></a>
-<span class="sourceLineNo">073</span>   private ObjectMap properties;<a name="line.73"></a>
-<span class="sourceLineNo">074</span>   private SerializerGroup serializerGroup;<a name="line.74"></a>
-<span class="sourceLineNo">075</span>   private ParserGroup parserGroup;<a name="line.75"></a>
-<span class="sourceLineNo">076</span>   private EncoderGroup encoders;<a name="line.76"></a>
-<span class="sourceLineNo">077</span>   private Encoder encoder;<a name="line.77"></a>
-<span class="sourceLineNo">078</span>   private int contentLength;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>   private final boolean debug;<a name="line.79"></a>
-<span class="sourceLineNo">080</span>   private UrlEncodingParser urlEncodingParser;   // The parser used to parse URL attributes and parameters (beanContext also used to parse headers)<a name="line.80"></a>
-<span class="sourceLineNo">081</span>   private BeanSession beanSession;<a name="line.81"></a>
-<span class="sourceLineNo">082</span>   private VarResolverSession varSession;<a name="line.82"></a>
-<span class="sourceLineNo">083</span>   private final Map&lt;String,String[]&gt; queryParams;<a name="line.83"></a>
-<span class="sourceLineNo">084</span>   private final Map&lt;String,String&gt; defaultServletHeaders;<a name="line.84"></a>
-<span class="sourceLineNo">085</span>   private Map&lt;String,String&gt; defaultMethodHeaders, overriddenHeaders, overriddenQueryParams, overriddenFormDataParams, pathParameters;<a name="line.85"></a>
-<span class="sourceLineNo">086</span>   private boolean isPost;<a name="line.86"></a>
-<span class="sourceLineNo">087</span>   private String servletURI, relativeServletURI;<a name="line.87"></a>
-<span class="sourceLineNo">088</span>   private String charset, defaultCharset;<a name="line.88"></a>
-<span class="sourceLineNo">089</span>   private ObjectMap headers;<a name="line.89"></a>
-<span class="sourceLineNo">090</span>   private ConfigFile cf;<a name="line.90"></a>
-<span class="sourceLineNo">091</span>   private Swagger swagger, fileSwagger;<a name="line.91"></a>
-<span class="sourceLineNo">092</span>   private String pageTitle, pageText, pageLinks;<a name="line.92"></a>
-<span class="sourceLineNo">093</span><a name="line.93"></a>
-<span class="sourceLineNo">094</span>   /**<a name="line.94"></a>
-<span class="sourceLineNo">095</span>    * Constructor.<a name="line.95"></a>
-<span class="sourceLineNo">096</span>    */<a name="line.96"></a>
-<span class="sourceLineNo">097</span>   RestRequest(RestContext context, HttpServletRequest req) throws ServletException {<a name="line.97"></a>
-<span class="sourceLineNo">098</span>      super(req);<a name="line.98"></a>
-<span class="sourceLineNo">099</span>      this.context = context;<a name="line.99"></a>
-<span class="sourceLineNo">100</span><a name="line.100"></a>
-<span class="sourceLineNo">101</span>      try {<a name="line.101"></a>
-<span class="sourceLineNo">102</span>         isPost = req.getMethod().equalsIgnoreCase("POST");<a name="line.102"></a>
-<span class="sourceLineNo">103</span><a name="line.103"></a>
-<span class="sourceLineNo">104</span>         // If this is a POST, we want to parse the query parameters ourselves to prevent<a name="line.104"></a>
-<span class="sourceLineNo">105</span>         // the servlet code from processing the HTTP body as URL-Encoded parameters.<a name="line.105"></a>
-<span class="sourceLineNo">106</span>         if (isPost)<a name="line.106"></a>
-<span class="sourceLineNo">107</span>            queryParams = context.getUrlEncodingParser().parseIntoSimpleMap(getQueryString());<a name="line.107"></a>
-<span class="sourceLineNo">108</span>         else {<a name="line.108"></a>
-<span class="sourceLineNo">109</span>            queryParams = req.getParameterMap();<a name="line.109"></a>
-<span class="sourceLineNo">110</span>         }<a name="line.110"></a>
-<span class="sourceLineNo">111</span><a name="line.111"></a>
-<span class="sourceLineNo">112</span>         // Get the HTTP method.<a name="line.112"></a>
-<span class="sourceLineNo">113</span>         // Can be overridden through a "method" GET attribute.<a name="line.113"></a>
-<span class="sourceLineNo">114</span>         String _method = super.getMethod();<a name="line.114"></a>
-<span class="sourceLineNo">115</span><a name="line.115"></a>
-<span class="sourceLineNo">116</span>         String m = getQueryParameter("method");<a name="line.116"></a>
-<span class="sourceLineNo">117</span>         if (context.allowMethodParam(m))<a name="line.117"></a>
-<span class="sourceLineNo">118</span>            _method = m;<a name="line.118"></a>
-<span class="sourceLineNo">119</span><a name="line.119"></a>
-<span class="sourceLineNo">120</span>         method = _method;<a name="line.120"></a>
+<span class="sourceLineNo">018</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.io.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.lang.reflect.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.net.*;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import java.nio.charset.*;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import java.text.*;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import java.util.*;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import java.util.logging.*;<a name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span>import javax.servlet.*;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import javax.servlet.http.*;<a name="line.29"></a>
+<span class="sourceLineNo">030</span><a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.juneau.*;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.juneau.dto.swagger.*;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.juneau.encoders.*;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.juneau.encoders.Encoder;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.juneau.ini.*;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.juneau.internal.*;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.juneau.parser.*;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.juneau.parser.ParseException;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.juneau.serializer.*;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.juneau.svl.*;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.juneau.uon.*;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.juneau.urlencoding.*;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>import org.apache.juneau.utils.*;<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span>/**<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * Represents an HTTP request for a REST resource.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * &lt;p&gt;<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * Equivalent to {@link HttpServletRequest} except with some additional convenience methods.<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * &lt;p&gt;<a name="line.49"></a>
+<span class="sourceLineNo">050</span> * For reference, given the URL &lt;js&gt;"http://localhost:9080/contextRoot/servletPath/foo?bar=baz#qux"&lt;/js&gt;, the<a name="line.50"></a>
+<span class="sourceLineNo">051</span> *    following methods return the following values....<a name="line.51"></a>
+<span class="sourceLineNo">052</span> * &lt;table class='styled'&gt;<a name="line.52"></a>
+<span class="sourceLineNo">053</span> *    &lt;tr&gt;&lt;th&gt;Method&lt;/th&gt;&lt;th&gt;Value&lt;/th&gt;&lt;/tr&gt;<a name="line.53"></a>
+<span class="sourceLineNo">054</span> *    &lt;tr&gt;&lt;td&gt;{@code getContextPath()}&lt;/td&gt;&lt;td&gt;{@code /contextRoot}&lt;/td&gt;&lt;/tr&gt;<a name="line.54"></a>
+<span class="sourceLineNo">055</span> *    &lt;tr&gt;&lt;td&gt;{@code getPathInfo()}&lt;/td&gt;&lt;td&gt;{@code /foo}&lt;/td&gt;&lt;/tr&gt;<a name="line.55"></a>
+<span class="sourceLineNo">056</span> *    &lt;tr&gt;&lt;td&gt;{@code getPathTranslated()}&lt;/td&gt;&lt;td&gt;{@code path-to-deployed-war-on-filesystem/foo}&lt;/td&gt;&lt;/tr&gt;<a name="line.56"></a>
+<span class="sourceLineNo">057</span> *    &lt;tr&gt;&lt;td&gt;{@code getQueryString()}&lt;/td&gt;&lt;td&gt;{@code bar=baz}&lt;/td&gt;&lt;/tr&gt;<a name="line.57"></a>
+<span class="sourceLineNo">058</span> *    &lt;tr&gt;&lt;td&gt;{@code getRequestURI()}&lt;/td&gt;&lt;td&gt;{@code /contextRoot/servletPath/foo}&lt;/td&gt;&lt;/tr&gt;<a name="line.58"></a>
+<span class="sourceLineNo">059</span> *    &lt;tr&gt;&lt;td&gt;{@code getRequestURL()}&lt;/td&gt;&lt;td&gt;{@code http://localhost:9080/contextRoot/servletPath/foo}&lt;/td&gt;&lt;/tr&gt;<a name="line.59"></a>
+<span class="sourceLineNo">060</span> *    &lt;tr&gt;&lt;td&gt;{@code getServletPath()}&lt;/td&gt;&lt;td&gt;{@code /servletPath}&lt;/td&gt;&lt;/tr&gt;<a name="line.60"></a>
+<span class="sourceLineNo">061</span> * &lt;/table&gt;<a name="line.61"></a>
+<span class="sourceLineNo">062</span> * &lt;p&gt;<a name="line.62"></a>
+<span class="sourceLineNo">063</span> * Refer to &lt;a class="doclink" href="package-summary.html#TOC"&gt;REST Servlet API&lt;/a&gt; for information about using this class.<a name="line.63"></a>
+<span class="sourceLineNo">064</span> */<a name="line.64"></a>
+<span class="sourceLineNo">065</span>@SuppressWarnings("unchecked")<a name="line.65"></a>
+<span class="sourceLineNo">066</span>public final class RestRequest extends HttpServletRequestWrapper {<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span>   private final RestContext context;<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span>   private final String method;<a name="line.70"></a>
+<span class="sourceLineNo">071</span>   private String pathRemainder;<a name="line.71"></a>
+<span class="sourceLineNo">072</span>   private byte[] body;<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   private Method javaMethod;<a name="line.73"></a>
+<span class="sourceLineNo">074</span>   private ObjectMap properties;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>   private SerializerGroup serializerGroup;<a name="line.75"></a>
+<span class="sourceLineNo">076</span>   private ParserGroup parserGroup;<a name="line.76"></a>
+<span class="sourceLineNo">077</span>   private EncoderGroup encoders;<a name="line.77"></a>
+<span class="sourceLineNo">078</span>   private Encoder encoder;<a name="line.78"></a>
+<span class="sourceLineNo">079</span>   private int contentLength;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>   private final boolean debug;<a name="line.80"></a>
+<span class="sourceLineNo">081</span>   private UrlEncodingParser urlEncodingParser;   // The parser used to parse URL attributes and parameters (beanContext also used to parse headers)<a name="line.81"></a>
+<span class="sourceLineNo">082</span>   private BeanSession beanSession;<a name="line.82"></a>
+<span class="sourceLineNo">083</span>   private VarResolverSession varSession;<a name="line.83"></a>
+<span class="sourceLineNo">084</span>   private final Map&lt;String,String[]&gt; queryParams;<a name="line.84"></a>
+<span class="sourceLineNo">085</span>   private Map&lt;String,String&gt; formData;<a name="line.85"></a>
+<span class="sourceLineNo">086</span>   private final Map&lt;String,String&gt; defaultServletHeaders;<a name="line.86"></a>
+<span class="sourceLineNo">087</span>   private Map&lt;String,String&gt; defaultMethodHeaders, overriddenHeaders, overriddenQueryParams, overriddenFormDataParams, pathParameters;<a name="line.87"></a>
+<span class="sourceLineNo">088</span>   private boolean isPost;<a name="line.88"></a>
+<span class="sourceLineNo">089</span>   private String servletURI, relativeServletURI;<a name="line.89"></a>
+<span class="sourceLineNo">090</span>   private String charset, defaultCharset;<a name="line.90"></a>
+<span class="sourceLineNo">091</span>   private ObjectMap headers;<a name="line.91"></a>
+<span class="sourceLineNo">092</span>   private ConfigFile cf;<a name="line.92"></a>
+<span class="sourceLineNo">093</span>   private Swagger swagger, fileSwagger;<a name="line.93"></a>
+<span class="sourceLineNo">094</span>   private String pageTitle, pageText, pageLinks;<a name="line.94"></a>
+<span class="sourceLineNo">095</span><a name="line.95"></a>
+<span class="sourceLineNo">096</span>   /**<a name="line.96"></a>
+<span class="sourceLineNo">097</span>    * Constructor.<a name="line.97"></a>
+<span class="sourceLineNo">098</span>    */<a name="line.98"></a>
+<span class="sourceLineNo">099</span>   RestRequest(RestContext context, HttpServletRequest req) throws ServletException {<a name="line.99"></a>
+<span class="sourceLineNo">100</span>      super(req);<a name="line.100"></a>
+<span class="sourceLineNo">101</span>      this.context = context;<a name="line.101"></a>
+<span class="sourceLineNo">102</span><a name="line.102"></a>
+<span class="sourceLineNo">103</span>      try {<a name="line.103"></a>
+<span class="sourceLineNo">104</span>         isPost = req.getMethod().equalsIgnoreCase("POST");<a name="line.104"></a>
+<span class="sourceLineNo">105</span><a name="line.105"></a>
+<span class="sourceLineNo">106</span>         // If this is a POST, we want to parse the query parameters ourselves to prevent<a name="line.106"></a>
+<span class="sourceLineNo">107</span>         // the servlet code from processing the HTTP body as URL-Encoded parameters.<a name="line.107"></a>
+<span class="sourceLineNo">108</span>         if (isPost)<a name="line.108"></a>
+<span class="sourceLineNo">109</span>            queryParams = context.getUrlEncodingParser().parseIntoSimpleMap(getQueryString());<a name="line.109"></a>
+<span class="sourceLineNo">110</span>         else {<a name="line.110"></a>
+<span class="sourceLineNo">111</span>            queryParams = req.getParameterMap();<a name="line.111"></a>
+<span class="sourceLineNo">112</span>         }<a name="line.112"></a>
+<span class="sourceLineNo">113</span><a name="line.113"></a>
+<span class="sourceLineNo">114</span>         // Get the HTTP method.<a name="line.114"></a>
+<span class="sourceLineNo">115</span>         // Can be overridden through a "method" GET attribute.<a name="line.115"></a>
+<span class="sourceLineNo">116</span>         String _method = super.getMethod();<a name="line.116"></a>
+<span class="sourceLineNo">117</span><a name="line.117"></a>
+<span class="sourceLineNo">118</span>         String m = getQueryParameter("method");<a name="line.118"></a>
+<span class="sourceLineNo">119</span>         if (context.allowMethodParam(m))<a name="line.119"></a>
+<span class="sourceLineNo">120</span>            _method = m;<a name="line.120"></a>
 <span class="sourceLineNo">121</span><a name="line.121"></a>
-<span class="sourceLineNo">122</span>         if (context.isAllowBodyParam()) {<a name="line.122"></a>
-<span class="sourceLineNo">123</span>            String b = getQueryParameter("body");<a name="line.123"></a>
-<span class="sourceLineNo">124</span>            if (b != null) {<a name="line.124"></a>
-<span class="sourceLineNo">125</span>               setHeader("Content-Type", UonSerializer.DEFAULT.getResponseContentType());<a name="line.125"></a>
-<span class="sourceLineNo">126</span>               this.body = b.getBytes(IOUtils.UTF8);<a name="line.126"></a>
-<span class="sourceLineNo">127</span>            }<a name="line.127"></a>
-<span class="sourceLineNo">128</span>         }<a name="line.128"></a>
-<span class="sourceLineNo">129</span><a name="line.129"></a>
-<span class="sourceLineNo">130</span>         defaultServletHeaders = context.getDefaultRequestHeaders();<a name="line.130"></a>
+<span class="sourceLineNo">122</span>         method = _method;<a name="line.122"></a>
+<span class="sourceLineNo">123</span><a name="line.123"></a>
+<span class="sourceLineNo">124</span>         if (context.isAllowBodyParam()) {<a name="line.124"></a>
+<span class="sourceLineNo">125</span>            String b = getQueryParameter("body");<a name="line.125"></a>
+<span class="sourceLineNo">126</span>            if (b != null) {<a name="line.126"></a>
+<span class="sourceLineNo">127</span>               setHeader("Content-Type", UonSerializer.DEFAULT.getResponseContentType());<a name="line.127"></a>
+<span class="sourceLineNo">128</span>               this.body = b.getBytes(IOUtils.UTF8);<a name="line.128"></a>
+<span class="sourceLineNo">129</span>            }<a name="line.129"></a>
+<span class="sourceLineNo">130</span>         }<a name="line.130"></a>
 <span class="sourceLineNo">131</span><a name="line.131"></a>
-<span class="sourceLineNo">132</span>         debug = "true".equals(getQueryParameter("debug", "false")) || "true".equals(getHeader("Debug", "false"));<a name="line.132"></a>
+<span class="sourceLineNo">132</span>         defaultServletHeaders = context.getDefaultRequestHeaders();<a name="line.132"></a>
 <span class="sourceLineNo">133</span><a name="line.133"></a>
-<span class="sourceLineNo">134</span>      } catch (RestException e) {<a name="line.134"></a>
-<span class="sourceLineNo">135</span>         throw e;<a name="line.135"></a>
-<span class="sourceLineNo">136</span>      } catch (Exception e) {<a name="line.136"></a>
-<span class="sourceLineNo">137</span>         throw new ServletException(e);<a name="line.137"></a>
-<span class="sourceLineNo">138</span>      }<a name="line.138"></a>
-<span class="sourceLineNo">139</span>   }<a name="line.139"></a>
-<span class="sourceLineNo">140</span><a name="line.140"></a>
-<span class="sourceLineNo">141</span>   /*<a name="line.141"></a>
-<span class="sourceLineNo">142</span>    * Called from RestServlet after a match has been made but before the guard or method invocation.<a name="line.142"></a>
-<span class="sourceLineNo">143</span>    */<a name="line.143"></a>
-<span class="sourceLineNo">144</span>   @SuppressWarnings("hiding")<a name="line.144"></a>
-<span class="sourceLineNo">145</span>   final void init(Method javaMethod, String pathRemainder, ObjectMap properties, Map&lt;String,String&gt; mDefaultRequestHeaders, String defaultCharset, SerializerGroup mSerializers, ParserGroup mParsers, UrlEncodingParser mUrlEncodingParser, EncoderGroup encoders, String pageTitle, String pageText, String pageLinks) {<a name="line.145"></a>
-<span class="sourceLineNo">146</span>      this.javaMethod = javaMethod;<a name="line.146"></a>
-<span class="sourceLineNo">147</span>      this.pathRemainder = pathRemainder;<a name="line.147"></a>
-<span class="sourceLineNo">148</span>      this.properties = properties;<a name="line.148"></a>
-<span class="sourceLineNo">149</span>      this.defaultMethodHeaders = mDefaultRequestHeaders;<a name="line.149"></a>
-<span class="sourceLineNo">150</span>      this.serializerGroup = mSerializers;<a name="line.150"></a>
-<span class="sourceLineNo">151</span>      this.parserGroup = mParsers;<a name="line.151"></a>
-<span class="sourceLineNo">152</span>      this.urlEncodingParser = mUrlEncodingParser;<a name="line.152"></a>
-<span class="sourceLineNo">153</span>      this.beanSession = urlEncodingParser.getBeanContext().createSession();<a name="line.153"></a>
-<span class="sourceLineNo">154</span>      this.defaultCharset = defaultCharset;<a name="line.154"></a>
-<span class="sourceLineNo">155</span>      this.encoders = encoders;<a name="line.155"></a>
-<span class="sourceLineNo">156</span>      this.pageTitle = pageTitle;<a name="line.156"></a>
-<span class="sourceLineNo">157</span>      this.pageText = pageText;<a name="line.157"></a>
-<span class="sourceLineNo">158</span>      this.pageLinks = pageLinks;<a name="line.158"></a>
-<span class="sourceLineNo">159</span><a name="line.159"></a>
-<span class="sourceLineNo">160</span>      if (debug) {<a name="line.160"></a>
-<span class="sourceLineNo">161</span>         String msg = ""<a name="line.161"></a>
-<span class="sourceLineNo">162</span>            + "\n=== HTTP Request (incoming) ===================================================="<a name="line.162"></a>
-<span class="sourceLineNo">163</span>            + toString()<a name="line.163"></a>
-<span class="sourceLineNo">164</span>            + "\n=== END ========================================================================";<a name="line.164"></a>
-<span class="sourceLineNo">165</span>         context.getLogger().log(Level.WARNING, msg);<a name="line.165"></a>
-<span class="sourceLineNo">166</span>      }<a name="line.166"></a>
-<span class="sourceLineNo">167</span>   }<a name="line.167"></a>
-<span class="sourceLineNo">168</span><a name="line.168"></a>
-<span class="sourceLineNo">169</span>   /**<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    * Returns a string of the form &lt;js&gt;"HTTP method-name full-url"&lt;/js&gt;<a name="line.170"></a>
-<span class="sourceLineNo">171</span>    *<a name="line.171"></a>
-<span class="sourceLineNo">172</span>    * @return A description of the request.<a name="line.172"></a>
-<span class="sourceLineNo">173</span>    */<a name="line.173"></a>
-<span class="sourceLineNo">174</span>   public String getDescription() {<a name="line.174"></a>
-<span class="sourceLineNo">175</span>      String qs = getQueryString();<a name="line.175"></a>
-<span class="sourceLineNo">176</span>      return "HTTP " + getMethod() + " " + getRequestURI() + (qs == null ? "" : "?" + qs);<a name="line.176"></a>
-<span class="sourceLineNo">177</span>   }<a name="line.177"></a>
-<span class="sourceLineNo">178</span><a name="line.178"></a>
-<span class="sourceLineNo">179</span><a name="line.179"></a>
-<span class="sourceLineNo">180</span>   //--------------------------------------------------------------------------------<a name="line.180"></a>
-<span class="sourceLineNo">181</span>   // Properties<a name="line.181"></a>
+<span class="sourceLineNo">134</span>         debug = "true".equals(getQueryParameter("debug", "false")) || "true".equals(getHeader("Debug", "false"));<a name="line.134"></a>
+<span class="sourceLineNo">135</span><a name="line.135"></a>
+<span class="sourceLineNo">136</span>      } catch (RestException e) {<a name="line.136"></a>
+<span class="sourceLineNo">137</span>         throw e;<a name="line.137"></a>
+<span class="sourceLineNo">138</span>      } catch (Exception e) {<a name="line.138"></a>
+<span class="sourceLineNo">139</span>         throw new ServletException(e);<a name="line.139"></a>
+<span class="sourceLineNo">140</span>      }<a name="line.140"></a>
+<span class="sourceLineNo">141</span>   }<a name="line.141"></a>
+<span class="sourceLineNo">142</span><a name="line.142"></a>
+<span class="sourceLineNo">143</span>   /*<a name="line.143"></a>
+<span class="sourceLineNo">144</span>    * Called from RestServlet after a match has been made but before the guard or method invocation.<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    */<a name="line.145"></a>
+<span class="sourceLineNo">146</span>   @SuppressWarnings("hiding")<a name="line.146"></a>
+<span class="sourceLineNo">147</span>   final void init(Method javaMethod, String pathRemainder, ObjectMap properties, Map&lt;String,String&gt; mDefaultRequestHeaders, String defaultCharset, SerializerGroup mSerializers, ParserGroup mParsers, UrlEncodingParser mUrlEncodingParser, EncoderGroup encoders, String pageTitle, String pageText, String pageLinks) {<a name="line.147"></a>
+<span class="sourceLineNo">148</span>      this.javaMethod = javaMethod;<a name="line.148"></a>
+<span class="sourceLineNo">149</span>      this.pathRemainder = pathRemainder;<a name="line.149"></a>
+<span class="sourceLineNo">150</span>      this.properties = properties;<a name="line.150"></a>
+<span class="sourceLineNo">151</span>      this.defaultMethodHeaders = mDefaultRequestHeaders;<a name="line.151"></a>
+<span class="sourceLineNo">152</span>      this.serializerGroup = mSerializers;<a name="line.152"></a>
+<span class="sourceLineNo">153</span>      this.parserGroup = mParsers;<a name="line.153"></a>
+<span class="sourceLineNo">154</span>      this.urlEncodingParser = mUrlEncodingParser;<a name="line.154"></a>
+<span class="sourceLineNo">155</span>      this.beanSession = urlEncodingParser.getBeanContext().createSession();<a name="line.155"></a>
+<span class="sourceLineNo">156</span>      this.defaultCharset = defaultCharset;<a name="line.156"></a>
+<span class="sourceLineNo">157</span>      this.encoders = encoders;<a name="line.157"></a>
+<span class="sourceLineNo">158</span>      this.pageTitle = pageTitle;<a name="line.158"></a>
+<span class="sourceLineNo">159</span>      this.pageText = pageText;<a name="line.159"></a>
+<span class="sourceLineNo">160</span>      this.pageLinks = pageLinks;<a name="line.160"></a>
+<span class="sourceLineNo">161</span><a name="line.161"></a>
+<span class="sourceLineNo">162</span>      if (debug) {<a name="line.162"></a>
+<span class="sourceLineNo">163</span>         String msg = ""<a name="line.163"></a>
+<span class="sourceLineNo">164</span>            + "\n=== HTTP Request (incoming) ===================================================="<a name="line.164"></a>
+<span class="sourceLineNo">165</span>            + toString()<a name="line.165"></a>
+<span class="sourceLineNo">166</span>            + "\n=== END ========================================================================";<a name="line.166"></a>
+<span class="sourceLineNo">167</span>         context.getLogger().log(Level.WARNING, msg);<a name="line.167"></a>
+<span class="sourceLineNo">168</span>      }<a name="line.168"></a>
+<span class="sourceLineNo">169</span>   }<a name="line.169"></a>
+<span class="sourceLineNo">170</span><a name="line.170"></a>
+<span class="sourceLineNo">171</span>   /**<a name="line.171"></a>
+<span class="sourceLineNo">172</span>    * Returns a string of the form &lt;js&gt;"HTTP method-name full-url"&lt;/js&gt;<a name="line.172"></a>
+<span class="sourceLineNo">173</span>    *<a name="line.173"></a>
+<span class="sourceLineNo">174</span>    * @return A description of the request.<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    */<a name="line.175"></a>
+<span class="sourceLineNo">176</span>   public String getDescription() {<a name="line.176"></a>
+<span class="sourceLineNo">177</span>      String qs = getQueryString();<a name="line.177"></a>
+<span class="sourceLineNo">178</span>      return "HTTP " + getMethod() + " " + getRequestURI() + (qs == null ? "" : "?" + qs);<a name="line.178"></a>
+<span class="sourceLineNo">179</span>   }<a name="line.179"></a>
+<span class="sourceLineNo">180</span><a name="line.180"></a>
+<span class="sourceLineNo">181</span><a name="line.181"></a>
 <span class="sourceLineNo">182</span>   //--------------------------------------------------------------------------------<a name="line.182"></a>
-<span class="sourceLineNo">183</span><a name="line.183"></a>
-<span class="sourceLineNo">184</span>   /**<a name="line.184"></a>
-<span class="sourceLineNo">185</span>    * Servlet calls this method to initialize the properties.<a name="line.185"></a>
-<span class="sourceLineNo">186</span>    */<a name="line.186"></a>
-<span class="sourceLineNo">187</span>   RestRequest setProperties(ObjectMap properties) {<a name="line.187"></a>
-<span class="sourceLineNo">188</span>      this.properties = properties;<a name="line.188"></a>
-<span class="sourceLineNo">189</span>      return this;<a name="line.189"></a>
-<span class="sourceLineNo">190</span>   }<a name="line.190"></a>
-<span class="sourceLineNo">191</span><a name="line.191"></a>
-<span class="sourceLineNo">192</span>   /**<a name="line.192"></a>
-<span class="sourceLineNo">193</span>    * Retrieve the properties active for this request.<a name="line.193"></a>
-<span class="sourceLineNo">194</span>    * &lt;p&gt;<a name="line.194"></a>
-<span class="sourceLineNo">195</span>    * These properties can be modified by the request.<a name="line.195"></a>
-<span class="sourceLineNo">196</span>    *<a name="line.196"></a>
-<span class="sourceLineNo">197</span>    * @return The properties active for this request.<a name="line.197"></a>
-<span class="sourceLineNo">198</span>    */<a name="line.198"></a>
-<span class="sourceLineNo">199</span>   public ObjectMap getProperties() {<a name="line.199"></a>
-<span class="sourceLineNo">200</span>      return this.properties;<a name="line.200"></a>
-<span class="sourceLineNo">201</span>   }<a name="line.201"></a>
-<span class="sourceLineNo">202</span><a name="line.202"></a>
-<span class="sourceLineNo">203</span><a name="line.203"></a>
-<span class="sourceLineNo">204</span>   //--------------------------------------------------------------------------------<a name="line.204"></a>
-<span class="sourceLineNo">205</span>   // Headers<a name="line.205"></a>
+<span class="sourceLineNo">183</span>   // Properties<a name="line.183"></a>
+<span class="sourceLineNo">184</span>   //--------------------------------------------------------------------------------<a name="line.184"></a>
+<span class="sourceLineNo">185</span><a name="line.185"></a>
+<span class="sourceLineNo">186</span>   /**<a name="line.186"></a>
+<span class="sourceLineNo">187</span>    * Servlet calls this method to initialize the properties.<a name="line.187"></a>
+<span class="sourceLineNo">188</span>    */<a name="line.188"></a>
+<span class="sourceLineNo">189</span>   RestRequest setProperties(ObjectMap properties) {<a name="line.189"></a>
+<span class="sourceLineNo">190</span>      this.properties = properties;<a name="line.190"></a>
+<span class="sourceLineNo">191</span>      return this;<a name="line.191"></a>
+<span class="sourceLineNo">192</span>   }<a name="line.192"></a>
+<span class="sourceLineNo">193</span><a name="line.193"></a>
+<span class="sourceLineNo">194</span>   /**<a name="line.194"></a>
+<span class="sourceLineNo">195</span>    * Retrieve the properties active for this request.<a name="line.195"></a>
+<span class="sourceLineNo">196</span>    * &lt;p&gt;<a name="line.196"></a>
+<span class="sourceLineNo">197</span>    * These properties can be modified by the request.<a name="line.197"></a>
+<span class="sourceLineNo">198</span>    *<a name="line.198"></a>
+<span class="sourceLineNo">199</span>    * @return The properties active for this request.<a name="line.199"></a>
+<span class="sourceLineNo">200</span>    */<a name="line.200"></a>
+<span class="sourceLineNo">201</span>   public ObjectMap getProperties() {<a name="line.201"></a>
+<span class="sourceLineNo">202</span>      return this.properties;<a name="line.202"></a>
+<span class="sourceLineNo">203</span>   }<a name="line.203"></a>
+<span class="sourceLineNo">204</span><a name="line.204"></a>
+<span class="sourceLineNo">205</span><a name="line.205"></a>
 <span class="sourceLineNo">206</span>   //--------------------------------------------------------------------------------<a name="line.206"></a>
-<span class="sourceLineNo">207</span><a name="line.207"></a>
-<span class="sourceLineNo">208</span>   /**<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    * Sets a request header value.<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    *<a name="line.210"></a>
-<span class="sourceLineNo">211</span>    * @param name The header name.<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    * @param value The header value.<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    */<a name="line.213"></a>
-<span class="sourceLineNo">214</span>   public void setHeader(String name, Object value) {<a name="line.214"></a>
-<span class="sourceLineNo">215</span>      if (overriddenHeaders == null)<a name="line.215"></a>
-<span class="sourceLineNo">216</span>         overriddenHeaders = new TreeMap&lt;String,String&gt;(String.CASE_INSENSITIVE_ORDER);<a name="line.216"></a>
-<span class="sourceLineNo">217</span>      overriddenHeaders.put(name, StringUtils.toString(value));<a name="line.217"></a>
-<span class="sourceLineNo">218</span>   }<a name="line.218"></a>
-<span class="sourceLineNo">219</span><a name="line.219"></a>
-<span class="sourceLineNo">220</span><a name="line.220"></a>
-<span class="sourceLineNo">221</span>   /**<a name="line.221"></a>
-<span class="sourceLineNo">222</span>    * Returns the specified header value, or &lt;jk&gt;null&lt;/jk&gt; if the header doesn't exist.<a name="line.222"></a>
-<span class="sourceLineNo">223</span>    * &lt;p&gt;<a name="line.223"></a>
-<span class="sourceLineNo">224</span>    * If {@code allowHeaderParams} init parameter is &lt;jk&gt;true&lt;/jk&gt;, then first looks for {@code &amp;HeaderName=x} in the URL query string.<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    */<a name="line.225"></a>
-<span class="sourceLineNo">226</span>   @Override /* ServletRequest */<a name="line.226"></a>
-<span class="sourceLineNo">227</span>   public String getHeader(String name) {<a name="line.227"></a>
-<span class="sourceLineNo">228</span>      return getHeader(name, (String)null);<a name="line.228"></a>
-<span class="sourceLineNo">229</span>   }<a name="line.229"></a>
-<span class="sourceLineNo">230</span><a name="line.230"></a>
-<span class="sourceLineNo">231</span>   /**<a name="line.231"></a>
-<span class="sourceLineNo">232</span>    * Returns the specified header value, or a default value if the header doesn't exist.<a name="line.232"></a>
-<span class="sourceLineNo">233</span>    * &lt;p&gt;<a name="line.233"></a>
-<span class="sourceLineNo">234</span>    * If {@code allowHeaderParams} init parameter is &lt;jk&gt;true&lt;/jk&gt;, then first looks for {@code &amp;HeaderName=x} in the URL query string.<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    *<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    * @param name The HTTP header name.<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    * @param def The default value to return if the header value isn't found.<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    * @return The header value, or the default value if the header isn't present.<a name="line.238"></a>
-<span class="sourceLineNo">239</span>    */<a name="line.239"></a>
-<span class="sourceLineNo">240</span>   public String getHeader(String name, String def) {<a name="line.240"></a>
-<span class="sourceLineNo">241</span>      String h = getOverriddenHeader(name);<a name="line.241"></a>
-<span class="sourceLineNo">242</span>      if (h != null)<a name="line.242"></a>
-<span class="sourceLineNo">243</span>         return h;<a name="line.243"></a>
-<span class="sourceLineNo">244</span>      h = super.getHeader(name);<a name="line.244"></a>
-<span class="sourceLineNo">245</span>      if (h != null &amp;&amp; ! h.isEmpty())<a name="line.245"></a>
-<span class="sourceLineNo">246</span>         return h;<a name="line.246"></a>
-<span class="sourceLineNo">247</span>      if (defaultMethodHeaders != null) {<a name="line.247"></a>
-<span class="sourceLineNo">248</span>         h = defaultMethodHeaders.get(name);<a name="line.248"></a>
-<span class="sourceLineNo">249</span>         if (h != null)<a name="line.249"></a>
-<span class="sourceLineNo">250</span>            return h;<a name="line.250"></a>
-<span class="sourceLineNo">251</span>      }<a name="line.251"></a>
-<span class="sourceLineNo">252</span>      h = defaultServletHeaders.get(name);<a name="line.252"></a>
-<span class="sourceLineNo">253</span>      if (h != null)<a name="line.253"></a>
-<span class="sourceLineNo">254</span>         return h;<a name="line.254"></a>
-<span class="sourceLineNo">255</span>      return def;<a name="line.255"></a>
-<span class="sourceLineNo">256</span>   }<a name="line.256"></a>
-<span class="sourceLineNo">257</span><a name="line.257"></a>
-<span class="sourceLineNo">258</span>   /**<a name="line.258"></a>
-<span class="sourceLineNo">259</span>    * Returns the specified header value converted to a POJO.<a name="line.259"></a>
-<span class="sourceLineNo">260</span>    * &lt;p&gt;<a name="line.260"></a>
-<span class="sourceLineNo">261</span>    * The type can be any POJO type convertable from a &lt;code&gt;String&lt;/code&gt;<a name="line.261"></a>
-<span class="sourceLineNo">262</span>    * (See &lt;a class="doclink" href="package-summary.html#PojosConvertableFromString"&gt;POJOs Convertable From Strings&lt;/a&gt;).<a name="line.262"></a>
-<span class="sourceLineNo">263</span>    * &lt;p&gt;<a name="line.263"></a>
-<span class="sourceLineNo">264</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.264"></a>
-<span class="sourceLineNo">265</span>    * &lt;p class='bcode'&gt;<a name="line.265"></a>
-<span class="sourceLineNo">266</span>    *    &lt;jc&gt;// Parse into an integer.&lt;/jc&gt;<a name="line.266"></a>
-<span class="sourceLineNo">267</span>    *    &lt;jk&gt;int&lt;/jk&gt; myheader = req.getHeader(&lt;js&gt;"My-Header"&lt;/js&gt;, &lt;jk&gt;int&lt;/jk&gt;.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.267"></a>
-<span class="sourceLineNo">268</span>    *<a name="line.268"></a>
-<span class="sourceLineNo">269</span>    *    &lt;jc&gt;// Parse a UUID.&lt;/jc&gt;<a name="line.269"></a>
-<span class="sourceLineNo">270</span>    *    UUID myheader = req.getHeader(&lt;js&gt;"My-Header"&lt;/js&gt;, UUID.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.270"></a>
-<span class="sourceLineNo">271</span>    * &lt;/p&gt;<a name="line.271"></a>
-<span class="sourceLineNo">272</span>    *<a name="line.272"></a>
-<span class="sourceLineNo">273</span>    * @param name The HTTP header name.<a name="line.273"></a>
-<span class="sourceLineNo">274</span>    * @param type The class type to convert the header value to.<a name="line.274"></a>
-<span class="sourceLineNo">275</span>    * @param &lt;T&gt; The class type to convert the header value to.<a name="line.275"></a>
-<span class="sourceLineNo">276</span>    * @return The parameter value converted to the specified class type.<a name="line.276"></a>
-<span class="sourceLineNo">277</span>    */<a name="line.277"></a>
-<span class="sourceLineNo">278</span>   public &lt;T&gt; T getHeader(String name, Class&lt;T&gt; type) {<a name="line.278"></a>
-<span class="sourceLineNo">279</span>      String h = getHeader(name);<a name="line.279"></a>
-<span class="sourceLineNo">280</span>      return beanSession.convertToType(h, type);<a name="line.280"></a>
-<span class="sourceLineNo">281</span>   }<a name="line.281"></a>
-<span class="sourceLineNo">282</span><a name="line.282"></a>
-<span class="sourceLineNo">283</span>   /**<a name="line.283"></a>
-<span class="sourceLineNo">284</span>    * Same as {@link #getHeader(String, Class)} but returns a default value if not found.<a name="line.284"></a>
-<span class="sourceLineNo">285</span>    *<a name="line.285"></a>
-<span class="sourceLineNo">286</span>    * @param name The HTTP header name.<a name="line.286"></a>
-<span class="sourceLineNo">287</span>    * @param def The default value if the header was not specified or is &lt;jk&gt;null&lt;/jk&gt;.<a name="line.287"></a>
-<span class="sourceLineNo">288</span>    * @param type The class type to convert the header value to.<a name="line.288"></a>
-<span class="sourceLineNo">289</span>    * @param &lt;T&gt; The class type to convert the header value to.<a name="line.289"></a>
-<span class="sourceLineNo">290</span>    * @return The parameter value converted to the specified class type.<a name="line.290"></a>
-<span class="sourceLineNo">291</span>    */<a name="line.291"></a>
-<span class="sourceLineNo">292</span>   public &lt;T&gt; T getHeader(String name, T def, Class&lt;T&gt; type) {<a name="line.292"></a>
-<span class="sourceLineNo">293</span>      String h = getHeader(name);<a name="line.293"></a>
-<span class="sourceLineNo">294</span>      if (h == null)<a name="line.294"></a>
-<span class="sourceLineNo">295</span>         return def;<a name="line.295"></a>
-<span class="sourceLineNo">296</span>      return beanSession.convertToType(h, type);<a name="line.296"></a>
-<span class="sourceLineNo">297</span>   }<a name="line.297"></a>
-<span class="sourceLineNo">298</span><a name="line.298"></a>
-<span class="sourceLineNo">299</span>   /**<a name="line.299"></a>
-<span class="sourceLineNo">300</span>    * Returns the specified header value converted to a POJO.<a name="line.300"></a>
-<span class="sourceLineNo">301</span>    * &lt;p&gt;<a name="line.301"></a>
-<span class="sourceLineNo">302</span>    * The type can be any POJO type convertable from a &lt;code&gt;String&lt;/code&gt;<a name="line.302"></a>
-<span class="sourceLineNo">303</span>    * (See &lt;a class="doclink" href="package-summary.html#PojosConvertableFromString"&gt;POJOs Convertable From Strings&lt;/a&gt;).<a name="line.303"></a>
-<span class="sourceLineNo">304</span>    * &lt;p&gt;<a name="line.304"></a>
-<span class="sourceLineNo">305</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.305"></a>
-<span class="sourceLineNo">306</span>    * &lt;p class='bcode'&gt;<a name="line.306"></a>
-<span class="sourceLineNo">307</span>    *    &lt;jc&gt;// Parse into a linked-list of strings.&lt;/jc&gt;<a name="line.307"></a>
-<span class="sourceLineNo">308</span>    *    List&amp;lt;String&amp;gt; myheader = req.getHeader(&lt;js&gt;"My-Header"&lt;/js&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.308"></a>
-<span class="sourceLineNo">309</span>    * &lt;/p&gt;<a name="line.309"></a>
-<span class="sourceLineNo">310</span>    *<a name="line.310"></a>
-<span class="sourceLineNo">311</span>    * @param name The HTTP header name.<a name="line.311"></a>
-<span class="sourceLineNo">312</span>    * @param type The type of object to create.<a name="line.312"></a>
-<span class="sourceLineNo">313</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.313"></a>
-<span class="sourceLineNo">314</span>    * @param args The type arguments of the class if it's a collection or map.<a name="line.314"></a>
+<span class="sourceLineNo">207</span>   // Headers<a name="line.207"></a>
+<span class="sourceLineNo">208</span>   //--------------------------------------------------------------------------------<a name="line.208"></a>
+<span class="sourceLineNo">209</span><a name="line.209"></a>
+<span class="sourceLineNo">210</span>   /**<a name="line.210"></a>
+<span class="sourceLineNo">211</span>    * Sets a request header value.<a name="line.211"></a>
+<span class="sourceLineNo">212</span>    *<a name="line.212"></a>
+<span class="sourceLineNo">213</span>    * @param name The header name.<a name="line.213"></a>
+<span class="sourceLineNo">214</span>    * @param value The header value.<a name="line.214"></a>
+<span class="sourceLineNo">215</span>    */<a name="line.215"></a>
+<span class="sourceLineNo">216</span>   public void setHeader(String name, Object value) {<a name="line.216"></a>
+<span class="sourceLineNo">217</span>      if (overriddenHeaders == null)<a name="line.217"></a>
+<span class="sourceLineNo">218</span>         overriddenHeaders = new TreeMap&lt;String,String&gt;(String.CASE_INSENSITIVE_ORDER);<a name="line.218"></a>
+<span class="sourceLineNo">219</span>      overriddenHeaders.put(name, StringUtils.toString(value));<a name="line.219"></a>
+<span class="sourceLineNo">220</span>   }<a name="line.220"></a>
+<span class="sourceLineNo">221</span><a name="line.221"></a>
+<span class="sourceLineNo">222</span><a name="line.222"></a>
+<span class="sourceLineNo">223</span>   /**<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    * Returns the specified header value, or &lt;jk&gt;null&lt;/jk&gt; if the header doesn't exist.<a name="line.224"></a>
+<span class="sourceLineNo">225</span>    * &lt;p&gt;<a name="line.225"></a>
+<span class="sourceLineNo">226</span>    * If {@code allowHeaderParams} init parameter is &lt;jk&gt;true&lt;/jk&gt;, then first looks for {@code &amp;HeaderName=x} in the URL query string.<a name="line.226"></a>
+<span class="sourceLineNo">227</span>    */<a name="line.227"></a>
+<span class="sourceLineNo">228</span>   @Override /* ServletRequest */<a name="line.228"></a>
+<span class="sourceLineNo">229</span>   public String getHeader(String name) {<a name="line.229"></a>
+<span class="sourceLineNo">230</span>      return getHeader(name, (String)null);<a name="line.230"></a>
+<span class="sourceLineNo">231</span>   }<a name="line.231"></a>
+<span class="sourceLineNo">232</span><a name="line.232"></a>
+<span class="sourceLineNo">233</span>   /**<a name="line.233"></a>
+<span class="sourceLineNo">234</span>    * Returns the specified header value, or a default value if the header doesn't exist.<a name="line.234"></a>
+<span class="sourceLineNo">235</span>    * &lt;p&gt;<a name="line.235"></a>
+<span class="sourceLineNo">236</span>    * If {@code allowHeaderParams} init parameter is &lt;jk&gt;true&lt;/jk&gt;, then first looks for {@code &amp;HeaderName=x} in the URL query string.<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    *<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    * @param name The HTTP header name.<a name="line.238"></a>
+<span class="sourceLineNo">239</span>    * @param def The default value to return if the header value isn't found.<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    * @return The header value, or the default value if the header isn't present.<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    */<a name="line.241"></a>
+<span class="sourceLineNo">242</span>   public String getHeader(String name, String def) {<a name="line.242"></a>
+<span class="sourceLineNo">243</span>      String h = getOverriddenHeader(name);<a name="line.243"></a>
+<span class="sourceLineNo">244</span>      if (h != null)<a name="line.244"></a>
+<span class="sourceLineNo">245</span>         return h;<a name="line.245"></a>
+<span class="sourceLineNo">246</span>      h = super.getHeader(name);<a name="line.246"></a>
+<span class="sourceLineNo">247</span>      if (h != null &amp;&amp; ! h.isEmpty())<a name="line.247"></a>
+<span class="sourceLineNo">248</span>         return h;<a name="line.248"></a>
+<span class="sourceLineNo">249</span>      if (defaultMethodHeaders != null) {<a name="line.249"></a>
+<span class="sourceLineNo">250</span>         h = defaultMethodHeaders.get(name);<a name="line.250"></a>
+<span class="sourceLineNo">251</span>         if (h != null)<a name="line.251"></a>
+<span class="sourceLineNo">252</span>            return h;<a name="line.252"></a>
+<span class="sourceLineNo">253</span>      }<a name="line.253"></a>
+<span class="sourceLineNo">254</span>      h = defaultServletHeaders.get(name);<a name="line.254"></a>
+<span class="sourceLineNo">255</span>      if (h != null)<a name="line.255"></a>
+<span class="sourceLineNo">256</span>         return h;<a name="line.256"></a>
+<span class="sourceLineNo">257</span>      return def;<a name="line.257"></a>
+<span class="sourceLineNo">258</span>   }<a name="line.258"></a>
+<span class="sourceLineNo">259</span><a name="line.259"></a>
+<span class="sourceLineNo">260</span>   /**<a name="line.260"></a>
+<span class="sourceLineNo">261</span>    * Returns the specified header value converted to a POJO.<a name="line.261"></a>
+<span class="sourceLineNo">262</span>    * &lt;p&gt;<a name="line.262"></a>
+<span class="sourceLineNo">263</span>    * The type can be any POJO type convertable from a &lt;code&gt;String&lt;/code&gt;<a name="line.263"></a>
+<span class="sourceLineNo">264</span>    * (See &lt;a class="doclink" href="package-summary.html#PojosConvertableFromString"&gt;POJOs Convertable From Strings&lt;/a&gt;).<a name="line.264"></a>
+<span class="sourceLineNo">265</span>    * &lt;p&gt;<a name="line.265"></a>
+<span class="sourceLineNo">266</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.266"></a>
+<span class="sourceLineNo">267</span>    * &lt;p class='bcode'&gt;<a name="line.267"></a>
+<span class="sourceLineNo">268</span>    *    &lt;jc&gt;// Parse into an integer.&lt;/jc&gt;<a name="line.268"></a>
+<span class="sourceLineNo">269</span>    *    &lt;jk&gt;int&lt;/jk&gt; myheader = req.getHeader(&lt;js&gt;"My-Header"&lt;/js&gt;, &lt;jk&gt;int&lt;/jk&gt;.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.269"></a>
+<span class="sourceLineNo">270</span>    *<a name="line.270"></a>
+<span class="sourceLineNo">271</span>    *    &lt;jc&gt;// Parse a UUID.&lt;/jc&gt;<a name="line.271"></a>
+<span class="sourceLineNo">272</span>    *    UUID myheader = req.getHeader(&lt;js&gt;"My-Header"&lt;/js&gt;, UUID.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.272"></a>
+<span class="sourceLineNo">273</span>    * &lt;/p&gt;<a name="line.273"></a>
+<span class="sourceLineNo">274</span>    *<a name="line.274"></a>
+<span class="sourceLineNo">275</span>    * @param name The HTTP header name.<a name="line.275"></a>
+<span class="sourceLineNo">276</span>    * @param type The class type to convert the header value to.<a name="line.276"></a>
+<span class="sourceLineNo">277</span>    * @param &lt;T&gt; The class type to convert the header value to.<a name="line.277"></a>
+<span class="sourceLineNo">278</span>    * @return The parameter value converted to the specified class type.<a name="line.278"></a>
+<span class="sourceLineNo">279</span>    */<a name="line.279"></a>
+<span class="sourceLineNo">280</span>   public &lt;T&gt; T getHeader(String name, Class&lt;T&gt; type) {<a name="line.280"></a>
+<span class="sourceLineNo">281</span>      String h = getHeader(name);<a name="line.281"></a>
+<span class="sourceLineNo">282</span>      return beanSession.convertToType(h, type);<a name="line.282"></a>
+<span class="sourceLineNo">283</span>   }<a name="line.283"></a>
+<span class="sourceLineNo">284</span><a name="line.284"></a>
+<span class="sourceLineNo">285</span>   /**<a name="line.285"></a>
+<span class="sourceLineNo">286</span>    * Same as {@link #getHeader(String, Class)} but returns a default value if not found.<a name="line.286"></a>
+<span class="sourceLineNo">287</span>    *<a name="line.287"></a>
+<span class="sourceLineNo">288</span>    * @param name The HTTP header name.<a name="line.288"></a>
+<span class="sourceLineNo">289</span>    * @param def The default value if the header was not specified or is &lt;jk&gt;null&lt;/jk&gt;.<a name="line.289"></a>
+<span class="sourceLineNo">290</span>    * @param type The class type to convert the header value to.<a name="line.290"></a>
+<span class="sourceLineNo">291</span>    * @param &lt;T&gt; The class type to convert the header value to.<a name="line.291"></a>
+<span class="sourceLineNo">292</span>    * @return The parameter value converted to the specified class type.<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    */<a name="line.293"></a>
+<span class="sourceLineNo">294</span>   public &lt;T&gt; T getHeader(String name, T def, Class&lt;T&gt; type) {<a name="line.294"></a>
+<span class="sourceLineNo">295</span>      String h = getHeader(name);<a name="line.295"></a>
+<span class="sourceLineNo">296</span>      if (h == null)<a name="line.296"></a>
+<span class="sourceLineNo">297</span>         return def;<a name="line.297"></a>
+<span class="sourceLineNo">298</span>      return beanSession.convertToType(h, type);<a name="line.298"></a>
+<span class="sourceLineNo">299</span>   }<a name="line.299"></a>
+<span class="sourceLineNo">300</span><a name="line.300"></a>
+<span class="sourceLineNo">301</span>   /**<a name="line.301"></a>
+<span class="sourceLineNo">302</span>    * Returns the specified header value converted to a POJO.<a name="line.302"></a>
+<span class="sourceLineNo">303</span>    * &lt;p&gt;<a name="line.303"></a>
+<span class="sourceLineNo">304</span>    * The type can be any POJO type convertable from a &lt;code&gt;String&lt;/code&gt;<a name="line.304"></a>
+<span class="sourceLineNo">305</span>    * (See &lt;a class="doclink" href="package-summary.html#PojosConvertableFromString"&gt;POJOs Convertable From Strings&lt;/a&gt;).<a name="line.305"></a>
+<span class="sourceLineNo">306</span>    * &lt;p&gt;<a name="line.306"></a>
+<span class="sourceLineNo">307</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.307"></a>
+<span class="sourceLineNo">308</span>    * &lt;p class='bcode'&gt;<a name="line.308"></a>
+<span class="sourceLineNo">309</span>    *    &lt;jc&gt;// Parse into a linked-list of strings.&lt;/jc&gt;<a name="line.309"></a>
+<span class="sourceLineNo">310</span>    *    List&amp;lt;String&amp;gt; myheader = req.getHeader(&lt;js&gt;"My-Header"&lt;/js&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.310"></a>
+<span class="sourceLineNo">311</span>    * &lt;/p&gt;<a name="line.311"></a>
+<span class="sourceLineNo">312</span>    *<a name="line.312"></a>
+<span class="sourceLineNo">313</span>    * @param name The HTTP header name.<a name="line.313"></a>
+<span class="sourceLineNo">314</span>    * @param type The type of object to create.<a name="line.314"></a>
 <span class="sourceLineNo">315</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.315"></a>
-<span class="sourceLineNo">316</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.316"></a>
-<span class="sourceLineNo">317</span>    * @param &lt;T&gt; The class type to convert the header value to.<a name="line.317"></a>
-<span class="sourceLineNo">318</span>    * @return The parameter value converted to the specified class type.<a name="line.318"></a>
-<span class="sourceLineNo">319</span>    */<a name="line.319"></a>
-<span class="sourceLineNo">320</span>   public &lt;T&gt; T getHeader(String name, Type type, Type...args) {<a name="line.320"></a>
-<span class="sourceLineNo">321</span>      String h = getHeader(name);<a name="line.321"></a>
-<span class="sourceLineNo">322</span>      return (T)beanSession.convertToType(null, h, beanSession.getClassMeta(type, args));<a name="line.322"></a>
-<span class="sourceLineNo">323</span>   }<a name="line.323"></a>
-<span class="sourceLineNo">324</span><a name="line.324"></a>
-<span class="sourceLineNo">325</span>   /**<a name="line.325"></a>
-<span class="sourceLineNo">326</span>    * Returns all the request headers as an {@link ObjectMap}.<a name="line.326"></a>
-<span class="sourceLineNo">327</span>    * &lt;p&gt;<a name="line.327"></a>
-<span class="sourceLineNo">328</span>    * Altering entries in this map does not alter headers in the underlying request.<a name="line.328"></a>
-<span class="sourceLineNo">329</span>    *<a name="line.329"></a>
-<span class="sourceLineNo">330</span>    * @return The request headers.  Never &lt;jk&gt;null&lt;/jk&gt;.<a name="line.330"></a>
-<span class="sourceLineNo">331</span>    */<a name="line.331"></a>
-<span class="sourceLineNo">332</span>   public ObjectMap getHeaders() {<a name="line.332"></a>
-<span class="sourceLineNo">333</span>      if (headers == null) {<a name="line.333"></a>
-<span class="sourceLineNo">334</span>         headers = new ObjectMap();<a name="line.334"></a>
-<span class="sourceLineNo">335</span>         for (Enumeration&lt;String&gt; e = getHeaderNames(); e.hasMoreElements();) {<a name="line.335"></a>
-<span class="sourceLineNo">336</span>            String key = e.nextElement();<a name="line.336"></a>
-<span class="sourceLineNo">337</span>            headers.put(key, getHeader(key));<a name="line.337"></a>
-<span class="sourceLineNo">338</span>         }<a name="line.338"></a>
-<span class="sourceLineNo">339</span>      }<a name="line.339"></a>
-<span class="sourceLineNo">340</span>      return headers;<a name="line.340"></a>
-<span class="sourceLineNo">341</span>   }<a name="line.341"></a>
-<span class="sourceLineNo">342</span><a name="line.342"></a>
-<span class="sourceLineNo">343</span>   @Override /* ServletRequest */<a name="line.343"></a>
-<span class="sourceLineNo">344</span>   public Enumeration&lt;String&gt; getHeaders(String name) {<a name="line.344"></a>
-<span class="sourceLineNo">345</span>      String h = getOverriddenHeader(name);<a name="line.345"></a>
-<span class="sourceLineNo">346</span>      if (h != null)<a name="line.346"></a>
-<span class="sourceLineNo">347</span>         return enumeration(singleton(h));<a name="line.347"></a>
-<span class="sourceLineNo">348</span>      return super.getHeaders(name);<a name="line.348"></a>
-<span class="sourceLineNo">349</span>   }<a name="line.349"></a>
-<span class="sourceLineNo">350</span><a name="line.350"></a>
-<span class="sourceLineNo">351</span>   /**<a name="line.351"></a>
-<span class="sourceLineNo">352</span>    * Returns the &lt;code&gt;Content-Type&lt;/code&gt; header value on the request, stripped<a name="line.352"></a>
-<span class="sourceLineNo">353</span>    *    of any parameters such as &lt;js&gt;";charset=X"&lt;/js&gt;.<a name="line.353"></a>
-<span class="sourceLineNo">354</span>    * &lt;p&gt;<a name="line.354"></a>
-<span class="sourceLineNo">355</span>    * Example: &lt;js&gt;"text/json"&lt;/js&gt;.<a name="line.355"></a>
-<span class="sourceLineNo">356</span>    * &lt;p&gt;<a name="line.356"></a>
-<span class="sourceLineNo">357</span>    * If the content type is not specified, and the content is specified via a<a name="line.357"></a>
-<span class="sourceLineNo">358</span>    *    &lt;code&gt;&amp;amp;body&lt;/code&gt; query parameter, the content type is assumed to be<a name="line.358"></a>
-<span class="sourceLineNo">359</span>    *    &lt;js&gt;"text/uon"&lt;/js&gt;.  Otherwise, the content type is assumed to be &lt;js&gt;"text/json"&lt;/js&gt;.<a name="line.359"></a>
-<span class="sourceLineNo">360</span>    *<a name="line.360"></a>
-<span class="sourceLineNo">361</span>    * @return The &lt;code&gt;Content-Type&lt;/code&gt; media-type header value on the request.<a name="line.361"></a>
-<span class="sourceLineNo">362</span>    */<a name="line.362"></a>
-<span class="sourceLineNo">363</span>   public MediaType getMediaType() {<a name="line.363"></a>
-<span class="sourceLineNo">364</span>      String cm = getHeader("Content-Type");<a name="line.364"></a>
-<span class="sourceLineNo">365</span>      if (cm == null) {<a name="line.365"></a>
-<span class="sourceLineNo">366</span>         if (body != null)<a name="line.366"></a>
-<span class="sourceLineNo">367</span>            return MediaType.UON;<a name="line.367"></a>
-<span class="sourceLineNo">368</span>         return MediaType.JSON;<a name="line.368"></a>
-<span class="sourceLineNo">369</span>      }<a name="line.369"></a>
-<span class="sourceLineNo">370</span>      return MediaType.forString(cm);<a name="line.370"></a>
-<span class="sourceLineNo">371</span>   }<a name="line.371"></a>
-<span class="sourceLineNo">372</span><a name="line.372"></a>
-<span class="sourceLineNo">373</span>   /**<a name="line.373"></a>
-<span class="sourceLineNo">374</span>    * Returns the &lt;code&gt;Time-Zone&lt;/code&gt; header value on the request if there is one.<a name="line.374"></a>
-<span class="sourceLineNo">375</span>    * &lt;p&gt;<a name="line.375"></a>
-<span class="sourceLineNo">376</span>    * Example: &lt;js&gt;"GMT"&lt;/js&gt;.<a name="line.376"></a>
-<span class="sourceLineNo">377</span>    *<a name="line.377"></a>
-<span class="sourceLineNo">378</span>    * @return The &lt;code&gt;Time-Zone&lt;/code&gt; header value on the request, or &lt;jk&gt;null&lt;/jk&gt; if not present.<a name="line.378"></a>
-<span class="sourceLineNo">379</span>    */<a name="line.379"></a>
-<span class="sourceLineNo">380</span>   public TimeZone getTimeZone() {<a name="line.380"></a>
-<span class="sourceLineNo">381</span>      String tz = getHeader("Time-Zone");<a name="line.381"></a>
-<span class="sourceLineNo">382</span>      if (tz != null)<a name="line.382"></a>
-<span class="sourceLineNo">383</span>         return TimeZone.getTimeZone(tz);<a name="line.383"></a>
-<span class="sourceLineNo">384</span>      return null;<a name="line.384"></a>
-<span class="sourceLineNo">385</span>   }<a name="line.385"></a>
-<span class="sourceLineNo">386</span><a name="line.386"></a>
-<span class="sourceLineNo">387</span>   /**<a name="line.387"></a>
-<span class="sourceLineNo">388</span>    * Returns the media types that are valid for &lt;code&gt;Content-Type&lt;/code&gt; headers on the request.<a name="line.388"></a>
-<span class="sourceLineNo">389</span>    *<a name="line.389"></a>
-<span class="sourceLineNo">390</span>    * @return The set of media types registered in the parser group of this request.<a name="line.390"></a>
-<span class="sourceLineNo">391</span>    */<a name="line.391"></a>
-<span class="sourceLineNo">392</span>   public List&lt;MediaType&gt; getSupportedMediaTypes() {<a name="line.392"></a>
-<span class="sourceLineNo">393</span>      return parserGroup.getSupportedMediaTypes();<a name="line.393"></a>
-<span class="sourceLineNo">394</span>   }<a name="line.394"></a>
-<span class="sourceLineNo">395</span><a name="line.395"></a>
-<span class="sourceLineNo">396</span>   /**<a name="line.396"></a>
-<span class="sourceLineNo">397</span>    * Sets the charset to expect on the request body.<a name="line.397"></a>
-<span class="sourceLineNo">398</span>    */<a name="line.398"></a>
-<span class="sourceLineNo">399</span>   @Override /* ServletRequest */<a name="line.399"></a>
-<span class="sourceLineNo">400</span>   public void setCharacterEncoding(String charset) {<a name="line.400"></a>
-<span class="sourceLineNo">401</span>      this.charset = charset;<a name="line.401"></a>
-<span class="sourceLineNo">402</span>   }<a name="line.402"></a>
-<span class="sourceLineNo">403</span><a name="line.403"></a>
-<span class="sourceLineNo">404</span>   /**<a name="line.404"></a>
-<span class="sourceLineNo">405</span>    * Returns the charset specified on the &lt;code&gt;Content-Type&lt;/code&gt; header, or &lt;js&gt;"UTF-8"&lt;/js&gt; if not specified.<a name="line.405"></a>
-<span class="sourceLineNo">406</span>    */<a name="line.406"></a>
-<span class="sourceLineNo">407</span>   @Override /* ServletRequest */<a name="line.407"></a>
-<span class="sourceLineNo">408</span>   public String getCharacterEncoding() {<a name="line.408"></a>
-<span class="sourceLineNo">409</span>      if (charset == null) {<a name="line.409"></a>
-<span class="sourceLineNo">410</span>         // Determine charset<a name="line.410"></a>
-<span class="sourceLineNo">411</span>         // NOTE:  Don't use super.getCharacterEncoding() because the spec is implemented inconsistently.<a name="line.411"></a>
-<span class="sourceLineNo">412</span>         // Jetty returns the default charset instead of null if the character is not specified on the request.<a name="line.412"></a>
-<span class="sourceLineNo">413</span>         String h = getHeader("Content-Type");<a name="line.413"></a>
-<span class="sourceLineNo">414</span>         if (h != null) {<a name="line.414"></a>
-<span class="sourceLineNo">415</span>            int i = h.indexOf(";charset=");<a name="line.415"></a>
-<span class="sourceLineNo">416</span>            if (i &gt; 0)<a name="line.416"></a>
-<span class="sourceLineNo">417</span>               charset = h.substring(i+9).trim();<a name="line.417"></a>
-<span class="sourceLineNo">418</span>         }<a name="line.418"></a>
-<span class="sourceLineNo">419</span>         if (charset == null)<a name="line.419"></a>
-<span class="sourceLineNo">420</span>            charset = defaultCharset;<a name="line.420"></a>
-<span class="sourceLineNo">421</span>         if (! Charset.isSupported(charset))<a name="line.421"></a>
-<span class="sourceLineNo">422</span>            throw new RestException(SC_UNSUPPORTED_MEDIA_TYPE, "Unsupported charset in header ''Content-Type'': ''{0}''", h);<a name="line.422"></a>
-<span class="sourceLineNo">423</span>      }<a name="line.423"></a>
-<span class="sourceLineNo">424</span>      return charset;<a name="line.424"></a>
-<span class="sourceLineNo">425</span>   }<a name="line.425"></a>
-<span class="sourceLineNo">426</span><a name="line.426"></a>
-<span class="sourceLineNo">427</span>   @Override /* ServletRequest */<a name="line.427"></a>
-<span class="sourceLineNo">428</span>   public Locale getLocale() {<a name="line.428"></a>
-<span class="sourceLineNo">429</span>      String h = getOverriddenHeader("Accept-Language");<a name="line.429"></a>
-<span class="sourceLineNo">430</span>      if (h != null) {<a name="line.430"></a>
-<span class="sourceLineNo">431</span>         MediaRange[] mr = MediaRange.parse(h);<a name="line.431"></a>
-<span class="sourceLineNo">432</span>         if (mr.length &gt; 0)<a name="line.432"></a>
-<span class="sourceLineNo">433</span>            return toLocale(mr[0].getMediaType().getType());<a name="line.433"></a>
-<span class="sourceLineNo">434</span>      }<a name="line.434"></a>
-<span class="sourceLineNo">435</span>      return super.getLocale();<a name="line.435"></a>
-<span class="sourceLineNo">436</span>   }<a name="line.436"></a>
-<span class="sourceLineNo">437</span><a name="line.437"></a>
-<span class="sourceLineNo">438</span>   @Override /* ServletRequest */<a name="line.438"></a>
-<span class="sourceLineNo">439</span>   public Enumeration&lt;Locale&gt; getLocales() {<a name="line.439"></a>
-<span class="sourceLineNo">440</span>      String h = getOverriddenHeader("Accept-Language");<a name="line.440"></a>
-<span class="sourceLineNo">441</span>      if (h != null) {<a name="line.441"></a>
-<span class="sourceLineNo">442</span>         MediaRange[] mr = MediaRange.parse(h);<a name="line.442"></a>
-<span class="sourceLineNo">443</span>         if (mr.length &gt; 0) {<a name="line.443"></a>
-<span class="sourceLineNo">444</span>            List&lt;Locale&gt; l = new ArrayList&lt;Locale&gt;(mr.length);<a name="line.444"></a>
-<span class="sourceLineNo">445</span>            for (MediaRange r : mr)<a name="line.445"></a>
-<span class="sourceLineNo">446</span>               l.add(toLocale(r.getMediaType().getType()));<a name="line.446"></a>
-<span class="sourceLineNo">447</span>            return enumeration(l);<a name="line.447"></a>
-<span class="sourceLineNo">448</span>         }<a name="line.448"></a>
-<span class="sourceLineNo">449</span>      }<a name="line.449"></a>
-<span class="sourceLineNo">450</span>      return super.getLocales();<a name="line.450"></a>
-<span class="sourceLineNo">451</span>   }<a name="line.451"></a>
-<span class="sourceLineNo">452</span><a name="line.452"></a>
-<span class="sourceLineNo">453</span><a name="line.453"></a>
-<span class="sourceLineNo">454</span>   //--------------------------------------------------------------------------------<a name="line.454"></a>
-<span class="sourceLineNo">455</span>   // Query parameters<a name="line.455"></a>
-<span class="sourceLineNo">456</span>   //--------------------------------------------------------------------------------<a name="line.456"></a>
-<span class="sourceLineNo">457</span><a name="line.457"></a>
-<span class="sourceLineNo">458</span>   /**<a name="line.458"></a>
-<span class="sourceLineNo">459</span>    * Sets a request query parameter value.<a name="line.459"></a>
-<span class="sourceLineNo">460</span>    *<a name="line.460"></a>
-<span class="sourceLineNo">461</span>    * @param name The parameter name.<a name="line.461"></a>
-<span class="sourceLineNo">462</span>    * @param value The parameter value.<a name="line.462"></a>
-<span class="sourceLineNo">463</span>    */<a name="line.463"></a>
-<span class="sourceLineNo">464</span>   public void setQueryParameter(String name, Object value) {<a name="line.464"></a>
-<span class="sourceLineNo">465</span>      if (overriddenQueryParams == null)<a name="line.465"></a>
-<span class="sourceLineNo">466</span>         overriddenQueryParams = new TreeMap&lt;String,String&gt;(String.CASE_INSENSITIVE_ORDER);<a name="line.466"></a>
-<span class="sourceLineNo">467</span>      overriddenQueryParams.put(name, value == null ? null : value.toString());<a name="line.467"></a>
-<span class="sourceLineNo">468</span>   }<a name="line.468"></a>
-<span class="sourceLineNo">469</span><a name="line.469"></a>
-<span class="sourceLineNo">470</span>   /**<a name="line.470"></a>
-<span class="sourceLineNo">471</span>    * Returns a query parameter value.<a name="line.471"></a>
-<span class="sourceLineNo">472</span>    * &lt;p&gt;<a name="line.472"></a>
-<span class="sourceLineNo">473</span>    * Same as {@link #getParameter(String)} except only looks in the URL string, not parameters from URL-Encoded FORM posts.<a name="line.473"></a>
-<span class="sourceLineNo">474</span>    * &lt;p&gt;<a name="line.474"></a>
-<span class="sourceLineNo">475</span>    * This method can be used to retrieve a parameter without triggering the underlying servlet API to load and parse the request body.<a name="line.475"></a>
-<span class="sourceLineNo">476</span>    *<a name="line.476"></a>
-<span class="sourceLineNo">477</span>    * @param name The URL parameter name.<a name="line.477"></a>
-<span class="sourceLineNo">478</span>    * @return The parameter value, or &lt;jk&gt;null&lt;/jk&gt; if parameter not specified or has no value (e.g. &lt;js&gt;"&amp;amp;foo"&lt;/js&gt;.<a name="line.478"></a>
-<span class="sourceLineNo">479</span>    */<a name="line.479"></a>
-<span class="sourceLineNo">480</span>   public String getQueryParameter(String name) {<a name="line.480"></a>
-<span class="sourceLineNo">481</span>      String s = null;<a name="line.481"></a>
-<span class="sourceLineNo">482</span>      if (overriddenQueryParams != null)<a name="line.482"></a>
-<span class="sourceLineNo">483</span>         s = overriddenQueryParams.get(name);<a name="line.483"></a>
-<span class="sourceLineNo">484</span>      if (s != null)<a name="line.484"></a>
-<span class="sourceLineNo">485</span>         return s;<a name="line.485"></a>
-<span class="sourceLineNo">486</span>      String[] v = queryParams.get(name);<a name="line.486"></a>
-<span class="sourceLineNo">487</span>      if (v == null || v.length == 0)<a name="line.487"></a>
-<span class="sourceLineNo">488</span>         return null;<a name="line.488"></a>
-<span class="sourceLineNo">489</span>      if (v.length == 1 &amp;&amp; v[0] != null &amp;&amp; v[0].isEmpty()) {<a name="line.489"></a>
-<span class="sourceLineNo">490</span>         // Fix for behavior difference between Tomcat and WAS.<a name="line.490"></a>
-<span class="sourceLineNo">491</span>         // getParameter("foo") on "&amp;foo" in Tomcat returns "".<a name="line.491"></a>
-<span class="sourceLineNo">492</span>         // getParameter("foo") on "&amp;foo" in WAS returns null.<a name="line.492"></a>
-<span class="sourceLineNo">493</span>         if (queryParams.containsKey(name))<a name="line.493"></a>
-<span class="sourceLineNo">494</span>            return null;<a name="line.494"></a>
-<span class="sourceLineNo">495</span>      }<a name="line.495"></a>
-<span class="sourceLineNo">496</span>      return v[0];<a name="line.496"></a>
-<span class="sourceLineNo">497</span>   }<a name="line.497"></a>
-<span class="sourceLineNo">498</span><a name="line.498"></a>
-<span class="sourceLineNo">499</span>   /**<a name="line.499"></a>
-<span class="sourceLineNo">500</span>    * Same as {@link #getQueryParameter(String)} but returns the specified default value if the query parameter was not specified.<a name="line.500"></a>
-<span class="sourceLineNo">501</span>    *<a name="line.501"></a>
-<span class="sourceLineNo">502</span>    * @param name The URL parameter name.<a name="line.502"></a>
-<span class="sourceLineNo">503</span>    * @param def The default value.<a name="line.503"></a>
-<span class="sourceLineNo">504</span>    * @return The parameter value, or the default value if parameter not specified or has no value (e.g. &lt;js&gt;"&amp;amp;foo"&lt;/js&gt;.<a name="line.504"></a>
-<span class="sourceLineNo">505</span>    */<a name="line.505"></a>
-<span class="sourceLineNo">506</span>   public String getQueryParameter(String name, String def) {<a name="line.506"></a>
-<span class="sourceLineNo">507</span>      String s = getQueryParameter(name);<a name="line.507"></a>
-<span class="sourceLineNo">508</span>      return s == null ? def : s;<a name="line.508"></a>
-<span class="sourceLineNo">509</span>   }<a name="line.509"></a>
-<span class="sourceLineNo">510</span><a name="line.510"></a>
-<span class="sourceLineNo">511</span>   /**<a name="line.511"></a>
-<span class="sourceLineNo">512</span>    * Returns the specified query parameter value converted to a POJO.<a name="line.512"></a>
-<span class="sourceLineNo">513</span>    * &lt;p&gt;<a name="line.513"></a>
-<span class="sourceLineNo">514</span>    * This method can be used to retrieve a parameter without triggering the underlying servlet API to load and parse the request body.<a name="line.514"></a>
-<span class="sourceLineNo">515</span>    * &lt;p&gt;<a name="line.515"></a>
-<span class="sourceLineNo">516</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.516"></a>
-<span class="sourceLineNo">517</span>    * &lt;p class='bcode'&gt;<a name="line.517"></a>
-<span class="sourceLineNo">518</span>    *    &lt;jc&gt;// Parse into an integer.&lt;/jc&gt;<a name="line.518"></a>
-<span class="sourceLineNo">519</span>    *    &lt;jk&gt;int&lt;/jk&gt; myparam = req.getQueryParameter(&lt;js&gt;"myparam"&lt;/js&gt;, &lt;jk&gt;int&lt;/jk&gt;.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.519"></a>
-<span class="sourceLineNo">520</span>    *<a name="line.520"></a>
-<span class="sourceLineNo">521</span>    *    &lt;jc&gt;// Parse into an int array.&lt;/jc&gt;<a name="line.521"></a>
-<span class="sourceLineNo">522</span>    *    &lt;jk&gt;int&lt;/jk&gt;[] myparam = req.getQueryParameter(&lt;js&gt;"myparam"&lt;/js&gt;, &lt;jk&gt;int&lt;/jk&gt;[].&lt;jk&gt;class&lt;/jk&gt;);<a name="line.522"></a>
-<span class="sourceLineNo">523</span><a name="line.523"></a>
-<span class="sourceLineNo">524</span>    *    &lt;jc&gt;// Parse into a bean.&lt;/jc&gt;<a name="line.524"></a>
-<span class="sourceLineNo">525</span>    *    MyBean myparam = req.getQueryParameter(&lt;js&gt;"myparam"&lt;/js&gt;, MyBean.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.525"></a>
-<span class="sourceLineNo">526</span>    *<a name="line.526"></a>
-<span class="sourceLineNo">527</span>    *    &lt;jc&gt;// Parse into a linked-list of objects.&lt;/jc&gt;<a name="line.527"></a>
-<span class="sourceLineNo">528</span>    *    List myparam = req.getQueryParameter(&lt;js&gt;"myparam"&lt;/js&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;);<a name="line.528"></a>
+<span class="sourceLineNo">316</span>    * @param args The type arguments of the class if it's a collection or map.<a name="line.316"></a>
+<span class="sourceLineNo">317</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.317"></a>
+<span class="sourceLineNo">318</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.318"></a>
+<span class="sourceLineNo">319</span>    * @param &lt;T&gt; The class type to convert the header value to.<a name="line.319"></a>
+<span class="sourceLineNo">320</span>    * @return The parameter value converted to the specified class type.<a name="line.320"></a>
+<span class="sourceLineNo">321</span>    * @throws ParseException If the header could not be converted to the specified type.<a name="line.321"></a>
+<span class="sourceLineNo">322</span>    */<a name="line.322"></a>
+<span class="sourceLineNo">323</span>   public &lt;T&gt; T getHeader(String name, Type type, Type...args) throws ParseException {<a name="line.323"></a>
+<span class="sourceLineNo">324</span>      String h = getHeader(name);<a name="line.324"></a>
+<span class="sourceLineNo">325</span>      return urlEncodingParser.parsePart(h, type, args);<a name="line.325"></a>
+<span class="sourceLineNo">326</span>   }<a name="line.326"></a>
+<span class="sourceLineNo">327</span><a name="line.327"></a>
+<span class="sourceLineNo">328</span>   /**<a name="line.328"></a>
+<span class="sourceLineNo">329</span>    * Returns all the request headers as an {@link ObjectMap}.<a name="line.329"></a>
+<span class="sourceLineNo">330</span>    * &lt;p&gt;<a name="line.330"></a>
+<span class="sourceLineNo">331</span>    * Altering entries in this map does not alter headers in the underlying request.<a name="line.331"></a>
+<span class="sourceLineNo">332</span>    *<a name="line.332"></a>
+<span class="sourceLineNo">333</span>    * @return The request headers.  Never &lt;jk&gt;null&lt;/jk&gt;.<a name="line.333"></a>
+<span class="sourceLineNo">334</span>    */<a name="line.334"></a>
+<span class="sourceLineNo">335</span>   public ObjectMap getHeaders() {<a name="line.335"></a>
+<span class="sourceLineNo">336</span>      if (headers == null) {<a name="line.336"></a>
+<span class="sourceLineNo">337</span>         headers = new ObjectMap();<a name="line.337"></a>
+<span class="sourceLineNo">338</span>         for (Enumeration&lt;String&gt; e = getHeaderNames(); e.hasMoreElements();) {<a name="line.338"></a>
+<span class="sourceLineNo">339</span>            String key = e.nextElement();<a name="line.339"></a>
+<span class="sourceLineNo">340</span>            headers.put(key, getHeader(key));<a name="line.340"></a>
+<span class="sourceLineNo">341</span>         }<a name="line.341"></a>
+<span class="sourceLineNo">342</span>      }<a name="line.342"></a>
+<span class="sourceLineNo">343</span>      return headers;<a name="line.343"></a>
+<span class="sourceLineNo">344</span>   }<a name="line.344"></a>
+<span class="sourceLineNo">345</span><a name="line.345"></a>
+<span class="sourceLineNo">346</span>   @Override /* ServletRequest */<a name="line.346"></a>
+<span class="sourceLineNo">347</span>   public Enumeration&lt;String&gt; getHeaders(String name) {<a name="line.347"></a>
+<span class="sourceLineNo">348</span>      String h = getOverriddenHeader(name);<a name="line.348"></a>
+<span class="sourceLineNo">349</span>      if (h != null)<a name="line.349"></a>
+<span class="sourceLineNo">350</span>         return enumeration(singleton(h));<a name="line.350"></a>
+<span class="sourceLineNo">351</span>      return super.getHeaders(name);<a name="line.351"></a>
+<span class="sourceLineNo">352</span>   }<a name="line.352"></a>
+<span class="sourceLineNo">353</span><a name="line.353"></a>
+<span class="sourceLineNo">354</span>   /**<a name="line.354"></a>
+<span class="sourceLineNo">355</span>    * Returns the &lt;code&gt;Content-Type&lt;/code&gt; header value on the request, stripped<a name="line.355"></a>
+<span class="sourceLineNo">356</span>    *    of any parameters such as &lt;js&gt;";charset=X"&lt;/js&gt;.<a name="line.356"></a>
+<span class="sourceLineNo">357</span>    * &lt;p&gt;<a name="line.357"></a>
+<span class="sourceLineNo">358</span>    * Example: &lt;js&gt;"text/json"&lt;/js&gt;.<a name="line.358"></a>
+<span class="sourceLineNo">359</span>    * &lt;p&gt;<a name="line.359"></a>
+<span class="sourceLineNo">360</span>    * If the content type is not specified, and the content is specified via a<a name="line.360"></a>
+<span class="sourceLineNo">361</span>    *    &lt;code&gt;&amp;amp;body&lt;/code&gt; query parameter, the content type is assumed to be<a name="line.361"></a>
+<span class="sourceLineNo">362</span>    *    &lt;js&gt;"text/uon"&lt;/js&gt;.  Otherwise, the content type is assumed to be &lt;js&gt;"text/json"&lt;/js&gt;.<a name="line.362"></a>
+<span class="sourceLineNo">363</span>    *<a name="line.363"></a>
+<span class="sourceLineNo">364</span>    * @return The &lt;code&gt;Content-Type&lt;/code&gt; media-type header value on the request.<a name="line.364"></a>
+<span class="sourceLineNo">365</span>    */<a name="line.365"></a>
+<span class="sourceLineNo">366</span>   public MediaType getMediaType() {<a name="line.366"></a>
+<span class="sourceLineNo">367</span>      String cm = getHeader("Content-Type");<a name="line.367"></a>
+<span class="sourceLineNo">368</span>      if (cm == null) {<a name="line.368"></a>
+<span class="sourceLineNo">369</span>         if (body != null)<a name="line.369"></a>
+<span class="sourceLineNo">370</span>            return MediaType.UON;<a name="line.370"></a>
+<span class="sourceLineNo">371</span>         return MediaType.JSON;<a name="line.371"></a>
+<span class="sourceLineNo">372</span>      }<a name="line.372"></a>
+<span class="sourceLineNo">373</span>      return MediaType.forString(cm);<a name="line.373"></a>
+<span class="sourceLineNo">374</span>   }<a name="line.374"></a>
+<span class="sourceLineNo">375</span><a name="line.375"></a>
+<span class="sourceLineNo">376</span>   /**<a name="line.376"></a>
+<span class="sourceLineNo">377</span>    * Returns the &lt;code&gt;Time-Zone&lt;/code&gt; header value on the request if there is one.<a name="line.377"></a>
+<span class="sourceLineNo">378</span>    * &lt;p&gt;<a name="line.378"></a>
+<span class="sourceLineNo">379</span>    * Example: &lt;js&gt;"GMT"&lt;/js&gt;.<a name="line.379"></a>
+<span class="sourceLineNo">380</span>    *<a name="line.380"></a>
+<span class="sourceLineNo">381</span>    * @return The &lt;code&gt;Time-Zone&lt;/code&gt; header value on the request, or &lt;jk&gt;null&lt;/jk&gt; if not present.<a name="line.381"></a>
+<span class="sourceLineNo">382</span>    */<a name="line.382"></a>
+<span class="sourceLineNo">383</span>   public TimeZone getTimeZone() {<a name="line.383"></a>
+<span class="sourceLineNo">384</span>      String tz = getHeader("Time-Zone");<a name="line.384"></a>
+<span class="sourceLineNo">385</span>      if (tz != null)<a name="line.385"></a>
+<span class="sourceLineNo">386</span>         return TimeZone.getTimeZone(tz);<a name="line.386"></a>
+<span class="sourceLineNo">387</span>      return null;<a name="line.387"></a>
+<span class="sourceLineNo">388</sp

<TRUNCATED>


[31/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/client/RestCall.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/client/RestCall.html b/content/site/apidocs/org/apache/juneau/rest/client/RestCall.html
index 3a96b3d..fca5d78 100644
--- a/content/site/apidocs/org/apache/juneau/rest/client/RestCall.html
+++ b/content/site/apidocs/org/apache/juneau/rest/client/RestCall.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":42,"i14":10,"i15":10,"i16":10,"i17":42,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":42,"i14":10,"i15":10,"i16":10,"i17":42,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -108,7 +108,7 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <hr>
 <br>
-<pre>public final class <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.59">RestCall</a>
+<pre>public final class <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.62">RestCall</a>
 extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
 <div class="block">Represents a connection to a remote REST resource.
  <p>
@@ -294,265 +294,305 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </tr>
 <tr id="i20" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#formData-java.util.Map-">formData</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;params)</code>
+<div class="block">Adds form data pairs to this request to perform a URL-encoded form post.</div>
+</td>
+</tr>
+<tr id="i21" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#formData-org.apache.juneau.rest.client.NameValuePairs-">formData</a></span>(<a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a>&nbsp;nameValuePairs)</code>
+<div class="block">Adds form data pairs to this request to perform a URL-encoded form post.</div>
+</td>
+</tr>
+<tr id="i22" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#formData-java.lang.String-java.lang.Object-">formData</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+        <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
+<div class="block">Adds a form data pair to this request to perform a URL-encoded form post.</div>
+</td>
+</tr>
+<tr id="i23" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#formData-java.lang.String-java.lang.Object-boolean-">formData</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+        <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
+        boolean&nbsp;skipIfEmpty)</code>
+<div class="block">Adds a form data pair to this request to perform a URL-encoded form post.</div>
+</td>
+</tr>
+<tr id="i24" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#formDataIfNE-java.util.Map-">formDataIfNE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;params)</code>
+<div class="block">Adds form data parameters to the request for any parameters that aren't null/empty.</div>
+</td>
+</tr>
+<tr id="i25" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#formDataIfNE-java.lang.String-java.lang.Object-">formDataIfNE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
+<div class="block">Adds a form data pair to the request if the parameter value is not <jk>null</jk> or an empty string.</div>
+</td>
+</tr>
+<tr id="i26" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#forwarded-java.lang.Object-">forwarded</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Forwarded</code> request header.</div>
 </td>
 </tr>
-<tr id="i21" class="rowColor">
+<tr id="i27" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#from-java.lang.Object-">from</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>From</code> request header.</div>
 </td>
 </tr>
-<tr id="i22" class="altColor">
+<tr id="i28" class="altColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getCapturedResponse--">getCapturedResponse</a></span>()</code>
 <div class="block">Returns the response text as a string if <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#captureResponse--"><code>captureResponse()</code></a> was called on this object.</div>
 </td>
 </tr>
-<tr id="i23" class="rowColor">
+<tr id="i29" class="rowColor">
 <td class="colFirst"><code>int</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getContentLength--">getContentLength</a></span>()</code>
 <div class="block">Returns the value of the <code>Content-Length</code> header.</div>
 </td>
 </tr>
-<tr id="i24" class="altColor">
+<tr id="i30" class="altColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getInputStream--">getInputStream</a></span>()</code>
 <div class="block">Connects to the remote resource (if <code>connect()</code> hasn't already been called) and returns the HTTP response message body as an input stream.</div>
 </td>
 </tr>
-<tr id="i25" class="rowColor">
+<tr id="i31" class="rowColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getOutputStream-java.lang.String-">getOutputStream</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</code>
 <div class="block">Retrieves an output stream associated with an ID via <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#pipeTo-java.lang.String-java.io.OutputStream-boolean-"><code>pipeTo(String, OutputStream, boolean)</code></a></div>
 </td>
 </tr>
-<tr id="i26" class="altColor">
+<tr id="i32" class="altColor">
 <td class="colFirst"><code>protected <a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getParser--">getParser</a></span>()</code>
 <div class="block">Returns the parser specified on the client to use for parsing HTTP response bodies.</div>
 </td>
 </tr>
-<tr id="i27" class="rowColor">
+<tr id="i33" class="rowColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getReader--">getReader</a></span>()</code>
 <div class="block">Connects to the remote resource (if <code>connect()</code> hasn't already been called) and returns the HTTP response message body as a reader.</div>
 </td>
 </tr>
-<tr id="i28" class="altColor">
+<tr id="i34" class="altColor">
 <td class="colFirst"><code>org.apache.http.client.methods.HttpUriRequest</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getRequest--">getRequest</a></span>()</code>
 <div class="block">Returns access to the <code>HttpUriRequest</code> passed to <code>HttpClient.execute(HttpUriRequest)</code>.</div>
 </td>
 </tr>
-<tr id="i29" class="rowColor">
+<tr id="i35" class="rowColor">
 <td class="colFirst"><code>org.apache.http.HttpResponse</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getResponse--">getResponse</a></span>()</code>
 <div class="block">Returns access to the <code>HttpResponse</code> returned by <code>HttpClient.execute(HttpUriRequest)</code>.</div>
 </td>
 </tr>
-<tr id="i30" class="altColor">
+<tr id="i36" class="altColor">
 <td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getResponse-java.lang.Class-">getResponse</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)</code>
 <div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getResponse-java.lang.reflect.Type-java.lang.reflect.Type...-"><code>getResponse(Type, Type...)</code></a> except optimized for a non-parameterized class.</div>
 </td>
 </tr>
-<tr id="i31" class="rowColor">
+<tr id="i37" class="rowColor">
 <td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getResponse-java.lang.reflect.Type-java.lang.reflect.Type...-">getResponse</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)</code>
 <div class="block">Parses HTTP body into the specified object type.</div>
 </td>
 </tr>
-<tr id="i32" class="altColor">
+<tr id="i38" class="altColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getResponseAsString--">getResponseAsString</a></span>()</code>
 <div class="block">Connects to the remote resource (if <code>connect()</code> hasn't already been called) and returns the HTTP response message body as plain text.</div>
 </td>
 </tr>
-<tr id="i33" class="rowColor">
+<tr id="i39" class="rowColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getResponseAsStringFuture--">getResponseAsStringFuture</a></span>()</code>
 <div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getResponse-java.lang.Class-"><code>getResponse(Class)</code></a> but allows you to run the call asynchronously.</div>
 </td>
 </tr>
-<tr id="i34" class="altColor">
+<tr id="i40" class="altColor">
 <td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a>&lt;T&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getResponseFuture-java.lang.Class-">getResponseFuture</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)</code>
 <div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getResponse-java.lang.Class-"><code>getResponse(Class)</code></a> but allows you to run the call asynchronously.</div>
 </td>
 </tr>
-<tr id="i35" class="rowColor">
+<tr id="i41" class="rowColor">
 <td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a>&lt;T&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getResponseFuture-java.lang.reflect.Type-java.lang.reflect.Type...-">getResponseFuture</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type,
                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>...&nbsp;args)</code>
 <div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getResponse-java.lang.Class-"><code>getResponse(Class)</code></a> but allows you to run the call asynchronously.</div>
 </td>
 </tr>
-<tr id="i36" class="altColor">
+<tr id="i42" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils">PojoRest</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getResponsePojoRest--">getResponsePojoRest</a></span>()</code>
 <div class="block">Converts the output from the connection into an <a href="../../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau"><code>ObjectMap</code></a> and then wraps that in a <a href="../../../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a>.</div>
 </td>
 </tr>
-<tr id="i37" class="rowColor">
+<tr id="i43" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils">PojoRest</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getResponsePojoRest-java.lang.Class-">getResponsePojoRest</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;innerType)</code>
 <div class="block">Parses the output from the connection into the specified type and then wraps that in a <a href="../../../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a>.</div>
 </td>
 </tr>
-<tr id="i38" class="altColor">
+<tr id="i44" class="altColor">
 <td class="colFirst"><code>protected <a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getSerializer--">getSerializer</a></span>()</code>
 <div class="block">Returns the serializer specified on the client to use for serializing HTTP request bodies.</div>
 </td>
 </tr>
-<tr id="i39" class="rowColor">
+<tr id="i45" class="rowColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getWriter-java.lang.String-">getWriter</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</code>
 <div class="block">Retrieves a writer associated with an ID via <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#pipeTo-java.lang.String-java.io.Writer-boolean-"><code>pipeTo(String, Writer, boolean)</code></a></div>
 </td>
 </tr>
-<tr id="i40" class="altColor">
+<tr id="i46" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#header-org.apache.http.Header-">header</a></span>(org.apache.http.Header&nbsp;header)</code>
 <div class="block">Shortcut for calling <code>getRequest().setHeader(header)</code></div>
 </td>
 </tr>
-<tr id="i41" class="rowColor">
+<tr id="i47" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#header-java.lang.String-java.lang.Object-">header</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
-<div class="block">Convenience method for setting a header value on the request.</div>
+<div class="block">Sets a header on the request.</div>
 </td>
 </tr>
-<tr id="i42" class="altColor">
+<tr id="i48" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#header-java.lang.String-java.lang.Object-boolean-">header</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
+      boolean&nbsp;skipIfEmpty)</code>
+<div class="block">Sets a header on the request.</div>
+</td>
+</tr>
+<tr id="i49" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#headerIfNE-java.lang.String-java.lang.Object-">headerIfNE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
+<div class="block">Sets a header on the request if the value is not null/empty.</div>
+</td>
+</tr>
+<tr id="i50" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#headers-java.util.Map-">headers</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;values)</code>
+<div class="block">Sets headers on the request.</div>
+</td>
+</tr>
+<tr id="i51" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#headersIfNE-java.util.Map-">headersIfNE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;values)</code>
+<div class="block">Sets headers on the request if the values are not null/empty.</div>
+</td>
+</tr>
+<tr id="i52" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#host-java.lang.Object-">host</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Host</code> request header.</div>
 </td>
 </tr>
-<tr id="i43" class="rowColor">
+<tr id="i53" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#host-java.lang.String-">host</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;host)</code>
 <div class="block">Sets the URI host.</div>
 </td>
 </tr>
-<tr id="i44" class="altColor">
+<tr id="i54" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#ifMatch-java.lang.Object-">ifMatch</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>If-Match</code> request header.</div>
 </td>
 </tr>
-<tr id="i45" class="rowColor">
+<tr id="i55" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#ifModifiedSince-java.lang.Object-">ifModifiedSince</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>If-Modified-Since</code> request header.</div>
 </td>
 </tr>
-<tr id="i46" class="altColor">
+<tr id="i56" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#ifNoneMatch-java.lang.Object-">ifNoneMatch</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>If-None-Match</code> request header.</div>
 </td>
 </tr>
-<tr id="i47" class="rowColor">
+<tr id="i57" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#ifRange-java.lang.Object-">ifRange</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>If-Range</code> request header.</div>
 </td>
 </tr>
-<tr id="i48" class="altColor">
+<tr id="i58" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#ifUnmodifiedSince-java.lang.Object-">ifUnmodifiedSince</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>If-Unmodified-Since</code> request header.</div>
 </td>
 </tr>
-<tr id="i49" class="rowColor">
+<tr id="i59" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#ignoreErrors--">ignoreErrors</a></span>()</code>
 <div class="block">Prevent <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client"><code>RestCallExceptions</code></a> from being thrown when HTTP status 400+ is encountered.</div>
 </td>
 </tr>
-<tr id="i50" class="altColor">
+<tr id="i60" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#input-java.lang.Object-">input</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;input)</code>
 <div class="block">Sets the input for this REST call.</div>
 </td>
 </tr>
-<tr id="i51" class="rowColor">
+<tr id="i61" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#interceptor-org.apache.juneau.rest.client.RestCallInterceptor-">interceptor</a></span>(<a href="../../../../../org/apache/juneau/rest/client/RestCallInterceptor.html" title="class in org.apache.juneau.rest.client">RestCallInterceptor</a>&nbsp;interceptor)</code>
 <div class="block">Add an interceptor for this call only.</div>
 </td>
 </tr>
-<tr id="i52" class="altColor">
+<tr id="i62" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#logTo-java.util.logging.Level-java.util.logging.Logger-">logTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true" title="class or interface in java.util.logging">Level</a>&nbsp;level,
      <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging">Logger</a>&nbsp;log)</code>
 <div class="block">Adds a <a href="../../../../../org/apache/juneau/rest/client/RestCallLogger.html" title="class in org.apache.juneau.rest.client"><code>RestCallLogger</code></a> to the list of interceptors on this class.</div>
 </td>
 </tr>
-<tr id="i53" class="rowColor">
+<tr id="i63" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#maxForwards-java.lang.Object-">maxForwards</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Max-Forwards</code> request header.</div>
 </td>
 </tr>
-<tr id="i54" class="altColor">
+<tr id="i64" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#origin-java.lang.Object-">origin</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Origin</code> request header.</div>
 </td>
 </tr>
-<tr id="i55" class="rowColor">
-<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#param-java.lang.String-java.lang.Object-">param</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
-     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
-<div class="block">Adds a parameter to the URI query.</div>
-</td>
-</tr>
-<tr id="i56" class="altColor">
-<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#paramIfNE-java.lang.String-java.lang.Object-">paramIfNE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
-         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
-<div class="block">Adds a parameter to the URI query if the parameter value is not <jk>null</jk> or an empty string.</div>
-</td>
-</tr>
-<tr id="i57" class="rowColor">
-<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#paramIfNN-java.lang.String-java.lang.Object-">paramIfNN</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
-         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
-<div class="block">Adds a parameter to the URI query if the parameter value is not <jk>null</jk>.</div>
-</td>
-</tr>
-<tr id="i58" class="altColor">
-<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#params-java.util.Map-">params</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;params)</code>
-<div class="block">Adds parameters to the URI query.</div>
-</td>
-</tr>
-<tr id="i59" class="rowColor">
+<tr id="i65" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#parser-org.apache.juneau.parser.Parser-">parser</a></span>(<a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a>&nbsp;parser)</code>
 <div class="block">Specifies the parser to use on this call.</div>
 </td>
 </tr>
-<tr id="i60" class="altColor">
+<tr id="i66" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#pipeTo-java.io.OutputStream-">pipeTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os)</code>
 <div class="block">Pipes the request output to the specified output stream when <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#run--"><code>run()</code></a> is called.</div>
 </td>
 </tr>
-<tr id="i61" class="rowColor">
+<tr id="i67" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#pipeTo-java.io.OutputStream-boolean-">pipeTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
       boolean&nbsp;close)</code>
 <div class="block">Pipe output from response to the specified output stream when <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#run--"><code>run()</code></a> is called.</div>
 </td>
 </tr>
-<tr id="i62" class="altColor">
+<tr id="i68" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#pipeTo-java.lang.String-java.io.OutputStream-boolean-">pipeTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
       <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
@@ -561,7 +601,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
  that output stream with an ID so it can be retrieved through <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getOutputStream-java.lang.String-"><code>getOutputStream(String)</code></a>.</div>
 </td>
 </tr>
-<tr id="i63" class="rowColor">
+<tr id="i69" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#pipeTo-java.lang.String-java.io.Writer-boolean-">pipeTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
       <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;w,
@@ -570,155 +610,189 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
  that writer with an ID so it can be retrieved through <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#getWriter-java.lang.String-"><code>getWriter(String)</code></a>.</div>
 </td>
 </tr>
-<tr id="i64" class="altColor">
+<tr id="i70" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#pipeTo-java.io.Writer-">pipeTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;w)</code>
 <div class="block">Pipes the request output to the specified writer when <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#run--"><code>run()</code></a> is called.</div>
 </td>
 </tr>
-<tr id="i65" class="rowColor">
+<tr id="i71" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#pipeTo-java.io.Writer-boolean-">pipeTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;w,
       boolean&nbsp;close)</code>
 <div class="block">Pipe output from response to the specified writer when <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#run--"><code>run()</code></a> is called.</div>
 </td>
 </tr>
-<tr id="i66" class="altColor">
+<tr id="i72" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#port-int-">port</a></span>(int&nbsp;port)</code>
 <div class="block">Sets the URI port.</div>
 </td>
 </tr>
-<tr id="i67" class="rowColor">
+<tr id="i73" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#pragma-java.lang.Object-">pragma</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Pragma</code> request header.</div>
 </td>
 </tr>
-<tr id="i68" class="altColor">
+<tr id="i74" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#proxyAuthorization-java.lang.Object-">proxyAuthorization</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Proxy-Authorization</code> request header.</div>
 </td>
 </tr>
-<tr id="i69" class="rowColor">
+<tr id="i75" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#query-java.util.Map-">query</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;params)</code>
+<div class="block">Adds query parameters to the URI query.</div>
+</td>
+</tr>
+<tr id="i76" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#query-java.lang.String-">query</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;query)</code>
 <div class="block">Sets a custom URI query.</div>
 </td>
 </tr>
-<tr id="i70" class="altColor">
+<tr id="i77" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#query-java.lang.String-java.lang.Object-">query</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
+<div class="block">Adds a query parameter to the URI query.</div>
+</td>
+</tr>
+<tr id="i78" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#query-java.lang.String-java.lang.Object-boolean-">query</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
+     boolean&nbsp;skipIfEmpty)</code>
+<div class="block">Adds a query parameter to the URI query.</div>
+</td>
+</tr>
+<tr id="i79" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#queryIfNE-java.util.Map-">queryIfNE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;params)</code>
+<div class="block">Adds query parameters to the URI for any parameters that aren't null/empty.</div>
+</td>
+</tr>
+<tr id="i80" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#queryIfNE-java.lang.String-java.lang.Object-">queryIfNE</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
+<div class="block">Adds a query parameter to the URI query if the parameter value is not <jk>null</jk> or an empty string.</div>
+</td>
+</tr>
+<tr id="i81" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#range-java.lang.Object-">range</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Range</code> request header.</div>
 </td>
 </tr>
-<tr id="i71" class="rowColor">
+<tr id="i82" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#redirectMaxAttempts-int-">redirectMaxAttempts</a></span>(int&nbsp;maxAttempts)</code>
 <div class="block">Specify the number of redirects to follow before throwing an exception.</div>
 </td>
 </tr>
-<tr id="i72" class="altColor">
+<tr id="i83" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#referer-java.lang.Object-">referer</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Referer</code> request header.</div>
 </td>
 </tr>
-<tr id="i73" class="rowColor">
+<tr id="i84" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#responsePattern-org.apache.juneau.rest.client.ResponsePattern-">responsePattern</a></span>(<a href="../../../../../org/apache/juneau/rest/client/ResponsePattern.html" title="class in org.apache.juneau.rest.client">ResponsePattern</a>&nbsp;responsePattern)</code>
 <div class="block">Adds a response pattern finder to look for regular expression matches in the response output.</div>
 </td>
 </tr>
-<tr id="i74" class="altColor">
+<tr id="i85" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#retryable-int-long-org.apache.juneau.rest.client.RetryOn-">retryable</a></span>(int&nbsp;retries,
          long&nbsp;interval,
-         <a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client">RetryOn</a>&nbsp;retryOn)</code>
+         <a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a>&nbsp;retryOn)</code>
 <div class="block">Make this call retryable if an error response (>=400) is received.</div>
 </td>
 </tr>
-<tr id="i75" class="rowColor">
+<tr id="i86" class="altColor">
 <td class="colFirst"><code>int</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#run--">run</a></span>()</code>
 <div class="block">Method used to execute an HTTP response where you're only interested in the HTTP response code.</div>
 </td>
 </tr>
-<tr id="i76" class="altColor">
+<tr id="i87" class="rowColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#runFuture--">runFuture</a></span>()</code>
 <div class="block">Same as <a href="../../../../../org/apache/juneau/rest/client/RestCall.html#run--"><code>run()</code></a> but allows you to run the call asynchronously.</div>
 </td>
 </tr>
-<tr id="i77" class="rowColor">
+<tr id="i88" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#scheme-java.lang.String-">scheme</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;scheme)</code>
 <div class="block">Sets the URI scheme.</div>
 </td>
 </tr>
-<tr id="i78" class="altColor">
+<tr id="i89" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#serializer-org.apache.juneau.serializer.Serializer-">serializer</a></span>(<a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a>&nbsp;serializer)</code>
 <div class="block">Specifies the serializer to use on this call.</div>
 </td>
 </tr>
-<tr id="i79" class="rowColor">
+<tr id="i90" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#setConfig-org.apache.http.client.config.RequestConfig-">setConfig</a></span>(org.apache.http.client.config.RequestConfig&nbsp;config)</code>
 <div class="block">Set configuration settings on this request.</div>
 </td>
 </tr>
-<tr id="i80" class="altColor">
+<tr id="i91" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#successPattern-java.lang.String-">successPattern</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;successPattern)</code>
 <div class="block">Look for the specified regular expression pattern in the response output.</div>
 </td>
 </tr>
-<tr id="i81" class="rowColor">
+<tr id="i92" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#te-java.lang.Object-">te</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>TE</code> request header.</div>
 </td>
 </tr>
-<tr id="i82" class="altColor">
+<tr id="i93" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#upgrade-java.lang.Object-">upgrade</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Upgrade</code> request header.</div>
 </td>
 </tr>
-<tr id="i83" class="rowColor">
+<tr id="i94" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#uri-java.lang.Object-">uri</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;uri)</code>
 <div class="block">Sets the URI for this call.</div>
 </td>
 </tr>
-<tr id="i84" class="altColor">
+<tr id="i95" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#userAgent-java.lang.Object-">userAgent</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>User-Agent</code> request header.</div>
 </td>
 </tr>
-<tr id="i85" class="rowColor">
+<tr id="i96" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#userInfo-java.lang.String-">userInfo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userInfo)</code>
 <div class="block">Sets the URI user info.</div>
 </td>
 </tr>
-<tr id="i86" class="altColor">
+<tr id="i97" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#userInfo-java.lang.String-java.lang.String-">userInfo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;username,
         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;password)</code>
 <div class="block">Sets the URI user info.</div>
 </td>
 </tr>
-<tr id="i87" class="rowColor">
+<tr id="i98" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#via-java.lang.Object-">via</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Via</code> request header.</div>
 </td>
 </tr>
-<tr id="i88" class="altColor">
+<tr id="i99" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RestCall.html#warning-java.lang.Object-">warning</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
 <div class="block">Sets the value for the <code>Warning</code> request header.</div>
@@ -752,7 +826,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>RestCall</h4>
-<pre>protected&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.94">RestCall</a>(<a href="../../../../../org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client">RestClient</a>&nbsp;client,
+<pre>protected&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.98">RestCall</a>(<a href="../../../../../org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client">RestClient</a>&nbsp;client,
                    org.apache.http.client.methods.HttpRequestBase&nbsp;request,
                    <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;uri)
             throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
@@ -781,7 +855,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>uri</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.125">uri</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;uri)
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.128">uri</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;uri)
              throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
 <div class="block">Sets the URI for this call.
  <p>
@@ -810,7 +884,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>scheme</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.141">scheme</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;scheme)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.144">scheme</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;scheme)</pre>
 <div class="block">Sets the URI scheme.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -826,7 +900,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>host</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.152">host</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;host)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.155">host</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;host)</pre>
 <div class="block">Sets the URI host.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -842,7 +916,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>port</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.163">port</a>(int&nbsp;port)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.166">port</a>(int&nbsp;port)</pre>
 <div class="block">Sets the URI port.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -852,16 +926,39 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </dl>
 </li>
 </ul>
-<a name="param-java.lang.String-java.lang.Object-">
+<a name="query-java.lang.String-java.lang.Object-boolean-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>query</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.183">query</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+                      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
+                      boolean&nbsp;skipIfEmpty)</pre>
+<div class="block">Adds a query parameter to the URI query.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.
+ Can be null/blank if the value is a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>.</dd>
+<dd><code>value</code> - The parameter value converted to a string using UON notation.
+ Can also be a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a> if the name is null/blank.
+ If a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a> and the name is null/blank, then calls <code>URIBuilder.setCustomQuery(String)</code>.</dd>
+<dd><code>skipIfEmpty</code> - Don't add the pair if the value is empty.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
+<a name="query-java.lang.String-java.lang.Object-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
-<h4>param</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.176">param</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<h4>query</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.210">query</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)
                throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
-<div class="block">Adds a parameter to the URI query.</div>
+<div class="block">Adds a query parameter to the URI query.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>name</code> - The parameter name.</dd>
@@ -873,15 +970,15 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </dl>
 </li>
 </ul>
-<a name="params-java.util.Map-">
+<a name="query-java.util.Map-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
-<h4>params</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.188">params</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;params)
-                throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
-<div class="block">Adds parameters to the URI query.</div>
+<h4>query</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.221">query</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;params)
+               throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
+<div class="block">Adds query parameters to the URI query.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>params</code> - The parameters.  Values are converted to a string using UON notation.</dd>
@@ -892,16 +989,18 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </dl>
 </li>
 </ul>
-<a name="paramIfNN-java.lang.String-java.lang.Object-">
+<a name="queryIfNE-java.lang.String-java.lang.Object-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
-<h4>paramIfNN</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.202">paramIfNN</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<h4>queryIfNE</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.235">queryIfNE</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)
                    throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
-<div class="block">Adds a parameter to the URI query if the parameter value is not <jk>null</jk>.</div>
+<div class="block">Adds a query parameter to the URI query if the parameter value is not <jk>null</jk> or an empty string.
+ <p>
+ NE = "not empty"</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>name</code> - The parameter name.</dd>
@@ -913,20 +1012,20 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </dl>
 </li>
 </ul>
-<a name="paramIfNE-java.lang.String-java.lang.Object-">
+<a name="queryIfNE-java.util.Map-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
-<h4>paramIfNE</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.216">paramIfNE</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
-                          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)
+<h4>queryIfNE</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.248">queryIfNE</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;params)
                    throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
-<div class="block">Adds a parameter to the URI query if the parameter value is not <jk>null</jk> or an empty string.</div>
+<div class="block">Adds query parameters to the URI for any parameters that aren't null/empty.
+ <p>
+ NE = "not empty"</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>name</code> - The parameter name.</dd>
-<dd><code>value</code> - The parameter value converted to a string using UON notation.</dd>
+<dd><code>params</code> - The parameters.  Values are converted to a string using UON notation.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -940,7 +1039,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>query</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.228">query</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;query)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.258">query</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;query)</pre>
 <div class="block">Sets a custom URI query.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -950,13 +1049,140 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </dl>
 </li>
 </ul>
+<a name="formData-java.lang.String-java.lang.Object-boolean-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>formData</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.274">formData</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+                         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
+                         boolean&nbsp;skipIfEmpty)</pre>
+<div class="block">Adds a form data pair to this request to perform a URL-encoded form post.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.
+ Can be null/blank if the value is a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> or <a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>.</dd>
+<dd><code>value</code> - The parameter value converted to a string using UON notation.
+ Can also be a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> or <a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>.</dd>
+<dd><code>skipIfEmpty</code> - Don't add the pair if the value is empty.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
+<a name="formData-java.lang.String-java.lang.Object-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>formData</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.303">formData</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+                         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)
+                  throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
+<div class="block">Adds a form data pair to this request to perform a URL-encoded form post.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The parameter name.
+ Can be null/blank if the value is a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> or <a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>.</dd>
+<dd><code>value</code> - The parameter value converted to a string using UON notation.
+ Can also be a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> or <a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></code> - If name was null/blank and value wasn't a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> or <a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>.</dd>
+</dl>
+</li>
+</ul>
+<a name="formData-org.apache.juneau.rest.client.NameValuePairs-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>formData</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.314">formData</a>(<a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a>&nbsp;nameValuePairs)
+                  throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
+<div class="block">Adds form data pairs to this request to perform a URL-encoded form post.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>nameValuePairs</code> - The name-value pairs of the request.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="formData-java.util.Map-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>formData</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.325">formData</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;params)
+                  throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre>
+<div class="block">Adds form data pairs to this request to perform a URL-encoded form post.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>params</code> - The parameters.  Values are converted to a string using UON notation.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></code> - If name was null/blank and value wasn't a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> or <a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>.</dd>
+</dl>
+</li>
+</ul>
+<a name="formDataIfNE-java.lang.String-java.l

<TRUNCATED>


[18/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteableMethodMeta.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteableMethodMeta.html b/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteableMethodMeta.html
new file mode 100644
index 0000000..5bb6b3f
--- /dev/null
+++ b/content/site/apidocs/src-html/org/apache/juneau/remoteable/RemoteableMethodMeta.html
@@ -0,0 +1,249 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>// ***************************************************************************************************************************<a name="line.1"></a>
+<span class="sourceLineNo">002</span>// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *<a name="line.2"></a>
+<span class="sourceLineNo">003</span>// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *<a name="line.3"></a>
+<span class="sourceLineNo">004</span>// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *<a name="line.4"></a>
+<span class="sourceLineNo">005</span>// * with the License.  You may obtain a copy of the License at                                                              *<a name="line.5"></a>
+<span class="sourceLineNo">006</span>// *                                                                                                                         *<a name="line.6"></a>
+<span class="sourceLineNo">007</span>// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *<a name="line.7"></a>
+<span class="sourceLineNo">008</span>// *                                                                                                                         *<a name="line.8"></a>
+<span class="sourceLineNo">009</span>// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *<a name="line.9"></a>
+<span class="sourceLineNo">010</span>// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *<a name="line.10"></a>
+<span class="sourceLineNo">011</span>// * specific language governing permissions and limitations under the License.                                              *<a name="line.11"></a>
+<span class="sourceLineNo">012</span>// ***************************************************************************************************************************<a name="line.12"></a>
+<span class="sourceLineNo">013</span>package org.apache.juneau.remoteable;<a name="line.13"></a>
+<span class="sourceLineNo">014</span><a name="line.14"></a>
+<span class="sourceLineNo">015</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.15"></a>
+<span class="sourceLineNo">016</span><a name="line.16"></a>
+<span class="sourceLineNo">017</span>import java.lang.annotation.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span>import java.lang.reflect.*;<a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.util.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span><a name="line.20"></a>
+<span class="sourceLineNo">021</span>import org.apache.juneau.internal.*;<a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span>/**<a name="line.23"></a>
+<span class="sourceLineNo">024</span> * Contains the meta-data about a Java method on a remoteable interface.<a name="line.24"></a>
+<span class="sourceLineNo">025</span> * &lt;p&gt;<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * Captures the information in {@link RemoteMethod @RemoteMethod} annotations for caching and reuse.<a name="line.26"></a>
+<span class="sourceLineNo">027</span> */<a name="line.27"></a>
+<span class="sourceLineNo">028</span>public class RemoteableMethodMeta {<a name="line.28"></a>
+<span class="sourceLineNo">029</span><a name="line.29"></a>
+<span class="sourceLineNo">030</span>   private final String httpMethod;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>   private final String url;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>   private final RemoteMethodArg[] queryArgs, headerArgs, formDataArgs;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>   private final Integer[] otherArgs;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>   private final Integer bodyArg;<a name="line.34"></a>
+<span class="sourceLineNo">035</span><a name="line.35"></a>
+<span class="sourceLineNo">036</span>   /**<a name="line.36"></a>
+<span class="sourceLineNo">037</span>    * Constructor.<a name="line.37"></a>
+<span class="sourceLineNo">038</span>    *<a name="line.38"></a>
+<span class="sourceLineNo">039</span>    * @param restUrl The absolute URL of the REST interface backing the interface proxy.<a name="line.39"></a>
+<span class="sourceLineNo">040</span>    * @param m The Java method.<a name="line.40"></a>
+<span class="sourceLineNo">041</span>    */<a name="line.41"></a>
+<span class="sourceLineNo">042</span>   public RemoteableMethodMeta(final String restUrl, Method m) {<a name="line.42"></a>
+<span class="sourceLineNo">043</span>      Builder b = new Builder(restUrl, m);<a name="line.43"></a>
+<span class="sourceLineNo">044</span>      this.httpMethod = b.httpMethod;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>      this.url = b.url;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>      this.queryArgs = b.queryArgs.toArray(new RemoteMethodArg[b.queryArgs.size()]);<a name="line.46"></a>
+<span class="sourceLineNo">047</span>      this.formDataArgs = b.formDataArgs.toArray(new RemoteMethodArg[b.formDataArgs.size()]);<a name="line.47"></a>
+<span class="sourceLineNo">048</span>      this.headerArgs = b.headerArgs.toArray(new RemoteMethodArg[b.headerArgs.size()]);<a name="line.48"></a>
+<span class="sourceLineNo">049</span>      this.otherArgs = b.otherArgs.toArray(new Integer[b.otherArgs.size()]);<a name="line.49"></a>
+<span class="sourceLineNo">050</span>      this.bodyArg = b.bodyArg;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>   }<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span>   private static class Builder {<a name="line.53"></a>
+<span class="sourceLineNo">054</span>      private String httpMethod, url;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>      private List&lt;RemoteMethodArg&gt;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>         queryArgs = new LinkedList&lt;RemoteMethodArg&gt;(),<a name="line.56"></a>
+<span class="sourceLineNo">057</span>         headerArgs = new LinkedList&lt;RemoteMethodArg&gt;(),<a name="line.57"></a>
+<span class="sourceLineNo">058</span>         formDataArgs = new LinkedList&lt;RemoteMethodArg&gt;();<a name="line.58"></a>
+<span class="sourceLineNo">059</span>      private List&lt;Integer&gt; otherArgs = new LinkedList&lt;Integer&gt;();<a name="line.59"></a>
+<span class="sourceLineNo">060</span>      private Integer bodyArg;<a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span>      private Builder(String restUrl, Method m) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span>         Remoteable r = m.getDeclaringClass().getAnnotation(Remoteable.class);<a name="line.63"></a>
+<span class="sourceLineNo">064</span>         RemoteMethod rm = m.getAnnotation(RemoteMethod.class);<a name="line.64"></a>
+<span class="sourceLineNo">065</span><a name="line.65"></a>
+<span class="sourceLineNo">066</span>         httpMethod = rm == null ? "POST" : rm.httpMethod();<a name="line.66"></a>
+<span class="sourceLineNo">067</span>         if (! isOneOf(httpMethod, "GET", "POST"))<a name="line.67"></a>
+<span class="sourceLineNo">068</span>            throw new RemoteableMetadataException(m, "Invalid value specified for @RemoteMethod.httpMethod() annotation.  Valid values are [GET,POST].");<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span>         String path = rm == null || rm.path().isEmpty() ? null : rm.path();<a name="line.70"></a>
+<span class="sourceLineNo">071</span>         String methodPaths = r == null ? "NAME" : r.methodPaths();<a name="line.71"></a>
+<span class="sourceLineNo">072</span><a name="line.72"></a>
+<span class="sourceLineNo">073</span>         if (! isOneOf(methodPaths, "NAME", "SIGNATURE"))<a name="line.73"></a>
+<span class="sourceLineNo">074</span>            throw new RemoteableMetadataException(m, "Invalid value specified for @Remoteable.methodPaths() annotation.  Valid values are [NAME,SIGNATURE].");<a name="line.74"></a>
+<span class="sourceLineNo">075</span><a name="line.75"></a>
+<span class="sourceLineNo">076</span>         url =<a name="line.76"></a>
+<span class="sourceLineNo">077</span>            trimSlashes(restUrl)<a name="line.77"></a>
+<span class="sourceLineNo">078</span>            + '/'<a name="line.78"></a>
+<span class="sourceLineNo">079</span>            + (path != null ? trimSlashes(path) : urlEncode("NAME".equals(methodPaths) ? m.getName() : ClassUtils.getMethodSignature(m)));<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span>         int index = 0;<a name="line.81"></a>
+<span class="sourceLineNo">082</span>         for (Annotation[] aa : m.getParameterAnnotations()) {<a name="line.82"></a>
+<span class="sourceLineNo">083</span>            boolean annotated = false;<a name="line.83"></a>
+<span class="sourceLineNo">084</span>            for (Annotation a : aa) {<a name="line.84"></a>
+<span class="sourceLineNo">085</span>               Class&lt;?&gt; ca = a.annotationType();<a name="line.85"></a>
+<span class="sourceLineNo">086</span>               if (ca == Query.class) {<a name="line.86"></a>
+<span class="sourceLineNo">087</span>                  Query q = (Query)a;<a name="line.87"></a>
+<span class="sourceLineNo">088</span>                  annotated = queryArgs.add(new RemoteMethodArg(q.value(), index, false));<a name="line.88"></a>
+<span class="sourceLineNo">089</span>               } else if (ca == QueryIfNE.class) {<a name="line.89"></a>
+<span class="sourceLineNo">090</span>                  Query q = (Query)a;<a name="line.90"></a>
+<span class="sourceLineNo">091</span>                  annotated = queryArgs.add(new RemoteMethodArg(q.value(), index, true));<a name="line.91"></a>
+<span class="sourceLineNo">092</span>               } else if (ca == FormData.class) {<a name="line.92"></a>
+<span class="sourceLineNo">093</span>                  FormData f = (FormData)a;<a name="line.93"></a>
+<span class="sourceLineNo">094</span>                  annotated = formDataArgs.add(new RemoteMethodArg(f.value(), index, false));<a name="line.94"></a>
+<span class="sourceLineNo">095</span>               } else if (ca == FormDataIfNE.class) {<a name="line.95"></a>
+<span class="sourceLineNo">096</span>                  FormData f = (FormData)a;<a name="line.96"></a>
+<span class="sourceLineNo">097</span>                  annotated = formDataArgs.add(new RemoteMethodArg(f.value(), index, true));<a name="line.97"></a>
+<span class="sourceLineNo">098</span>               } else if (ca == Header.class) {<a name="line.98"></a>
+<span class="sourceLineNo">099</span>                  Header h = (Header)a;<a name="line.99"></a>
+<span class="sourceLineNo">100</span>                  annotated = headerArgs.add(new RemoteMethodArg(h.value(), index, false));<a name="line.100"></a>
+<span class="sourceLineNo">101</span>               } else if (ca == HeaderIfNE.class) {<a name="line.101"></a>
+<span class="sourceLineNo">102</span>                  Header h = (Header)a;<a name="line.102"></a>
+<span class="sourceLineNo">103</span>                  annotated = headerArgs.add(new RemoteMethodArg(h.value(), index, true));<a name="line.103"></a>
+<span class="sourceLineNo">104</span>               } else if (ca == Body.class) {<a name="line.104"></a>
+<span class="sourceLineNo">105</span>                  annotated = true;<a name="line.105"></a>
+<span class="sourceLineNo">106</span>                  if (bodyArg == null)<a name="line.106"></a>
+<span class="sourceLineNo">107</span>                     bodyArg = index;<a name="line.107"></a>
+<span class="sourceLineNo">108</span>                  else<a name="line.108"></a>
+<span class="sourceLineNo">109</span>                     throw new RemoteableMetadataException(m, "Multiple @Body parameters found.  Only one can be specified per Java method.");<a name="line.109"></a>
+<span class="sourceLineNo">110</span>               }<a name="line.110"></a>
+<span class="sourceLineNo">111</span>            }<a name="line.111"></a>
+<span class="sourceLineNo">112</span>            if (! annotated)<a name="line.112"></a>
+<span class="sourceLineNo">113</span>               otherArgs.add(index);<a name="line.113"></a>
+<span class="sourceLineNo">114</span>            index++;<a name="line.114"></a>
+<span class="sourceLineNo">115</span>         }<a name="line.115"></a>
+<span class="sourceLineNo">116</span><a name="line.116"></a>
+<span class="sourceLineNo">117</span>         if (bodyArg != null &amp;&amp; otherArgs.size() &gt; 0)<a name="line.117"></a>
+<span class="sourceLineNo">118</span>            throw new RemoteableMetadataException(m, "@Body and non-annotated parameters found together.  Non-annotated parameters cannot be used when @Body is used.");<a name="line.118"></a>
+<span class="sourceLineNo">119</span>      }<a name="line.119"></a>
+<span class="sourceLineNo">120</span>   }<a name="line.120"></a>
+<span class="sourceLineNo">121</span><a name="line.121"></a>
+<span class="sourceLineNo">122</span>   /**<a name="line.122"></a>
+<span class="sourceLineNo">123</span>    * Returns the value of the {@link RemoteMethod#httpMethod()} annotation on this Java method.<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    * @return The value of the {@link RemoteMethod#httpMethod()} annotation, never &lt;jk&gt;null&lt;/jk&gt;.<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    */<a name="line.125"></a>
+<span class="sourceLineNo">126</span>   public String getHttpMethod() {<a name="line.126"></a>
+<span class="sourceLineNo">127</span>      return httpMethod;<a name="line.127"></a>
+<span class="sourceLineNo">128</span>   }<a name="line.128"></a>
+<span class="sourceLineNo">129</span><a name="line.129"></a>
+<span class="sourceLineNo">130</span>   /**<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    * Returns the absolute URL of the REST interface invoked by this Java method.<a name="line.131"></a>
+<span class="sourceLineNo">132</span>    * @return The absolute URL of the REST interface, never &lt;jk&gt;null&lt;/jk&gt;.<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    */<a name="line.133"></a>
+<span class="sourceLineNo">134</span>   public String getUrl() {<a name="line.134"></a>
+<span class="sourceLineNo">135</span>      return url;<a name="line.135"></a>
+<span class="sourceLineNo">136</span>   }<a name="line.136"></a>
+<span class="sourceLineNo">137</span><a name="line.137"></a>
+<span class="sourceLineNo">138</span>   /**<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    * Returns the {@link Query @Query} annotated arguments on this Java method.<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    * @return A map of {@link Query#value() @Query.value()} names to zero-indexed argument indices.<a name="line.140"></a>
+<span class="sourceLineNo">141</span>    */<a name="line.141"></a>
+<span class="sourceLineNo">142</span>   public RemoteMethodArg[] getQueryArgs() {<a name="line.142"></a>
+<span class="sourceLineNo">143</span>      return queryArgs;<a name="line.143"></a>
+<span class="sourceLineNo">144</span>   }<a name="line.144"></a>
+<span class="sourceLineNo">145</span><a name="line.145"></a>
+<span class="sourceLineNo">146</span>   /**<a name="line.146"></a>
+<span class="sourceLineNo">147</span>    * Returns the {@link FormData @FormData} annotated arguments on this Java method.<a name="line.147"></a>
+<span class="sourceLineNo">148</span>    * @return A map of {@link FormData#value() @FormData.value()} names to zero-indexed argument indices.<a name="line.148"></a>
+<span class="sourceLineNo">149</span>    */<a name="line.149"></a>
+<span class="sourceLineNo">150</span>   public RemoteMethodArg[] getFormDataArgs() {<a name="line.150"></a>
+<span class="sourceLineNo">151</span>      return formDataArgs;<a name="line.151"></a>
+<span class="sourceLineNo">152</span>   }<a name="line.152"></a>
+<span class="sourceLineNo">153</span><a name="line.153"></a>
+<span class="sourceLineNo">154</span>   /**<a name="line.154"></a>
+<span class="sourceLineNo">155</span>    * Returns the {@link Header @Header} annotated arguments on this Java method.<a name="line.155"></a>
+<span class="sourceLineNo">156</span>    * @return A map of {@link Header#value() @Header.value()} names to zero-indexed argument indices.<a name="line.156"></a>
+<span class="sourceLineNo">157</span>    */<a name="line.157"></a>
+<span class="sourceLineNo">158</span>   public RemoteMethodArg[] getHeaderArgs() {<a name="line.158"></a>
+<span class="sourceLineNo">159</span>      return headerArgs;<a name="line.159"></a>
+<span class="sourceLineNo">160</span>   }<a name="line.160"></a>
+<span class="sourceLineNo">161</span><a name="line.161"></a>
+<span class="sourceLineNo">162</span>   /**<a name="line.162"></a>
+<span class="sourceLineNo">163</span>    * Returns the remaining non-annotated arguments on this Java method.<a name="line.163"></a>
+<span class="sourceLineNo">164</span>    * @return A list of zero-indexed argument indices.<a name="line.164"></a>
+<span class="sourceLineNo">165</span>    */<a name="line.165"></a>
+<span class="sourceLineNo">166</span>   public Integer[] getOtherArgs() {<a name="line.166"></a>
+<span class="sourceLineNo">167</span>      return otherArgs;<a name="line.167"></a>
+<span class="sourceLineNo">168</span>   }<a name="line.168"></a>
+<span class="sourceLineNo">169</span><a name="line.169"></a>
+<span class="sourceLineNo">170</span>   /**<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    * Returns the argument annotated with {@link Body @Body}.<a name="line.171"></a>
+<span class="sourceLineNo">172</span>    * @return A index of the argument with the {@link Body @Body} annotation, or &lt;jk&gt;null&lt;/jk&gt; if no argument exists.<a name="line.172"></a>
+<span class="sourceLineNo">173</span>    */<a name="line.173"></a>
+<span class="sourceLineNo">174</span>   public Integer getBodyArg() {<a name="line.174"></a>
+<span class="sourceLineNo">175</span>      return bodyArg;<a name="line.175"></a>
+<span class="sourceLineNo">176</span>   }<a name="line.176"></a>
+<span class="sourceLineNo">177</span>}<a name="line.177"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/Redirect.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/Redirect.html b/content/site/apidocs/src-html/org/apache/juneau/rest/Redirect.html
index 6f33406..67a7a32 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/Redirect.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/Redirect.html
@@ -140,13 +140,13 @@
 <span class="sourceLineNo">132</span>   /**<a name="line.132"></a>
 <span class="sourceLineNo">133</span>    * Calculates the URL to redirect to.<a name="line.133"></a>
 <span class="sourceLineNo">134</span>    *<a name="line.134"></a>
-<span class="sourceLineNo">135</span>    * @param s Use this serializer to encode arguments using the {@link UrlEncodingSerializer#serializeUrlPart(Object)} method.<a name="line.135"></a>
+<span class="sourceLineNo">135</span>    * @param s Use this serializer to encode arguments using the {@link UrlEncodingSerializer#serializePart(Object,Boolean,Boolean)} method.<a name="line.135"></a>
 <span class="sourceLineNo">136</span>    * @return The URL to redirect to.<a name="line.136"></a>
 <span class="sourceLineNo">137</span>    */<a name="line.137"></a>
 <span class="sourceLineNo">138</span>   public String toUrl(UrlEncodingSerializer s) {<a name="line.138"></a>
 <span class="sourceLineNo">139</span>      if (url != null &amp;&amp; args != null &amp;&amp; args.length &gt; 0) {<a name="line.139"></a>
 <span class="sourceLineNo">140</span>         for (int i = 0; i &lt; args.length; i++)<a name="line.140"></a>
-<span class="sourceLineNo">141</span>            args[i] = s.serializeUrlPart(args[i]);<a name="line.141"></a>
+<span class="sourceLineNo">141</span>            args[i] = s.serializePart(args[i], null, true);<a name="line.141"></a>
 <span class="sourceLineNo">142</span>         return MessageFormat.format(url, args);<a name="line.142"></a>
 <span class="sourceLineNo">143</span>      }<a name="line.143"></a>
 <span class="sourceLineNo">144</span>      return url;<a name="line.144"></a>


[34/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/RestContext.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RestContext.html b/content/site/apidocs/org/apache/juneau/rest/RestContext.html
index 1a4ed4d..6010569 100644
--- a/content/site/apidocs/org/apache/juneau/rest/RestContext.html
+++ b/content/site/apidocs/org/apache/juneau/rest/RestContext.html
@@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <hr>
 <br>
-<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.44">RestContext</a>
+<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.46">RestContext</a>
 extends <a href="../../../../org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a></pre>
 <div class="block">Contains all the configuration on a REST resource and the entry points for handling REST calls.
  <p>
@@ -629,7 +629,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_allowHeaderParams</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.64">REST_allowHeaderParams</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.66">REST_allowHeaderParams</a></pre>
 <div class="block"><b>Configuration property:</b>  Enable header URL parameters.
  <p>
  <ul>
@@ -658,7 +658,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_allowMethodParam</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.90">REST_allowMethodParam</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.92">REST_allowMethodParam</a></pre>
 <div class="block"><b>Configuration property:</b>  Enable <js>"method"</js> URL parameter for specific HTTP methods.
  <p>
  <ul>
@@ -693,7 +693,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_allowBodyParam</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.110">REST_allowBodyParam</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.112">REST_allowBodyParam</a></pre>
 <div class="block"><b>Configuration property:</b>  Enable <js>"body"</js> URL parameter.
  <p>
  <ul>
@@ -722,7 +722,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_renderResponseStackTraces</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.128">REST_renderResponseStackTraces</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.130">REST_renderResponseStackTraces</a></pre>
 <div class="block"><b>Configuration property:</b>  Render stack traces.
  <p>
  <ul>
@@ -749,7 +749,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_useStackTraceHashes</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.144">REST_useStackTraceHashes</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.146">REST_useStackTraceHashes</a></pre>
 <div class="block"><b>Configuration property:</b>  Use stack trace hashes.
  <p>
  <ul>
@@ -774,7 +774,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_defaultCharset</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.159">REST_defaultCharset</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.161">REST_defaultCharset</a></pre>
 <div class="block"><b>Configuration property:</b>  Default character encoding.
  <p>
  <ul>
@@ -798,7 +798,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_paramFormat</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.187">REST_paramFormat</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.189">REST_paramFormat</a></pre>
 <div class="block"><b>Configuration property:</b>  Expected format of request parameters.
  <p>
  <ul>
@@ -835,7 +835,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_servletPath</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.201">REST_servletPath</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.203">REST_servletPath</a></pre>
 <div class="block">The request servlet path.
  <p>
  Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -853,7 +853,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_servletURI</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.208">REST_servletURI</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.210">REST_servletURI</a></pre>
 <div class="block">The request servlet URI.
  <p>
  Equivalent to the value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getServletURI--"><code>RestRequest.getServletURI()</code></a></div>
@@ -869,7 +869,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_relativeServletURI</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.215">REST_relativeServletURI</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.217">REST_relativeServletURI</a></pre>
 <div class="block">The request servlet URI.
  <p>
  Equivalent to the value returned by <a href="../../../../org/apache/juneau/rest/RestRequest.html#getRelativeServletURI--"><code>RestRequest.getRelativeServletURI()</code></a></div>
@@ -885,7 +885,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_pathInfo</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.224">REST_pathInfo</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.226">REST_pathInfo</a></pre>
 <div class="block">The request URI path info.
  <p>
  Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -903,7 +903,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_requestURI</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.233">REST_requestURI</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.235">REST_requestURI</a></pre>
 <div class="block">The request URI.
  <p>
  Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -921,7 +921,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_method</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.242">REST_method</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.244">REST_method</a></pre>
 <div class="block">The request method.
  <p>
  Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -939,7 +939,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_servletTitle</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.251">REST_servletTitle</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.253">REST_servletTitle</a></pre>
 <div class="block">The localized servlet title.
  <p>
  Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -957,7 +957,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_servletDescription</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.260">REST_servletDescription</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.262">REST_servletDescription</a></pre>
 <div class="block">The localized servlet description.
  <p>
  Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -975,7 +975,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>REST_methodSummary</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.269">REST_methodSummary</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.271">REST_methodSummary</a></pre>
 <div class="block">The localized method summary.
  <p>
  Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -993,7 +993,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockListLast">
 <li class="blockList">
 <h4>REST_methodDescription</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.278">REST_methodDescription</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.280">REST_methodDescription</a></pre>
 <div class="block">The localized method description.
  <p>
  Automatically added to properties returned by <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a> and <a href="../../../../org/apache/juneau/Session.html#getProperties--"><code>Session.getProperties()</code></a>.
@@ -1019,7 +1019,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockListLast">
 <li class="blockList">
 <h4>RestContext</h4>
-<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.344">RestContext</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;resource,
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.346">RestContext</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;resource,
                    <a href="../../../../org/apache/juneau/rest/RestConfig.html" title="class in org.apache.juneau.rest">RestConfig</a>&nbsp;config)
             throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Constructor.</div>
@@ -1046,7 +1046,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getVarResolver</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/svl/VarResolver.html" title="class in org.apache.juneau.svl">VarResolver</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.751">getVarResolver</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/svl/VarResolver.html" title="class in org.apache.juneau.svl">VarResolver</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.746">getVarResolver</a>()</pre>
 <div class="block">Returns the variable resolver for this servlet.
  <p>
  Variable resolvers are used to replace variables in property values.
@@ -1095,7 +1095,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getConfigFile</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.766">getConfigFile</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/ini/ConfigFile.html" title="class in org.apache.juneau.ini">ConfigFile</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.761">getConfigFile</a>()</pre>
 <div class="block">Returns the config file associated with this servlet.
  <p>
  The config file is identified via one of the following:
@@ -1115,7 +1115,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>resolveStaticFile</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/StreamResource.html" title="class in org.apache.juneau.rest">StreamResource</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.783">resolveStaticFile</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pathInfo)
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/StreamResource.html" title="class in org.apache.juneau.rest">StreamResource</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.778">resolveStaticFile</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pathInfo)
                                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Resolve a static resource file.
  <p>
@@ -1140,7 +1140,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getResource</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.835">getResource</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.830">getResource</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&nbsp;locale)
                            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true#getResourceAsStream-java.lang.String-" title="class or interface in java.lang"><code>Class.getResourceAsStream(String)</code></a> except if it doesn't find the resource
@@ -1174,7 +1174,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getResourceAsString</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.868">getResourceAsString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.863">getResourceAsString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                   <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&nbsp;locale)
                            throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Reads the input stream from <a href="../../../../org/apache/juneau/rest/RestContext.html#getResource-java.lang.String-java.util.Locale-"><code>getResource(String, Locale)</code></a> into a String.</div>
@@ -1195,7 +1195,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getResource</h4>
-<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.893">getResource</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;c,
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.888">getResource</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;c,
                          <a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>&nbsp;mediaType,
                          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                          <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&nbsp;locale)
@@ -1225,7 +1225,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getPath</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.924">getPath</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.919">getPath</a>()</pre>
 <div class="block">Returns the path for this resource as defined by the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#path--"><code>RestResource.path()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setPath-java.lang.String-"><code>RestConfig.setPath(String)</code></a> method
  concatenated with those on all parent classes.
  <p>
@@ -1244,7 +1244,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getPageTitle</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.933">getPageTitle</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.928">getPageTitle</a>()</pre>
 <div class="block">Returns the page title as defined by the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageTitle--"><code>RestResource.pageTitle()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setPageTitle-java.lang.String-"><code>RestConfig.setPageTitle(String)</code></a> method.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1258,7 +1258,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getPageText</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.942">getPageText</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.937">getPageText</a>()</pre>
 <div class="block">Returns the page text as defined by the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageText--"><code>RestResource.pageText()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setPageText-java.lang.String-"><code>RestConfig.setPageText(String)</code></a> method.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1272,7 +1272,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getPageLinks</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.951">getPageLinks</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.946">getPageLinks</a>()</pre>
 <div class="block">Returns the page links as defined by the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html#pageLinks--"><code>RestResource.pageLinks()</code></a> annotation or <a href="../../../../org/apache/juneau/rest/RestConfig.html#setPageLinks-java.lang.String-"><code>RestConfig.setPageLinks(String)</code></a> method.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1286,7 +1286,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getLogger</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestLogger.html" title="class in org.apache.juneau.rest">RestLogger</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.966">getLogger</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestLogger.html" title="class in org.apache.juneau.rest">RestLogger</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.961">getLogger</a>()</pre>
 <div class="block">Returns the logger to use for this resource.
  <p>
  The logger for a resource is defined via one of the following:
@@ -1306,7 +1306,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getMessages</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils">MessageBundle</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.980">getMessages</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils">MessageBundle</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.975">getMessages</a>()</pre>
 <div class="block">Returns the resource bundle used by this resource.
  <p>
  The resource bundle is defined via one of the following:
@@ -1325,7 +1325,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getInfoProvider</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestInfoProvider.html" title="class in org.apache.juneau.rest">RestInfoProvider</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.995">getInfoProvider</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestInfoProvider.html" title="class in org.apache.juneau.rest">RestInfoProvider</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.990">getInfoProvider</a>()</pre>
 <div class="block">Returns the REST information provider used by this resource.
  <p>
  The information provider is defined via one of the following:
@@ -1345,7 +1345,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getCallHandler</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest">RestCallHandler</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1010">getCallHandler</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestCallHandler.html" title="class in org.apache.juneau.rest">RestCallHandler</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1005">getCallHandler</a>()</pre>
 <div class="block">Returns the REST call handler used by this resource.
  <p>
  The call handler is defined via one of the following:
@@ -1365,7 +1365,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getCallRouters</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,org.apache.juneau.rest.CallRouter&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1019">getCallRouters</a>()</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,org.apache.juneau.rest.CallRouter&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1014">getCallRouters</a>()</pre>
 <div class="block">Returns a map of HTTP method names to call routers.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1379,7 +1379,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getResource</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1031">getResource</a>()</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1026">getResource</a>()</pre>
 <div class="block">Returns the resource object.
  <p>
  This is the instance of the class annotated with the <a href="../../../../org/apache/juneau/rest/annotation/RestResource.html" title="annotation in org.apache.juneau.rest.annotation"><code>@RestResource</code></a> annotation, usually
@@ -1396,7 +1396,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getRestServlet</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestServlet.html" title="class in org.apache.juneau.rest">RestServlet</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1041">getRestServlet</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestServlet.html" title="class in org.apache.juneau.rest">RestServlet</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1036">getRestServlet</a>()</pre>
 <div class="block">Returns the resource object as a <a href="../../../../org/apache/juneau/rest/RestServlet.html" title="class in org.apache.juneau.rest"><code>RestServlet</code></a>.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1411,7 +1411,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>checkForInitException</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1050">checkForInitException</a>()
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1045">checkForInitException</a>()
                               throws <a href="../../../../org/apache/juneau/rest/RestException.html" title="class in org.apache.juneau.rest">RestException</a></pre>
 <div class="block">Throws a <a href="../../../../org/apache/juneau/rest/RestException.html" title="class in org.apache.juneau.rest"><code>RestException</code></a> if an exception occurred in the constructor of this object.</div>
 <dl>
@@ -1426,7 +1426,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getBeanContext</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1060">getBeanContext</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1055">getBeanContext</a>()</pre>
 <div class="block">Returns the <a href="../../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau"><code>BeanContext</code></a> object used for parsing path variables and header values.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1440,7 +1440,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getProperties</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1081">getProperties</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1076">getProperties</a>()</pre>
 <div class="block">Returns the class-level properties associated with this servlet.
  <p>
  Properties at the class level are defined via one of the following:
@@ -1466,7 +1466,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getSerializers</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/serializer/SerializerGroup.html" title="class in org.apache.juneau.serializer">SerializerGroup</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1096">getSerializers</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/serializer/SerializerGroup.html" title="class in org.apache.juneau.serializer">SerializerGroup</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1091">getSerializers</a>()</pre>
 <div class="block">Returns the serializers registered with this resource.
  <p>
  Serializers at the class level are defined via one of the following:
@@ -1486,7 +1486,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getParsers</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/ParserGroup.html" title="class in org.apache.juneau.parser">ParserGroup</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1111">getParsers</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/parser/ParserGroup.html" title="class in org.apache.juneau.parser">ParserGroup</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1106">getParsers</a>()</pre>
 <div class="block">Returns the parsers registered with this resource.
  <p>
  Parsers at the class level are defined via one of the following:
@@ -1506,7 +1506,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getServletInitParameter</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1121">getServletInitParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1116">getServletInitParameter</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
 <div class="block">Returns the servlet init parameter returned by <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/ServletConfig.html?is-external=true#getInitParameter-java.lang.String-" title="class or interface in javax.servlet"><code>ServletConfig.getInitParameter(String)</code></a>.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1522,7 +1522,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getChildResources</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1131">getChildResources</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1126">getChildResources</a>()</pre>
 <div class="block">Returns the child resources associated with this servlet.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1537,7 +1537,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getStackTraceOccurrence</h4>
-<pre>protected&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1142">getStackTraceOccurrence</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;e)</pre>
+<pre>protected&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1137">getStackTraceOccurrence</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;e)</pre>
 <div class="block">Returns the number of times this exception was thrown based on a hash of its stacktrace.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1554,7 +1554,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>isRenderResponseStackTraces</h4>
-<pre>protected&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1154">isRenderResponseStackTraces</a>()</pre>
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1149">isRenderResponseStackTraces</a>()</pre>
 <div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_renderResponseStackTraces"><code>REST_renderResponseStackTraces</code></a> setting.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1568,7 +1568,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>isAllowHeaderParams</h4>
-<pre>protected&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1162">isAllowHeaderParams</a>()</pre>
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1157">isAllowHeaderParams</a>()</pre>
 <div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_allowHeaderParams"><code>REST_allowHeaderParams</code></a> setting.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1582,7 +1582,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>isAllowBodyParam</h4>
-<pre>protected&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1170">isAllowBodyParam</a>()</pre>
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1165">isAllowBodyParam</a>()</pre>
 <div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_allowBodyParam"><code>REST_allowBodyParam</code></a> setting.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1596,7 +1596,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getDefaultCharset</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1178">getDefaultCharset</a>()</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1173">getDefaultCharset</a>()</pre>
 <div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_defaultCharset"><code>REST_defaultCharset</code></a> setting.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1610,7 +1610,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getParamFormat</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1186">getParamFormat</a>()</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1181">getParamFormat</a>()</pre>
 <div class="block">Returns the value of the <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_paramFormat"><code>REST_paramFormat</code></a> setting.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1624,7 +1624,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getClientVersionHeader</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1202">getClientVersionHeader</a>()</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1197">getClientVersionHeader</a>()</pre>
 <div class="block">Returns the name of the client version header name used by this resource.
  <p>
  The client version header is the name of the HTTP header on requests that identify a client version.
@@ -1645,7 +1645,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>allowMethodParam</h4>
-<pre>protected&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1213">allowMethodParam</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;m)</pre>
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1208">allowMethodParam</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;m)</pre>
 <div class="block">Returns <jk>true</jk> if the specified <code>Method</code> GET parameter value can be used to override
  the method name in the HTTP header.</div>
 <dl>
@@ -1662,7 +1662,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getBeanFilters</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1228">getBeanFilters</a>()</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1223">getBeanFilters</a>()</pre>
 <div class="block">Returns the bean filters associated with this resource.
  <p>
  Bean filters at the class level are defined via one of the following:
@@ -1682,7 +1682,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getPojoSwaps</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1243">getPojoSwaps</a>()</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1238">getPojoSwaps</a>()</pre>
 <div class="block">Returns the POJO swaps associated with this resource.
  <p>
  POJO swaps at the class level are defined via one of the following:
@@ -1702,7 +1702,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getUrlEncodingParser</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1251">getUrlEncodingParser</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingParser.html" title="class in org.apache.juneau.urlencoding">UrlEncodingParser</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1246">getUrlEncodingParser</a>()</pre>
 <div class="block">Returns the URL-encoding parser associated with this resource.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1716,7 +1716,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getUrlEncodingSerializer</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1259">getUrlEncodingSerializer</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1254">getUrlEncodingSerializer</a>()</pre>
 <div class="block">Returns the URL-encoding serializer associated with this resource.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1730,7 +1730,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getEncoders</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/encoders/EncoderGroup.html" title="class in org.apache.juneau.encoders">EncoderGroup</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1276">getEncoders</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/encoders/EncoderGroup.html" title="class in org.apache.juneau.encoders">EncoderGroup</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1271">getEncoders</a>()</pre>
 <div class="block">Returns the encoders associated with this resource.
  <p>
  Encoders are used to provide various types of encoding such as <code>gzip</code> encoding.
@@ -1752,7 +1752,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getSupportedAcceptTypes</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1288">getSupportedAcceptTypes</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1283">getSupportedAcceptTypes</a>()</pre>
 <div class="block">Returns the explicit list of supported accept types for this resource.
  <p>
  By default, this is simply the list of accept types supported by the registered parsers, but
@@ -1769,7 +1769,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getSupportedContentTypes</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1300">getSupportedContentTypes</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1295">getSupportedContentTypes</a>()</pre>
 <div class="block">Returns the explicit list of supported content types for this resource.
  <p>
  By default, this is simply the list of content types supported by the registered serializers, but
@@ -1786,7 +1786,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getDefaultRequestHeaders</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1317">getDefaultRequestHeaders</a>()</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1312">getDefaultRequestHeaders</a>()</pre>
 <div class="block">Returns the default request headers for this resource.
  <p>
  These are headers automatically added to requests if not present.
@@ -1808,7 +1808,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getDefaultResponseHeaders</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1334">getDefaultResponseHeaders</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1329">getDefaultResponseHeaders</a>()</pre>
 <div class="block">Returns the default response headers for this resource.
  <p>
  These are headers automatically added to responses if not otherwise specified during the request.
@@ -1830,7 +1830,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getConverters</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestConverter.html" title="interface in org.apache.juneau.rest">RestConverter</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1351">getConverters</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestConverter.html" title="interface in org.apache.juneau.rest">RestConverter</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1346">getConverters</a>()</pre>
 <div class="block">Returns the converters associated with this resource at the class level.
  <p>
  Converters are used to 'convert' POJOs from one form to another before being passed of to the response handlers.
@@ -1852,7 +1852,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getGuards</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestGuard.html" title="class in org.apache.juneau.rest">RestGuard</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1368">getGuards</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestGuard.html" title="class in org.apache.juneau.rest">RestGuard</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1363">getGuards</a>()</pre>
 <div class="block">Returns the guards associated with this resource at the class level.
  <p>
  Guards are used to restrict access to resources.
@@ -1874,7 +1874,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getResponseHandlers</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest">ResponseHandler</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1385">getResponseHandlers</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest">ResponseHandler</a>[]&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1380">getResponseHandlers</a>()</pre>
 <div class="block">Returns the response handlers associated with this resource.
  <p>
  Response handlers are used to convert POJOs returned by REST Java methods into actual HTTP responses.
@@ -1896,7 +1896,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getMediaTypeForName</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1398">getMediaTypeForName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1393">getMediaTypeForName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
 <div class="block">Returns the media type for the specified file name.
  <p>
  The list of MIME-type mappings can be augmented through the <a href="../../../../org/apache/juneau/rest/RestConfig.html#addMimeTypes-java.lang.String...-"><code>RestConfig.addMimeTypes(String...)</code></a> method.
@@ -1915,7 +1915,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getFavIcon</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/StreamResource.html" title="class in org.apache.juneau.rest">StreamResource</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1415">getFavIcon</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/StreamResource.html" title="class in org.apache.juneau.rest">StreamResource</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1410">getFavIcon</a>()</pre>
 <div class="block">Returns the favicon of the resource.
  <p>
  This is the icon served up under <js>"/favicon.ico"</jk> recognized by browsers.
@@ -1937,7 +1937,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getStyleSheet</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/StreamResource.html" title="class in org.apache.juneau.rest">StreamResource</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1432">getStyleSheet</a>()</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/StreamResource.html" title="class in org.apache.juneau.rest">StreamResource</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1427">getStyleSheet</a>()</pre>
 <div class="block">Returns the stylesheet for use in the HTML views of the resource.
  <p>
  This is the contents of the page served up under <js>"/styles.css"</jk>.
@@ -1959,7 +1959,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>isStaticFile</h4>
-<pre>protected&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1450">isStaticFile</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p)</pre>
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1445">isStaticFile</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;p)</pre>
 <div class="block">Returns <jk>true</jk> if the specified path refers to a static file.
  <p>
  Static files are files pulled from the classpath and served up directly to the browser.
@@ -1983,7 +1983,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>getCallMethods</h4>
-<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,org.apache.juneau.rest.CallMethod&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1461">getCallMethods</a>()</pre>
+<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,org.apache.juneau.rest.CallMethod&gt;&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1456">getCallMethods</a>()</pre>
 <div class="block">Returns the REST Java methods defined in this resource.
  <p>
  These are the methods annotated with the <a href="../../../../org/apache/juneau/rest/annotation/RestMethod.html" title="annotation in org.apache.juneau.rest.annotation"><code>@RestMethod</code></a> annotation.</div>
@@ -1999,7 +1999,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>destroy</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1468">destroy</a>()</pre>
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1463">destroy</a>()</pre>
 <div class="block">Calls <a href="http://docs.oracle.com/javaee/5/api/javax/servlet/Servlet.html?is-external=true#destroy--" title="class or interface in javax.servlet"><code>Servlet.destroy()</code></a> on any child resources defined on this resource.</div>
 </li>
 </ul>
@@ -2009,7 +2009,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockList">
 <li class="blockList">
 <h4>hasChildResources</h4>
-<pre>protected&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1480">hasChildResources</a>()</pre>
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1475">hasChildResources</a>()</pre>
 <div class="block">Returns <jk>true</jk> if this resource has any child resources associated with it.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -2023,7 +2023,7 @@ extends <a href="../../../../org/apache/juneau/Context.html" title="class in org
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getChildResource</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1490">getChildResource</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</pre>
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/rest/RestContext.html" title="class in org.apache.juneau.rest">RestContext</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestContext.html#line.1485">getChildResource</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</pre>
 <div class="block">Returns the context of the child resource associated with the specified path.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/RestException.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/RestException.html b/content/site/apidocs/org/apache/juneau/rest/RestException.html
index e11d2e8..bbea1b4 100644
--- a/content/site/apidocs/org/apache/juneau/rest/RestException.html
+++ b/content/site/apidocs/org/apache/juneau/rest/RestException.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -127,7 +127,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>public class <a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.24">RestException</a>
+<pre>public class <a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.25">RestException</a>
 extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</a></pre>
 <div class="block">Exception thrown to trigger an error HTTP status.
  <p>
@@ -196,16 +196,22 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeExcep
 </td>
 </tr>
 <tr id="i2" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestException.html#getRootCause--">getRootCause</a></span>()</code>
+<div class="block">Returns the root cause of this exception.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
 <td class="colFirst"><code>int</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestException.html#getStatus--">getStatus</a></span>()</code>
 <div class="block">Returns the HTTP status code.</div>
 </td>
 </tr>
-<tr id="i3" class="rowColor">
+<tr id="i4" class="altColor">
 <td class="colFirst"><code>int</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestException.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
 </tr>
-<tr id="i4" class="altColor">
+<tr id="i5" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/juneau/rest/RestException.html" title="class in org.apache.juneau.rest">RestException</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/rest/RestException.html#initCause-java.lang.Throwable-">initCause</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</code>
 <div class="block">Sets the inner cause for this exception.</div>
@@ -246,7 +252,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeExcep
 <ul class="blockList">
 <li class="blockList">
 <h4>RestException</h4>
-<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.38">RestException</a>(int&nbsp;status,
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.39">RestException</a>(int&nbsp;status,
                      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg,
                      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;args)</pre>
 <div class="block">Constructor.</div>
@@ -264,7 +270,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeExcep
 <ul class="blockListLast">
 <li class="blockList">
 <h4>RestException</h4>
-<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.49">RestException</a>(int&nbsp;status,
+<pre>public&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.50">RestException</a>(int&nbsp;status,
                      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</pre>
 <div class="block">Constructor.</div>
 <dl>
@@ -288,7 +294,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeExcep
 <ul class="blockList">
 <li class="blockList">
 <h4>initCause</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestException.html" title="class in org.apache.juneau.rest">RestException</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.62">initCause</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/rest/RestException.html" title="class in org.apache.juneau.rest">RestException</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.63">initCause</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</pre>
 <div class="block">Sets the inner cause for this exception.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
@@ -300,13 +306,32 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeExcep
 </dl>
 </li>
 </ul>
+<a name="getRootCause--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getRootCause</h4>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.77">getRootCause</a>()</pre>
+<div class="block">Returns the root cause of this exception.
+ The root cause is the first exception in the init-cause parent chain that's not one of the following:
+ <ul>
+   <li><a href="../../../../org/apache/juneau/rest/RestException.html" title="class in org.apache.juneau.rest"><code>RestException</code></a>
+   <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/InvocationTargetException.html?is-external=true" title="class or interface in java.lang.reflect"><code>InvocationTargetException</code></a>
+ </ul></div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The root cause of this exception, or <jk>null</jk> if no root cause was found.</dd>
+</dl>
+</li>
+</ul>
 <a name="getFullStackMessage-boolean-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>getFullStackMessage</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.77">getFullStackMessage</a>(boolean&nbsp;scrubForXssVulnerabilities)</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.96">getFullStackMessage</a>(boolean&nbsp;scrubForXssVulnerabilities)</pre>
 <div class="block">Returns all error messages from all errors in this stack.
  <p>
  Typically useful if you want to render all the error messages in the stack, but don't
@@ -325,7 +350,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeExcep
 <ul class="blockList">
 <li class="blockList">
 <h4>hashCode</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.101">hashCode</a>()</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.120">hashCode</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
@@ -338,7 +363,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeExcep
 <ul class="blockList">
 <li class="blockList">
 <h4>getOccurrence</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.123">getOccurrence</a>()</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.142">getOccurrence</a>()</pre>
 <div class="block">Returns the number of times this exception occurred on this servlet.
  <p>
  This only gets set if <a href="../../../../org/apache/juneau/rest/RestContext.html#REST_useStackTraceHashes"><code>RestContext.REST_useStackTraceHashes</code></a> is enabled on the servlet.</div>
@@ -354,7 +379,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeExcep
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getStatus</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.132">getStatus</a>()</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/apache/juneau/rest/RestException.html#line.151">getStatus</a>()</pre>
 <div class="block">Returns the HTTP status code.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>


[28/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/client/RestRequestEntity.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/client/RestRequestEntity.html b/content/site/apidocs/org/apache/juneau/rest/client/RestRequestEntity.html
index 7507276..72d9ca6 100644
--- a/content/site/apidocs/org/apache/juneau/rest/client/RestRequestEntity.html
+++ b/content/site/apidocs/org/apache/juneau/rest/client/RestRequestEntity.html
@@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab";
 <div class="subNav">
 <ul class="navList">
 <li><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
-<li><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+<li><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">
 <li><a href="../../../../../index.html?org/apache/juneau/rest/client/RestRequestEntity.html" target="_top">Frames</a></li>
@@ -274,7 +274,7 @@ extends org.apache.http.entity.BasicHttpEntity</pre>
 <ul class="blockList">
 <li class="blockList">
 <h4>isRepeatable</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestRequestEntity.html#line.71">isRepeatable</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestRequestEntity.html#line.73">isRepeatable</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code>isRepeatable</code>&nbsp;in interface&nbsp;<code>org.apache.http.HttpEntity</code></dd>
@@ -289,7 +289,7 @@ extends org.apache.http.entity.BasicHttpEntity</pre>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getContent</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestRequestEntity.html#line.76">getContent</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RestRequestEntity.html#line.78">getContent</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code>getContent</code>&nbsp;in interface&nbsp;<code>org.apache.http.HttpEntity</code></dd>
@@ -326,7 +326,7 @@ extends org.apache.http.entity.BasicHttpEntity</pre>
 <div class="subNav">
 <ul class="navList">
 <li><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
-<li><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+<li><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">
 <li><a href="../../../../../index.html?org/apache/juneau/rest/client/RestRequestEntity.html" target="_top">Frames</a></li>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/client/RetryOn.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/client/RetryOn.html b/content/site/apidocs/org/apache/juneau/rest/client/RetryOn.html
index 23a480a..9f14219 100644
--- a/content/site/apidocs/org/apache/juneau/rest/client/RetryOn.html
+++ b/content/site/apidocs/org/apache/juneau/rest/client/RetryOn.html
@@ -18,8 +18,8 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":6};
-var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
+var methods = {"i0":10,"i1":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
 var tableTab = "tableTab";
@@ -75,13 +75,13 @@ var activeTableTab = "activeTableTab";
 <li>Summary:&nbsp;</li>
 <li>Nested&nbsp;|&nbsp;</li>
 <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
-<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method.summary">Method</a></li>
 </ul>
 <ul class="subNavList">
 <li>Detail:&nbsp;</li>
 <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
-<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method.detail">Method</a></li>
 </ul>
 </div>
@@ -92,16 +92,29 @@ var activeTableTab = "activeTableTab";
 <!-- ======== START OF CLASS DATA ======== -->
 <div class="header">
 <div class="subTitle">org.apache.juneau.rest.client</div>
-<h2 title="Interface RetryOn" class="title">Interface RetryOn</h2>
+<h2 title="Class RetryOn" class="title">Class RetryOn</h2>
 </div>
 <div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.juneau.rest.client.RetryOn</li>
+</ul>
+</li>
+</ul>
 <div class="description">
 <ul class="blockList">
 <li class="blockList">
 <hr>
 <br>
-<pre>public interface <a href="../../../../../src-html/org/apache/juneau/rest/client/RetryOn.html#line.18">RetryOn</a></pre>
-<div class="block">Used to determine whether a request should be retried based on the HTTP response code.</div>
+<pre>public abstract class <a href="../../../../../src-html/org/apache/juneau/rest/client/RetryOn.html#line.24">RetryOn</a>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Used to determine whether a request should be retried based on the HTTP response code.
+ <p>
+ Subclasses should override either the <a href="../../../../../org/apache/juneau/rest/client/RetryOn.html#onCode-int-"><code>onCode(int)</code></a> method (if you only care about
+ the HTTP status code) or <a href="../../../../../org/apache/juneau/rest/client/RetryOn.html#onResponse-org.apache.http.HttpResponse-"><code>onResponse(HttpResponse)</code></a> (if you want full access to
+ the HTTP response object.</div>
 </li>
 </ul>
 </div>
@@ -121,13 +134,13 @@ var activeTableTab = "activeTableTab";
 <th class="colLast" scope="col">Field and Description</th>
 </tr>
 <tr class="altColor">
-<td class="colFirst"><code>static <a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client">RetryOn</a></code></td>
+<td class="colFirst"><code>static <a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html#CONNECTION_LOST">CONNECTION_LOST</a></span></code>
 <div class="block">Default RetryOn that returns <jk>true</jk> if the HTTP connection could not be made.</div>
 </td>
 </tr>
 <tr class="rowColor">
-<td class="colFirst"><code>static <a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client">RetryOn</a></code></td>
+<td class="colFirst"><code>static <a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html#DEFAULT">DEFAULT</a></span></code>
 <div class="block">Default RetryOn that returns <jk>true</jk> of any HTTP response &gt;= 400 is received.</div>
 </td>
@@ -135,6 +148,23 @@ var activeTableTab = "activeTableTab";
 </table>
 </li>
 </ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html#RetryOn--">RetryOn</a></span>()</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
 <!-- ========== METHOD SUMMARY =========== -->
 <ul class="blockList">
 <li class="blockList"><a name="method.summary">
@@ -142,18 +172,31 @@ var activeTableTab = "activeTableTab";
 </a>
 <h3>Method Summary</h3>
 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
-<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
 <tr>
 <th class="colFirst" scope="col">Modifier and Type</th>
 <th class="colLast" scope="col">Method and Description</th>
 </tr>
 <tr id="i0" class="altColor">
-<td class="colFirst"><code>boolean</code></td>
+<td class="colFirst"><code>protected boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html#onCode-int-">onCode</a></span>(int&nbsp;httpResponseCode)</code>
 <div class="block">Subclasses should override this method to determine whether the HTTP response is retryable.</div>
 </td>
 </tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>protected boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html#onResponse-org.apache.http.HttpResponse-">onResponse</a></span>(org.apache.http.HttpResponse&nbsp;response)</code>
+<div class="block">Subclasses should override this method to determine whether the HTTP response is retryable.</div>
+</td>
+</tr>
 </table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
 </li>
 </ul>
 </li>
@@ -174,7 +217,7 @@ var activeTableTab = "activeTableTab";
 <ul class="blockList">
 <li class="blockList">
 <h4>DEFAULT</h4>
-<pre>static final&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client">RetryOn</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RetryOn.html#line.23">DEFAULT</a></pre>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RetryOn.html#line.29">DEFAULT</a></pre>
 <div class="block">Default RetryOn that returns <jk>true</jk> of any HTTP response &gt;= 400 is received.</div>
 </li>
 </ul>
@@ -184,29 +227,62 @@ var activeTableTab = "activeTableTab";
 <ul class="blockListLast">
 <li class="blockList">
 <h4>CONNECTION_LOST</h4>
-<pre>static final&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client">RetryOn</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RetryOn.html#line.33">CONNECTION_LOST</a></pre>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RetryOn.html#line.39">CONNECTION_LOST</a></pre>
 <div class="block">Default RetryOn that returns <jk>true</jk> if the HTTP connection could not be made.</div>
 </li>
 </ul>
 </li>
 </ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="RetryOn--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>RetryOn</h4>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RetryOn.html#line.24">RetryOn</a>()</pre>
+</li>
+</ul>
+</li>
+</ul>
 <!-- ============ METHOD DETAIL ========== -->
 <ul class="blockList">
 <li class="blockList"><a name="method.detail">
 <!--   -->
 </a>
 <h3>Method Detail</h3>
+<a name="onResponse-org.apache.http.HttpResponse-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>onResponse</h4>
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RetryOn.html#line.52">onResponse</a>(org.apache.http.HttpResponse&nbsp;response)</pre>
+<div class="block">Subclasses should override this method to determine whether the HTTP response is retryable.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>response</code> - The HTTP response object.  May be <jk>null</jk> if a connection could not be made.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><jk>true</jk> if the specified response code is retryable.</dd>
+</dl>
+</li>
+</ul>
 <a name="onCode-int-">
 <!--   -->
 </a>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>onCode</h4>
-<pre>boolean&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RetryOn.html#line.46">onCode</a>(int&nbsp;httpResponseCode)</pre>
+<pre>protected&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/RetryOn.html#line.62">onCode</a>(int&nbsp;httpResponseCode)</pre>
 <div class="block">Subclasses should override this method to determine whether the HTTP response is retryable.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>httpResponseCode</code> - The HTTP response code.</dd>
+<dd><code>httpResponseCode</code> - The HTTP response code.  <code>-1</code> if a connection could not be made.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd><jk>true</jk> if the specified response code is retryable.</dd>
 </dl>
@@ -266,13 +342,13 @@ var activeTableTab = "activeTableTab";
 <li>Summary:&nbsp;</li>
 <li>Nested&nbsp;|&nbsp;</li>
 <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
-<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method.summary">Method</a></li>
 </ul>
 <ul class="subNavList">
 <li>Detail:&nbsp;</li>
 <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
-<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method.detail">Method</a></li>
 </ul>
 </div>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/client/SerializedNameValuePair.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/client/SerializedNameValuePair.html b/content/site/apidocs/org/apache/juneau/rest/client/SerializedNameValuePair.html
index c501f18..208e380 100644
--- a/content/site/apidocs/org/apache/juneau/rest/client/SerializedNameValuePair.html
+++ b/content/site/apidocs/org/apache/juneau/rest/client/SerializedNameValuePair.html
@@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
 <li><a href="../../../../../org/apache/juneau/rest/client/SimpleX509TrustManager.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">
@@ -112,7 +112,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>public final class <a href="../../../../../src-html/org/apache/juneau/rest/client/SerializedNameValuePair.html#line.36">SerializedNameValuePair</a>
+<pre>public final class <a href="../../../../../src-html/org/apache/juneau/rest/client/SerializedNameValuePair.html#line.30">SerializedNameValuePair</a>
 extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
 implements org.apache.http.NameValuePair</pre>
 <div class="block">Subclass of <code>NameValuePair</code> for serializing POJOs as URL-encoded form post entries
@@ -200,7 +200,7 @@ implements org.apache.http.NameValuePair</pre>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>SerializedNameValuePair</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/SerializedNameValuePair.html#line.51">SerializedNameValuePair</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/SerializedNameValuePair.html#line.42">SerializedNameValuePair</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
                                <a href="../../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a>&nbsp;serializer)</pre>
 <div class="block">Constructor.</div>
@@ -226,7 +226,7 @@ implements org.apache.http.NameValuePair</pre>
 <ul class="blockList">
 <li class="blockList">
 <h4>getName</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/SerializedNameValuePair.html#line.58">getName</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/SerializedNameValuePair.html#line.49">getName</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code>getName</code>&nbsp;in interface&nbsp;<code>org.apache.http.NameValuePair</code></dd>
@@ -239,7 +239,7 @@ implements org.apache.http.NameValuePair</pre>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getValue</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/SerializedNameValuePair.html#line.75">getValue</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/client/SerializedNameValuePair.html#line.54">getValue</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code>getValue</code>&nbsp;in interface&nbsp;<code>org.apache.http.NameValuePair</code></dd>
@@ -273,7 +273,7 @@ implements org.apache.http.NameValuePair</pre>
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
 <li><a href="../../../../../org/apache/juneau/rest/client/SimpleX509TrustManager.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/client/package-frame.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/client/package-frame.html b/content/site/apidocs/org/apache/juneau/rest/client/package-frame.html
index 2090796..a606047 100644
--- a/content/site/apidocs/org/apache/juneau/rest/client/package-frame.html
+++ b/content/site/apidocs/org/apache/juneau/rest/client/package-frame.html
@@ -11,10 +11,6 @@
 <body>
 <h1 class="bar"><a href="../../../../../org/apache/juneau/rest/client/package-summary.html" target="classFrame">org.apache.juneau.rest.client</a></h1>
 <div class="indexContainer">
-<h2 title="Interfaces">Interfaces</h2>
-<ul title="Interfaces">
-<li><a href="RetryOn.html" title="interface in org.apache.juneau.rest.client" target="classFrame"><span class="interfaceName">RetryOn</span></a></li>
-</ul>
 <h2 title="Classes">Classes</h2>
 <ul title="Classes">
 <li><a href="AllowAllRedirects.html" title="class in org.apache.juneau.rest.client" target="classFrame">AllowAllRedirects</a></li>
@@ -27,6 +23,7 @@
 <li><a href="RestClient.html" title="class in org.apache.juneau.rest.client" target="classFrame">RestClient</a></li>
 <li><a href="RestClientBuilder.html" title="class in org.apache.juneau.rest.client" target="classFrame">RestClientBuilder</a></li>
 <li><a href="RestRequestEntity.html" title="class in org.apache.juneau.rest.client" target="classFrame">RestRequestEntity</a></li>
+<li><a href="RetryOn.html" title="class in org.apache.juneau.rest.client" target="classFrame">RetryOn</a></li>
 <li><a href="SerializedNameValuePair.html" title="class in org.apache.juneau.rest.client" target="classFrame">SerializedNameValuePair</a></li>
 <li><a href="SimpleX509TrustManager.html" title="class in org.apache.juneau.rest.client" target="classFrame">SimpleX509TrustManager</a></li>
 <li><a href="SSLOpts.html" title="class in org.apache.juneau.rest.client" target="classFrame">SSLOpts</a></li>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/client/package-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/client/package-summary.html b/content/site/apidocs/org/apache/juneau/rest/client/package-summary.html
index f0be26a..6522be4 100644
--- a/content/site/apidocs/org/apache/juneau/rest/client/package-summary.html
+++ b/content/site/apidocs/org/apache/juneau/rest/client/package-summary.html
@@ -78,23 +78,6 @@
 <div class="contentContainer">
 <ul class="blockList">
 <li class="blockList">
-<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
-<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
-<tr>
-<th class="colFirst" scope="col">Interface</th>
-<th class="colLast" scope="col">Description</th>
-</tr>
-<tbody>
-<tr class="altColor">
-<td class="colFirst"><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client">RetryOn</a></td>
-<td class="colLast">
-<div class="block">Used to determine whether a request should be retried based on the HTTP response code.</div>
-</td>
-</tr>
-</tbody>
-</table>
-</li>
-<li class="blockList">
 <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
 <caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
 <tr>
@@ -155,7 +138,7 @@
 <tr class="altColor">
 <td class="colFirst"><a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html" title="class in org.apache.juneau.rest.client">RestClientBuilder</a></td>
 <td class="colLast">
-<div class="block">Builder class for <a href="../../../../../org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client"><code>RestClient</code></a> class.</div>
+<div class="block">Builder class for the <a href="../../../../../org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client"><code>RestClient</code></a> class.</div>
 </td>
 </tr>
 <tr class="rowColor">
@@ -165,19 +148,25 @@
 </td>
 </tr>
 <tr class="altColor">
+<td class="colFirst"><a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client">RetryOn</a></td>
+<td class="colLast">
+<div class="block">Used to determine whether a request should be retried based on the HTTP response code.</div>
+</td>
+</tr>
+<tr class="rowColor">
 <td class="colFirst"><a href="../../../../../org/apache/juneau/rest/client/SerializedNameValuePair.html" title="class in org.apache.juneau.rest.client">SerializedNameValuePair</a></td>
 <td class="colLast">
 <div class="block">Subclass of <code>NameValuePair</code> for serializing POJOs as URL-encoded form post entries
    using the <a href="../../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding"><code>class</code></a>.</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><a href="../../../../../org/apache/juneau/rest/client/SimpleX509TrustManager.html" title="class in org.apache.juneau.rest.client">SimpleX509TrustManager</a></td>
 <td class="colLast">
 <div class="block">A trust manager that optionally allows for self-signed certificates.</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><a href="../../../../../org/apache/juneau/rest/client/SSLOpts.html" title="class in org.apache.juneau.rest.client">SSLOpts</a></td>
 <td class="colLast">
 <div class="block">SSL configuration options that get passed to <a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#enableSSL-org.apache.juneau.rest.client.SSLOpts-"><code>RestClientBuilder.enableSSL(SSLOpts)</code></a>.</div>
@@ -321,7 +310,7 @@
    
    <jc>// GET request, ignoring output</jc>
    <jk>try</jk> {
-      <jk>int</jk> rc = client.doGet(<js>"http://localhost:9080/sample/addressBook"</js>).execute();
+      <jk>int</jk> rc = client.doGet(<js>"http://localhost:9080/sample/addressBook"</js>).run();
       <jc>// Succeeded!</jc>
    } <jk>catch</jk> (RestCallException e) {
       <jc>// Failed!</jc>
@@ -333,7 +322,7 @@
    <jc>// Remaining examples ignore thrown exceptions.</jc>    
          
    <jc>// GET request, secure, ignoring output</jc>
-   client.doGet(<js>"https://localhost:9443/sample/addressBook"</js>).execute();
+   client.doGet(<js>"https://localhost:9443/sample/addressBook"</js>).run();
          
    <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
@@ -345,12 +334,12 @@
    Reader r = client.doGet(<js>"http://localhost:9080/sample/addressBook"</js>)
       .getReader();
          
-   <jc>// GET request, getting output as an ObjectMap</jc>
+   <jc>// GET request, getting output as an untyped map</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>// GET request, getting output as an untyped list</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>);
@@ -367,9 +356,8 @@
       .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);
+      .getResponse(List.<jk>class</jk>, Person.<jk>class</jk>);
          
    <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>
@@ -393,15 +381,15 @@
 
    <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();
+   <jk>int</jk> rc = client.doPut(<js>"http://localhost:9080/addressBook/0/name"</js>, newName).run();
    
    <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();
+   rc = client.doPut(<js>"http://localhost:9080/sample/addressBook/0/birthDate"</js>, newBirthDate).run();
    
    <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();   
+   rc = client.doPost(<js>"http://localhost:9080/addressBook/0/addresses"</js>, newAddress).run(); 
    </p>
    
    <h6 class='notes'>Notes:</h6>
@@ -1023,8 +1011,6 @@
       </p>
       <p>
          Proxy interfaces are retrieved using the <a href="../../../../../org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-"><code>RestClient.getRemoteableProxy(Class)</code></a> method.
-         The <a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#remoteableServletUri-java.lang.String-"><code>RestClientBuilder.remoteableServletUri(String)</code></a> method is used to specify the location
-            of the remoteable services servlet running on the server.
          The remoteable servlet is a specialized subclass of <a href="../../../../../org/apache/juneau/rest/RestServlet.html" title="class in org.apache.juneau.rest"><code>RestServlet</code></a> that provides a full-blown
             REST interface for calling interfaces remotely. 
       </p>
@@ -1042,7 +1028,7 @@
       <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> RestClientBuilder()
-      .remoteableServletUri(<js>"https://localhost:9080/juneau/sample/remoteable"</js>)
+      .rootUrl(<js>"https://localhost:9080/juneau/sample/remoteable"</js>)
       .build();
    
    <jc>// Create a proxy interface.</jc>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/client/package-tree.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/client/package-tree.html b/content/site/apidocs/org/apache/juneau/rest/client/package-tree.html
index f4171a4..291d847 100644
--- a/content/site/apidocs/org/apache/juneau/rest/client/package-tree.html
+++ b/content/site/apidocs/org/apache/juneau/rest/client/package-tree.html
@@ -133,6 +133,7 @@
 <li type="circle">org.apache.juneau.rest.client.<a href="../../../../../org/apache/juneau/rest/client/RestCallLogger.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">RestCallLogger</span></a></li>
 </ul>
 </li>
+<li type="circle">org.apache.juneau.rest.client.<a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">RetryOn</span></a></li>
 <li type="circle">org.apache.juneau.rest.client.<a href="../../../../../org/apache/juneau/rest/client/SerializedNameValuePair.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">SerializedNameValuePair</span></a> (implements org.apache.http.NameValuePair)</li>
 <li type="circle">org.apache.juneau.rest.client.<a href="../../../../../org/apache/juneau/rest/client/SimpleX509TrustManager.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">SimpleX509TrustManager</span></a> (implements javax.net.ssl.<a href="http://docs.oracle.com/javase/7/docs/api/javax/net/ssl/X509TrustManager.html?is-external=true" title="class or interface in javax.net.ssl">X509TrustManager</a>)</li>
 <li type="circle">org.apache.juneau.rest.client.<a href="../../../../../org/apache/juneau/rest/client/SSLOpts.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">SSLOpts</span></a></li>
@@ -152,10 +153,6 @@
 </ul>
 </li>
 </ul>
-<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
-<ul>
-<li type="circle">org.apache.juneau.rest.client.<a href="../../../../../org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client"><span class="typeNameLink">RetryOn</span></a></li>
-</ul>
 <h2 title="Enum Hierarchy">Enum Hierarchy</h2>
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/labels/ResourceDescription.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/labels/ResourceDescription.html b/content/site/apidocs/org/apache/juneau/rest/labels/ResourceDescription.html
index 802588a..a351763 100644
--- a/content/site/apidocs/org/apache/juneau/rest/labels/ResourceDescription.html
+++ b/content/site/apidocs/org/apache/juneau/rest/labels/ResourceDescription.html
@@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab";
 </dl>
 <hr>
 <br>
-<pre>public final class <a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.30">ResourceDescription</a>
+<pre>public final class <a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.32">ResourceDescription</a>
 extends <a href="../../../../../org/apache/juneau/rest/labels/NameDescription.html" title="class in org.apache.juneau.rest.labels">NameDescription</a>
 implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../../../org/apache/juneau/rest/labels/ResourceDescription.html" title="class in org.apache.juneau.rest.labels">ResourceDescription</a>&gt;</pre>
 <div class="block">Shortcut label for child resources.  Typically used in router resources.
@@ -246,7 +246,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>ResourceDescription</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.42">ResourceDescription</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;rootUrl,
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.44">ResourceDescription</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;rootUrl,
                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;description)</pre>
 <div class="block">Constructor.</div>
@@ -267,7 +267,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>ResourceDescription</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.53">ResourceDescription</a>(<a href="../../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.55">ResourceDescription</a>(<a href="../../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;childPath,
                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;description)</pre>
 <div class="block">Constructor for resources that are children of a REST resource.</div>
@@ -285,7 +285,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>ResourceDescription</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.71">ResourceDescription</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.73">ResourceDescription</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;description)</pre>
 <div class="block">Constructor.</div>
 <dl>
@@ -301,7 +301,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockListLast">
 <li class="blockList">
 <h4>ResourceDescription</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.76">ResourceDescription</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.78">ResourceDescription</a>()</pre>
 <div class="block">No-arg constructor.  Used for JUnit testing of OPTIONS pages.</div>
 </li>
 </ul>
@@ -319,7 +319,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>getName</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/Link.html" title="class in org.apache.juneau.dto">Link</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.79">getName</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/Link.html" title="class in org.apache.juneau.dto">Link</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.81">getName</a>()</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/juneau/rest/labels/NameDescription.html#getName--">NameDescription</a></code></span></div>
 <div class="block">Returns the name field on this label.</div>
 <dl>
@@ -336,7 +336,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>setName</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.88">setName</a>(<a href="../../../../../org/apache/juneau/dto/Link.html" title="class in org.apache.juneau.dto">Link</a>&nbsp;name)</pre>
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.90">setName</a>(<a href="../../../../../org/apache/juneau/dto/Link.html" title="class in org.apache.juneau.dto">Link</a>&nbsp;name)</pre>
 <div class="block">Overridden setter.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -350,7 +350,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>compareTo</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.93">compareTo</a>(<a href="../../../../../org/apache/juneau/rest/labels/ResourceDescription.html" title="class in org.apache.juneau.rest.labels">ResourceDescription</a>&nbsp;o)</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.95">compareTo</a>(<a href="../../../../../org/apache/juneau/rest/labels/ResourceDescription.html" title="class in org.apache.juneau.rest.labels">ResourceDescription</a>&nbsp;o)</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true#compareTo-T-" title="class or interface in java.lang">compareTo</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../../../org/apache/juneau/rest/labels/ResourceDescription.html" title="class in org.apache.juneau.rest.labels">ResourceDescription</a>&gt;</code></dd>
@@ -363,7 +363,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockList">
 <li class="blockList">
 <h4>equals</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.98">equals</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.100">equals</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
@@ -376,7 +376,7 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparabl
 <ul class="blockListLast">
 <li class="blockList">
 <h4>hashCode</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.103">hashCode</a>()</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceDescription.html#line.105">hashCode</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/labels/ResourceLink.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/labels/ResourceLink.html b/content/site/apidocs/org/apache/juneau/rest/labels/ResourceLink.html
index 2d92952..698ea00 100644
--- a/content/site/apidocs/org/apache/juneau/rest/labels/ResourceLink.html
+++ b/content/site/apidocs/org/apache/juneau/rest/labels/ResourceLink.html
@@ -111,7 +111,7 @@
 </dl>
 <hr>
 <br>
-<pre>public class <a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceLink.html#line.23">ResourceLink</a>
+<pre>public class <a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceLink.html#line.25">ResourceLink</a>
 extends <a href="../../../../../org/apache/juneau/dto/Link.html" title="class in org.apache.juneau.dto">Link</a></pre>
 <div class="block">A simple link to a child of a parent resource.</div>
 </li>
@@ -189,7 +189,7 @@ extends <a href="../../../../../org/apache/juneau/dto/Link.html" title="class in
 <ul class="blockList">
 <li class="blockList">
 <h4>ResourceLink</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceLink.html#line.32">ResourceLink</a>(<a href="../../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceLink.html#line.34">ResourceLink</a>(<a href="../../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
                     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;childPath,
                     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;args)</pre>
 <div class="block">Constructor.</div>
@@ -207,7 +207,7 @@ extends <a href="../../../../../org/apache/juneau/dto/Link.html" title="class in
 <ul class="blockListLast">
 <li class="blockList">
 <h4>ResourceLink</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceLink.html#line.44">ResourceLink</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/labels/ResourceLink.html#line.46">ResourceLink</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
                     <a href="../../../../../org/apache/juneau/rest/RestRequest.html" title="class in org.apache.juneau.rest">RestRequest</a>&nbsp;req,
                     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;childPath,
                     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;args)</pre>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/package-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/package-summary.html b/content/site/apidocs/org/apache/juneau/rest/package-summary.html
index 0091439..81b07a9 100644
--- a/content/site/apidocs/org/apache/juneau/rest/package-summary.html
+++ b/content/site/apidocs/org/apache/juneau/rest/package-summary.html
@@ -42,7 +42,7 @@
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a href="../../../../org/apache/juneau/plaintext/package-summary.html">Prev&nbsp;Package</a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/package-summary.html">Prev&nbsp;Package</a></li>
 <li><a href="../../../../org/apache/juneau/rest/annotation/package-summary.html">Next&nbsp;Package</a></li>
 </ul>
 <ul class="navList">
@@ -2316,7 +2316,7 @@
          <tr>
             <td><ck>$UE{...}</ck></td>
             <td>URL-Encode the specified value.
-               <br>Takes the contents inside the varible and replaces it with the value returned by calling <a href="../../../../org/apache/juneau/rest/RestUtils.html#encode-java.lang.String-"><code>RestUtils.encode(String)</code></a>.
+               <br>Takes the contents inside the varible and replaces it with a URL-encoded string.
             </td>
          </tr>
       </table>
@@ -3786,7 +3786,7 @@
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a href="../../../../org/apache/juneau/plaintext/package-summary.html">Prev&nbsp;Package</a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/package-summary.html">Prev&nbsp;Package</a></li>
 <li><a href="../../../../org/apache/juneau/rest/annotation/package-summary.html">Next&nbsp;Package</a></li>
 </ul>
 <ul class="navList">

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/package-tree.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/package-tree.html b/content/site/apidocs/org/apache/juneau/rest/package-tree.html
index a80dcd7..6ba124e 100644
--- a/content/site/apidocs/org/apache/juneau/rest/package-tree.html
+++ b/content/site/apidocs/org/apache/juneau/rest/package-tree.html
@@ -42,7 +42,7 @@
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a href="../../../../org/apache/juneau/plaintext/package-tree.html">Prev</a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/package-tree.html">Prev</a></li>
 <li><a href="../../../../org/apache/juneau/rest/annotation/package-tree.html">Next</a></li>
 </ul>
 <ul class="navList">
@@ -195,7 +195,7 @@
 </div>
 <div class="subNav">
 <ul class="navList">
-<li><a href="../../../../org/apache/juneau/plaintext/package-tree.html">Prev</a></li>
+<li><a href="../../../../org/apache/juneau/remoteable/package-tree.html">Prev</a></li>
 <li><a href="../../../../org/apache/juneau/rest/annotation/package-tree.html">Next</a></li>
 </ul>
 <ul class="navList">

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html b/content/site/apidocs/org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html
index bee1044..998bbfb 100644
--- a/content/site/apidocs/org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html
+++ b/content/site/apidocs/org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html
@@ -132,7 +132,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <tr class="altColor">
 <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html#REMOTEABLE_includeOnlyRemotableMethods">REMOTEABLE_includeOnlyRemotableMethods</a></span></code>
-<div class="block">Only expose interfaces and methods annotated with <a href="../../../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><code>@Remoteable</code></a> (<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>, default=<jk>false</jk>).</div>
+<div class="block">Only expose interfaces and methods annotated with <a href="../../../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remoteable</code></a> (<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>, default=<jk>false</jk>).</div>
 </td>
 </tr>
 </table>
@@ -189,7 +189,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <li class="blockList">
 <h4>REMOTEABLE_includeOnlyRemotableMethods</h4>
 <pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html#line.36">REMOTEABLE_includeOnlyRemotableMethods</a></pre>
-<div class="block">Only expose interfaces and methods annotated with <a href="../../../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><code>@Remoteable</code></a> (<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>, default=<jk>false</jk>).
+<div class="block">Only expose interfaces and methods annotated with <a href="../../../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remoteable</code></a> (<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>, default=<jk>false</jk>).
  <p>
  When enabled, the <a href="../../../../../org/apache/juneau/rest/remoteable/RemoteableServlet.html" title="class in org.apache.juneau.rest.remoteable"><code>RemoteableServlet</code></a> class will only work with annotated remoteable interfaces and methods.
  Otherwise, all public methods can be executed through the service.</div>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/remoteable/package-summary.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/remoteable/package-summary.html b/content/site/apidocs/org/apache/juneau/rest/remoteable/package-summary.html
index 011c1da..1ff8bf3 100644
--- a/content/site/apidocs/org/apache/juneau/rest/remoteable/package-summary.html
+++ b/content/site/apidocs/org/apache/juneau/rest/remoteable/package-summary.html
@@ -147,8 +147,6 @@
    </p>
    <p>
       Proxy interfaces are retrieved using the <a href="../../../../../org/apache/juneau/rest/client/RestClient.html#getRemoteableProxy-java.lang.Class-"><code>RestClient.getRemoteableProxy(Class)</code></a> method.
-      The <a href="../../../../../org/apache/juneau/rest/client/RestClientBuilder.html#remoteableServletUri-java.lang.String-"><code>RestClientBuilder.remoteableServletUri(String)</code></a> method is used to specify the location
-         of the remoteable services servlet running on the server.
       The remoteable servlet is a specialized subclass of <a href="../../../../../org/apache/juneau/rest/RestServlet.html" title="class in org.apache.juneau.rest"><code>RestServlet</code></a> that provides a full-blown
          REST interface for calling remoteable services (e.g. POJOs) remotely. 
    </p>
@@ -169,7 +167,7 @@
    <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> RestClientBuilder()
-      .remoteableServletUri(<js>"https://localhost:9080/juneau/sample/remoteable"</js>)
+      .rootUrl(<js>"https://localhost:9080/juneau/sample/remoteable"</js>)
       .build();
    
    <jc>// Create a proxy interface.</jc>
@@ -382,7 +380,7 @@
 <div class='topic'>
    <p>
       What if you want fine-tuned control over which methods are exposed in an interface instead of just all public methods?
-      For this, the <a href="../../../../../org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><code>@Remoteable</code></a> annotation is provided.
+      For this, the <a href="../../../../../org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><code>@Remoteable</code></a> annotation is provided.
       It can be applied to individual interface methods to only expose those methods through the remoteable servlet.
    </p>
    <p>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/rest/vars/UrlEncodeVar.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/rest/vars/UrlEncodeVar.html b/content/site/apidocs/org/apache/juneau/rest/vars/UrlEncodeVar.html
index 58b605d..36b5428 100644
--- a/content/site/apidocs/org/apache/juneau/rest/vars/UrlEncodeVar.html
+++ b/content/site/apidocs/org/apache/juneau/rest/vars/UrlEncodeVar.html
@@ -118,13 +118,13 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <hr>
 <br>
-<pre>public class <a href="../../../../../src-html/org/apache/juneau/rest/vars/UrlEncodeVar.html#line.30">UrlEncodeVar</a>
+<pre>public class <a href="../../../../../src-html/org/apache/juneau/rest/vars/UrlEncodeVar.html#line.32">UrlEncodeVar</a>
 extends <a href="../../../../../org/apache/juneau/svl/SimpleVar.html" title="class in org.apache.juneau.svl">SimpleVar</a></pre>
 <div class="block">URL-encoding variable resolver.
  <p>
  The format for this var is <js>"$UE{innerValue}"</js>.
  <p>
- This variable takes the contents inside the variable and replaces it with a value returned by calling <a href="../../../../../org/apache/juneau/rest/RestUtils.html#encode-java.lang.String-"><code>RestUtils.encode(String)</code></a>).
+ This variable takes the contents inside the variable and replaces it with a value returned by calling <a href="../../../../../org/apache/juneau/internal/StringUtils.html#urlEncode-java.lang.String-"><code>StringUtils.urlEncode(String)</code></a>).
  <p>
  Since this is a <a href="../../../../../org/apache/juneau/svl/SimpleVar.html" title="class in org.apache.juneau.svl"><code>SimpleVar</code></a>, any variables contained in the result will be recursively resolved.
  Likewise, if the arguments contain any variables, those will be resolved before they are passed to this var.</div>
@@ -239,7 +239,7 @@ extends <a href="../../../../../org/apache/juneau/svl/SimpleVar.html" title="cla
 <ul class="blockListLast">
 <li class="blockList">
 <h4>NAME</h4>
-<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/juneau/rest/vars/UrlEncodeVar.html#line.33">NAME</a></pre>
+<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/juneau/rest/vars/UrlEncodeVar.html#line.35">NAME</a></pre>
 <div class="block">The name of this variable.</div>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
@@ -261,7 +261,7 @@ extends <a href="../../../../../org/apache/juneau/svl/SimpleVar.html" title="cla
 <ul class="blockListLast">
 <li class="blockList">
 <h4>UrlEncodeVar</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/vars/UrlEncodeVar.html#line.38">UrlEncodeVar</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/vars/UrlEncodeVar.html#line.40">UrlEncodeVar</a>()</pre>
 <div class="block">Constructor.</div>
 </li>
 </ul>
@@ -279,7 +279,7 @@ extends <a href="../../../../../org/apache/juneau/svl/SimpleVar.html" title="cla
 <ul class="blockListLast">
 <li class="blockList">
 <h4>resolve</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/vars/UrlEncodeVar.html#line.43">resolve</a>(<a href="../../../../../org/apache/juneau/svl/VarResolverSession.html" title="class in org.apache.juneau.svl">VarResolverSession</a>&nbsp;session,
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/rest/vars/UrlEncodeVar.html#line.45">resolve</a>(<a href="../../../../../org/apache/juneau/svl/VarResolverSession.html" title="class in org.apache.juneau.svl">VarResolverSession</a>&nbsp;session,
                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/juneau/svl/Var.html#resolve-org.apache.juneau.svl.VarResolverSession-java.lang.String-">Var</a></code></span></div>
 <div class="block">The interface that needs to be implemented for subclasses of <a href="../../../../../org/apache/juneau/svl/SimpleVar.html" title="class in org.apache.juneau.svl"><code>SimpleVar</code></a>.</div>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/uon/UonSerializer.Encoding.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/uon/UonSerializer.Encoding.html b/content/site/apidocs/org/apache/juneau/uon/UonSerializer.Encoding.html
index 5530663..4a9e4f5 100644
--- a/content/site/apidocs/org/apache/juneau/uon/UonSerializer.Encoding.html
+++ b/content/site/apidocs/org/apache/juneau/uon/UonSerializer.Encoding.html
@@ -222,7 +222,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializer.html" title="cl
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;org.apache.juneau.uon.<a href="../../../../org/apache/juneau/uon/UonSerializer.html" title="class in org.apache.juneau.uon">UonSerializer</a></h3>
-<code><a href="../../../../org/apache/juneau/uon/UonSerializer.html#builder--">builder</a>, <a href="../../../../org/apache/juneau/uon/UonSerializer.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">createSession</a>, <a href="../../../../org/apache/juneau/uon/UonSerializer.html#doSerialize-org.apache.juneau.serializer.SerializerSession-java.lang.Object-">doSerialize</a>, <a href="../../../../org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-">serializeAnything</a></code></li>
+<code><a href="../../../../org/apache/juneau/uon/UonSerializer.html#builder--">builder</a>, <a href="../../../../org/apache/juneau/uon/UonSerializer.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">createSession</a>, <a href="../../../../org/apache/juneau/uon/UonSerializer.html#doSerialize-org.apache.juneau.serializer.SerializerSession-java.lang.Object-">doSerialize</a>, <a href="../../../../org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-boolean-">serializeAnything</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.serializer.WriterSerializer">

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/uon/UonSerializer.Readable.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/uon/UonSerializer.Readable.html b/content/site/apidocs/org/apache/juneau/uon/UonSerializer.Readable.html
index 7ba7070..2580b00 100644
--- a/content/site/apidocs/org/apache/juneau/uon/UonSerializer.Readable.html
+++ b/content/site/apidocs/org/apache/juneau/uon/UonSerializer.Readable.html
@@ -222,7 +222,7 @@ extends <a href="../../../../org/apache/juneau/uon/UonSerializer.html" title="cl
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;org.apache.juneau.uon.<a href="../../../../org/apache/juneau/uon/UonSerializer.html" title="class in org.apache.juneau.uon">UonSerializer</a></h3>
-<code><a href="../../../../org/apache/juneau/uon/UonSerializer.html#builder--">builder</a>, <a href="../../../../org/apache/juneau/uon/UonSerializer.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">createSession</a>, <a href="../../../../org/apache/juneau/uon/UonSerializer.html#doSerialize-org.apache.juneau.serializer.SerializerSession-java.lang.Object-">doSerialize</a>, <a href="../../../../org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-">serializeAnything</a></code></li>
+<code><a href="../../../../org/apache/juneau/uon/UonSerializer.html#builder--">builder</a>, <a href="../../../../org/apache/juneau/uon/UonSerializer.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">createSession</a>, <a href="../../../../org/apache/juneau/uon/UonSerializer.html#doSerialize-org.apache.juneau.serializer.SerializerSession-java.lang.Object-">doSerialize</a>, <a href="../../../../org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-boolean-">serializeAnything</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.serializer.WriterSerializer">

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/uon/UonSerializer.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/uon/UonSerializer.html b/content/site/apidocs/org/apache/juneau/uon/UonSerializer.html
index 161569a..4cec83e 100644
--- a/content/site/apidocs/org/apache/juneau/uon/UonSerializer.html
+++ b/content/site/apidocs/org/apache/juneau/uon/UonSerializer.html
@@ -363,12 +363,13 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html"
 </tr>
 <tr id="i3" class="rowColor">
 <td class="colFirst"><code>protected <a href="../../../../org/apache/juneau/serializer/SerializerWriter.html" title="class in org.apache.juneau.serializer">SerializerWriter</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-">serializeAnything</a></span>(<a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon">UonSerializerSession</a>&nbsp;session,
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/uon/UonSerializer.html#serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-boolean-">serializeAnything</a></span>(<a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon">UonSerializerSession</a>&nbsp;session,
                  <a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;out,
                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o,
                  <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;eType,
                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attrName,
-                 <a href="../../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a>&nbsp;pMeta)</code>
+                 <a href="../../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a>&nbsp;pMeta,
+                 boolean&nbsp;plainTextParams)</code>
 <div class="block">Workhorse method.</div>
 </td>
 </tr>
@@ -493,18 +494,19 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html"
 </dl>
 </li>
 </ul>
-<a name="serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-">
+<a name="serializeAnything-org.apache.juneau.uon.UonSerializerSession-org.apache.juneau.uon.UonWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-org.apache.juneau.BeanPropertyMeta-boolean-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>serializeAnything</h4>
-<pre>protected&nbsp;<a href="../../../../org/apache/juneau/serializer/SerializerWriter.html" title="class in org.apache.juneau.serializer">SerializerWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializer.html#line.211">serializeAnything</a>(<a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon">UonSerializerSession</a>&nbsp;session,
+<pre>protected&nbsp;<a href="../../../../org/apache/juneau/serializer/SerializerWriter.html" title="class in org.apache.juneau.serializer">SerializerWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializer.html#line.212">serializeAnything</a>(<a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon">UonSerializerSession</a>&nbsp;session,
                                              <a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;out,
                                              <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o,
                                              <a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;eType,
                                              <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;attrName,
-                                             <a href="../../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a>&nbsp;pMeta)
+                                             <a href="../../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a>&nbsp;pMeta,
+                                             boolean&nbsp;plainTextParams)
                                       throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block">Workhorse method. Determines the type of object, and then calls the
  appropriate type-specific serialization method.</div>
@@ -516,6 +518,7 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html"
 <dd><code>eType</code> - The expected type of the object if this is a bean property.</dd>
 <dd><code>attrName</code> - The bean property name if this is a bean property.  <jk>null</jk> if this isn't a bean property being serialized.</dd>
 <dd><code>pMeta</code> - The bean property metadata.</dd>
+<dd><code>plainTextParams</code> - <jk>true</jk> if this is a top level parameter key or value and paramFormat is PLAINTEXT.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>The same writer passed in.</dd>
 <dt><span class="throwsLabel">Throws:</span></dt>
@@ -529,7 +532,7 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html"
 <ul class="blockList">
 <li class="blockList">
 <h4>createSession</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon">UonSerializerSession</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializer.html#line.377">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;output,
+<pre>public&nbsp;<a href="../../../../org/apache/juneau/uon/UonSerializerSession.html" title="class in org.apache.juneau.uon">UonSerializerSession</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializer.html#line.378">createSession</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;output,
                                           <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;op,
                                           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;javaMethod,
                                           <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&nbsp;locale,
@@ -576,7 +579,7 @@ extends <a href="../../../../org/apache/juneau/serializer/WriterSerializer.html"
 <ul class="blockListLast">
 <li class="blockList">
 <h4>doSerialize</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializer.html#line.382">doSerialize</a>(<a href="../../../../org/apache/juneau/serializer/SerializerSession.html" title="class in org.apache.juneau.serializer">SerializerSession</a>&nbsp;session,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializer.html#line.383">doSerialize</a>(<a href="../../../../org/apache/juneau/serializer/SerializerSession.html" title="class in org.apache.juneau.serializer">SerializerSession</a>&nbsp;session,
                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)
                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/Serializer.html#doSerialize-org.apache.juneau.serializer.SerializerSession-java.lang.Object-">Serializer</a></code></span></div>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/org/apache/juneau/uon/UonSerializerSession.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/uon/UonSerializerSession.html b/content/site/apidocs/org/apache/juneau/uon/UonSerializerSession.html
index bb70d99..9eaa4a8 100644
--- a/content/site/apidocs/org/apache/juneau/uon/UonSerializerSession.html
+++ b/content/site/apidocs/org/apache/juneau/uon/UonSerializerSession.html
@@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab";
 <div class="subNav">
 <ul class="navList">
 <li><a href="../../../../org/apache/juneau/uon/UonSerializerContext.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">
 <li><a href="../../../../index.html?org/apache/juneau/uon/UonSerializerSession.html" target="_top">Frames</a></li>
@@ -167,7 +167,8 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerSession.html
 </tr>
 <tr class="altColor">
 <td class="colFirst"><code>protected </code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/uon/UonSerializerSession.html#UonSerializerSession-org.apache.juneau.uon.UonSerializerContext-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">UonSerializerSession</a></span>(<a href="../../../../org/apache/juneau/uon/UonSerializerContext.html" title="class in org.apache.juneau.uon">UonSerializerContext</a>&nbsp;ctx,
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/uon/UonSerializerSession.html#UonSerializerSession-org.apache.juneau.uon.UonSerializerContext-java.lang.Boolean-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">UonSerializerSession</a></span>(<a href="../../../../org/apache/juneau/uon/UonSerializerContext.html" title="class in org.apache.juneau.uon">UonSerializerContext</a>&nbsp;ctx,
+                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;encode,
                     <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;op,
                     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;output,
                     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;javaMethod,
@@ -253,13 +254,14 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerSession.html
 <!--   -->
 </a>
 <h3>Constructor Detail</h3>
-<a name="UonSerializerSession-org.apache.juneau.uon.UonSerializerContext-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">
+<a name="UonSerializerSession-org.apache.juneau.uon.UonSerializerContext-java.lang.Boolean-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">
 <!--   -->
 </a>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>UonSerializerSession</h4>
-<pre>protected&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializerSession.html#line.51">UonSerializerSession</a>(<a href="../../../../org/apache/juneau/uon/UonSerializerContext.html" title="class in org.apache.juneau.uon">UonSerializerContext</a>&nbsp;ctx,
+<pre>protected&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializerSession.html#line.52">UonSerializerSession</a>(<a href="../../../../org/apache/juneau/uon/UonSerializerContext.html" title="class in org.apache.juneau.uon">UonSerializerContext</a>&nbsp;ctx,
+                               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;encode,
                                <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a>&nbsp;op,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;output,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;javaMethod,
@@ -271,6 +273,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerSession.html
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>ctx</code> - The context creating this session object.
  The context contains all the configuration settings for this object.</dd>
+<dd><code>encode</code> - Override the <a href="../../../../org/apache/juneau/uon/UonSerializerContext.html#UON_encodeChars"><code>UonSerializerContext.UON_encodeChars</code></a> setting.</dd>
 <dd><code>output</code> - The output object.  See <a href="../../../../org/apache/juneau/json/JsonSerializerSession.html#getWriter--"><code>JsonSerializerSession.getWriter()</code></a> for valid class types.</dd>
 <dd><code>op</code> - The override properties.
  These override any context properties defined in the context.</dd>
@@ -297,7 +300,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerSession.html
 <ul class="blockList">
 <li class="blockList">
 <h4>isEncodeChars</h4>
-<pre>public final&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializerSession.html#line.67">isEncodeChars</a>()</pre>
+<pre>public final&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializerSession.html#line.68">isEncodeChars</a>()</pre>
 <div class="block">Returns the <a href="../../../../org/apache/juneau/uon/UonSerializerContext.html#UON_encodeChars"><code>UonSerializerContext.UON_encodeChars</code></a> setting value for this session.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -311,7 +314,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerSession.html
 <ul class="blockList">
 <li class="blockList">
 <h4>isAddBeanTypeProperties</h4>
-<pre>public final&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializerSession.html#line.77">isAddBeanTypeProperties</a>()</pre>
+<pre>public final&nbsp;boolean&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializerSession.html#line.78">isAddBeanTypeProperties</a>()</pre>
 <div class="block">Returns the <a href="../../../../org/apache/juneau/uon/UonSerializerContext.html#UON_addBeanTypeProperties"><code>UonSerializerContext.UON_addBeanTypeProperties</code></a> setting value for this session.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
@@ -327,7 +330,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerSession.html
 <ul class="blockListLast">
 <li class="blockList">
 <h4>getWriter</h4>
-<pre>public final&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializerSession.html#line.82">getWriter</a>()
+<pre>public final&nbsp;<a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon">UonWriter</a>&nbsp;<a href="../../../../src-html/org/apache/juneau/uon/UonSerializerSession.html#line.83">getWriter</a>()
                           throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/juneau/serializer/SerializerSession.html#getWriter--">SerializerSession</a></code></span></div>
 <div class="block">Wraps the specified output object inside a writer.
@@ -377,7 +380,7 @@ extends <a href="../../../../org/apache/juneau/serializer/SerializerSession.html
 <div class="subNav">
 <ul class="navList">
 <li><a href="../../../../org/apache/juneau/uon/UonSerializerContext.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
-<li><a href="../../../../org/apache/juneau/uon/UonWriter.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
 </ul>
 <ul class="navList">
 <li><a href="../../../../index.html?org/apache/juneau/uon/UonSerializerSession.html" target="_top">Frames</a></li>



[17/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/RestCallHandler.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RestCallHandler.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RestCallHandler.html
index 40931b5..e51b7db 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/RestCallHandler.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RestCallHandler.html
@@ -22,338 +22,346 @@
 <span class="sourceLineNo">014</span><a name="line.14"></a>
 <span class="sourceLineNo">015</span>import static java.util.logging.Level.*;<a name="line.15"></a>
 <span class="sourceLineNo">016</span>import static javax.servlet.http.HttpServletResponse.*;<a name="line.16"></a>
-<span class="sourceLineNo">017</span><a name="line.17"></a>
-<span class="sourceLineNo">018</span>import java.io.*;<a name="line.18"></a>
-<span class="sourceLineNo">019</span>import java.util.*;<a name="line.19"></a>
-<span class="sourceLineNo">020</span><a name="line.20"></a>
-<span class="sourceLineNo">021</span>import javax.servlet.*;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import javax.servlet.http.*;<a name="line.22"></a>
-<span class="sourceLineNo">023</span><a name="line.23"></a>
-<span class="sourceLineNo">024</span>import org.apache.juneau.internal.*;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.juneau.rest.annotation.*;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.juneau.rest.vars.*;<a name="line.26"></a>
-<span class="sourceLineNo">027</span><a name="line.27"></a>
-<span class="sourceLineNo">028</span>/**<a name="line.28"></a>
-<span class="sourceLineNo">029</span> * Class that handles the basic lifecycle of an HTTP REST call.<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * &lt;p&gt;<a name="line.30"></a>
-<span class="sourceLineNo">031</span> * Subclasses can override these methods to tailor how HTTP REST calls are handled.<a name="line.31"></a>
-<span class="sourceLineNo">032</span> * Subclasses MUST implement a public constructor that takes in a {@link RestContext} object.<a name="line.32"></a>
-<span class="sourceLineNo">033</span> * &lt;p&gt;<a name="line.33"></a>
-<span class="sourceLineNo">034</span> * RestCallHandlers are associated with servlets/resources in one of the following ways:<a name="line.34"></a>
-<span class="sourceLineNo">035</span> * &lt;ul&gt;<a name="line.35"></a>
-<span class="sourceLineNo">036</span> *    &lt;li&gt;The {@link RestResource#callHandler @RestResource.callHandler()} annotation.<a name="line.36"></a>
-<span class="sourceLineNo">037</span> *    &lt;li&gt;The {@link RestConfig#setCallHandler(Class)} method.<a name="line.37"></a>
-<span class="sourceLineNo">038</span> * &lt;/ul&gt;<a name="line.38"></a>
-<span class="sourceLineNo">039</span> */<a name="line.39"></a>
-<span class="sourceLineNo">040</span>public class RestCallHandler {<a name="line.40"></a>
-<span class="sourceLineNo">041</span><a name="line.41"></a>
-<span class="sourceLineNo">042</span>   private final RestContext context;<a name="line.42"></a>
-<span class="sourceLineNo">043</span>   private final RestLogger logger;<a name="line.43"></a>
-<span class="sourceLineNo">044</span>   private final RestServlet restServlet;<a name="line.44"></a>
-<span class="sourceLineNo">045</span>   private final Map&lt;String,CallRouter&gt; callRouters;<a name="line.45"></a>
-<span class="sourceLineNo">046</span><a name="line.46"></a>
-<span class="sourceLineNo">047</span>   /**<a name="line.47"></a>
-<span class="sourceLineNo">048</span>    * Constructor.<a name="line.48"></a>
-<span class="sourceLineNo">049</span>    * @param context The resource context.<a name="line.49"></a>
-<span class="sourceLineNo">050</span>    */<a name="line.50"></a>
-<span class="sourceLineNo">051</span>   public RestCallHandler(RestContext context) {<a name="line.51"></a>
-<span class="sourceLineNo">052</span>      this.context = context;<a name="line.52"></a>
-<span class="sourceLineNo">053</span>      this.logger = context.getLogger();<a name="line.53"></a>
-<span class="sourceLineNo">054</span>      this.callRouters = context.getCallRouters();<a name="line.54"></a>
-<span class="sourceLineNo">055</span>      this.restServlet = context.getRestServlet();  // Null if this isn't a RestServlet!<a name="line.55"></a>
-<span class="sourceLineNo">056</span>   }<a name="line.56"></a>
-<span class="sourceLineNo">057</span><a name="line.57"></a>
-<span class="sourceLineNo">058</span>   /**<a name="line.58"></a>
-<span class="sourceLineNo">059</span>    * Creates a {@link RestRequest} object based on the specified incoming {@link HttpServletRequest} object.<a name="line.59"></a>
-<span class="sourceLineNo">060</span>    * &lt;p&gt;<a name="line.60"></a>
-<span class="sourceLineNo">061</span>    * Subclasses may choose to override this method to provide a specialized request object.<a name="line.61"></a>
-<span class="sourceLineNo">062</span>    *<a name="line.62"></a>
-<span class="sourceLineNo">063</span>    * @param req The request object from the {@link #service(HttpServletRequest, HttpServletResponse)} method.<a name="line.63"></a>
-<span class="sourceLineNo">064</span>    * @return The wrapped request object.<a name="line.64"></a>
-<span class="sourceLineNo">065</span>    * @throws ServletException If any errors occur trying to interpret the request.<a name="line.65"></a>
-<span class="sourceLineNo">066</span>    */<a name="line.66"></a>
-<span class="sourceLineNo">067</span>   protected RestRequest createRequest(HttpServletRequest req) throws ServletException {<a name="line.67"></a>
-<span class="sourceLineNo">068</span>      return new RestRequest(context, req);<a name="line.68"></a>
-<span class="sourceLineNo">069</span>   }<a name="line.69"></a>
-<span class="sourceLineNo">070</span><a name="line.70"></a>
-<span class="sourceLineNo">071</span>   /**<a name="line.71"></a>
-<span class="sourceLineNo">072</span>    * Creates a {@link RestResponse} object based on the specified incoming {@link HttpServletResponse} object<a name="line.72"></a>
-<span class="sourceLineNo">073</span>    *    and the request returned by {@link #createRequest(HttpServletRequest)}.<a name="line.73"></a>
-<span class="sourceLineNo">074</span>    * &lt;p&gt;<a name="line.74"></a>
-<span class="sourceLineNo">075</span>    * Subclasses may choose to override this method to provide a specialized response object.<a name="line.75"></a>
-<span class="sourceLineNo">076</span>    *<a name="line.76"></a>
-<span class="sourceLineNo">077</span>    * @param req The request object returned by {@link #createRequest(HttpServletRequest)}.<a name="line.77"></a>
-<span class="sourceLineNo">078</span>    * @param res The response object from the {@link #service(HttpServletRequest, HttpServletResponse)} method.<a name="line.78"></a>
-<span class="sourceLineNo">079</span>    * @return The wrapped response object.<a name="line.79"></a>
-<span class="sourceLineNo">080</span>    * @throws ServletException If any errors occur trying to interpret the request or response.<a name="line.80"></a>
-<span class="sourceLineNo">081</span>    */<a name="line.81"></a>
-<span class="sourceLineNo">082</span>   protected RestResponse createResponse(RestRequest req, HttpServletResponse res) throws ServletException {<a name="line.82"></a>
-<span class="sourceLineNo">083</span>      return new RestResponse(context, req, res);<a name="line.83"></a>
-<span class="sourceLineNo">084</span>   }<a name="line.84"></a>
-<span class="sourceLineNo">085</span><a name="line.85"></a>
-<span class="sourceLineNo">086</span>   /**<a name="line.86"></a>
-<span class="sourceLineNo">087</span>    * The main service method.<a name="line.87"></a>
-<span class="sourceLineNo">088</span>    * &lt;p&gt;<a name="line.88"></a>
-<span class="sourceLineNo">089</span>    * Subclasses can optionally override this method if they want to tailor the behavior of requests.<a name="line.89"></a>
-<span class="sourceLineNo">090</span>    *<a name="line.90"></a>
-<span class="sourceLineNo">091</span>    * @param r1 The incoming HTTP servlet request object.<a name="line.91"></a>
-<span class="sourceLineNo">092</span>    * @param r2 The incoming HTTP servlet response object.<a name="line.92"></a>
-<span class="sourceLineNo">093</span>    * @throws ServletException<a name="line.93"></a>
-<span class="sourceLineNo">094</span>    * @throws IOException<a name="line.94"></a>
-<span class="sourceLineNo">095</span>    */<a name="line.95"></a>
-<span class="sourceLineNo">096</span>   protected void service(HttpServletRequest r1, HttpServletResponse r2) throws ServletException, IOException {<a name="line.96"></a>
-<span class="sourceLineNo">097</span><a name="line.97"></a>
-<span class="sourceLineNo">098</span>      logger.log(FINE, "HTTP: {0} {1}", r1.getMethod(), r1.getRequestURI());<a name="line.98"></a>
-<span class="sourceLineNo">099</span>      long startTime = System.currentTimeMillis();<a name="line.99"></a>
-<span class="sourceLineNo">100</span><a name="line.100"></a>
-<span class="sourceLineNo">101</span>      try {<a name="line.101"></a>
-<span class="sourceLineNo">102</span>         context.checkForInitException();<a name="line.102"></a>
-<span class="sourceLineNo">103</span><a name="line.103"></a>
-<span class="sourceLineNo">104</span>         String pathInfo = RestUtils.getPathInfoUndecoded(r1);  // Can't use r1.getPathInfo() because we don't want '%2F' resolved.<a name="line.104"></a>
-<span class="sourceLineNo">105</span><a name="line.105"></a>
-<span class="sourceLineNo">106</span>         // If this resource has child resources, try to recursively call them.<a name="line.106"></a>
-<span class="sourceLineNo">107</span>         if (pathInfo != null &amp;&amp; context.hasChildResources() &amp;&amp; (! pathInfo.equals("/"))) {<a name="line.107"></a>
-<span class="sourceLineNo">108</span>            int i = pathInfo.indexOf('/', 1);<a name="line.108"></a>
-<span class="sourceLineNo">109</span>            String pathInfoPart = i == -1 ? pathInfo.substring(1) : pathInfo.substring(1, i);<a name="line.109"></a>
-<span class="sourceLineNo">110</span>            RestContext childResource = context.getChildResource(pathInfoPart);<a name="line.110"></a>
-<span class="sourceLineNo">111</span>            if (childResource != null) {<a name="line.111"></a>
-<span class="sourceLineNo">112</span>               final String pathInfoRemainder = (i == -1 ? null : pathInfo.substring(i));<a name="line.112"></a>
-<span class="sourceLineNo">113</span>               final String servletPath = r1.getServletPath() + "/" + pathInfoPart;<a name="line.113"></a>
-<span class="sourceLineNo">114</span>               final HttpServletRequest childRequest = new HttpServletRequestWrapper(r1) {<a name="line.114"></a>
-<span class="sourceLineNo">115</span>                  @Override /* ServletRequest */<a name="line.115"></a>
-<span class="sourceLineNo">116</span>                  public String getPathInfo() {<a name="line.116"></a>
-<span class="sourceLineNo">117</span>                     return RestUtils.decode(pathInfoRemainder);<a name="line.117"></a>
-<span class="sourceLineNo">118</span>                  }<a name="line.118"></a>
-<span class="sourceLineNo">119</span>                  @Override /* ServletRequest */<a name="line.119"></a>
-<span class="sourceLineNo">120</span>                  public String getServletPath() {<a name="line.120"></a>
-<span class="sourceLineNo">121</span>                     return servletPath;<a name="line.121"></a>
-<span class="sourceLineNo">122</span>                  }<a name="line.122"></a>
-<span class="sourceLineNo">123</span>               };<a name="line.123"></a>
-<span class="sourceLineNo">124</span>               childResource.getCallHandler().service(childRequest, r2);<a name="line.124"></a>
-<span class="sourceLineNo">125</span>               return;<a name="line.125"></a>
-<span class="sourceLineNo">126</span>            }<a name="line.126"></a>
-<span class="sourceLineNo">127</span>         }<a name="line.127"></a>
-<span class="sourceLineNo">128</span><a name="line.128"></a>
-<span class="sourceLineNo">129</span>         RestRequest req = createRequest(r1);<a name="line.129"></a>
-<span class="sourceLineNo">130</span>         RestResponse res = createResponse(req, r2);<a name="line.130"></a>
-<span class="sourceLineNo">131</span>         String method = req.getMethod();<a name="line.131"></a>
-<span class="sourceLineNo">132</span>         String methodUC = method.toUpperCase(Locale.ENGLISH);<a name="line.132"></a>
-<span class="sourceLineNo">133</span><a name="line.133"></a>
-<span class="sourceLineNo">134</span>         StreamResource r = null;<a name="line.134"></a>
-<span class="sourceLineNo">135</span>         if (pathInfo != null) {<a name="line.135"></a>
-<span class="sourceLineNo">136</span>            String p = pathInfo.substring(1);<a name="line.136"></a>
-<span class="sourceLineNo">137</span>            if (p.equals("favicon.ico"))<a name="line.137"></a>
-<span class="sourceLineNo">138</span>               r = context.getFavIcon();<a name="line.138"></a>
-<span class="sourceLineNo">139</span>            else if (p.equals("style.css"))<a name="line.139"></a>
-<span class="sourceLineNo">140</span>               r = context.getStyleSheet();<a name="line.140"></a>
-<span class="sourceLineNo">141</span>            else if (context.isStaticFile(p))<a name="line.141"></a>
-<span class="sourceLineNo">142</span>               r = context.resolveStaticFile(p);<a name="line.142"></a>
-<span class="sourceLineNo">143</span>         }<a name="line.143"></a>
-<span class="sourceLineNo">144</span><a name="line.144"></a>
-<span class="sourceLineNo">145</span>         if (r != null) {<a name="line.145"></a>
-<span class="sourceLineNo">146</span>            res.setStatus(SC_OK);<a name="line.146"></a>
-<span class="sourceLineNo">147</span>            res.setOutput(r);<a name="line.147"></a>
-<span class="sourceLineNo">148</span>         } else {<a name="line.148"></a>
-<span class="sourceLineNo">149</span>            // If the specified method has been defined in a subclass, invoke it.<a name="line.149"></a>
-<span class="sourceLineNo">150</span>            int rc = SC_METHOD_NOT_ALLOWED;<a name="line.150"></a>
-<span class="sourceLineNo">151</span>            if (callRouters.containsKey(methodUC)) {<a name="line.151"></a>
-<span class="sourceLineNo">152</span>               rc = callRouters.get(methodUC).invoke(pathInfo, req, res);<a name="line.152"></a>
-<span class="sourceLineNo">153</span>            } else if (callRouters.containsKey("*")) {<a name="line.153"></a>
-<span class="sourceLineNo">154</span>               rc = callRouters.get("*").invoke(pathInfo, req, res);<a name="line.154"></a>
-<span class="sourceLineNo">155</span>            }<a name="line.155"></a>
-<span class="sourceLineNo">156</span><a name="line.156"></a>
-<span class="sourceLineNo">157</span>            // If not invoked above, see if it's an OPTIONs request<a name="line.157"></a>
-<span class="sourceLineNo">158</span>            if (rc != SC_OK)<a name="line.158"></a>
-<span class="sourceLineNo">159</span>               handleNotFound(rc, req, res);<a name="line.159"></a>
-<span class="sourceLineNo">160</span>         }<a name="line.160"></a>
-<span class="sourceLineNo">161</span><a name="line.161"></a>
-<span class="sourceLineNo">162</span>         if (res.hasOutput()) {<a name="line.162"></a>
-<span class="sourceLineNo">163</span>            Object output = res.getOutput();<a name="line.163"></a>
-<span class="sourceLineNo">164</span><a name="line.164"></a>
-<span class="sourceLineNo">165</span>            // Do any class-level transforming.<a name="line.165"></a>
-<span class="sourceLineNo">166</span>            for (RestConverter converter : context.getConverters())<a name="line.166"></a>
-<span class="sourceLineNo">167</span>               output = converter.convert(req, output, context.getBeanContext().getClassMetaForObject(output));<a name="line.167"></a>
-<span class="sourceLineNo">168</span><a name="line.168"></a>
-<span class="sourceLineNo">169</span>            res.setOutput(output);<a name="line.169"></a>
-<span class="sourceLineNo">170</span><a name="line.170"></a>
-<span class="sourceLineNo">171</span>            // Now serialize the output if there was any.<a name="line.171"></a>
-<span class="sourceLineNo">172</span>            // Some subclasses may write to the OutputStream or Writer directly.<a name="line.172"></a>
-<span class="sourceLineNo">173</span>            handleResponse(req, res, output);<a name="line.173"></a>
-<span class="sourceLineNo">174</span>         }<a name="line.174"></a>
-<span class="sourceLineNo">175</span><a name="line.175"></a>
-<span class="sourceLineNo">176</span>         onSuccess(req, res, System.currentTimeMillis() - startTime);<a name="line.176"></a>
-<span class="sourceLineNo">177</span><a name="line.177"></a>
-<span class="sourceLineNo">178</span>      } catch (RestException e) {<a name="line.178"></a>
-<span class="sourceLineNo">179</span>         handleError(r1, r2, e);<a name="line.179"></a>
-<span class="sourceLineNo">180</span>      } catch (Throwable e) {<a name="line.180"></a>
-<span class="sourceLineNo">181</span>         handleError(r1, r2, new RestException(SC_INTERNAL_SERVER_ERROR, e));<a name="line.181"></a>
-<span class="sourceLineNo">182</span>      }<a name="line.182"></a>
-<span class="sourceLineNo">183</span>      logger.log(FINE, "HTTP: [{0} {1}] finished in {2}ms", r1.getMethod(), r1.getRequestURI(), System.currentTimeMillis()-startTime);<a name="line.183"></a>
-<span class="sourceLineNo">184</span>   }<a name="line.184"></a>
-<span class="sourceLineNo">185</span><a name="line.185"></a>
-<span class="sourceLineNo">186</span>   /**<a name="line.186"></a>
-<span class="sourceLineNo">187</span>    * The main method for serializing POJOs passed in through the {@link RestResponse#setOutput(Object)} method or returned by<a name="line.187"></a>
-<span class="sourceLineNo">188</span>    * the Java method.<a name="line.188"></a>
-<span class="sourceLineNo">189</span>    * &lt;p&gt;<a name="line.189"></a>
-<span class="sourceLineNo">190</span>    * Subclasses may override this method if they wish to modify the way the output is rendered or support<a name="line.190"></a>
-<span class="sourceLineNo">191</span>    *    other output formats.<a name="line.191"></a>
-<span class="sourceLineNo">192</span>    * &lt;p&gt;<a name="line.192"></a>
-<span class="sourceLineNo">193</span>    * The default implementation simply iterates through the response handlers on this resource<a name="line.193"></a>
-<span class="sourceLineNo">194</span>    * looking for the first one whose {@link ResponseHandler#handle(RestRequest, RestResponse, Object)} method returns &lt;jk&gt;true&lt;/jk&gt;.<a name="line.194"></a>
-<span class="sourceLineNo">195</span>    *<a name="line.195"></a>
-<span class="sourceLineNo">196</span>    * @param req The HTTP request.<a name="line.196"></a>
-<span class="sourceLineNo">197</span>    * @param res The HTTP response.<a name="line.197"></a>
-<span class="sourceLineNo">198</span>    * @param output The output to serialize in the response.<a name="line.198"></a>
-<span class="sourceLineNo">199</span>    * @throws IOException<a name="line.199"></a>
-<span class="sourceLineNo">200</span>    * @throws RestException<a name="line.200"></a>
-<span class="sourceLineNo">201</span>    */<a name="line.201"></a>
-<span class="sourceLineNo">202</span>   protected void handleResponse(RestRequest req, RestResponse res, Object output) throws IOException, RestException {<a name="line.202"></a>
-<span class="sourceLineNo">203</span>      // Loop until we find the correct handler for the POJO.<a name="line.203"></a>
-<span class="sourceLineNo">204</span>      for (ResponseHandler h : context.getResponseHandlers())<a name="line.204"></a>
-<span class="sourceLineNo">205</span>         if (h.handle(req, res, output))<a name="line.205"></a>
-<span class="sourceLineNo">206</span>            return;<a name="line.206"></a>
-<span class="sourceLineNo">207</span>      throw new RestException(SC_NOT_IMPLEMENTED, "No response handlers found to process output of type '"+(output == null ? null : output.getClass().getName())+"'");<a name="line.207"></a>
-<span class="sourceLineNo">208</span>   }<a name="line.208"></a>
-<span class="sourceLineNo">209</span><a name="line.209"></a>
-<span class="sourceLineNo">210</span>   /**<a name="line.210"></a>
-<span class="sourceLineNo">211</span>    * Handle the case where a matching method was not found.<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    * &lt;p&gt;<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    * Subclasses can override this method to provide a 2nd-chance for specifying a response.<a name="line.213"></a>
-<span class="sourceLineNo">214</span>    * The default implementation will simply throw an exception with an appropriate message.<a name="line.214"></a>
-<span class="sourceLineNo">215</span>    *<a name="line.215"></a>
-<span class="sourceLineNo">216</span>    * @param rc The HTTP response code.<a name="line.216"></a>
-<span class="sourceLineNo">217</span>    * @param req The HTTP request.<a name="line.217"></a>
-<span class="sourceLineNo">218</span>    * @param res The HTTP response.<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    * @throws Exception<a name="line.219"></a>
-<span class="sourceLineNo">220</span>    */<a name="line.220"></a>
-<span class="sourceLineNo">221</span>   protected void handleNotFound(int rc, RestRequest req, RestResponse res) throws Exception {<a name="line.221"></a>
-<span class="sourceLineNo">222</span>      String pathInfo = req.getPathInfo();<a name="line.222"></a>
-<span class="sourceLineNo">223</span>      String methodUC = req.getMethod();<a name="line.223"></a>
-<span class="sourceLineNo">224</span>      String onPath = pathInfo == null ? " on no pathInfo"  : String.format(" on path '%s'", pathInfo);<a name="line.224"></a>
-<span class="sourceLineNo">225</span>      if (rc == SC_NOT_FOUND)<a name="line.225"></a>
-<span class="sourceLineNo">226</span>         throw new RestException(rc, "Method ''{0}'' not found on resource with matching pattern{1}.", methodUC, onPath);<a name="line.226"></a>
-<span class="sourceLineNo">227</span>      else if (rc == SC_PRECONDITION_FAILED)<a name="line.227"></a>
-<span class="sourceLineNo">228</span>         throw new RestException(rc, "Method ''{0}'' not found on resource{1} with matching matcher.", methodUC, onPath);<a name="line.228"></a>
-<span class="sourceLineNo">229</span>      else if (rc == SC_METHOD_NOT_ALLOWED)<a name="line.229"></a>
-<span class="sourceLineNo">230</span>         throw new RestException(rc, "Method ''{0}'' not found on resource.", methodUC);<a name="line.230"></a>
-<span class="sourceLineNo">231</span>      else<a name="line.231"></a>
-<span class="sourceLineNo">232</span>         throw new ServletException("Invalid method response: " + rc);<a name="line.232"></a>
-<span class="sourceLineNo">233</span>   }<a name="line.233"></a>
-<span class="sourceLineNo">234</span><a name="line.234"></a>
-<span class="sourceLineNo">235</span>   /**<a name="line.235"></a>
-<span class="sourceLineNo">236</span>    * Method for handling response errors.<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    * &lt;p&gt;<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    * The default implementation logs the error and calls {@link #renderError(HttpServletRequest,HttpServletResponse,RestException)}.<a name="line.238"></a>
-<span class="sourceLineNo">239</span>    * &lt;p&gt;<a name="line.239"></a>
-<span class="sourceLineNo">240</span>    * Subclasses can override this method to provide their own custom error response handling.<a name="line.240"></a>
-<span class="sourceLineNo">241</span>    *<a name="line.241"></a>
-<span class="sourceLineNo">242</span>    * @param req The servlet request.<a name="line.242"></a>
-<span class="sourceLineNo">243</span>    * @param res The servlet response.<a name="line.243"></a>
-<span class="sourceLineNo">244</span>    * @param e The exception that occurred.<a name="line.244"></a>
-<span class="sourceLineNo">245</span>    * @throws IOException Can be thrown if a problem occurred trying to write to the output stream.<a name="line.245"></a>
-<span class="sourceLineNo">246</span>    */<a name="line.246"></a>
-<span class="sourceLineNo">247</span>   protected synchronized void handleError(HttpServletRequest req, HttpServletResponse res, RestException e) throws IOException {<a name="line.247"></a>
-<span class="sourceLineNo">248</span>      e.setOccurrence(context == null ? 0 : context.getStackTraceOccurrence(e));<a name="line.248"></a>
-<span class="sourceLineNo">249</span>      logger.onError(req, res, e);<a name="line.249"></a>
-<span class="sourceLineNo">250</span>      renderError(req, res, e);<a name="line.250"></a>
-<span class="sourceLineNo">251</span>   }<a name="line.251"></a>
-<span class="sourceLineNo">252</span><a name="line.252"></a>
-<span class="sourceLineNo">253</span>   /**<a name="line.253"></a>
-<span class="sourceLineNo">254</span>    * Method for rendering response errors.<a name="line.254"></a>
-<span class="sourceLineNo">255</span>    * &lt;p&gt;<a name="line.255"></a>
-<span class="sourceLineNo">256</span>    * The default implementation renders a plain text English message, optionally with a stack trace<a name="line.256"></a>
-<span class="sourceLineNo">257</span>    *    if {@link RestContext#REST_renderResponseStackTraces} is enabled.<a name="line.257"></a>
-<span class="sourceLineNo">258</span>    * &lt;p&gt;<a name="line.258"></a>
-<span class="sourceLineNo">259</span>    * Subclasses can override this method to provide their own custom error response handling.<a name="line.259"></a>
-<span class="sourceLineNo">260</span>    *<a name="line.260"></a>
-<span class="sourceLineNo">261</span>    * @param req The servlet request.<a name="line.261"></a>
-<span class="sourceLineNo">262</span>    * @param res The servlet response.<a name="line.262"></a>
-<span class="sourceLineNo">263</span>    * @param e The exception that occurred.<a name="line.263"></a>
-<span class="sourceLineNo">264</span>    * @throws IOException Can be thrown if a problem occurred trying to write to the output stream.<a name="line.264"></a>
-<span class="sourceLineNo">265</span>    */<a name="line.265"></a>
-<span class="sourceLineNo">266</span>   protected void renderError(HttpServletRequest req, HttpServletResponse res, RestException e) throws IOException {<a name="line.266"></a>
-<span class="sourceLineNo">267</span><a name="line.267"></a>
-<span class="sourceLineNo">268</span>      int status = e.getStatus();<a name="line.268"></a>
-<span class="sourceLineNo">269</span>      res.setStatus(status);<a name="line.269"></a>
-<span class="sourceLineNo">270</span>      res.setContentType("text/plain");<a name="line.270"></a>
-<span class="sourceLineNo">271</span>      res.setHeader("Content-Encoding", "identity");<a name="line.271"></a>
-<span class="sourceLineNo">272</span>      PrintWriter w = null;<a name="line.272"></a>
-<span class="sourceLineNo">273</span>      try {<a name="line.273"></a>
-<span class="sourceLineNo">274</span>         w = res.getWriter();<a name="line.274"></a>
-<span class="sourceLineNo">275</span>      } catch (IllegalStateException e2) {<a name="line.275"></a>
-<span class="sourceLineNo">276</span>         w = new PrintWriter(new OutputStreamWriter(res.getOutputStream(), IOUtils.UTF8));<a name="line.276"></a>
-<span class="sourceLineNo">277</span>      }<a name="line.277"></a>
-<span class="sourceLineNo">278</span>      String httpMessage = RestUtils.getHttpResponseText(status);<a name="line.278"></a>
-<span class="sourceLineNo">279</span>      if (httpMessage != null)<a name="line.279"></a>
-<span class="sourceLineNo">280</span>         w.append("HTTP ").append(String.valueOf(status)).append(": ").append(httpMessage).append("\n\n");<a name="line.280"></a>
-<span class="sourceLineNo">281</span>      if (context != null &amp;&amp; context.isRenderResponseStackTraces())<a name="line.281"></a>
-<span class="sourceLineNo">282</span>         e.printStackTrace(w);<a name="line.282"></a>
-<span class="sourceLineNo">283</span>      else<a name="line.283"></a>
-<span class="sourceLineNo">284</span>         w.append(e.getFullStackMessage(true));<a name="line.284"></a>
-<span class="sourceLineNo">285</span>      w.flush();<a name="line.285"></a>
-<span class="sourceLineNo">286</span>      w.close();<a name="line.286"></a>
-<span class="sourceLineNo">287</span>   }<a name="line.287"></a>
-<span class="sourceLineNo">288</span><a name="line.288"></a>
-<span class="sourceLineNo">289</span>   /**<a name="line.289"></a>
-<span class="sourceLineNo">290</span>    * Callback method for listening for successful completion of requests.<a name="line.290"></a>
-<span class="sourceLineNo">291</span>    * &lt;p&gt;<a name="line.291"></a>
-<span class="sourceLineNo">292</span>    * Subclasses can override this method for gathering performance statistics.<a name="line.292"></a>
-<span class="sourceLineNo">293</span>    * &lt;p&gt;<a name="line.293"></a>
-<span class="sourceLineNo">294</span>    * The default implementation does nothing.<a name="line.294"></a>
-<span class="sourceLineNo">295</span>    *<a name="line.295"></a>
-<span class="sourceLineNo">296</span>    * @param req The HTTP request.<a name="line.296"></a>
-<span class="sourceLineNo">297</span>    * @param res The HTTP response.<a name="line.297"></a>
-<span class="sourceLineNo">298</span>    * @param time The time in milliseconds it took to process the request.<a name="line.298"></a>
-<span class="sourceLineNo">299</span>    */<a name="line.299"></a>
-<span class="sourceLineNo">300</span>   protected void onSuccess(RestRequest req, RestResponse res, long time) {<a name="line.300"></a>
-<span class="sourceLineNo">301</span>      if (restServlet != null)<a name="line.301"></a>
-<span class="sourceLineNo">302</span>         restServlet.onSuccess(req, res, time);<a name="line.302"></a>
-<span class="sourceLineNo">303</span>   }<a name="line.303"></a>
-<span class="sourceLineNo">304</span><a name="line.304"></a>
-<span class="sourceLineNo">305</span>   /**<a name="line.305"></a>
-<span class="sourceLineNo">306</span>    * Callback method that gets invoked right before the REST Java method is invoked.<a name="line.306"></a>
-<span class="sourceLineNo">307</span>    * &lt;p&gt;<a name="line.307"></a>
-<span class="sourceLineNo">308</span>    * Subclasses can override this method to override request headers or set request-duration properties<a name="line.308"></a>
-<span class="sourceLineNo">309</span>    *    before the Java method is invoked.<a name="line.309"></a>
-<span class="sourceLineNo">310</span>    *<a name="line.310"></a>
-<span class="sourceLineNo">311</span>    * @param req The HTTP servlet request object.<a name="line.311"></a>
-<span class="sourceLineNo">312</span>    * @throws RestException If any error occurs.<a name="line.312"></a>
-<span class="sourceLineNo">313</span>    */<a name="line.313"></a>
-<span class="sourceLineNo">314</span>   protected void onPreCall(RestRequest req) throws RestException {<a name="line.314"></a>
-<span class="sourceLineNo">315</span>      if (restServlet != null)<a name="line.315"></a>
-<span class="sourceLineNo">316</span>         restServlet.onPreCall(req);<a name="line.316"></a>
-<span class="sourceLineNo">317</span>   }<a name="line.317"></a>
-<span class="sourceLineNo">318</span><a name="line.318"></a>
-<span class="sourceLineNo">319</span>   /**<a name="line.319"></a>
-<span class="sourceLineNo">320</span>    * Callback method that gets invoked right after the REST Java method is invoked, but before<a name="line.320"></a>
-<span class="sourceLineNo">321</span>    *    the serializer is invoked.<a name="line.321"></a>
-<span class="sourceLineNo">322</span>    * &lt;p&gt;<a name="line.322"></a>
-<span class="sourceLineNo">323</span>    * Subclasses can override this method to override request and response headers, or<a name="line.323"></a>
-<span class="sourceLineNo">324</span>    *    set/override properties used by the serializer.<a name="line.324"></a>
-<span class="sourceLineNo">325</span>    *<a name="line.325"></a>
-<span class="sourceLineNo">326</span>    * @param req The HTTP servlet request object.<a name="line.326"></a>
-<span class="sourceLineNo">327</span>    * @param res The HTTP servlet response object.<a name="line.327"></a>
-<span class="sourceLineNo">328</span>    * @throws RestException If any error occurs.<a name="line.328"></a>
-<span class="sourceLineNo">329</span>    */<a name="line.329"></a>
-<span class="sourceLineNo">330</span>   protected void onPostCall(RestRequest req, RestResponse res) throws RestException {<a name="line.330"></a>
-<span class="sourceLineNo">331</span>      if (restServlet != null)<a name="line.331"></a>
-<span class="sourceLineNo">332</span>         restServlet.onPostCall(req, res);<a name="line.332"></a>
-<span class="sourceLineNo">333</span>   }<a name="line.333"></a>
-<span class="sourceLineNo">334</span><a name="line.334"></a>
-<span class="sourceLineNo">335</span>   /**<a name="line.335"></a>
-<span class="sourceLineNo">336</span>    * Returns the session objects for the specified request.<a name="line.336"></a>
-<span class="sourceLineNo">337</span>    * &lt;p&gt;<a name="line.337"></a>
-<span class="sourceLineNo">338</span>    * The default implementation simply returns a single map containing &lt;code&gt;{'req':req}&lt;/code&gt;.<a name="line.338"></a>
-<span class="sourceLineNo">339</span>    *<a name="line.339"></a>
-<span class="sourceLineNo">340</span>    * @param req The REST request.<a name="line.340"></a>
-<span class="sourceLineNo">341</span>    * @return The session objects for that request.<a name="line.341"></a>
-<span class="sourceLineNo">342</span>    */<a name="line.342"></a>
-<span class="sourceLineNo">343</span>   public Map&lt;String,Object&gt; getSessionObjects(RestRequest req) {<a name="line.343"></a>
-<span class="sourceLineNo">344</span>      Map&lt;String,Object&gt; m = new HashMap&lt;String,Object&gt;();<a name="line.344"></a>
-<span class="sourceLineNo">345</span>      m.put(RequestVar.SESSION_req, req);<a name="line.345"></a>
-<span class="sourceLineNo">346</span>      return m;<a name="line.346"></a>
-<span class="sourceLineNo">347</span>   }<a name="line.347"></a>
-<span class="sourceLineNo">348</span>}<a name="line.348"></a>
+<span class="sourceLineNo">017</span>import static org.apache.juneau.internal.StringUtils.*;<a name="line.17"></a>
+<span class="sourceLineNo">018</span><a name="line.18"></a>
+<span class="sourceLineNo">019</span>import java.io.*;<a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.util.*;<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>import javax.servlet.*;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import javax.servlet.http.*;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>import org.apache.juneau.internal.*;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.juneau.rest.annotation.*;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.juneau.rest.vars.*;<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span>/**<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * Class that handles the basic lifecycle of an HTTP REST call.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * &lt;p&gt;<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * Subclasses can override these methods to tailor how HTTP REST calls are handled.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * Subclasses MUST implement a public constructor that takes in a {@link RestContext} object.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * &lt;p&gt;<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * RestCallHandlers are associated with servlets/resources in one of the following ways:<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * &lt;ul&gt;<a name="line.36"></a>
+<span class="sourceLineNo">037</span> *    &lt;li&gt;The {@link RestResource#callHandler @RestResource.callHandler()} annotation.<a name="line.37"></a>
+<span class="sourceLineNo">038</span> *    &lt;li&gt;The {@link RestConfig#setCallHandler(Class)} method.<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * &lt;/ul&gt;<a name="line.39"></a>
+<span class="sourceLineNo">040</span> */<a name="line.40"></a>
+<span class="sourceLineNo">041</span>public class RestCallHandler {<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span>   private final RestContext context;<a name="line.43"></a>
+<span class="sourceLineNo">044</span>   private final RestLogger logger;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>   private final RestServlet restServlet;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>   private final Map&lt;String,CallRouter&gt; callRouters;<a name="line.46"></a>
+<span class="sourceLineNo">047</span><a name="line.47"></a>
+<span class="sourceLineNo">048</span>   /**<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    * Constructor.<a name="line.49"></a>
+<span class="sourceLineNo">050</span>    * @param context The resource context.<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    */<a name="line.51"></a>
+<span class="sourceLineNo">052</span>   public RestCallHandler(RestContext context) {<a name="line.52"></a>
+<span class="sourceLineNo">053</span>      this.context = context;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>      this.logger = context.getLogger();<a name="line.54"></a>
+<span class="sourceLineNo">055</span>      this.callRouters = context.getCallRouters();<a name="line.55"></a>
+<span class="sourceLineNo">056</span>      this.restServlet = context.getRestServlet();  // Null if this isn't a RestServlet!<a name="line.56"></a>
+<span class="sourceLineNo">057</span>   }<a name="line.57"></a>
+<span class="sourceLineNo">058</span><a name="line.58"></a>
+<span class="sourceLineNo">059</span>   /**<a name="line.59"></a>
+<span class="sourceLineNo">060</span>    * Creates a {@link RestRequest} object based on the specified incoming {@link HttpServletRequest} object.<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    * &lt;p&gt;<a name="line.61"></a>
+<span class="sourceLineNo">062</span>    * Subclasses may choose to override this method to provide a specialized request object.<a name="line.62"></a>
+<span class="sourceLineNo">063</span>    *<a name="line.63"></a>
+<span class="sourceLineNo">064</span>    * @param req The request object from the {@link #service(HttpServletRequest, HttpServletResponse)} method.<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    * @return The wrapped request object.<a name="line.65"></a>
+<span class="sourceLineNo">066</span>    * @throws ServletException If any errors occur trying to interpret the request.<a name="line.66"></a>
+<span class="sourceLineNo">067</span>    */<a name="line.67"></a>
+<span class="sourceLineNo">068</span>   protected RestRequest createRequest(HttpServletRequest req) throws ServletException {<a name="line.68"></a>
+<span class="sourceLineNo">069</span>      return new RestRequest(context, req);<a name="line.69"></a>
+<span class="sourceLineNo">070</span>   }<a name="line.70"></a>
+<span class="sourceLineNo">071</span><a name="line.71"></a>
+<span class="sourceLineNo">072</span>   /**<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    * Creates a {@link RestResponse} object based on the specified incoming {@link HttpServletResponse} object<a name="line.73"></a>
+<span class="sourceLineNo">074</span>    *    and the request returned by {@link #createRequest(HttpServletRequest)}.<a name="line.74"></a>
+<span class="sourceLineNo">075</span>    * &lt;p&gt;<a name="line.75"></a>
+<span class="sourceLineNo">076</span>    * Subclasses may choose to override this method to provide a specialized response object.<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    *<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    * @param req The request object returned by {@link #createRequest(HttpServletRequest)}.<a name="line.78"></a>
+<span class="sourceLineNo">079</span>    * @param res The response object from the {@link #service(HttpServletRequest, HttpServletResponse)} method.<a name="line.79"></a>
+<span class="sourceLineNo">080</span>    * @return The wrapped response object.<a name="line.80"></a>
+<span class="sourceLineNo">081</span>    * @throws ServletException If any errors occur trying to interpret the request or response.<a name="line.81"></a>
+<span class="sourceLineNo">082</span>    */<a name="line.82"></a>
+<span class="sourceLineNo">083</span>   protected RestResponse createResponse(RestRequest req, HttpServletResponse res) throws ServletException {<a name="line.83"></a>
+<span class="sourceLineNo">084</span>      return new RestResponse(context, req, res);<a name="line.84"></a>
+<span class="sourceLineNo">085</span>   }<a name="line.85"></a>
+<span class="sourceLineNo">086</span><a name="line.86"></a>
+<span class="sourceLineNo">087</span>   /**<a name="line.87"></a>
+<span class="sourceLineNo">088</span>    * The main service method.<a name="line.88"></a>
+<span class="sourceLineNo">089</span>    * &lt;p&gt;<a name="line.89"></a>
+<span class="sourceLineNo">090</span>    * Subclasses can optionally override this method if they want to tailor the behavior of requests.<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    *<a name="line.91"></a>
+<span class="sourceLineNo">092</span>    * @param r1 The incoming HTTP servlet request object.<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    * @param r2 The incoming HTTP servlet response object.<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    * @throws ServletException<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    * @throws IOException<a name="line.95"></a>
+<span class="sourceLineNo">096</span>    */<a name="line.96"></a>
+<span class="sourceLineNo">097</span>   protected void service(HttpServletRequest r1, HttpServletResponse r2) throws ServletException, IOException {<a name="line.97"></a>
+<span class="sourceLineNo">098</span><a name="line.98"></a>
+<span class="sourceLineNo">099</span>      logger.log(FINE, "HTTP: {0} {1}", r1.getMethod(), r1.getRequestURI());<a name="line.99"></a>
+<span class="sourceLineNo">100</span>      long startTime = System.currentTimeMillis();<a name="line.100"></a>
+<span class="sourceLineNo">101</span><a name="line.101"></a>
+<span class="sourceLineNo">102</span>      try {<a name="line.102"></a>
+<span class="sourceLineNo">103</span>         context.checkForInitException();<a name="line.103"></a>
+<span class="sourceLineNo">104</span><a name="line.104"></a>
+<span class="sourceLineNo">105</span>         String pathInfo = RestUtils.getPathInfoUndecoded(r1);  // Can't use r1.getPathInfo() because we don't want '%2F' resolved.<a name="line.105"></a>
+<span class="sourceLineNo">106</span><a name="line.106"></a>
+<span class="sourceLineNo">107</span>         // If this resource has child resources, try to recursively call them.<a name="line.107"></a>
+<span class="sourceLineNo">108</span>         if (pathInfo != null &amp;&amp; context.hasChildResources() &amp;&amp; (! pathInfo.equals("/"))) {<a name="line.108"></a>
+<span class="sourceLineNo">109</span>            int i = pathInfo.indexOf('/', 1);<a name="line.109"></a>
+<span class="sourceLineNo">110</span>            String pathInfoPart = i == -1 ? pathInfo.substring(1) : pathInfo.substring(1, i);<a name="line.110"></a>
+<span class="sourceLineNo">111</span>            RestContext childResource = context.getChildResource(pathInfoPart);<a name="line.111"></a>
+<span class="sourceLineNo">112</span>            if (childResource != null) {<a name="line.112"></a>
+<span class="sourceLineNo">113</span>               final String pathInfoRemainder = (i == -1 ? null : pathInfo.substring(i));<a name="line.113"></a>
+<span class="sourceLineNo">114</span>               final String servletPath = r1.getServletPath() + "/" + pathInfoPart;<a name="line.114"></a>
+<span class="sourceLineNo">115</span>               final HttpServletRequest childRequest = new HttpServletRequestWrapper(r1) {<a name="line.115"></a>
+<span class="sourceLineNo">116</span>                  @Override /* ServletRequest */<a name="line.116"></a>
+<span class="sourceLineNo">117</span>                  public String getPathInfo() {<a name="line.117"></a>
+<span class="sourceLineNo">118</span>                     return urlDecode(pathInfoRemainder);<a name="line.118"></a>
+<span class="sourceLineNo">119</span>                  }<a name="line.119"></a>
+<span class="sourceLineNo">120</span>                  @Override /* ServletRequest */<a name="line.120"></a>
+<span class="sourceLineNo">121</span>                  public String getServletPath() {<a name="line.121"></a>
+<span class="sourceLineNo">122</span>                     return servletPath;<a name="line.122"></a>
+<span class="sourceLineNo">123</span>                  }<a name="line.123"></a>
+<span class="sourceLineNo">124</span>               };<a name="line.124"></a>
+<span class="sourceLineNo">125</span>               childResource.getCallHandler().service(childRequest, r2);<a name="line.125"></a>
+<span class="sourceLineNo">126</span>               return;<a name="line.126"></a>
+<span class="sourceLineNo">127</span>            }<a name="line.127"></a>
+<span class="sourceLineNo">128</span>         }<a name="line.128"></a>
+<span class="sourceLineNo">129</span><a name="line.129"></a>
+<span class="sourceLineNo">130</span>         RestRequest req = createRequest(r1);<a name="line.130"></a>
+<span class="sourceLineNo">131</span>         RestResponse res = createResponse(req, r2);<a name="line.131"></a>
+<span class="sourceLineNo">132</span>         String method = req.getMethod();<a name="line.132"></a>
+<span class="sourceLineNo">133</span>         String methodUC = method.toUpperCase(Locale.ENGLISH);<a name="line.133"></a>
+<span class="sourceLineNo">134</span><a name="line.134"></a>
+<span class="sourceLineNo">135</span>         StreamResource r = null;<a name="line.135"></a>
+<span class="sourceLineNo">136</span>         if (pathInfo != null) {<a name="line.136"></a>
+<span class="sourceLineNo">137</span>            String p = pathInfo.substring(1);<a name="line.137"></a>
+<span class="sourceLineNo">138</span>            if (p.equals("favicon.ico"))<a name="line.138"></a>
+<span class="sourceLineNo">139</span>               r = context.getFavIcon();<a name="line.139"></a>
+<span class="sourceLineNo">140</span>            else if (p.equals("style.css"))<a name="line.140"></a>
+<span class="sourceLineNo">141</span>               r = context.getStyleSheet();<a name="line.141"></a>
+<span class="sourceLineNo">142</span>            else if (context.isStaticFile(p))<a name="line.142"></a>
+<span class="sourceLineNo">143</span>               r = context.resolveStaticFile(p);<a name="line.143"></a>
+<span class="sourceLineNo">144</span>         }<a name="line.144"></a>
+<span class="sourceLineNo">145</span><a name="line.145"></a>
+<span class="sourceLineNo">146</span>         if (r != null) {<a name="line.146"></a>
+<span class="sourceLineNo">147</span>            res.setStatus(SC_OK);<a name="line.147"></a>
+<span class="sourceLineNo">148</span>            res.setOutput(r);<a name="line.148"></a>
+<span class="sourceLineNo">149</span>         } else {<a name="line.149"></a>
+<span class="sourceLineNo">150</span>            // If the specified method has been defined in a subclass, invoke it.<a name="line.150"></a>
+<span class="sourceLineNo">151</span>            int rc = SC_METHOD_NOT_ALLOWED;<a name="line.151"></a>
+<span class="sourceLineNo">152</span>            if (callRouters.containsKey(methodUC)) {<a name="line.152"></a>
+<span class="sourceLineNo">153</span>               rc = callRouters.get(methodUC).invoke(pathInfo, req, res);<a name="line.153"></a>
+<span class="sourceLineNo">154</span>            } else if (callRouters.containsKey("*")) {<a name="line.154"></a>
+<span class="sourceLineNo">155</span>               rc = callRouters.get("*").invoke(pathInfo, req, res);<a name="line.155"></a>
+<span class="sourceLineNo">156</span>            }<a name="line.156"></a>
+<span class="sourceLineNo">157</span><a name="line.157"></a>
+<span class="sourceLineNo">158</span>            // If not invoked above, see if it's an OPTIONs request<a name="line.158"></a>
+<span class="sourceLineNo">159</span>            if (rc != SC_OK)<a name="line.159"></a>
+<span class="sourceLineNo">160</span>               handleNotFound(rc, req, res);<a name="line.160"></a>
+<span class="sourceLineNo">161</span>         }<a name="line.161"></a>
+<span class="sourceLineNo">162</span><a name="line.162"></a>
+<span class="sourceLineNo">163</span>         if (res.hasOutput()) {<a name="line.163"></a>
+<span class="sourceLineNo">164</span>            Object output = res.getOutput();<a name="line.164"></a>
+<span class="sourceLineNo">165</span><a name="line.165"></a>
+<span class="sourceLineNo">166</span>            // Do any class-level transforming.<a name="line.166"></a>
+<span class="sourceLineNo">167</span>            for (RestConverter converter : context.getConverters())<a name="line.167"></a>
+<span class="sourceLineNo">168</span>               output = converter.convert(req, output, context.getBeanContext().getClassMetaForObject(output));<a name="line.168"></a>
+<span class="sourceLineNo">169</span><a name="line.169"></a>
+<span class="sourceLineNo">170</span>            res.setOutput(output);<a name="line.170"></a>
+<span class="sourceLineNo">171</span><a name="line.171"></a>
+<span class="sourceLineNo">172</span>            // Now serialize the output if there was any.<a name="line.172"></a>
+<span class="sourceLineNo">173</span>            // Some subclasses may write to the OutputStream or Writer directly.<a name="line.173"></a>
+<span class="sourceLineNo">174</span>            handleResponse(req, res, output);<a name="line.174"></a>
+<span class="sourceLineNo">175</span>         }<a name="line.175"></a>
+<span class="sourceLineNo">176</span><a name="line.176"></a>
+<span class="sourceLineNo">177</span>         onSuccess(req, res, System.currentTimeMillis() - startTime);<a name="line.177"></a>
+<span class="sourceLineNo">178</span><a name="line.178"></a>
+<span class="sourceLineNo">179</span>      } catch (RestException e) {<a name="line.179"></a>
+<span class="sourceLineNo">180</span>         handleError(r1, r2, e);<a name="line.180"></a>
+<span class="sourceLineNo">181</span>      } catch (Throwable e) {<a name="line.181"></a>
+<span class="sourceLineNo">182</span>         handleError(r1, r2, new RestException(SC_INTERNAL_SERVER_ERROR, e));<a name="line.182"></a>
+<span class="sourceLineNo">183</span>      }<a name="line.183"></a>
+<span class="sourceLineNo">184</span>      logger.log(FINE, "HTTP: [{0} {1}] finished in {2}ms", r1.getMethod(), r1.getRequestURI(), System.currentTimeMillis()-startTime);<a name="line.184"></a>
+<span class="sourceLineNo">185</span>   }<a name="line.185"></a>
+<span class="sourceLineNo">186</span><a name="line.186"></a>
+<span class="sourceLineNo">187</span>   /**<a name="line.187"></a>
+<span class="sourceLineNo">188</span>    * The main method for serializing POJOs passed in through the {@link RestResponse#setOutput(Object)} method or returned by<a name="line.188"></a>
+<span class="sourceLineNo">189</span>    * the Java method.<a name="line.189"></a>
+<span class="sourceLineNo">190</span>    * &lt;p&gt;<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    * Subclasses may override this method if they wish to modify the way the output is rendered or support<a name="line.191"></a>
+<span class="sourceLineNo">192</span>    *    other output formats.<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    * &lt;p&gt;<a name="line.193"></a>
+<span class="sourceLineNo">194</span>    * The default implementation simply iterates through the response handlers on this resource<a name="line.194"></a>
+<span class="sourceLineNo">195</span>    * looking for the first one whose {@link ResponseHandler#handle(RestRequest, RestResponse, Object)} method returns &lt;jk&gt;true&lt;/jk&gt;.<a name="line.195"></a>
+<span class="sourceLineNo">196</span>    *<a name="line.196"></a>
+<span class="sourceLineNo">197</span>    * @param req The HTTP request.<a name="line.197"></a>
+<span class="sourceLineNo">198</span>    * @param res The HTTP response.<a name="line.198"></a>
+<span class="sourceLineNo">199</span>    * @param output The output to serialize in the response.<a name="line.199"></a>
+<span class="sourceLineNo">200</span>    * @throws IOException<a name="line.200"></a>
+<span class="sourceLineNo">201</span>    * @throws RestException<a name="line.201"></a>
+<span class="sourceLineNo">202</span>    */<a name="line.202"></a>
+<span class="sourceLineNo">203</span>   protected void handleResponse(RestRequest req, RestResponse res, Object output) throws IOException, RestException {<a name="line.203"></a>
+<span class="sourceLineNo">204</span>      // Loop until we find the correct handler for the POJO.<a name="line.204"></a>
+<span class="sourceLineNo">205</span>      for (ResponseHandler h : context.getResponseHandlers())<a name="line.205"></a>
+<span class="sourceLineNo">206</span>         if (h.handle(req, res, output))<a name="line.206"></a>
+<span class="sourceLineNo">207</span>            return;<a name="line.207"></a>
+<span class="sourceLineNo">208</span>      throw new RestException(SC_NOT_IMPLEMENTED, "No response handlers found to process output of type '"+(output == null ? null : output.getClass().getName())+"'");<a name="line.208"></a>
+<span class="sourceLineNo">209</span>   }<a name="line.209"></a>
+<span class="sourceLineNo">210</span><a name="line.210"></a>
+<span class="sourceLineNo">211</span>   /**<a name="line.211"></a>
+<span class="sourceLineNo">212</span>    * Handle the case where a matching method was not found.<a name="line.212"></a>
+<span class="sourceLineNo">213</span>    * &lt;p&gt;<a name="line.213"></a>
+<span class="sourceLineNo">214</span>    * Subclasses can override this method to provide a 2nd-chance for specifying a response.<a name="line.214"></a>
+<span class="sourceLineNo">215</span>    * The default implementation will simply throw an exception with an appropriate message.<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    *<a name="line.216"></a>
+<span class="sourceLineNo">217</span>    * @param rc The HTTP response code.<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    * @param req The HTTP request.<a name="line.218"></a>
+<span class="sourceLineNo">219</span>    * @param res The HTTP response.<a name="line.219"></a>
+<span class="sourceLineNo">220</span>    * @throws Exception<a name="line.220"></a>
+<span class="sourceLineNo">221</span>    */<a name="line.221"></a>
+<span class="sourceLineNo">222</span>   protected void handleNotFound(int rc, RestRequest req, RestResponse res) throws Exception {<a name="line.222"></a>
+<span class="sourceLineNo">223</span>      String pathInfo = req.getPathInfo();<a name="line.223"></a>
+<span class="sourceLineNo">224</span>      String methodUC = req.getMethod();<a name="line.224"></a>
+<span class="sourceLineNo">225</span>      String onPath = pathInfo == null ? " on no pathInfo"  : String.format(" on path '%s'", pathInfo);<a name="line.225"></a>
+<span class="sourceLineNo">226</span>      if (rc == SC_NOT_FOUND)<a name="line.226"></a>
+<span class="sourceLineNo">227</span>         throw new RestException(rc, "Method ''{0}'' not found on resource with matching pattern{1}.", methodUC, onPath);<a name="line.227"></a>
+<span class="sourceLineNo">228</span>      else if (rc == SC_PRECONDITION_FAILED)<a name="line.228"></a>
+<span class="sourceLineNo">229</span>         throw new RestException(rc, "Method ''{0}'' not found on resource{1} with matching matcher.", methodUC, onPath);<a name="line.229"></a>
+<span class="sourceLineNo">230</span>      else if (rc == SC_METHOD_NOT_ALLOWED)<a name="line.230"></a>
+<span class="sourceLineNo">231</span>         throw new RestException(rc, "Method ''{0}'' not found on resource.", methodUC);<a name="line.231"></a>
+<span class="sourceLineNo">232</span>      else<a name="line.232"></a>
+<span class="sourceLineNo">233</span>         throw new ServletException("Invalid method response: " + rc);<a name="line.233"></a>
+<span class="sourceLineNo">234</span>   }<a name="line.234"></a>
+<span class="sourceLineNo">235</span><a name="line.235"></a>
+<span class="sourceLineNo">236</span>   /**<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    * Method for handling response errors.<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    * &lt;p&gt;<a name="line.238"></a>
+<span class="sourceLineNo">239</span>    * The default implementation logs the error and calls {@link #renderError(HttpServletRequest,HttpServletResponse,RestException)}.<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    * &lt;p&gt;<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    * Subclasses can override this method to provide their own custom error response handling.<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    *<a name="line.242"></a>
+<span class="sourceLineNo">243</span>    * @param req The servlet request.<a name="line.243"></a>
+<span class="sourceLineNo">244</span>    * @param res The servlet response.<a name="line.244"></a>
+<span class="sourceLineNo">245</span>    * @param e The exception that occurred.<a name="line.245"></a>
+<span class="sourceLineNo">246</span>    * @throws IOException Can be thrown if a problem occurred trying to write to the output stream.<a name="line.246"></a>
+<span class="sourceLineNo">247</span>    */<a name="line.247"></a>
+<span class="sourceLineNo">248</span>   protected synchronized void handleError(HttpServletRequest req, HttpServletResponse res, RestException e) throws IOException {<a name="line.248"></a>
+<span class="sourceLineNo">249</span>      e.setOccurrence(context == null ? 0 : context.getStackTraceOccurrence(e));<a name="line.249"></a>
+<span class="sourceLineNo">250</span>      logger.onError(req, res, e);<a name="line.250"></a>
+<span class="sourceLineNo">251</span>      renderError(req, res, e);<a name="line.251"></a>
+<span class="sourceLineNo">252</span>   }<a name="line.252"></a>
+<span class="sourceLineNo">253</span><a name="line.253"></a>
+<span class="sourceLineNo">254</span>   /**<a name="line.254"></a>
+<span class="sourceLineNo">255</span>    * Method for rendering response errors.<a name="line.255"></a>
+<span class="sourceLineNo">256</span>    * &lt;p&gt;<a name="line.256"></a>
+<span class="sourceLineNo">257</span>    * The default implementation renders a plain text English message, optionally with a stack trace<a name="line.257"></a>
+<span class="sourceLineNo">258</span>    *    if {@link RestContext#REST_renderResponseStackTraces} is enabled.<a name="line.258"></a>
+<span class="sourceLineNo">259</span>    * &lt;p&gt;<a name="line.259"></a>
+<span class="sourceLineNo">260</span>    * Subclasses can override this method to provide their own custom error response handling.<a name="line.260"></a>
+<span class="sourceLineNo">261</span>    *<a name="line.261"></a>
+<span class="sourceLineNo">262</span>    * @param req The servlet request.<a name="line.262"></a>
+<span class="sourceLineNo">263</span>    * @param res The servlet response.<a name="line.263"></a>
+<span class="sourceLineNo">264</span>    * @param e The exception that occurred.<a name="line.264"></a>
+<span class="sourceLineNo">265</span>    * @throws IOException Can be thrown if a problem occurred trying to write to the output stream.<a name="line.265"></a>
+<span class="sourceLineNo">266</span>    */<a name="line.266"></a>
+<span class="sourceLineNo">267</span>   protected void renderError(HttpServletRequest req, HttpServletResponse res, RestException e) throws IOException {<a name="line.267"></a>
+<span class="sourceLineNo">268</span><a name="line.268"></a>
+<span class="sourceLineNo">269</span>      int status = e.getStatus();<a name="line.269"></a>
+<span class="sourceLineNo">270</span>      res.setStatus(status);<a name="line.270"></a>
+<span class="sourceLineNo">271</span>      res.setContentType("text/plain");<a name="line.271"></a>
+<span class="sourceLineNo">272</span>      res.setHeader("Content-Encoding", "identity");<a name="line.272"></a>
+<span class="sourceLineNo">273</span><a name="line.273"></a>
+<span class="sourceLineNo">274</span>      Throwable t = e.getRootCause();<a name="line.274"></a>
+<span class="sourceLineNo">275</span>      if (t != null) {<a name="line.275"></a>
+<span class="sourceLineNo">276</span>         res.setHeader("Exception-Name", t.getClass().getName());<a name="line.276"></a>
+<span class="sourceLineNo">277</span>         res.setHeader("Exception-Message", t.getMessage());<a name="line.277"></a>
+<span class="sourceLineNo">278</span>      }<a name="line.278"></a>
+<span class="sourceLineNo">279</span><a name="line.279"></a>
+<span class="sourceLineNo">280</span>      PrintWriter w = null;<a name="line.280"></a>
+<span class="sourceLineNo">281</span>      try {<a name="line.281"></a>
+<span class="sourceLineNo">282</span>         w = res.getWriter();<a name="line.282"></a>
+<span class="sourceLineNo">283</span>      } catch (IllegalStateException e2) {<a name="line.283"></a>
+<span class="sourceLineNo">284</span>         w = new PrintWriter(new OutputStreamWriter(res.getOutputStream(), IOUtils.UTF8));<a name="line.284"></a>
+<span class="sourceLineNo">285</span>      }<a name="line.285"></a>
+<span class="sourceLineNo">286</span>      String httpMessage = RestUtils.getHttpResponseText(status);<a name="line.286"></a>
+<span class="sourceLineNo">287</span>      if (httpMessage != null)<a name="line.287"></a>
+<span class="sourceLineNo">288</span>         w.append("HTTP ").append(String.valueOf(status)).append(": ").append(httpMessage).append("\n\n");<a name="line.288"></a>
+<span class="sourceLineNo">289</span>      if (context != null &amp;&amp; context.isRenderResponseStackTraces())<a name="line.289"></a>
+<span class="sourceLineNo">290</span>         e.printStackTrace(w);<a name="line.290"></a>
+<span class="sourceLineNo">291</span>      else<a name="line.291"></a>
+<span class="sourceLineNo">292</span>         w.append(e.getFullStackMessage(true));<a name="line.292"></a>
+<span class="sourceLineNo">293</span>      w.flush();<a name="line.293"></a>
+<span class="sourceLineNo">294</span>      w.close();<a name="line.294"></a>
+<span class="sourceLineNo">295</span>   }<a name="line.295"></a>
+<span class="sourceLineNo">296</span><a name="line.296"></a>
+<span class="sourceLineNo">297</span>   /**<a name="line.297"></a>
+<span class="sourceLineNo">298</span>    * Callback method for listening for successful completion of requests.<a name="line.298"></a>
+<span class="sourceLineNo">299</span>    * &lt;p&gt;<a name="line.299"></a>
+<span class="sourceLineNo">300</span>    * Subclasses can override this method for gathering performance statistics.<a name="line.300"></a>
+<span class="sourceLineNo">301</span>    * &lt;p&gt;<a name="line.301"></a>
+<span class="sourceLineNo">302</span>    * The default implementation does nothing.<a name="line.302"></a>
+<span class="sourceLineNo">303</span>    *<a name="line.303"></a>
+<span class="sourceLineNo">304</span>    * @param req The HTTP request.<a name="line.304"></a>
+<span class="sourceLineNo">305</span>    * @param res The HTTP response.<a name="line.305"></a>
+<span class="sourceLineNo">306</span>    * @param time The time in milliseconds it took to process the request.<a name="line.306"></a>
+<span class="sourceLineNo">307</span>    */<a name="line.307"></a>
+<span class="sourceLineNo">308</span>   protected void onSuccess(RestRequest req, RestResponse res, long time) {<a name="line.308"></a>
+<span class="sourceLineNo">309</span>      if (restServlet != null)<a name="line.309"></a>
+<span class="sourceLineNo">310</span>         restServlet.onSuccess(req, res, time);<a name="line.310"></a>
+<span class="sourceLineNo">311</span>   }<a name="line.311"></a>
+<span class="sourceLineNo">312</span><a name="line.312"></a>
+<span class="sourceLineNo">313</span>   /**<a name="line.313"></a>
+<span class="sourceLineNo">314</span>    * Callback method that gets invoked right before the REST Java method is invoked.<a name="line.314"></a>
+<span class="sourceLineNo">315</span>    * &lt;p&gt;<a name="line.315"></a>
+<span class="sourceLineNo">316</span>    * Subclasses can override this method to override request headers or set request-duration properties<a name="line.316"></a>
+<span class="sourceLineNo">317</span>    *    before the Java method is invoked.<a name="line.317"></a>
+<span class="sourceLineNo">318</span>    *<a name="line.318"></a>
+<span class="sourceLineNo">319</span>    * @param req The HTTP servlet request object.<a name="line.319"></a>
+<span class="sourceLineNo">320</span>    * @throws RestException If any error occurs.<a name="line.320"></a>
+<span class="sourceLineNo">321</span>    */<a name="line.321"></a>
+<span class="sourceLineNo">322</span>   protected void onPreCall(RestRequest req) throws RestException {<a name="line.322"></a>
+<span class="sourceLineNo">323</span>      if (restServlet != null)<a name="line.323"></a>
+<span class="sourceLineNo">324</span>         restServlet.onPreCall(req);<a name="line.324"></a>
+<span class="sourceLineNo">325</span>   }<a name="line.325"></a>
+<span class="sourceLineNo">326</span><a name="line.326"></a>
+<span class="sourceLineNo">327</span>   /**<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    * Callback method that gets invoked right after the REST Java method is invoked, but before<a name="line.328"></a>
+<span class="sourceLineNo">329</span>    *    the serializer is invoked.<a name="line.329"></a>
+<span class="sourceLineNo">330</span>    * &lt;p&gt;<a name="line.330"></a>
+<span class="sourceLineNo">331</span>    * Subclasses can override this method to override request and response headers, or<a name="line.331"></a>
+<span class="sourceLineNo">332</span>    *    set/override properties used by the serializer.<a name="line.332"></a>
+<span class="sourceLineNo">333</span>    *<a name="line.333"></a>
+<span class="sourceLineNo">334</span>    * @param req The HTTP servlet request object.<a name="line.334"></a>
+<span class="sourceLineNo">335</span>    * @param res The HTTP servlet response object.<a name="line.335"></a>
+<span class="sourceLineNo">336</span>    * @throws RestException If any error occurs.<a name="line.336"></a>
+<span class="sourceLineNo">337</span>    */<a name="line.337"></a>
+<span class="sourceLineNo">338</span>   protected void onPostCall(RestRequest req, RestResponse res) throws RestException {<a name="line.338"></a>
+<span class="sourceLineNo">339</span>      if (restServlet != null)<a name="line.339"></a>
+<span class="sourceLineNo">340</span>         restServlet.onPostCall(req, res);<a name="line.340"></a>
+<span class="sourceLineNo">341</span>   }<a name="line.341"></a>
+<span class="sourceLineNo">342</span><a name="line.342"></a>
+<span class="sourceLineNo">343</span>   /**<a name="line.343"></a>
+<span class="sourceLineNo">344</span>    * Returns the session objects for the specified request.<a name="line.344"></a>
+<span class="sourceLineNo">345</span>    * &lt;p&gt;<a name="line.345"></a>
+<span class="sourceLineNo">346</span>    * The default implementation simply returns a single map containing &lt;code&gt;{'req':req}&lt;/code&gt;.<a name="line.346"></a>
+<span class="sourceLineNo">347</span>    *<a name="line.347"></a>
+<span class="sourceLineNo">348</span>    * @param req The REST request.<a name="line.348"></a>
+<span class="sourceLineNo">349</span>    * @return The session objects for that request.<a name="line.349"></a>
+<span class="sourceLineNo">350</span>    */<a name="line.350"></a>
+<span class="sourceLineNo">351</span>   public Map&lt;String,Object&gt; getSessionObjects(RestRequest req) {<a name="line.351"></a>
+<span class="sourceLineNo">352</span>      Map&lt;String,Object&gt; m = new HashMap&lt;String,Object&gt;();<a name="line.352"></a>
+<span class="sourceLineNo">353</span>      m.put(RequestVar.SESSION_req, req);<a name="line.353"></a>
+<span class="sourceLineNo">354</span>      return m;<a name="line.354"></a>
+<span class="sourceLineNo">355</span>   }<a name="line.355"></a>
+<span class="sourceLineNo">356</span>}<a name="line.356"></a>
 
 
 


[13/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/RestResponse.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RestResponse.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RestResponse.html
index f7a539f..b9f1f00 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/RestResponse.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RestResponse.html
@@ -82,408 +82,409 @@
 <span class="sourceLineNo">074</span>      try {<a name="line.74"></a>
 <span class="sourceLineNo">075</span>         String passThroughHeaders = req.getHeader("x-response-headers");<a name="line.75"></a>
 <span class="sourceLineNo">076</span>         if (passThroughHeaders != null) {<a name="line.76"></a>
-<span class="sourceLineNo">077</span>            ObjectMap m = context.getUrlEncodingParser().parseParameter(passThroughHeaders, ObjectMap.class);<a name="line.77"></a>
-<span class="sourceLineNo">078</span>            for (Map.Entry&lt;String,Object&gt; e : m.entrySet())<a name="line.78"></a>
-<span class="sourceLineNo">079</span>               setHeader(e.getKey(), e.getValue().toString());<a name="line.79"></a>
-<span class="sourceLineNo">080</span>         }<a name="line.80"></a>
-<span class="sourceLineNo">081</span>      } catch (Exception e1) {<a name="line.81"></a>
-<span class="sourceLineNo">082</span>         throw new RestException(SC_BAD_REQUEST, "Invalid format for header 'x-response-headers'.  Must be in URL-encoded format.").initCause(e1);<a name="line.82"></a>
-<span class="sourceLineNo">083</span>      }<a name="line.83"></a>
-<span class="sourceLineNo">084</span>   }<a name="line.84"></a>
-<span class="sourceLineNo">085</span><a name="line.85"></a>
-<span class="sourceLineNo">086</span>   /*<a name="line.86"></a>
-<span class="sourceLineNo">087</span>    * Called from RestServlet after a match has been made but before the guard or method invocation.<a name="line.87"></a>
-<span class="sourceLineNo">088</span>    */<a name="line.88"></a>
-<span class="sourceLineNo">089</span>   @SuppressWarnings("hiding")<a name="line.89"></a>
-<span class="sourceLineNo">090</span>   final void init(ObjectMap properties, String defaultCharset, SerializerGroup mSerializers, UrlEncodingSerializer mUrlEncodingSerializer, EncoderGroup encoders) {<a name="line.90"></a>
-<span class="sourceLineNo">091</span>      this.properties = properties;<a name="line.91"></a>
-<span class="sourceLineNo">092</span>      this.serializerGroup = mSerializers;<a name="line.92"></a>
-<span class="sourceLineNo">093</span>      this.urlEncodingSerializer = mUrlEncodingSerializer;<a name="line.93"></a>
-<span class="sourceLineNo">094</span>      this.encoders = encoders;<a name="line.94"></a>
-<span class="sourceLineNo">095</span><a name="line.95"></a>
-<span class="sourceLineNo">096</span>      // Find acceptable charset<a name="line.96"></a>
-<span class="sourceLineNo">097</span>      String h = request.getHeader("accept-charset");<a name="line.97"></a>
-<span class="sourceLineNo">098</span>      String charset = null;<a name="line.98"></a>
-<span class="sourceLineNo">099</span>      if (h == null)<a name="line.99"></a>
-<span class="sourceLineNo">100</span>         charset = defaultCharset;<a name="line.100"></a>
-<span class="sourceLineNo">101</span>      else for (MediaRange r : MediaRange.parse(h)) {<a name="line.101"></a>
-<span class="sourceLineNo">102</span>         if (r.getQValue() &gt; 0) {<a name="line.102"></a>
-<span class="sourceLineNo">103</span>            MediaType mt = r.getMediaType();<a name="line.103"></a>
-<span class="sourceLineNo">104</span>            if (mt.getType().equals("*"))<a name="line.104"></a>
-<span class="sourceLineNo">105</span>               charset = defaultCharset;<a name="line.105"></a>
-<span class="sourceLineNo">106</span>            else if (Charset.isSupported(mt.getType()))<a name="line.106"></a>
-<span class="sourceLineNo">107</span>               charset = mt.getType();<a name="line.107"></a>
-<span class="sourceLineNo">108</span>            if (charset != null)<a name="line.108"></a>
-<span class="sourceLineNo">109</span>               break;<a name="line.109"></a>
-<span class="sourceLineNo">110</span>         }<a name="line.110"></a>
-<span class="sourceLineNo">111</span>      }<a name="line.111"></a>
-<span class="sourceLineNo">112</span><a name="line.112"></a>
-<span class="sourceLineNo">113</span>      if (charset == null)<a name="line.113"></a>
-<span class="sourceLineNo">114</span>         throw new RestException(SC_NOT_ACCEPTABLE, "No supported charsets in header ''Accept-Charset'': ''{0}''", request.getHeader("Accept-Charset"));<a name="line.114"></a>
-<span class="sourceLineNo">115</span>      super.setCharacterEncoding(charset);<a name="line.115"></a>
-<span class="sourceLineNo">116</span>   }<a name="line.116"></a>
-<span class="sourceLineNo">117</span><a name="line.117"></a>
-<span class="sourceLineNo">118</span>   /**<a name="line.118"></a>
-<span class="sourceLineNo">119</span>    * Gets the serializer group for the response.<a name="line.119"></a>
-<span class="sourceLineNo">120</span>    *<a name="line.120"></a>
-<span class="sourceLineNo">121</span>    * @return The serializer group for the response.<a name="line.121"></a>
-<span class="sourceLineNo">122</span>    */<a name="line.122"></a>
-<span class="sourceLineNo">123</span>   public SerializerGroup getSerializerGroup() {<a name="line.123"></a>
-<span class="sourceLineNo">124</span>      return serializerGroup;<a name="line.124"></a>
-<span class="sourceLineNo">125</span>   }<a name="line.125"></a>
-<span class="sourceLineNo">126</span><a name="line.126"></a>
-<span class="sourceLineNo">127</span>   /**<a name="line.127"></a>
-<span class="sourceLineNo">128</span>    * Returns the media types that are valid for &lt;code&gt;Accept&lt;/code&gt; headers on the request.<a name="line.128"></a>
-<span class="sourceLineNo">129</span>    *<a name="line.129"></a>
-<span class="sourceLineNo">130</span>    * @return The set of media types registered in the parser group of this request.<a name="line.130"></a>
-<span class="sourceLineNo">131</span>    */<a name="line.131"></a>
-<span class="sourceLineNo">132</span>   public List&lt;MediaType&gt; getSupportedMediaTypes() {<a name="line.132"></a>
-<span class="sourceLineNo">133</span>      return serializerGroup.getSupportedMediaTypes();<a name="line.133"></a>
-<span class="sourceLineNo">134</span>   }<a name="line.134"></a>
-<span class="sourceLineNo">135</span><a name="line.135"></a>
-<span class="sourceLineNo">136</span>   /**<a name="line.136"></a>
-<span class="sourceLineNo">137</span>    * Returns the codings that are valid for &lt;code&gt;Accept-Encoding&lt;/code&gt; and &lt;code&gt;Content-Encoding&lt;/code&gt; headers on the request.<a name="line.137"></a>
-<span class="sourceLineNo">138</span>    *<a name="line.138"></a>
-<span class="sourceLineNo">139</span>    * @return The set of media types registered in the parser group of this request.<a name="line.139"></a>
-<span class="sourceLineNo">140</span>    * @throws RestServletException<a name="line.140"></a>
-<span class="sourceLineNo">141</span>    */<a name="line.141"></a>
-<span class="sourceLineNo">142</span>   public List&lt;String&gt; getSupportedEncodings() throws RestServletException {<a name="line.142"></a>
-<span class="sourceLineNo">143</span>      return encoders.getSupportedEncodings();<a name="line.143"></a>
-<span class="sourceLineNo">144</span>   }<a name="line.144"></a>
-<span class="sourceLineNo">145</span><a name="line.145"></a>
-<span class="sourceLineNo">146</span>   /**<a name="line.146"></a>
-<span class="sourceLineNo">147</span>    * Sets the HTTP output on the response.<a name="line.147"></a>
-<span class="sourceLineNo">148</span>    * &lt;p&gt;<a name="line.148"></a>
-<span class="sourceLineNo">149</span>    * Calling this method is functionally equivalent to returning the object in the REST Java method.<a name="line.149"></a>
-<span class="sourceLineNo">150</span>    * &lt;p&gt;<a name="line.150"></a>
-<span class="sourceLineNo">151</span>    * Can be of any of the following types:<a name="line.151"></a>
-<span class="sourceLineNo">152</span>    * &lt;ul&gt;<a name="line.152"></a>
-<span class="sourceLineNo">153</span>    *    &lt;li&gt; {@link InputStream}<a name="line.153"></a>
-<span class="sourceLineNo">154</span>    *    &lt;li&gt; {@link Reader}<a name="line.154"></a>
-<span class="sourceLineNo">155</span>    *    &lt;li&gt; Any serializable type defined in &lt;a class="doclink" href="../../../../overview-summary.html#Core.PojoCategories"&gt;POJO Categories&lt;/a&gt;<a name="line.155"></a>
-<span class="sourceLineNo">156</span>    * &lt;/ul&gt;<a name="line.156"></a>
-<span class="sourceLineNo">157</span>    * &lt;p&gt;<a name="line.157"></a>
-<span class="sourceLineNo">158</span>    * If it's an {@link InputStream} or {@link Reader}, you must also specify the &lt;code&gt;Content-Type&lt;/code&gt; using the {@link #setContentType(String)} method.<a name="line.158"></a>
-<span class="sourceLineNo">159</span>    *<a name="line.159"></a>
-<span class="sourceLineNo">160</span>    * @param output The output to serialize to the connection.<a name="line.160"></a>
-<span class="sourceLineNo">161</span>    * @return This object (for method chaining).<a name="line.161"></a>
-<span class="sourceLineNo">162</span>    */<a name="line.162"></a>
-<span class="sourceLineNo">163</span>   public RestResponse setOutput(Object output) {<a name="line.163"></a>
-<span class="sourceLineNo">164</span>      this.output = output;<a name="line.164"></a>
-<span class="sourceLineNo">165</span>      this.isNullOutput = output == null;<a name="line.165"></a>
-<span class="sourceLineNo">166</span>      return this;<a name="line.166"></a>
-<span class="sourceLineNo">167</span>   }<a name="line.167"></a>
-<span class="sourceLineNo">168</span><a name="line.168"></a>
-<span class="sourceLineNo">169</span>   /**<a name="line.169"></a>
-<span class="sourceLineNo">170</span>    * Add a serializer property to send to the serializers to override a default value.<a name="line.170"></a>
-<span class="sourceLineNo">171</span>    * &lt;p&gt;<a name="line.171"></a>
-<span class="sourceLineNo">172</span>    * Can be any value specified in the following classes:<a name="line.172"></a>
-<span class="sourceLineNo">173</span>    * &lt;ul&gt;<a name="line.173"></a>
-<span class="sourceLineNo">174</span>    *    &lt;li&gt;{@link SerializerContext}<a name="line.174"></a>
-<span class="sourceLineNo">175</span>    *    &lt;li&gt;{@link JsonSerializerContext}<a name="line.175"></a>
-<span class="sourceLineNo">176</span>    *    &lt;li&gt;{@link XmlSerializerContext}<a name="line.176"></a>
-<span class="sourceLineNo">177</span>    *    &lt;li&gt;{@link RdfSerializerContext}<a name="line.177"></a>
-<span class="sourceLineNo">178</span>    * &lt;/ul&gt;<a name="line.178"></a>
-<span class="sourceLineNo">179</span>    *<a name="line.179"></a>
-<span class="sourceLineNo">180</span>    * @param key The setting name.<a name="line.180"></a>
-<span class="sourceLineNo">181</span>    * @param value The setting value.<a name="line.181"></a>
-<span class="sourceLineNo">182</span>    * @return This object (for method chaining).<a name="line.182"></a>
-<span class="sourceLineNo">183</span>    */<a name="line.183"></a>
-<span class="sourceLineNo">184</span>   public RestResponse setProperty(String key, Object value) {<a name="line.184"></a>
-<span class="sourceLineNo">185</span>      properties.put(key, value);<a name="line.185"></a>
-<span class="sourceLineNo">186</span>      return this;<a name="line.186"></a>
-<span class="sourceLineNo">187</span>   }<a name="line.187"></a>
-<span class="sourceLineNo">188</span><a name="line.188"></a>
-<span class="sourceLineNo">189</span>   /**<a name="line.189"></a>
-<span class="sourceLineNo">190</span>    * Returns the properties set via {@link #setProperty(String, Object)}.<a name="line.190"></a>
-<span class="sourceLineNo">191</span>    *<a name="line.191"></a>
-<span class="sourceLineNo">192</span>    * @return A map of all the property values set.<a name="line.192"></a>
-<span class="sourceLineNo">193</span>    */<a name="line.193"></a>
-<span class="sourceLineNo">194</span>   public ObjectMap getProperties() {<a name="line.194"></a>
-<span class="sourceLineNo">195</span>      return properties;<a name="line.195"></a>
-<span class="sourceLineNo">196</span>   }<a name="line.196"></a>
-<span class="sourceLineNo">197</span><a name="line.197"></a>
-<span class="sourceLineNo">198</span>   /**<a name="line.198"></a>
-<span class="sourceLineNo">199</span>    * Shortcut method that allows you to use varargs to simplify setting array output.<a name="line.199"></a>
-<span class="sourceLineNo">200</span>    *<a name="line.200"></a>
-<span class="sourceLineNo">201</span>    * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.201"></a>
-<span class="sourceLineNo">202</span>    * &lt;p class='bcode'&gt;<a name="line.202"></a>
-<span class="sourceLineNo">203</span>    *    &lt;jc&gt;// Instead of...&lt;/jc&gt;<a name="line.203"></a>
-<span class="sourceLineNo">204</span>    *    response.setOutput(&lt;jk&gt;new&lt;/jk&gt; Object[]{x,y,z});<a name="line.204"></a>
-<span class="sourceLineNo">205</span>    *<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    *    &lt;jc&gt;// ...call this...&lt;/jc&gt;<a name="line.206"></a>
-<span class="sourceLineNo">207</span>    *    response.setOutput(x,y,z);<a name="line.207"></a>
-<span class="sourceLineNo">208</span>    * &lt;/p&gt;<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    *<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    * @param output The output to serialize to the connection.<a name="line.210"></a>
-<span class="sourceLineNo">211</span>    * @return This object (for method chaining).<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    */<a name="line.212"></a>
-<span class="sourceLineNo">213</span>   public RestResponse setOutputs(Object...output) {<a name="line.213"></a>
-<span class="sourceLineNo">214</span>      this.output = output;<a name="line.214"></a>
-<span class="sourceLineNo">215</span>      return this;<a name="line.215"></a>
-<span class="sourceLineNo">216</span>   }<a name="line.216"></a>
-<span class="sourceLineNo">217</span><a name="line.217"></a>
-<span class="sourceLineNo">218</span>   /**<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    * Returns the output that was set by calling {@link #setOutput(Object)}.<a name="line.219"></a>
-<span class="sourceLineNo">220</span>    *<a name="line.220"></a>
-<span class="sourceLineNo">221</span>    * @return The output object.<a name="line.221"></a>
-<span class="sourceLineNo">222</span>    */<a name="line.222"></a>
-<span class="sourceLineNo">223</span>   public Object getOutput() {<a name="line.223"></a>
-<span class="sourceLineNo">224</span>      return output;<a name="line.224"></a>
-<span class="sourceLineNo">225</span>   }<a name="line.225"></a>
-<span class="sourceLineNo">226</span><a name="line.226"></a>
-<span class="sourceLineNo">227</span>   /**<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if this response has any output associated with it.<a name="line.228"></a>
-<span class="sourceLineNo">229</span>    *<a name="line.229"></a>
-<span class="sourceLineNo">230</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if {@code setInput()} has been called.<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    */<a name="line.231"></a>
-<span class="sourceLineNo">232</span>   public boolean hasOutput() {<a name="line.232"></a>
-<span class="sourceLineNo">233</span>      return output != null || isNullOutput;<a name="line.233"></a>
-<span class="sourceLineNo">234</span>   }<a name="line.234"></a>
-<span class="sourceLineNo">235</span><a name="line.235"></a>
-<span class="sourceLineNo">236</span>   /**<a name="line.236"></a>
-<span class="sourceLineNo">237</span>    * Sets the output to a plain-text message regardless of the content type.<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    *<a name="line.238"></a>
-<span class="sourceLineNo">239</span>    * @param text The output text to send.<a name="line.239"></a>
-<span class="sourceLineNo">240</span>    * @return This object (for method chaining).<a name="line.240"></a>
-<span class="sourceLineNo">241</span>    * @throws IOException If a problem occurred trying to write to the writer.<a name="line.241"></a>
-<span class="sourceLineNo">242</span>    */<a name="line.242"></a>
-<span class="sourceLineNo">243</span>   public RestResponse sendPlainText(String text) throws IOException {<a name="line.243"></a>
-<span class="sourceLineNo">244</span>      setContentType("text/plain");<a name="line.244"></a>
-<span class="sourceLineNo">245</span>      getNegotiatedWriter().write(text);<a name="line.245"></a>
-<span class="sourceLineNo">246</span>      return this;<a name="line.246"></a>
-<span class="sourceLineNo">247</span>   }<a name="line.247"></a>
-<span class="sourceLineNo">248</span><a name="line.248"></a>
-<span class="sourceLineNo">249</span>   /**<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    * Equivalent to {@link HttpServletResponse#getOutputStream()}, except<a name="line.250"></a>
-<span class="sourceLineNo">251</span>    *    wraps the output stream if an {@link Encoder} was found that matched<a name="line.251"></a>
-<span class="sourceLineNo">252</span>    *    the &lt;code&gt;Accept-Encoding&lt;/code&gt; header.<a name="line.252"></a>
-<span class="sourceLineNo">253</span>    *<a name="line.253"></a>
-<span class="sourceLineNo">254</span>    * @return A negotiated output stream.<a name="line.254"></a>
-<span class="sourceLineNo">255</span>    * @throws IOException<a name="line.255"></a>
-<span class="sourceLineNo">256</span>    */<a name="line.256"></a>
-<span class="sourceLineNo">257</span>   public ServletOutputStream getNegotiatedOutputStream() throws IOException {<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      if (os == null) {<a name="line.258"></a>
-<span class="sourceLineNo">259</span>         Encoder encoder = null;<a name="line.259"></a>
-<span class="sourceLineNo">260</span><a name="line.260"></a>
-<span class="sourceLineNo">261</span>         String ae = request.getHeader("Accept-Encoding");<a name="line.261"></a>
-<span class="sourceLineNo">262</span>         if (! (ae == null || ae.isEmpty())) {<a name="line.262"></a>
-<span class="sourceLineNo">263</span>            EncoderMatch match = encoders != null ? encoders.getEncoderMatch(ae) : null;<a name="line.263"></a>
-<span class="sourceLineNo">264</span>            if (match == null) {<a name="line.264"></a>
-<span class="sourceLineNo">265</span>               // Identity should always match unless "identity;q=0" or "*;q=0" is specified.<a name="line.265"></a>
-<span class="sourceLineNo">266</span>               if (ae.matches(".*(identity|\\*)\\s*;\\s*q\\s*=\\s*(0(?!\\.)|0\\.0).*")) {<a name="line.266"></a>
-<span class="sourceLineNo">267</span>                  throw new RestException(SC_NOT_ACCEPTABLE,<a name="line.267"></a>
-<span class="sourceLineNo">268</span>                     "Unsupported encoding in request header ''Accept-Encoding'': ''{0}''\n\tSupported codings: {1}",<a name="line.268"></a>
-<span class="sourceLineNo">269</span>                     ae, encoders.getSupportedEncodings()<a name="line.269"></a>
-<span class="sourceLineNo">270</span>                  );<a name="line.270"></a>
-<span class="sourceLineNo">271</span>               }<a name="line.271"></a>
-<span class="sourceLineNo">272</span>            } else {<a name="line.272"></a>
-<span class="sourceLineNo">273</span>               encoder = match.getEncoder();<a name="line.273"></a>
-<span class="sourceLineNo">274</span>               String encoding = match.getEncoding().toString();<a name="line.274"></a>
-<span class="sourceLineNo">275</span><a name="line.275"></a>
-<span class="sourceLineNo">276</span>               // Some clients don't recognize identity as an encoding, so don't set it.<a name="line.276"></a>
-<span class="sourceLineNo">277</span>               if (! encoding.equals("identity"))<a name="line.277"></a>
-<span class="sourceLineNo">278</span>                  setHeader("content-encoding", encoding);<a name="line.278"></a>
-<span class="sourceLineNo">279</span>            }<a name="line.279"></a>
-<span class="sourceLineNo">280</span>         }<a name="line.280"></a>
-<span class="sourceLineNo">281</span>         os = getOutputStream();<a name="line.281"></a>
-<span class="sourceLineNo">282</span>         if (encoder != null) {<a name="line.282"></a>
-<span class="sourceLineNo">283</span>            final OutputStream os2 = encoder.getOutputStream(os);<a name="line.283"></a>
-<span class="sourceLineNo">284</span>            os = new ServletOutputStream(){<a name="line.284"></a>
-<span class="sourceLineNo">285</span>               @Override /* OutputStream */<a name="line.285"></a>
-<span class="sourceLineNo">286</span>               public final void write(byte[] b, int off, int len) throws IOException {<a name="line.286"></a>
-<span class="sourceLineNo">287</span>                  os2.write(b, off, len);<a name="line.287"></a>
-<span class="sourceLineNo">288</span>               }<a name="line.288"></a>
-<span class="sourceLineNo">289</span>               @Override /* OutputStream */<a name="line.289"></a>
-<span class="sourceLineNo">290</span>               public final void write(int b) throws IOException {<a name="line.290"></a>
-<span class="sourceLineNo">291</span>                  os2.write(b);<a name="line.291"></a>
-<span class="sourceLineNo">292</span>               }<a name="line.292"></a>
-<span class="sourceLineNo">293</span>               @Override /* OutputStream */<a name="line.293"></a>
-<span class="sourceLineNo">294</span>               public final void flush() throws IOException {<a name="line.294"></a>
-<span class="sourceLineNo">295</span>                  os2.flush();<a name="line.295"></a>
-<span class="sourceLineNo">296</span>               }<a name="line.296"></a>
-<span class="sourceLineNo">297</span>               @Override /* OutputStream */<a name="line.297"></a>
-<span class="sourceLineNo">298</span>               public final void close() throws IOException {<a name="line.298"></a>
-<span class="sourceLineNo">299</span>                  os2.close();<a name="line.299"></a>
-<span class="sourceLineNo">300</span>               }<a name="line.300"></a>
-<span class="sourceLineNo">301</span>            };<a name="line.301"></a>
-<span class="sourceLineNo">302</span>         }<a name="line.302"></a>
-<span class="sourceLineNo">303</span>      }<a name="line.303"></a>
-<span class="sourceLineNo">304</span>      return os;<a name="line.304"></a>
-<span class="sourceLineNo">305</span>   }<a name="line.305"></a>
-<span class="sourceLineNo">306</span><a name="line.306"></a>
-<span class="sourceLineNo">307</span>   @Override /* ServletResponse */<a name="line.307"></a>
-<span class="sourceLineNo">308</span>   public ServletOutputStream getOutputStream() throws IOException {<a name="line.308"></a>
-<span class="sourceLineNo">309</span>      if (os == null)<a name="line.309"></a>
-<span class="sourceLineNo">310</span>         os = super.getOutputStream();<a name="line.310"></a>
-<span class="sourceLineNo">311</span>      return os;<a name="line.311"></a>
-<span class="sourceLineNo">312</span>   }<a name="line.312"></a>
-<span class="sourceLineNo">313</span><a name="line.313"></a>
-<span class="sourceLineNo">314</span>   /**<a name="line.314"></a>
-<span class="sourceLineNo">315</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if {@link #getOutputStream()} has been called.<a name="line.315"></a>
-<span class="sourceLineNo">316</span>    *<a name="line.316"></a>
-<span class="sourceLineNo">317</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if {@link #getOutputStream()} has been called.<a name="line.317"></a>
-<span class="sourceLineNo">318</span>    */<a name="line.318"></a>
-<span class="sourceLineNo">319</span>   public boolean getOutputStreamCalled() {<a name="line.319"></a>
-<span class="sourceLineNo">320</span>      return os != null;<a name="line.320"></a>
-<span class="sourceLineNo">321</span>   }<a name="line.321"></a>
-<span class="sourceLineNo">322</span><a name="line.322"></a>
-<span class="sourceLineNo">323</span>   /**<a name="line.323"></a>
-<span class="sourceLineNo">324</span>    * Returns the writer to the response body.<a name="line.324"></a>
-<span class="sourceLineNo">325</span>    * This methods bypasses any specified encoders and returns a regular unbuffered writer.<a name="line.325"></a>
-<span class="sourceLineNo">326</span>    * Use the {@link #getNegotiatedWriter()} method if you want to use the matched encoder (if any).<a name="line.326"></a>
-<span class="sourceLineNo">327</span>    */<a name="line.327"></a>
-<span class="sourceLineNo">328</span>   @Override /* ServletResponse */<a name="line.328"></a>
-<span class="sourceLineNo">329</span>   public PrintWriter getWriter() throws IOException {<a name="line.329"></a>
-<span class="sourceLineNo">330</span>      return getWriter(true);<a name="line.330"></a>
-<span class="sourceLineNo">331</span>   }<a name="line.331"></a>
-<span class="sourceLineNo">332</span><a name="line.332"></a>
-<span class="sourceLineNo">333</span>   /**<a name="line.333"></a>
-<span class="sourceLineNo">334</span>    * Convenience method meant to be used when rendering directly to a browser with no buffering.<a name="line.334"></a>
-<span class="sourceLineNo">335</span>    * Sets the header &lt;js&gt;"x-content-type-options=nosniff"&lt;/js&gt; so that output is rendered<a name="line.335"></a>
-<span class="sourceLineNo">336</span>    * immediately on IE and Chrome without any buffering for content-type sniffing.<a name="line.336"></a>
-<span class="sourceLineNo">337</span>    *<a name="line.337"></a>
-<span class="sourceLineNo">338</span>    * @param contentType The value to set as the &lt;code&gt;Content-Type&lt;/code&gt; on the response.<a name="line.338"></a>
-<span class="sourceLineNo">339</span>    * @return The raw writer.<a name="line.339"></a>
-<span class="sourceLineNo">340</span>    * @throws IOException<a name="line.340"></a>
-<span class="sourceLineNo">341</span>    */<a name="line.341"></a>
-<span class="sourceLineNo">342</span>   public PrintWriter getDirectWriter(String contentType) throws IOException {<a name="line.342"></a>
-<span class="sourceLineNo">343</span>      setContentType(contentType);<a name="line.343"></a>
-<span class="sourceLineNo">344</span>      setHeader("x-content-type-options", "nosniff");<a name="line.344"></a>
-<span class="sourceLineNo">345</span>      return getWriter();<a name="line.345"></a>
-<span class="sourceLineNo">346</span>   }<a name="line.346"></a>
-<span class="sourceLineNo">347</span><a name="line.347"></a>
-<span class="sourceLineNo">348</span>   /**<a name="line.348"></a>
-<span class="sourceLineNo">349</span>    * Equivalent to {@link HttpServletResponse#getWriter()}, except<a name="line.349"></a>
-<span class="sourceLineNo">350</span>    *    wraps the output stream if an {@link Encoder} was found that matched<a name="line.350"></a>
-<span class="sourceLineNo">351</span>    *    the &lt;code&gt;Accept-Encoding&lt;/code&gt; header and sets the &lt;code&gt;Content-Encoding&lt;/code&gt;<a name="line.351"></a>
-<span class="sourceLineNo">352</span>    *    header to the appropriate value.<a name="line.352"></a>
-<span class="sourceLineNo">353</span>    *<a name="line.353"></a>
-<span class="sourceLineNo">354</span>    * @return The negotiated writer.<a name="line.354"></a>
-<span class="sourceLineNo">355</span>    * @throws IOException<a name="line.355"></a>
-<span class="sourceLineNo">356</span>    */<a name="line.356"></a>
-<span class="sourceLineNo">357</span>   public PrintWriter getNegotiatedWriter() throws IOException {<a name="line.357"></a>
-<span class="sourceLineNo">358</span>      return getWriter(false);<a name="line.358"></a>
-<span class="sourceLineNo">359</span>   }<a name="line.359"></a>
-<span class="sourceLineNo">360</span><a name="line.360"></a>
-<span class="sourceLineNo">361</span>   private PrintWriter getWriter(boolean raw) throws IOException {<a name="line.361"></a>
-<span class="sourceLineNo">362</span>      // If plain text requested, override it now.<a name="line.362"></a>
-<span class="sourceLineNo">363</span>      if (request.isPlainText()) {<a name="line.363"></a>
-<span class="sourceLineNo">364</span>         setHeader("Content-Type", "text/plain");<a name="line.364"></a>
-<span class="sourceLineNo">365</span>      }<a name="line.365"></a>
-<span class="sourceLineNo">366</span><a name="line.366"></a>
-<span class="sourceLineNo">367</span>      try {<a name="line.367"></a>
-<span class="sourceLineNo">368</span>         OutputStream out = (raw ? getOutputStream() : getNegotiatedOutputStream());<a name="line.368"></a>
-<span class="sourceLineNo">369</span>         return new PrintWriter(new OutputStreamWriter(out, getCharacterEncoding()));<a name="line.369"></a>
-<span class="sourceLineNo">370</span>      } catch (UnsupportedEncodingException e) {<a name="line.370"></a>
-<span class="sourceLineNo">371</span>         String ce = getCharacterEncoding();<a name="line.371"></a>
-<span class="sourceLineNo">372</span>         setCharacterEncoding("UTF-8");<a name="line.372"></a>
-<span class="sourceLineNo">373</span>         throw new RestException(SC_NOT_ACCEPTABLE, "Unsupported charset in request header ''Accept-Charset'': ''{0}''", ce);<a name="line.373"></a>
-<span class="sourceLineNo">374</span>      }<a name="line.374"></a>
-<span class="sourceLineNo">375</span>   }<a name="line.375"></a>
-<span class="sourceLineNo">376</span><a name="line.376"></a>
-<span class="sourceLineNo">377</span>   /**<a name="line.377"></a>
-<span class="sourceLineNo">378</span>    * Returns the &lt;code&gt;Content-Type&lt;/code&gt; header stripped of the charset attribute if present.<a name="line.378"></a>
-<span class="sourceLineNo">379</span>    *<a name="line.379"></a>
-<span class="sourceLineNo">380</span>    * @return The &lt;code&gt;media-type&lt;/code&gt; portion of the &lt;code&gt;Content-Type&lt;/code&gt; header.<a name="line.380"></a>
-<span class="sourceLineNo">381</span>    */<a name="line.381"></a>
-<span class="sourceLineNo">382</span>   public MediaType getMediaType() {<a name="line.382"></a>
-<span class="sourceLineNo">383</span>      return MediaType.forString(getContentType());<a name="line.383"></a>
-<span class="sourceLineNo">384</span>   }<a name="line.384"></a>
-<span class="sourceLineNo">385</span><a name="line.385"></a>
-<span class="sourceLineNo">386</span>   /**<a name="line.386"></a>
-<span class="sourceLineNo">387</span>    * Redirects to the specified URI.<a name="line.387"></a>
-<span class="sourceLineNo">388</span>    * &lt;p&gt;<a name="line.388"></a>
-<span class="sourceLineNo">389</span>    * Relative URIs are always interpreted as relative to the context root.<a name="line.389"></a>
-<span class="sourceLineNo">390</span>    * This is similar to how WAS handles redirect requests, and is different from how Tomcat<a name="line.390"></a>
-<span class="sourceLineNo">391</span>    *    handles redirect requests.<a name="line.391"></a>
-<span class="sourceLineNo">392</span>    */<a name="line.392"></a>
-<span class="sourceLineNo">393</span>   @Override /* ServletResponse */<a name="line.393"></a>
-<span class="sourceLineNo">394</span>   public void sendRedirect(String uri) throws IOException {<a name="line.394"></a>
-<span class="sourceLineNo">395</span>      char c = (uri.length() &gt; 0 ? uri.charAt(0) : 0);<a name="line.395"></a>
-<span class="sourceLineNo">396</span>      if (c != '/' &amp;&amp; uri.indexOf("://") == -1)<a name="line.396"></a>
-<span class="sourceLineNo">397</span>         uri = request.getContextPath() + '/' + uri;<a name="line.397"></a>
-<span class="sourceLineNo">398</span>      super.sendRedirect(uri);<a name="line.398"></a>
-<span class="sourceLineNo">399</span>   }<a name="line.399"></a>
-<span class="sourceLineNo">400</span><a name="line.400"></a>
-<span class="sourceLineNo">401</span>   /**<a name="line.401"></a>
-<span class="sourceLineNo">402</span>    * Returns the URL-encoding serializer associated with this response.<a name="line.402"></a>
-<span class="sourceLineNo">403</span>    *<a name="line.403"></a>
-<span class="sourceLineNo">404</span>    * @return The URL-encoding serializer associated with this response.<a name="line.404"></a>
-<span class="sourceLineNo">405</span>    */<a name="line.405"></a>
-<span class="sourceLineNo">406</span>   public UrlEncodingSerializer getUrlEncodingSerializer() {<a name="line.406"></a>
-<span class="sourceLineNo">407</span>      return urlEncodingSerializer;<a name="line.407"></a>
-<span class="sourceLineNo">408</span>   }<a name="line.408"></a>
-<span class="sourceLineNo">409</span><a name="line.409"></a>
-<span class="sourceLineNo">410</span>   @Override /* ServletResponse */<a name="line.410"></a>
-<span class="sourceLineNo">411</span>   public void setHeader(String name, String value) {<a name="line.411"></a>
-<span class="sourceLineNo">412</span>      // Jetty doesn't set the content type correctly if set through this method.<a name="line.412"></a>
-<span class="sourceLineNo">413</span>      // Tomcat/WAS does.<a name="line.413"></a>
-<span class="sourceLineNo">414</span>      if (name.equalsIgnoreCase("Content-Type"))<a name="line.414"></a>
-<span class="sourceLineNo">415</span>         super.setContentType(value);<a name="line.415"></a>
-<span class="sourceLineNo">416</span>      else<a name="line.416"></a>
-<span class="sourceLineNo">417</span>         super.setHeader(name, value);<a name="line.417"></a>
-<span class="sourceLineNo">418</span>   }<a name="line.418"></a>
-<span class="sourceLineNo">419</span><a name="line.419"></a>
-<span class="sourceLineNo">420</span>   /**<a name="line.420"></a>
-<span class="sourceLineNo">421</span>    * Sets the page title for HTML views.<a name="line.421"></a>
-<span class="sourceLineNo">422</span>    * &lt;p&gt;<a name="line.422"></a>
-<span class="sourceLineNo">423</span>    * This is the programmatic equivalent to the {@link RestResource#pageTitle() @RestResource#pageTitle()}/<a name="line.423"></a>
-<span class="sourceLineNo">424</span>    * {@link RestMethod#pageTitle() @RestMethod#pageTitle()} annotations.<a name="line.424"></a>
-<span class="sourceLineNo">425</span>    * &lt;p&gt;<a name="line.425"></a>
-<span class="sourceLineNo">426</span>    * This is a shortcut for calling &lt;code&gt;setProperty(&lt;jsf&gt;HTMLDOC_title&lt;/jsf&gt;, title);&lt;/code&gt;<a name="line.426"></a>
-<span class="sourceLineNo">427</span>    * &lt;p class='info'&gt;<a name="line.427"></a>
-<span class="sourceLineNo">428</span>    *    &lt;b&gt;Tip:&lt;/b&gt;  Use {@link StringMessage} to generate a page title with delayed serialization so as not to<a name="line.428"></a>
-<span class="sourceLineNo">429</span>    *    waste string concatenation cycles on non-HTML views.<a name="line.429"></a>
-<span class="sourceLineNo">430</span>    * &lt;/p&gt;<a name="line.430"></a>
-<span class="sourceLineNo">431</span>    *<a name="line.431"></a>
-<span class="sourceLineNo">432</span>    * @param title The localized page title to render on the page.<a name="line.432"></a>
-<span class="sourceLineNo">433</span>    * Object will be converted to a string using {@link Object#toString()}.<a name="line.433"></a>
-<span class="sourceLineNo">434</span>    * @return This object (for method chaining).<a name="line.434"></a>
-<span class="sourceLineNo">435</span>    */<a name="line.435"></a>
-<span class="sourceLineNo">436</span>   public RestResponse setPageTitle(Object title) {<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      return setProperty(HtmlDocSerializerContext.HTMLDOC_title, title);<a name="line.437"></a>
-<span class="sourceLineNo">438</span>   }<a name="line.438"></a>
-<span class="sourceLineNo">439</span><a name="line.439"></a>
-<span class="sourceLineNo">440</span>   /**<a name="line.440"></a>
-<span class="sourceLineNo">441</span>    * Sets the page text for HTML views.<a name="line.441"></a>
-<span class="sourceLineNo">442</span>    * &lt;p&gt;<a name="line.442"></a>
-<span class="sourceLineNo">443</span>    * This is the programmatic equivalent to the {@link RestResource#pageText() @RestResource#pageText()}/<a name="line.443"></a>
-<span class="sourceLineNo">444</span>    * {@link RestMethod#pageText() @RestMethod#pageText()} annotations.<a name="line.444"></a>
-<span class="sourceLineNo">445</span>    * &lt;p&gt;<a name="line.445"></a>
-<span class="sourceLineNo">446</span>    * This is a shortcut for calling &lt;code&gt;setProperty(&lt;jsf&gt;HTMLDOC_text&lt;/jsf&gt;, text);&lt;/code&gt;<a name="line.446"></a>
-<span class="sourceLineNo">447</span>    * &lt;p class='info'&gt;<a name="line.447"></a>
-<span class="sourceLineNo">448</span>    *    &lt;b&gt;Tip:&lt;/b&gt;  Use {@link StringMessage} to generate page text with delayed serialization so as not to<a name="line.448"></a>
-<span class="sourceLineNo">449</span>    *    waste string concatenation cycles on non-HTML views.<a name="line.449"></a>
-<span class="sourceLineNo">450</span>    * &lt;/p&gt;<a name="line.450"></a>
-<span class="sourceLineNo">451</span>    *<a name="line.451"></a>
-<span class="sourceLineNo">452</span>    * @param text The localized page text to render on the page.<a name="line.452"></a>
-<span class="sourceLineNo">453</span>    * @return This object (for method chaining).<a name="line.453"></a>
-<span class="sourceLineNo">454</span>    */<a name="line.454"></a>
-<span class="sourceLineNo">455</span>   public RestResponse setPageText(Object text) {<a name="line.455"></a>
-<span class="sourceLineNo">456</span>      return setProperty(HtmlDocSerializerContext.HTMLDOC_text, text);<a name="line.456"></a>
-<span class="sourceLineNo">457</span>   }<a name="line.457"></a>
-<span class="sourceLineNo">458</span><a name="line.458"></a>
-<span class="sourceLineNo">459</span>   /**<a name="line.459"></a>
-<span class="sourceLineNo">460</span>    * Sets the page text for HTML views.<a name="line.460"></a>
-<span class="sourceLineNo">461</span>    * &lt;p&gt;<a name="line.461"></a>
-<span class="sourceLineNo">462</span>    * This is the programmatic equivalent to the {@link RestResource#pageLinks() @RestResource#pageLinks()}/<a name="line.462"></a>
-<span class="sourceLineNo">463</span>    * {@link RestMethod#pageLinks() @RestMethod#pageLinks()} annotations.<a name="line.463"></a>
-<span class="sourceLineNo">464</span>    * &lt;p&gt;<a name="line.464"></a>
-<span class="sourceLineNo">465</span>    * This is a shortcut for calling &lt;code&gt;setProperty(&lt;jsf&gt;HTMLDOC_links&lt;/jsf&gt;, links);&lt;/code&gt;<a name="line.465"></a>
-<span class="sourceLineNo">466</span>    * &lt;p class='info'&gt;<a name="line.466"></a>
-<span class="sourceLineNo">467</span>    *    &lt;b&gt;Tip:&lt;/b&gt;  Use {@link StringMessage} to generate page links with delayed serialization so as not to<a name="line.467"></a>
-<span class="sourceLineNo">468</span>    *    waste string concatenation cycles on non-HTML views.<a name="line.468"></a>
-<span class="sourceLineNo">469</span>    * &lt;/p&gt;<a name="line.469"></a>
-<span class="sourceLineNo">470</span>    *<a name="line.470"></a>
-<span class="sourceLineNo">471</span>    * @param links The localized page links render on the page.<a name="line.471"></a>
-<span class="sourceLineNo">472</span>    * @return This object (for method chaining).<a name="line.472"></a>
-<span class="sourceLineNo">473</span>    */<a name="line.473"></a>
-<span class="sourceLineNo">474</span>   public RestResponse setPageLinks(Object links) {<a name="line.474"></a>
-<span class="sourceLineNo">475</span>      properties.put(HtmlDocSerializerContext.HTMLDOC_links, links);<a name="line.475"></a>
-<span class="sourceLineNo">476</span>      return this;<a name="line.476"></a>
-<span class="sourceLineNo">477</span>   }<a name="line.477"></a>
-<span class="sourceLineNo">478</span>}<a name="line.478"></a>
+<span class="sourceLineNo">077</span>            UrlEncodingParser p = context.getUrlEncodingParser();<a name="line.77"></a>
+<span class="sourceLineNo">078</span>            ObjectMap m = p.parsePart(passThroughHeaders, p.getBeanContext().getClassMeta(ObjectMap.class));<a name="line.78"></a>
+<span class="sourceLineNo">079</span>            for (Map.Entry&lt;String,Object&gt; e : m.entrySet())<a name="line.79"></a>
+<span class="sourceLineNo">080</span>               setHeader(e.getKey(), e.getValue().toString());<a name="line.80"></a>
+<span class="sourceLineNo">081</span>         }<a name="line.81"></a>
+<span class="sourceLineNo">082</span>      } catch (Exception e1) {<a name="line.82"></a>
+<span class="sourceLineNo">083</span>         throw new RestException(SC_BAD_REQUEST, "Invalid format for header 'x-response-headers'.  Must be in URL-encoded format.").initCause(e1);<a name="line.83"></a>
+<span class="sourceLineNo">084</span>      }<a name="line.84"></a>
+<span class="sourceLineNo">085</span>   }<a name="line.85"></a>
+<span class="sourceLineNo">086</span><a name="line.86"></a>
+<span class="sourceLineNo">087</span>   /*<a name="line.87"></a>
+<span class="sourceLineNo">088</span>    * Called from RestServlet after a match has been made but before the guard or method invocation.<a name="line.88"></a>
+<span class="sourceLineNo">089</span>    */<a name="line.89"></a>
+<span class="sourceLineNo">090</span>   @SuppressWarnings("hiding")<a name="line.90"></a>
+<span class="sourceLineNo">091</span>   final void init(ObjectMap properties, String defaultCharset, SerializerGroup mSerializers, UrlEncodingSerializer mUrlEncodingSerializer, EncoderGroup encoders) {<a name="line.91"></a>
+<span class="sourceLineNo">092</span>      this.properties = properties;<a name="line.92"></a>
+<span class="sourceLineNo">093</span>      this.serializerGroup = mSerializers;<a name="line.93"></a>
+<span class="sourceLineNo">094</span>      this.urlEncodingSerializer = mUrlEncodingSerializer;<a name="line.94"></a>
+<span class="sourceLineNo">095</span>      this.encoders = encoders;<a name="line.95"></a>
+<span class="sourceLineNo">096</span><a name="line.96"></a>
+<span class="sourceLineNo">097</span>      // Find acceptable charset<a name="line.97"></a>
+<span class="sourceLineNo">098</span>      String h = request.getHeader("accept-charset");<a name="line.98"></a>
+<span class="sourceLineNo">099</span>      String charset = null;<a name="line.99"></a>
+<span class="sourceLineNo">100</span>      if (h == null)<a name="line.100"></a>
+<span class="sourceLineNo">101</span>         charset = defaultCharset;<a name="line.101"></a>
+<span class="sourceLineNo">102</span>      else for (MediaRange r : MediaRange.parse(h)) {<a name="line.102"></a>
+<span class="sourceLineNo">103</span>         if (r.getQValue() &gt; 0) {<a name="line.103"></a>
+<span class="sourceLineNo">104</span>            MediaType mt = r.getMediaType();<a name="line.104"></a>
+<span class="sourceLineNo">105</span>            if (mt.getType().equals("*"))<a name="line.105"></a>
+<span class="sourceLineNo">106</span>               charset = defaultCharset;<a name="line.106"></a>
+<span class="sourceLineNo">107</span>            else if (Charset.isSupported(mt.getType()))<a name="line.107"></a>
+<span class="sourceLineNo">108</span>               charset = mt.getType();<a name="line.108"></a>
+<span class="sourceLineNo">109</span>            if (charset != null)<a name="line.109"></a>
+<span class="sourceLineNo">110</span>               break;<a name="line.110"></a>
+<span class="sourceLineNo">111</span>         }<a name="line.111"></a>
+<span class="sourceLineNo">112</span>      }<a name="line.112"></a>
+<span class="sourceLineNo">113</span><a name="line.113"></a>
+<span class="sourceLineNo">114</span>      if (charset == null)<a name="line.114"></a>
+<span class="sourceLineNo">115</span>         throw new RestException(SC_NOT_ACCEPTABLE, "No supported charsets in header ''Accept-Charset'': ''{0}''", request.getHeader("Accept-Charset"));<a name="line.115"></a>
+<span class="sourceLineNo">116</span>      super.setCharacterEncoding(charset);<a name="line.116"></a>
+<span class="sourceLineNo">117</span>   }<a name="line.117"></a>
+<span class="sourceLineNo">118</span><a name="line.118"></a>
+<span class="sourceLineNo">119</span>   /**<a name="line.119"></a>
+<span class="sourceLineNo">120</span>    * Gets the serializer group for the response.<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    *<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    * @return The serializer group for the response.<a name="line.122"></a>
+<span class="sourceLineNo">123</span>    */<a name="line.123"></a>
+<span class="sourceLineNo">124</span>   public SerializerGroup getSerializerGroup() {<a name="line.124"></a>
+<span class="sourceLineNo">125</span>      return serializerGroup;<a name="line.125"></a>
+<span class="sourceLineNo">126</span>   }<a name="line.126"></a>
+<span class="sourceLineNo">127</span><a name="line.127"></a>
+<span class="sourceLineNo">128</span>   /**<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    * Returns the media types that are valid for &lt;code&gt;Accept&lt;/code&gt; headers on the request.<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    *<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    * @return The set of media types registered in the parser group of this request.<a name="line.131"></a>
+<span class="sourceLineNo">132</span>    */<a name="line.132"></a>
+<span class="sourceLineNo">133</span>   public List&lt;MediaType&gt; getSupportedMediaTypes() {<a name="line.133"></a>
+<span class="sourceLineNo">134</span>      return serializerGroup.getSupportedMediaTypes();<a name="line.134"></a>
+<span class="sourceLineNo">135</span>   }<a name="line.135"></a>
+<span class="sourceLineNo">136</span><a name="line.136"></a>
+<span class="sourceLineNo">137</span>   /**<a name="line.137"></a>
+<span class="sourceLineNo">138</span>    * Returns the codings that are valid for &lt;code&gt;Accept-Encoding&lt;/code&gt; and &lt;code&gt;Content-Encoding&lt;/code&gt; headers on the request.<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    *<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    * @return The set of media types registered in the parser group of this request.<a name="line.140"></a>
+<span class="sourceLineNo">141</span>    * @throws RestServletException<a name="line.141"></a>
+<span class="sourceLineNo">142</span>    */<a name="line.142"></a>
+<span class="sourceLineNo">143</span>   public List&lt;String&gt; getSupportedEncodings() throws RestServletException {<a name="line.143"></a>
+<span class="sourceLineNo">144</span>      return encoders.getSupportedEncodings();<a name="line.144"></a>
+<span class="sourceLineNo">145</span>   }<a name="line.145"></a>
+<span class="sourceLineNo">146</span><a name="line.146"></a>
+<span class="sourceLineNo">147</span>   /**<a name="line.147"></a>
+<span class="sourceLineNo">148</span>    * Sets the HTTP output on the response.<a name="line.148"></a>
+<span class="sourceLineNo">149</span>    * &lt;p&gt;<a name="line.149"></a>
+<span class="sourceLineNo">150</span>    * Calling this method is functionally equivalent to returning the object in the REST Java method.<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    * &lt;p&gt;<a name="line.151"></a>
+<span class="sourceLineNo">152</span>    * Can be of any of the following types:<a name="line.152"></a>
+<span class="sourceLineNo">153</span>    * &lt;ul&gt;<a name="line.153"></a>
+<span class="sourceLineNo">154</span>    *    &lt;li&gt; {@link InputStream}<a name="line.154"></a>
+<span class="sourceLineNo">155</span>    *    &lt;li&gt; {@link Reader}<a name="line.155"></a>
+<span class="sourceLineNo">156</span>    *    &lt;li&gt; Any serializable type defined in &lt;a class="doclink" href="../../../../overview-summary.html#Core.PojoCategories"&gt;POJO Categories&lt;/a&gt;<a name="line.156"></a>
+<span class="sourceLineNo">157</span>    * &lt;/ul&gt;<a name="line.157"></a>
+<span class="sourceLineNo">158</span>    * &lt;p&gt;<a name="line.158"></a>
+<span class="sourceLineNo">159</span>    * If it's an {@link InputStream} or {@link Reader}, you must also specify the &lt;code&gt;Content-Type&lt;/code&gt; using the {@link #setContentType(String)} method.<a name="line.159"></a>
+<span class="sourceLineNo">160</span>    *<a name="line.160"></a>
+<span class="sourceLineNo">161</span>    * @param output The output to serialize to the connection.<a name="line.161"></a>
+<span class="sourceLineNo">162</span>    * @return This object (for method chaining).<a name="line.162"></a>
+<span class="sourceLineNo">163</span>    */<a name="line.163"></a>
+<span class="sourceLineNo">164</span>   public RestResponse setOutput(Object output) {<a name="line.164"></a>
+<span class="sourceLineNo">165</span>      this.output = output;<a name="line.165"></a>
+<span class="sourceLineNo">166</span>      this.isNullOutput = output == null;<a name="line.166"></a>
+<span class="sourceLineNo">167</span>      return this;<a name="line.167"></a>
+<span class="sourceLineNo">168</span>   }<a name="line.168"></a>
+<span class="sourceLineNo">169</span><a name="line.169"></a>
+<span class="sourceLineNo">170</span>   /**<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    * Add a serializer property to send to the serializers to override a default value.<a name="line.171"></a>
+<span class="sourceLineNo">172</span>    * &lt;p&gt;<a name="line.172"></a>
+<span class="sourceLineNo">173</span>    * Can be any value specified in the following classes:<a name="line.173"></a>
+<span class="sourceLineNo">174</span>    * &lt;ul&gt;<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    *    &lt;li&gt;{@link SerializerContext}<a name="line.175"></a>
+<span class="sourceLineNo">176</span>    *    &lt;li&gt;{@link JsonSerializerContext}<a name="line.176"></a>
+<span class="sourceLineNo">177</span>    *    &lt;li&gt;{@link XmlSerializerContext}<a name="line.177"></a>
+<span class="sourceLineNo">178</span>    *    &lt;li&gt;{@link RdfSerializerContext}<a name="line.178"></a>
+<span class="sourceLineNo">179</span>    * &lt;/ul&gt;<a name="line.179"></a>
+<span class="sourceLineNo">180</span>    *<a name="line.180"></a>
+<span class="sourceLineNo">181</span>    * @param key The setting name.<a name="line.181"></a>
+<span class="sourceLineNo">182</span>    * @param value The setting value.<a name="line.182"></a>
+<span class="sourceLineNo">183</span>    * @return This object (for method chaining).<a name="line.183"></a>
+<span class="sourceLineNo">184</span>    */<a name="line.184"></a>
+<span class="sourceLineNo">185</span>   public RestResponse setProperty(String key, Object value) {<a name="line.185"></a>
+<span class="sourceLineNo">186</span>      properties.put(key, value);<a name="line.186"></a>
+<span class="sourceLineNo">187</span>      return this;<a name="line.187"></a>
+<span class="sourceLineNo">188</span>   }<a name="line.188"></a>
+<span class="sourceLineNo">189</span><a name="line.189"></a>
+<span class="sourceLineNo">190</span>   /**<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    * Returns the properties set via {@link #setProperty(String, Object)}.<a name="line.191"></a>
+<span class="sourceLineNo">192</span>    *<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    * @return A map of all the property values set.<a name="line.193"></a>
+<span class="sourceLineNo">194</span>    */<a name="line.194"></a>
+<span class="sourceLineNo">195</span>   public ObjectMap getProperties() {<a name="line.195"></a>
+<span class="sourceLineNo">196</span>      return properties;<a name="line.196"></a>
+<span class="sourceLineNo">197</span>   }<a name="line.197"></a>
+<span class="sourceLineNo">198</span><a name="line.198"></a>
+<span class="sourceLineNo">199</span>   /**<a name="line.199"></a>
+<span class="sourceLineNo">200</span>    * Shortcut method that allows you to use varargs to simplify setting array output.<a name="line.200"></a>
+<span class="sourceLineNo">201</span>    *<a name="line.201"></a>
+<span class="sourceLineNo">202</span>    * &lt;h5 class='section'&gt;Example:&lt;/h5&gt;<a name="line.202"></a>
+<span class="sourceLineNo">203</span>    * &lt;p class='bcode'&gt;<a name="line.203"></a>
+<span class="sourceLineNo">204</span>    *    &lt;jc&gt;// Instead of...&lt;/jc&gt;<a name="line.204"></a>
+<span class="sourceLineNo">205</span>    *    response.setOutput(&lt;jk&gt;new&lt;/jk&gt; Object[]{x,y,z});<a name="line.205"></a>
+<span class="sourceLineNo">206</span>    *<a name="line.206"></a>
+<span class="sourceLineNo">207</span>    *    &lt;jc&gt;// ...call this...&lt;/jc&gt;<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    *    response.setOutput(x,y,z);<a name="line.208"></a>
+<span class="sourceLineNo">209</span>    * &lt;/p&gt;<a name="line.209"></a>
+<span class="sourceLineNo">210</span>    *<a name="line.210"></a>
+<span class="sourceLineNo">211</span>    * @param output The output to serialize to the connection.<a name="line.211"></a>
+<span class="sourceLineNo">212</span>    * @return This object (for method chaining).<a name="line.212"></a>
+<span class="sourceLineNo">213</span>    */<a name="line.213"></a>
+<span class="sourceLineNo">214</span>   public RestResponse setOutputs(Object...output) {<a name="line.214"></a>
+<span class="sourceLineNo">215</span>      this.output = output;<a name="line.215"></a>
+<span class="sourceLineNo">216</span>      return this;<a name="line.216"></a>
+<span class="sourceLineNo">217</span>   }<a name="line.217"></a>
+<span class="sourceLineNo">218</span><a name="line.218"></a>
+<span class="sourceLineNo">219</span>   /**<a name="line.219"></a>
+<span class="sourceLineNo">220</span>    * Returns the output that was set by calling {@link #setOutput(Object)}.<a name="line.220"></a>
+<span class="sourceLineNo">221</span>    *<a name="line.221"></a>
+<span class="sourceLineNo">222</span>    * @return The output object.<a name="line.222"></a>
+<span class="sourceLineNo">223</span>    */<a name="line.223"></a>
+<span class="sourceLineNo">224</span>   public Object getOutput() {<a name="line.224"></a>
+<span class="sourceLineNo">225</span>      return output;<a name="line.225"></a>
+<span class="sourceLineNo">226</span>   }<a name="line.226"></a>
+<span class="sourceLineNo">227</span><a name="line.227"></a>
+<span class="sourceLineNo">228</span>   /**<a name="line.228"></a>
+<span class="sourceLineNo">229</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if this response has any output associated with it.<a name="line.229"></a>
+<span class="sourceLineNo">230</span>    *<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if {@code setInput()} has been called.<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    */<a name="line.232"></a>
+<span class="sourceLineNo">233</span>   public boolean hasOutput() {<a name="line.233"></a>
+<span class="sourceLineNo">234</span>      return output != null || isNullOutput;<a name="line.234"></a>
+<span class="sourceLineNo">235</span>   }<a name="line.235"></a>
+<span class="sourceLineNo">236</span><a name="line.236"></a>
+<span class="sourceLineNo">237</span>   /**<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    * Sets the output to a plain-text message regardless of the content type.<a name="line.238"></a>
+<span class="sourceLineNo">239</span>    *<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    * @param text The output text to send.<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    * @return This object (for method chaining).<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    * @throws IOException If a problem occurred trying to write to the writer.<a name="line.242"></a>
+<span class="sourceLineNo">243</span>    */<a name="line.243"></a>
+<span class="sourceLineNo">244</span>   public RestResponse sendPlainText(String text) throws IOException {<a name="line.244"></a>
+<span class="sourceLineNo">245</span>      setContentType("text/plain");<a name="line.245"></a>
+<span class="sourceLineNo">246</span>      getNegotiatedWriter().write(text);<a name="line.246"></a>
+<span class="sourceLineNo">247</span>      return this;<a name="line.247"></a>
+<span class="sourceLineNo">248</span>   }<a name="line.248"></a>
+<span class="sourceLineNo">249</span><a name="line.249"></a>
+<span class="sourceLineNo">250</span>   /**<a name="line.250"></a>
+<span class="sourceLineNo">251</span>    * Equivalent to {@link HttpServletResponse#getOutputStream()}, except<a name="line.251"></a>
+<span class="sourceLineNo">252</span>    *    wraps the output stream if an {@link Encoder} was found that matched<a name="line.252"></a>
+<span class="sourceLineNo">253</span>    *    the &lt;code&gt;Accept-Encoding&lt;/code&gt; header.<a name="line.253"></a>
+<span class="sourceLineNo">254</span>    *<a name="line.254"></a>
+<span class="sourceLineNo">255</span>    * @return A negotiated output stream.<a name="line.255"></a>
+<span class="sourceLineNo">256</span>    * @throws IOException<a name="line.256"></a>
+<span class="sourceLineNo">257</span>    */<a name="line.257"></a>
+<span class="sourceLineNo">258</span>   public ServletOutputStream getNegotiatedOutputStream() throws IOException {<a name="line.258"></a>
+<span class="sourceLineNo">259</span>      if (os == null) {<a name="line.259"></a>
+<span class="sourceLineNo">260</span>         Encoder encoder = null;<a name="line.260"></a>
+<span class="sourceLineNo">261</span><a name="line.261"></a>
+<span class="sourceLineNo">262</span>         String ae = request.getHeader("Accept-Encoding");<a name="line.262"></a>
+<span class="sourceLineNo">263</span>         if (! (ae == null || ae.isEmpty())) {<a name="line.263"></a>
+<span class="sourceLineNo">264</span>            EncoderMatch match = encoders != null ? encoders.getEncoderMatch(ae) : null;<a name="line.264"></a>
+<span class="sourceLineNo">265</span>            if (match == null) {<a name="line.265"></a>
+<span class="sourceLineNo">266</span>               // Identity should always match unless "identity;q=0" or "*;q=0" is specified.<a name="line.266"></a>
+<span class="sourceLineNo">267</span>               if (ae.matches(".*(identity|\\*)\\s*;\\s*q\\s*=\\s*(0(?!\\.)|0\\.0).*")) {<a name="line.267"></a>
+<span class="sourceLineNo">268</span>                  throw new RestException(SC_NOT_ACCEPTABLE,<a name="line.268"></a>
+<span class="sourceLineNo">269</span>                     "Unsupported encoding in request header ''Accept-Encoding'': ''{0}''\n\tSupported codings: {1}",<a name="line.269"></a>
+<span class="sourceLineNo">270</span>                     ae, encoders.getSupportedEncodings()<a name="line.270"></a>
+<span class="sourceLineNo">271</span>                  );<a name="line.271"></a>
+<span class="sourceLineNo">272</span>               }<a name="line.272"></a>
+<span class="sourceLineNo">273</span>            } else {<a name="line.273"></a>
+<span class="sourceLineNo">274</span>               encoder = match.getEncoder();<a name="line.274"></a>
+<span class="sourceLineNo">275</span>               String encoding = match.getEncoding().toString();<a name="line.275"></a>
+<span class="sourceLineNo">276</span><a name="line.276"></a>
+<span class="sourceLineNo">277</span>               // Some clients don't recognize identity as an encoding, so don't set it.<a name="line.277"></a>
+<span class="sourceLineNo">278</span>               if (! encoding.equals("identity"))<a name="line.278"></a>
+<span class="sourceLineNo">279</span>                  setHeader("content-encoding", encoding);<a name="line.279"></a>
+<span class="sourceLineNo">280</span>            }<a name="line.280"></a>
+<span class="sourceLineNo">281</span>         }<a name="line.281"></a>
+<span class="sourceLineNo">282</span>         os = getOutputStream();<a name="line.282"></a>
+<span class="sourceLineNo">283</span>         if (encoder != null) {<a name="line.283"></a>
+<span class="sourceLineNo">284</span>            final OutputStream os2 = encoder.getOutputStream(os);<a name="line.284"></a>
+<span class="sourceLineNo">285</span>            os = new ServletOutputStream(){<a name="line.285"></a>
+<span class="sourceLineNo">286</span>               @Override /* OutputStream */<a name="line.286"></a>
+<span class="sourceLineNo">287</span>               public final void write(byte[] b, int off, int len) throws IOException {<a name="line.287"></a>
+<span class="sourceLineNo">288</span>                  os2.write(b, off, len);<a name="line.288"></a>
+<span class="sourceLineNo">289</span>               }<a name="line.289"></a>
+<span class="sourceLineNo">290</span>               @Override /* OutputStream */<a name="line.290"></a>
+<span class="sourceLineNo">291</span>               public final void write(int b) throws IOException {<a name="line.291"></a>
+<span class="sourceLineNo">292</span>                  os2.write(b);<a name="line.292"></a>
+<span class="sourceLineNo">293</span>               }<a name="line.293"></a>
+<span class="sourceLineNo">294</span>               @Override /* OutputStream */<a name="line.294"></a>
+<span class="sourceLineNo">295</span>               public final void flush() throws IOException {<a name="line.295"></a>
+<span class="sourceLineNo">296</span>                  os2.flush();<a name="line.296"></a>
+<span class="sourceLineNo">297</span>               }<a name="line.297"></a>
+<span class="sourceLineNo">298</span>               @Override /* OutputStream */<a name="line.298"></a>
+<span class="sourceLineNo">299</span>               public final void close() throws IOException {<a name="line.299"></a>
+<span class="sourceLineNo">300</span>                  os2.close();<a name="line.300"></a>
+<span class="sourceLineNo">301</span>               }<a name="line.301"></a>
+<span class="sourceLineNo">302</span>            };<a name="line.302"></a>
+<span class="sourceLineNo">303</span>         }<a name="line.303"></a>
+<span class="sourceLineNo">304</span>      }<a name="line.304"></a>
+<span class="sourceLineNo">305</span>      return os;<a name="line.305"></a>
+<span class="sourceLineNo">306</span>   }<a name="line.306"></a>
+<span class="sourceLineNo">307</span><a name="line.307"></a>
+<span class="sourceLineNo">308</span>   @Override /* ServletResponse */<a name="line.308"></a>
+<span class="sourceLineNo">309</span>   public ServletOutputStream getOutputStream() throws IOException {<a name="line.309"></a>
+<span class="sourceLineNo">310</span>      if (os == null)<a name="line.310"></a>
+<span class="sourceLineNo">311</span>         os = super.getOutputStream();<a name="line.311"></a>
+<span class="sourceLineNo">312</span>      return os;<a name="line.312"></a>
+<span class="sourceLineNo">313</span>   }<a name="line.313"></a>
+<span class="sourceLineNo">314</span><a name="line.314"></a>
+<span class="sourceLineNo">315</span>   /**<a name="line.315"></a>
+<span class="sourceLineNo">316</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if {@link #getOutputStream()} has been called.<a name="line.316"></a>
+<span class="sourceLineNo">317</span>    *<a name="line.317"></a>
+<span class="sourceLineNo">318</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if {@link #getOutputStream()} has been called.<a name="line.318"></a>
+<span class="sourceLineNo">319</span>    */<a name="line.319"></a>
+<span class="sourceLineNo">320</span>   public boolean getOutputStreamCalled() {<a name="line.320"></a>
+<span class="sourceLineNo">321</span>      return os != null;<a name="line.321"></a>
+<span class="sourceLineNo">322</span>   }<a name="line.322"></a>
+<span class="sourceLineNo">323</span><a name="line.323"></a>
+<span class="sourceLineNo">324</span>   /**<a name="line.324"></a>
+<span class="sourceLineNo">325</span>    * Returns the writer to the response body.<a name="line.325"></a>
+<span class="sourceLineNo">326</span>    * This methods bypasses any specified encoders and returns a regular unbuffered writer.<a name="line.326"></a>
+<span class="sourceLineNo">327</span>    * Use the {@link #getNegotiatedWriter()} method if you want to use the matched encoder (if any).<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    */<a name="line.328"></a>
+<span class="sourceLineNo">329</span>   @Override /* ServletResponse */<a name="line.329"></a>
+<span class="sourceLineNo">330</span>   public PrintWriter getWriter() throws IOException {<a name="line.330"></a>
+<span class="sourceLineNo">331</span>      return getWriter(true);<a name="line.331"></a>
+<span class="sourceLineNo">332</span>   }<a name="line.332"></a>
+<span class="sourceLineNo">333</span><a name="line.333"></a>
+<span class="sourceLineNo">334</span>   /**<a name="line.334"></a>
+<span class="sourceLineNo">335</span>    * Convenience method meant to be used when rendering directly to a browser with no buffering.<a name="line.335"></a>
+<span class="sourceLineNo">336</span>    * Sets the header &lt;js&gt;"x-content-type-options=nosniff"&lt;/js&gt; so that output is rendered<a name="line.336"></a>
+<span class="sourceLineNo">337</span>    * immediately on IE and Chrome without any buffering for content-type sniffing.<a name="line.337"></a>
+<span class="sourceLineNo">338</span>    *<a name="line.338"></a>
+<span class="sourceLineNo">339</span>    * @param contentType The value to set as the &lt;code&gt;Content-Type&lt;/code&gt; on the response.<a name="line.339"></a>
+<span class="sourceLineNo">340</span>    * @return The raw writer.<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    * @throws IOException<a name="line.341"></a>
+<span class="sourceLineNo">342</span>    */<a name="line.342"></a>
+<span class="sourceLineNo">343</span>   public PrintWriter getDirectWriter(String contentType) throws IOException {<a name="line.343"></a>
+<span class="sourceLineNo">344</span>      setContentType(contentType);<a name="line.344"></a>
+<span class="sourceLineNo">345</span>      setHeader("x-content-type-options", "nosniff");<a name="line.345"></a>
+<span class="sourceLineNo">346</span>      return getWriter();<a name="line.346"></a>
+<span class="sourceLineNo">347</span>   }<a name="line.347"></a>
+<span class="sourceLineNo">348</span><a name="line.348"></a>
+<span class="sourceLineNo">349</span>   /**<a name="line.349"></a>
+<span class="sourceLineNo">350</span>    * Equivalent to {@link HttpServletResponse#getWriter()}, except<a name="line.350"></a>
+<span class="sourceLineNo">351</span>    *    wraps the output stream if an {@link Encoder} was found that matched<a name="line.351"></a>
+<span class="sourceLineNo">352</span>    *    the &lt;code&gt;Accept-Encoding&lt;/code&gt; header and sets the &lt;code&gt;Content-Encoding&lt;/code&gt;<a name="line.352"></a>
+<span class="sourceLineNo">353</span>    *    header to the appropriate value.<a name="line.353"></a>
+<span class="sourceLineNo">354</span>    *<a name="line.354"></a>
+<span class="sourceLineNo">355</span>    * @return The negotiated writer.<a name="line.355"></a>
+<span class="sourceLineNo">356</span>    * @throws IOException<a name="line.356"></a>
+<span class="sourceLineNo">357</span>    */<a name="line.357"></a>
+<span class="sourceLineNo">358</span>   public PrintWriter getNegotiatedWriter() throws IOException {<a name="line.358"></a>
+<span class="sourceLineNo">359</span>      return getWriter(false);<a name="line.359"></a>
+<span class="sourceLineNo">360</span>   }<a name="line.360"></a>
+<span class="sourceLineNo">361</span><a name="line.361"></a>
+<span class="sourceLineNo">362</span>   private PrintWriter getWriter(boolean raw) throws IOException {<a name="line.362"></a>
+<span class="sourceLineNo">363</span>      // If plain text requested, override it now.<a name="line.363"></a>
+<span class="sourceLineNo">364</span>      if (request.isPlainText()) {<a name="line.364"></a>
+<span class="sourceLineNo">365</span>         setHeader("Content-Type", "text/plain");<a name="line.365"></a>
+<span class="sourceLineNo">366</span>      }<a name="line.366"></a>
+<span class="sourceLineNo">367</span><a name="line.367"></a>
+<span class="sourceLineNo">368</span>      try {<a name="line.368"></a>
+<span class="sourceLineNo">369</span>         OutputStream out = (raw ? getOutputStream() : getNegotiatedOutputStream());<a name="line.369"></a>
+<span class="sourceLineNo">370</span>         return new PrintWriter(new OutputStreamWriter(out, getCharacterEncoding()));<a name="line.370"></a>
+<span class="sourceLineNo">371</span>      } catch (UnsupportedEncodingException e) {<a name="line.371"></a>
+<span class="sourceLineNo">372</span>         String ce = getCharacterEncoding();<a name="line.372"></a>
+<span class="sourceLineNo">373</span>         setCharacterEncoding("UTF-8");<a name="line.373"></a>
+<span class="sourceLineNo">374</span>         throw new RestException(SC_NOT_ACCEPTABLE, "Unsupported charset in request header ''Accept-Charset'': ''{0}''", ce);<a name="line.374"></a>
+<span class="sourceLineNo">375</span>      }<a name="line.375"></a>
+<span class="sourceLineNo">376</span>   }<a name="line.376"></a>
+<span class="sourceLineNo">377</span><a name="line.377"></a>
+<span class="sourceLineNo">378</span>   /**<a name="line.378"></a>
+<span class="sourceLineNo">379</span>    * Returns the &lt;code&gt;Content-Type&lt;/code&gt; header stripped of the charset attribute if present.<a name="line.379"></a>
+<span class="sourceLineNo">380</span>    *<a name="line.380"></a>
+<span class="sourceLineNo">381</span>    * @return The &lt;code&gt;media-type&lt;/code&gt; portion of the &lt;code&gt;Content-Type&lt;/code&gt; header.<a name="line.381"></a>
+<span class="sourceLineNo">382</span>    */<a name="line.382"></a>
+<span class="sourceLineNo">383</span>   public MediaType getMediaType() {<a name="line.383"></a>
+<span class="sourceLineNo">384</span>      return MediaType.forString(getContentType());<a name="line.384"></a>
+<span class="sourceLineNo">385</span>   }<a name="line.385"></a>
+<span class="sourceLineNo">386</span><a name="line.386"></a>
+<span class="sourceLineNo">387</span>   /**<a name="line.387"></a>
+<span class="sourceLineNo">388</span>    * Redirects to the specified URI.<a name="line.388"></a>
+<span class="sourceLineNo">389</span>    * &lt;p&gt;<a name="line.389"></a>
+<span class="sourceLineNo">390</span>    * Relative URIs are always interpreted as relative to the context root.<a name="line.390"></a>
+<span class="sourceLineNo">391</span>    * This is similar to how WAS handles redirect requests, and is different from how Tomcat<a name="line.391"></a>
+<span class="sourceLineNo">392</span>    *    handles redirect requests.<a name="line.392"></a>
+<span class="sourceLineNo">393</span>    */<a name="line.393"></a>
+<span class="sourceLineNo">394</span>   @Override /* ServletResponse */<a name="line.394"></a>
+<span class="sourceLineNo">395</span>   public void sendRedirect(String uri) throws IOException {<a name="line.395"></a>
+<span class="sourceLineNo">396</span>      char c = (uri.length() &gt; 0 ? uri.charAt(0) : 0);<a name="line.396"></a>
+<span class="sourceLineNo">397</span>      if (c != '/' &amp;&amp; uri.indexOf("://") == -1)<a name="line.397"></a>
+<span class="sourceLineNo">398</span>         uri = request.getContextPath() + '/' + uri;<a name="line.398"></a>
+<span class="sourceLineNo">399</span>      super.sendRedirect(uri);<a name="line.399"></a>
+<span class="sourceLineNo">400</span>   }<a name="line.400"></a>
+<span class="sourceLineNo">401</span><a name="line.401"></a>
+<span class="sourceLineNo">402</span>   /**<a name="line.402"></a>
+<span class="sourceLineNo">403</span>    * Returns the URL-encoding serializer associated with this response.<a name="line.403"></a>
+<span class="sourceLineNo">404</span>    *<a name="line.404"></a>
+<span class="sourceLineNo">405</span>    * @return The URL-encoding serializer associated with this response.<a name="line.405"></a>
+<span class="sourceLineNo">406</span>    */<a name="line.406"></a>
+<span class="sourceLineNo">407</span>   public UrlEncodingSerializer getUrlEncodingSerializer() {<a name="line.407"></a>
+<span class="sourceLineNo">408</span>      return urlEncodingSerializer;<a name="line.408"></a>
+<span class="sourceLineNo">409</span>   }<a name="line.409"></a>
+<span class="sourceLineNo">410</span><a name="line.410"></a>
+<span class="sourceLineNo">411</span>   @Override /* ServletResponse */<a name="line.411"></a>
+<span class="sourceLineNo">412</span>   public void setHeader(String name, String value) {<a name="line.412"></a>
+<span class="sourceLineNo">413</span>      // Jetty doesn't set the content type correctly if set through this method.<a name="line.413"></a>
+<span class="sourceLineNo">414</span>      // Tomcat/WAS does.<a name="line.414"></a>
+<span class="sourceLineNo">415</span>      if (name.equalsIgnoreCase("Content-Type"))<a name="line.415"></a>
+<span class="sourceLineNo">416</span>         super.setContentType(value);<a name="line.416"></a>
+<span class="sourceLineNo">417</span>      else<a name="line.417"></a>
+<span class="sourceLineNo">418</span>         super.setHeader(name, value);<a name="line.418"></a>
+<span class="sourceLineNo">419</span>   }<a name="line.419"></a>
+<span class="sourceLineNo">420</span><a name="line.420"></a>
+<span class="sourceLineNo">421</span>   /**<a name="line.421"></a>
+<span class="sourceLineNo">422</span>    * Sets the page title for HTML views.<a name="line.422"></a>
+<span class="sourceLineNo">423</span>    * &lt;p&gt;<a name="line.423"></a>
+<span class="sourceLineNo">424</span>    * This is the programmatic equivalent to the {@link RestResource#pageTitle() @RestResource#pageTitle()}/<a name="line.424"></a>
+<span class="sourceLineNo">425</span>    * {@link RestMethod#pageTitle() @RestMethod#pageTitle()} annotations.<a name="line.425"></a>
+<span class="sourceLineNo">426</span>    * &lt;p&gt;<a name="line.426"></a>
+<span class="sourceLineNo">427</span>    * This is a shortcut for calling &lt;code&gt;setProperty(&lt;jsf&gt;HTMLDOC_title&lt;/jsf&gt;, title);&lt;/code&gt;<a name="line.427"></a>
+<span class="sourceLineNo">428</span>    * &lt;p class='info'&gt;<a name="line.428"></a>
+<span class="sourceLineNo">429</span>    *    &lt;b&gt;Tip:&lt;/b&gt;  Use {@link StringMessage} to generate a page title with delayed serialization so as not to<a name="line.429"></a>
+<span class="sourceLineNo">430</span>    *    waste string concatenation cycles on non-HTML views.<a name="line.430"></a>
+<span class="sourceLineNo">431</span>    * &lt;/p&gt;<a name="line.431"></a>
+<span class="sourceLineNo">432</span>    *<a name="line.432"></a>
+<span class="sourceLineNo">433</span>    * @param title The localized page title to render on the page.<a name="line.433"></a>
+<span class="sourceLineNo">434</span>    * Object will be converted to a string using {@link Object#toString()}.<a name="line.434"></a>
+<span class="sourceLineNo">435</span>    * @return This object (for method chaining).<a name="line.435"></a>
+<span class="sourceLineNo">436</span>    */<a name="line.436"></a>
+<span class="sourceLineNo">437</span>   public RestResponse setPageTitle(Object title) {<a name="line.437"></a>
+<span class="sourceLineNo">438</span>      return setProperty(HtmlDocSerializerContext.HTMLDOC_title, title);<a name="line.438"></a>
+<span class="sourceLineNo">439</span>   }<a name="line.439"></a>
+<span class="sourceLineNo">440</span><a name="line.440"></a>
+<span class="sourceLineNo">441</span>   /**<a name="line.441"></a>
+<span class="sourceLineNo">442</span>    * Sets the page text for HTML views.<a name="line.442"></a>
+<span class="sourceLineNo">443</span>    * &lt;p&gt;<a name="line.443"></a>
+<span class="sourceLineNo">444</span>    * This is the programmatic equivalent to the {@link RestResource#pageText() @RestResource#pageText()}/<a name="line.444"></a>
+<span class="sourceLineNo">445</span>    * {@link RestMethod#pageText() @RestMethod#pageText()} annotations.<a name="line.445"></a>
+<span class="sourceLineNo">446</span>    * &lt;p&gt;<a name="line.446"></a>
+<span class="sourceLineNo">447</span>    * This is a shortcut for calling &lt;code&gt;setProperty(&lt;jsf&gt;HTMLDOC_text&lt;/jsf&gt;, text);&lt;/code&gt;<a name="line.447"></a>
+<span class="sourceLineNo">448</span>    * &lt;p class='info'&gt;<a name="line.448"></a>
+<span class="sourceLineNo">449</span>    *    &lt;b&gt;Tip:&lt;/b&gt;  Use {@link StringMessage} to generate page text with delayed serialization so as not to<a name="line.449"></a>
+<span class="sourceLineNo">450</span>    *    waste string concatenation cycles on non-HTML views.<a name="line.450"></a>
+<span class="sourceLineNo">451</span>    * &lt;/p&gt;<a name="line.451"></a>
+<span class="sourceLineNo">452</span>    *<a name="line.452"></a>
+<span class="sourceLineNo">453</span>    * @param text The localized page text to render on the page.<a name="line.453"></a>
+<span class="sourceLineNo">454</span>    * @return This object (for method chaining).<a name="line.454"></a>
+<span class="sourceLineNo">455</span>    */<a name="line.455"></a>
+<span class="sourceLineNo">456</span>   public RestResponse setPageText(Object text) {<a name="line.456"></a>
+<span class="sourceLineNo">457</span>      return setProperty(HtmlDocSerializerContext.HTMLDOC_text, text);<a name="line.457"></a>
+<span class="sourceLineNo">458</span>   }<a name="line.458"></a>
+<span class="sourceLineNo">459</span><a name="line.459"></a>
+<span class="sourceLineNo">460</span>   /**<a name="line.460"></a>
+<span class="sourceLineNo">461</span>    * Sets the page text for HTML views.<a name="line.461"></a>
+<span class="sourceLineNo">462</span>    * &lt;p&gt;<a name="line.462"></a>
+<span class="sourceLineNo">463</span>    * This is the programmatic equivalent to the {@link RestResource#pageLinks() @RestResource#pageLinks()}/<a name="line.463"></a>
+<span class="sourceLineNo">464</span>    * {@link RestMethod#pageLinks() @RestMethod#pageLinks()} annotations.<a name="line.464"></a>
+<span class="sourceLineNo">465</span>    * &lt;p&gt;<a name="line.465"></a>
+<span class="sourceLineNo">466</span>    * This is a shortcut for calling &lt;code&gt;setProperty(&lt;jsf&gt;HTMLDOC_links&lt;/jsf&gt;, links);&lt;/code&gt;<a name="line.466"></a>
+<span class="sourceLineNo">467</span>    * &lt;p class='info'&gt;<a name="line.467"></a>
+<span class="sourceLineNo">468</span>    *    &lt;b&gt;Tip:&lt;/b&gt;  Use {@link StringMessage} to generate page links with delayed serialization so as not to<a name="line.468"></a>
+<span class="sourceLineNo">469</span>    *    waste string concatenation cycles on non-HTML views.<a name="line.469"></a>
+<span class="sourceLineNo">470</span>    * &lt;/p&gt;<a name="line.470"></a>
+<span class="sourceLineNo">471</span>    *<a name="line.471"></a>
+<span class="sourceLineNo">472</span>    * @param links The localized page links render on the page.<a name="line.472"></a>
+<span class="sourceLineNo">473</span>    * @return This object (for method chaining).<a name="line.473"></a>
+<span class="sourceLineNo">474</span>    */<a name="line.474"></a>
+<span class="sourceLineNo">475</span>   public RestResponse setPageLinks(Object links) {<a name="line.475"></a>
+<span class="sourceLineNo">476</span>      properties.put(HtmlDocSerializerContext.HTMLDOC_links, links);<a name="line.476"></a>
+<span class="sourceLineNo">477</span>      return this;<a name="line.477"></a>
+<span class="sourceLineNo">478</span>   }<a name="line.478"></a>
+<span class="sourceLineNo">479</span>}<a name="line.479"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/rest/RestServlet.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/rest/RestServlet.html b/content/site/apidocs/src-html/org/apache/juneau/rest/RestServlet.html
index 1eb2b8c..06ab8be 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/rest/RestServlet.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/rest/RestServlet.html
@@ -155,9 +155,9 @@
 <span class="sourceLineNo">147</span>         context.getCallHandler().service(r1, r2);<a name="line.147"></a>
 <span class="sourceLineNo">148</span><a name="line.148"></a>
 <span class="sourceLineNo">149</span>      } catch (RestException e) {<a name="line.149"></a>
-<span class="sourceLineNo">150</span>         context.getCallHandler().handleError(r1, r2, e);<a name="line.150"></a>
+<span class="sourceLineNo">150</span>         r2.sendError(SC_INTERNAL_SERVER_ERROR, e.getLocalizedMessage());<a name="line.150"></a>
 <span class="sourceLineNo">151</span>      } catch (Throwable e) {<a name="line.151"></a>
-<span class="sourceLineNo">152</span>         context.getCallHandler().handleError(r1, r2, new RestException(SC_INTERNAL_SERVER_ERROR, e));<a name="line.152"></a>
+<span class="sourceLineNo">152</span>         r2.sendError(SC_INTERNAL_SERVER_ERROR, e.getLocalizedMessage());<a name="line.152"></a>
 <span class="sourceLineNo">153</span>      }<a name="line.153"></a>
 <span class="sourceLineNo">154</span>   }<a name="line.154"></a>
 <span class="sourceLineNo">155</span><a name="line.155"></a>
@@ -257,37 +257,38 @@
 <span class="sourceLineNo">249</span><a name="line.249"></a>
 <span class="sourceLineNo">250</span>   @Override /* GenericServlet */<a name="line.250"></a>
 <span class="sourceLineNo">251</span>   public void destroy() {<a name="line.251"></a>
-<span class="sourceLineNo">252</span>      context.destroy();<a name="line.252"></a>
-<span class="sourceLineNo">253</span>      super.destroy();<a name="line.253"></a>
-<span class="sourceLineNo">254</span>   }<a name="line.254"></a>
-<span class="sourceLineNo">255</span><a name="line.255"></a>
-<span class="sourceLineNo">256</span>   /**<a name="line.256"></a>
-<span class="sourceLineNo">257</span>    * Convenience method for calling &lt;code&gt;getContext().getMessages();&lt;/code&gt;<a name="line.257"></a>
-<span class="sourceLineNo">258</span>    * @return The resource bundle for this resource.  Never &lt;jk&gt;null&lt;/jk&gt;.<a name="line.258"></a>
-<span class="sourceLineNo">259</span>    * @see RestContext#getProperties()<a name="line.259"></a>
-<span class="sourceLineNo">260</span>    */<a name="line.260"></a>
-<span class="sourceLineNo">261</span>   public MessageBundle getMessages() {<a name="line.261"></a>
-<span class="sourceLineNo">262</span>      return context.getMessages();<a name="line.262"></a>
-<span class="sourceLineNo">263</span>   }<a name="line.263"></a>
-<span class="sourceLineNo">264</span><a name="line.264"></a>
-<span class="sourceLineNo">265</span>   /**<a name="line.265"></a>
-<span class="sourceLineNo">266</span>    * Convenience method for calling &lt;code&gt;getContext().getProperties();&lt;/code&gt;<a name="line.266"></a>
-<span class="sourceLineNo">267</span>    * @return The resource properties as an {@link ObjectMap}.<a name="line.267"></a>
-<span class="sourceLineNo">268</span>    * @see RestContext#getProperties()<a name="line.268"></a>
-<span class="sourceLineNo">269</span>    */<a name="line.269"></a>
-<span class="sourceLineNo">270</span>   public ObjectMap getProperties() {<a name="line.270"></a>
-<span class="sourceLineNo">271</span>      return getContext().getProperties();<a name="line.271"></a>
-<span class="sourceLineNo">272</span>   }<a name="line.272"></a>
-<span class="sourceLineNo">273</span><a name="line.273"></a>
-<span class="sourceLineNo">274</span>   /**<a name="line.274"></a>
-<span class="sourceLineNo">275</span>    * Convenience method for calling &lt;code&gt;getContext().getBeanContext();&lt;/code&gt;<a name="line.275"></a>
-<span class="sourceLineNo">276</span>    * @return The bean context used for parsing path variables and header values.<a name="line.276"></a>
-<span class="sourceLineNo">277</span>    * @see RestContext#getBeanContext()<a name="line.277"></a>
-<span class="sourceLineNo">278</span>    */<a name="line.278"></a>
-<span class="sourceLineNo">279</span>   public BeanContext getBeanContext() {<a name="line.279"></a>
-<span class="sourceLineNo">280</span>      return getContext().getBeanContext();<a name="line.280"></a>
-<span class="sourceLineNo">281</span>   }<a name="line.281"></a>
-<span class="sourceLineNo">282</span>}<a name="line.282"></a>
+<span class="sourceLineNo">252</span>      if (context != null)<a name="line.252"></a>
+<span class="sourceLineNo">253</span>         context.destroy();<a name="line.253"></a>
+<span class="sourceLineNo">254</span>      super.destroy();<a name="line.254"></a>
+<span class="sourceLineNo">255</span>   }<a name="line.255"></a>
+<span class="sourceLineNo">256</span><a name="line.256"></a>
+<span class="sourceLineNo">257</span>   /**<a name="line.257"></a>
+<span class="sourceLineNo">258</span>    * Convenience method for calling &lt;code&gt;getContext().getMessages();&lt;/code&gt;<a name="line.258"></a>
+<span class="sourceLineNo">259</span>    * @return The resource bundle for this resource.  Never &lt;jk&gt;null&lt;/jk&gt;.<a name="line.259"></a>
+<span class="sourceLineNo">260</span>    * @see RestContext#getProperties()<a name="line.260"></a>
+<span class="sourceLineNo">261</span>    */<a name="line.261"></a>
+<span class="sourceLineNo">262</span>   public MessageBundle getMessages() {<a name="line.262"></a>
+<span class="sourceLineNo">263</span>      return context.getMessages();<a name="line.263"></a>
+<span class="sourceLineNo">264</span>   }<a name="line.264"></a>
+<span class="sourceLineNo">265</span><a name="line.265"></a>
+<span class="sourceLineNo">266</span>   /**<a name="line.266"></a>
+<span class="sourceLineNo">267</span>    * Convenience method for calling &lt;code&gt;getContext().getProperties();&lt;/code&gt;<a name="line.267"></a>
+<span class="sourceLineNo">268</span>    * @return The resource properties as an {@link ObjectMap}.<a name="line.268"></a>
+<span class="sourceLineNo">269</span>    * @see RestContext#getProperties()<a name="line.269"></a>
+<span class="sourceLineNo">270</span>    */<a name="line.270"></a>
+<span class="sourceLineNo">271</span>   public ObjectMap getProperties() {<a name="line.271"></a>
+<span class="sourceLineNo">272</span>      return getContext().getProperties();<a name="line.272"></a>
+<span class="sourceLineNo">273</span>   }<a name="line.273"></a>
+<span class="sourceLineNo">274</span><a name="line.274"></a>
+<span class="sourceLineNo">275</span>   /**<a name="line.275"></a>
+<span class="sourceLineNo">276</span>    * Convenience method for calling &lt;code&gt;getContext().getBeanContext();&lt;/code&gt;<a name="line.276"></a>
+<span class="sourceLineNo">277</span>    * @return The bean context used for parsing path variables and header values.<a name="line.277"></a>
+<span class="sourceLineNo">278</span>    * @see RestContext#getBeanContext()<a name="line.278"></a>
+<span class="sourceLineNo">279</span>    */<a name="line.279"></a>
+<span class="sourceLineNo">280</span>   public BeanContext getBeanContext() {<a name="line.280"></a>
+<span class="sourceLineNo">281</span>      return getContext().getBeanContext();<a name="line.281"></a>
+<span class="sourceLineNo">282</span>   }<a name="line.282"></a>
+<span class="sourceLineNo">283</span>}<a name="line.283"></a>
 
 
 


[07/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.Encoding.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.Encoding.html b/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.Encoding.html
index e815156..79c2816 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.Encoding.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.Encoding.html
@@ -211,187 +211,188 @@
 <span class="sourceLineNo">203</span>    * @param eType The expected type of the object if this is a bean property.<a name="line.203"></a>
 <span class="sourceLineNo">204</span>    * @param attrName The bean property name if this is a bean property.  &lt;jk&gt;null&lt;/jk&gt; if this isn't a bean property being serialized.<a name="line.204"></a>
 <span class="sourceLineNo">205</span>    * @param pMeta The bean property metadata.<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    *<a name="line.206"></a>
-<span class="sourceLineNo">207</span>    * @return The same writer passed in.<a name="line.207"></a>
-<span class="sourceLineNo">208</span>    * @throws Exception<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    */<a name="line.209"></a>
-<span class="sourceLineNo">210</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.210"></a>
-<span class="sourceLineNo">211</span>   protected SerializerWriter serializeAnything(UonSerializerSession session, UonWriter out, Object o, ClassMeta&lt;?&gt; eType,<a name="line.211"></a>
-<span class="sourceLineNo">212</span>         String attrName, BeanPropertyMeta pMeta) throws Exception {<a name="line.212"></a>
-<span class="sourceLineNo">213</span><a name="line.213"></a>
-<span class="sourceLineNo">214</span>      if (o == null) {<a name="line.214"></a>
-<span class="sourceLineNo">215</span>         out.appendObject(null, false);<a name="line.215"></a>
-<span class="sourceLineNo">216</span>         return out;<a name="line.216"></a>
-<span class="sourceLineNo">217</span>      }<a name="line.217"></a>
-<span class="sourceLineNo">218</span><a name="line.218"></a>
-<span class="sourceLineNo">219</span>      if (eType == null)<a name="line.219"></a>
-<span class="sourceLineNo">220</span>         eType = object();<a name="line.220"></a>
-<span class="sourceLineNo">221</span><a name="line.221"></a>
-<span class="sourceLineNo">222</span>      ClassMeta&lt;?&gt; aType;        // The actual type<a name="line.222"></a>
-<span class="sourceLineNo">223</span>      ClassMeta&lt;?&gt; sType;        // The serialized type<a name="line.223"></a>
-<span class="sourceLineNo">224</span><a name="line.224"></a>
-<span class="sourceLineNo">225</span>      aType = session.push(attrName, o, eType);<a name="line.225"></a>
-<span class="sourceLineNo">226</span>      boolean isRecursion = aType == null;<a name="line.226"></a>
-<span class="sourceLineNo">227</span><a name="line.227"></a>
-<span class="sourceLineNo">228</span>      // Handle recursion<a name="line.228"></a>
-<span class="sourceLineNo">229</span>      if (aType == null) {<a name="line.229"></a>
-<span class="sourceLineNo">230</span>         o = null;<a name="line.230"></a>
-<span class="sourceLineNo">231</span>         aType = object();<a name="line.231"></a>
-<span class="sourceLineNo">232</span>      }<a name="line.232"></a>
-<span class="sourceLineNo">233</span><a name="line.233"></a>
-<span class="sourceLineNo">234</span>      sType = aType.getSerializedClassMeta();<a name="line.234"></a>
-<span class="sourceLineNo">235</span>      String typeName = session.getBeanTypeName(eType, aType, pMeta);<a name="line.235"></a>
-<span class="sourceLineNo">236</span><a name="line.236"></a>
-<span class="sourceLineNo">237</span>      // Swap if necessary<a name="line.237"></a>
-<span class="sourceLineNo">238</span>      PojoSwap swap = aType.getPojoSwap();<a name="line.238"></a>
-<span class="sourceLineNo">239</span>      if (swap != null) {<a name="line.239"></a>
-<span class="sourceLineNo">240</span>         o = swap.swap(session, o);<a name="line.240"></a>
-<span class="sourceLineNo">241</span><a name="line.241"></a>
-<span class="sourceLineNo">242</span>         // If the getSwapClass() method returns Object, we need to figure out<a name="line.242"></a>
-<span class="sourceLineNo">243</span>         // the actual type now.<a name="line.243"></a>
-<span class="sourceLineNo">244</span>         if (sType.isObject())<a name="line.244"></a>
-<span class="sourceLineNo">245</span>            sType = session.getClassMetaForObject(o);<a name="line.245"></a>
-<span class="sourceLineNo">246</span>      }<a name="line.246"></a>
-<span class="sourceLineNo">247</span><a name="line.247"></a>
-<span class="sourceLineNo">248</span>      // '\0' characters are considered null.<a name="line.248"></a>
-<span class="sourceLineNo">249</span>      if (o == null || (sType.isChar() &amp;&amp; ((Character)o).charValue() == 0))<a name="line.249"></a>
-<span class="sourceLineNo">250</span>         out.appendObject(null, false);<a name="line.250"></a>
-<span class="sourceLineNo">251</span>      else if (sType.isBoolean())<a name="line.251"></a>
-<span class="sourceLineNo">252</span>         out.appendBoolean(o);<a name="line.252"></a>
-<span class="sourceLineNo">253</span>      else if (sType.isNumber())<a name="line.253"></a>
-<span class="sourceLineNo">254</span>         out.appendNumber(o);<a name="line.254"></a>
-<span class="sourceLineNo">255</span>      else if (sType.isBean())<a name="line.255"></a>
-<span class="sourceLineNo">256</span>         serializeBeanMap(session, out, session.toBeanMap(o), typeName);<a name="line.256"></a>
-<span class="sourceLineNo">257</span>      else if (sType.isUri() || (pMeta != null &amp;&amp; pMeta.isUri()))<a name="line.257"></a>
-<span class="sourceLineNo">258</span>         out.appendUri(o);<a name="line.258"></a>
-<span class="sourceLineNo">259</span>      else if (sType.isMap()) {<a name="line.259"></a>
-<span class="sourceLineNo">260</span>         if (o instanceof BeanMap)<a name="line.260"></a>
-<span class="sourceLineNo">261</span>            serializeBeanMap(session, out, (BeanMap)o, typeName);<a name="line.261"></a>
-<span class="sourceLineNo">262</span>         else<a name="line.262"></a>
-<span class="sourceLineNo">263</span>            serializeMap(session, out, (Map)o, eType);<a name="line.263"></a>
-<span class="sourceLineNo">264</span>      }<a name="line.264"></a>
-<span class="sourceLineNo">265</span>      else if (sType.isCollection()) {<a name="line.265"></a>
-<span class="sourceLineNo">266</span>         serializeCollection(session, out, (Collection) o, eType);<a name="line.266"></a>
-<span class="sourceLineNo">267</span>      }<a name="line.267"></a>
-<span class="sourceLineNo">268</span>      else if (sType.isArray()) {<a name="line.268"></a>
-<span class="sourceLineNo">269</span>         serializeCollection(session, out, toList(sType.getInnerClass(), o), eType);<a name="line.269"></a>
-<span class="sourceLineNo">270</span>      }<a name="line.270"></a>
-<span class="sourceLineNo">271</span>      else {<a name="line.271"></a>
-<span class="sourceLineNo">272</span>         out.appendObject(o, false);<a name="line.272"></a>
-<span class="sourceLineNo">273</span>      }<a name="line.273"></a>
-<span class="sourceLineNo">274</span><a name="line.274"></a>
-<span class="sourceLineNo">275</span>      if (! isRecursion)<a name="line.275"></a>
-<span class="sourceLineNo">276</span>         session.pop();<a name="line.276"></a>
-<span class="sourceLineNo">277</span>      return out;<a name="line.277"></a>
-<span class="sourceLineNo">278</span>   }<a name="line.278"></a>
-<span class="sourceLineNo">279</span><a name="line.279"></a>
-<span class="sourceLineNo">280</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.280"></a>
-<span class="sourceLineNo">281</span>   private SerializerWriter serializeMap(UonSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.281"></a>
-<span class="sourceLineNo">282</span><a name="line.282"></a>
-<span class="sourceLineNo">283</span>      m = session.sort(m);<a name="line.283"></a>
-<span class="sourceLineNo">284</span><a name="line.284"></a>
-<span class="sourceLineNo">285</span>      ClassMeta&lt;?&gt; keyType = type.getKeyType(), valueType = type.getValueType();<a name="line.285"></a>
-<span class="sourceLineNo">286</span><a name="line.286"></a>
-<span class="sourceLineNo">287</span>      int depth = session.getIndent();<a name="line.287"></a>
-<span class="sourceLineNo">288</span>      out.append('(');<a name="line.288"></a>
-<span class="sourceLineNo">289</span><a name="line.289"></a>
-<span class="sourceLineNo">290</span>      Iterator mapEntries = m.entrySet().iterator();<a name="line.290"></a>
-<span class="sourceLineNo">291</span><a name="line.291"></a>
-<span class="sourceLineNo">292</span>      while (mapEntries.hasNext()) {<a name="line.292"></a>
-<span class="sourceLineNo">293</span>         Map.Entry e = (Map.Entry) mapEntries.next();<a name="line.293"></a>
-<span class="sourceLineNo">294</span>         Object value = e.getValue();<a name="line.294"></a>
-<span class="sourceLineNo">295</span>         Object key = session.generalize(e.getKey(), keyType);<a name="line.295"></a>
-<span class="sourceLineNo">296</span>         out.cr(depth).appendObject(key, false).append('=');<a name="line.296"></a>
-<span class="sourceLineNo">297</span>         serializeAnything(session, out, value, valueType, (key == null ? null : session.toString(key)), null);<a name="line.297"></a>
-<span class="sourceLineNo">298</span>         if (mapEntries.hasNext())<a name="line.298"></a>
-<span class="sourceLineNo">299</span>            out.append(',');<a name="line.299"></a>
-<span class="sourceLineNo">300</span>      }<a name="line.300"></a>
-<span class="sourceLineNo">301</span><a name="line.301"></a>
-<span class="sourceLineNo">302</span>      if (m.size() &gt; 0)<a name="line.302"></a>
-<span class="sourceLineNo">303</span>         out.cr(depth-1);<a name="line.303"></a>
-<span class="sourceLineNo">304</span>      out.append(')');<a name="line.304"></a>
-<span class="sourceLineNo">305</span><a name="line.305"></a>
-<span class="sourceLineNo">306</span>      return out;<a name="line.306"></a>
-<span class="sourceLineNo">307</span>   }<a name="line.307"></a>
-<span class="sourceLineNo">308</span><a name="line.308"></a>
-<span class="sourceLineNo">309</span>   private SerializerWriter serializeBeanMap(UonSerializerSession session, UonWriter out, BeanMap&lt;?&gt; m, String typeName) throws Exception {<a name="line.309"></a>
-<span class="sourceLineNo">310</span>      int depth = session.getIndent();<a name="line.310"></a>
-<span class="sourceLineNo">311</span><a name="line.311"></a>
-<span class="sourceLineNo">312</span>      out.append('(');<a name="line.312"></a>
-<span class="sourceLineNo">313</span><a name="line.313"></a>
-<span class="sourceLineNo">314</span>      boolean addComma = false;<a name="line.314"></a>
-<span class="sourceLineNo">315</span><a name="line.315"></a>
-<span class="sourceLineNo">316</span>      for (BeanPropertyValue p : m.getValues(session.isTrimNulls(), typeName != null ? session.createBeanTypeNameProperty(m, typeName) : null)) {<a name="line.316"></a>
-<span class="sourceLineNo">317</span>         BeanPropertyMeta pMeta = p.getMeta();<a name="line.317"></a>
-<span class="sourceLineNo">318</span>         ClassMeta&lt;?&gt; cMeta = p.getClassMeta();<a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span>         String key = p.getName();<a name="line.320"></a>
-<span class="sourceLineNo">321</span>         Object value = p.getValue();<a name="line.321"></a>
-<span class="sourceLineNo">322</span>         Throwable t = p.getThrown();<a name="line.322"></a>
-<span class="sourceLineNo">323</span>         if (t != null)<a name="line.323"></a>
-<span class="sourceLineNo">324</span>            session.addBeanGetterWarning(pMeta, t);<a name="line.324"></a>
-<span class="sourceLineNo">325</span><a name="line.325"></a>
-<span class="sourceLineNo">326</span>         if (session.canIgnoreValue(cMeta, key, value))<a name="line.326"></a>
-<span class="sourceLineNo">327</span>            continue;<a name="line.327"></a>
-<span class="sourceLineNo">328</span><a name="line.328"></a>
-<span class="sourceLineNo">329</span>         if (addComma)<a name="line.329"></a>
-<span class="sourceLineNo">330</span>            out.append(',');<a name="line.330"></a>
-<span class="sourceLineNo">331</span><a name="line.331"></a>
-<span class="sourceLineNo">332</span>         out.cr(depth).appendObject(key, false).append('=');<a name="line.332"></a>
-<span class="sourceLineNo">333</span><a name="line.333"></a>
-<span class="sourceLineNo">334</span>         serializeAnything(session, out, value, cMeta, key, pMeta);<a name="line.334"></a>
-<span class="sourceLineNo">335</span><a name="line.335"></a>
-<span class="sourceLineNo">336</span>         addComma = true;<a name="line.336"></a>
-<span class="sourceLineNo">337</span>      }<a name="line.337"></a>
-<span class="sourceLineNo">338</span><a name="line.338"></a>
-<span class="sourceLineNo">339</span>      if (m.size() &gt; 0)<a name="line.339"></a>
-<span class="sourceLineNo">340</span>         out.cr(depth-1);<a name="line.340"></a>
-<span class="sourceLineNo">341</span>      out.append(')');<a name="line.341"></a>
-<span class="sourceLineNo">342</span><a name="line.342"></a>
-<span class="sourceLineNo">343</span>      return out;<a name="line.343"></a>
-<span class="sourceLineNo">344</span>   }<a name="line.344"></a>
-<span class="sourceLineNo">345</span><a name="line.345"></a>
-<span class="sourceLineNo">346</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.346"></a>
-<span class="sourceLineNo">347</span>   private SerializerWriter serializeCollection(UonSerializerSession session, UonWriter out, Collection c, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.347"></a>
-<span class="sourceLineNo">348</span><a name="line.348"></a>
-<span class="sourceLineNo">349</span>      ClassMeta&lt;?&gt; elementType = type.getElementType();<a name="line.349"></a>
-<span class="sourceLineNo">350</span><a name="line.350"></a>
-<span class="sourceLineNo">351</span>      c = session.sort(c);<a name="line.351"></a>
-<span class="sourceLineNo">352</span><a name="line.352"></a>
-<span class="sourceLineNo">353</span>      out.append('@').append('(');<a name="line.353"></a>
-<span class="sourceLineNo">354</span><a name="line.354"></a>
-<span class="sourceLineNo">355</span>      int depth = session.getIndent();<a name="line.355"></a>
-<span class="sourceLineNo">356</span><a name="line.356"></a>
-<span class="sourceLineNo">357</span>      for (Iterator i = c.iterator(); i.hasNext();) {<a name="line.357"></a>
-<span class="sourceLineNo">358</span>         out.cr(depth);<a name="line.358"></a>
-<span class="sourceLineNo">359</span>         serializeAnything(session, out, i.next(), elementType, "&lt;iterator&gt;", null);<a name="line.359"></a>
-<span class="sourceLineNo">360</span>         if (i.hasNext())<a name="line.360"></a>
-<span class="sourceLineNo">361</span>            out.append(',');<a name="line.361"></a>
-<span class="sourceLineNo">362</span>      }<a name="line.362"></a>
-<span class="sourceLineNo">363</span><a name="line.363"></a>
-<span class="sourceLineNo">364</span>      if (c.size() &gt; 0)<a name="line.364"></a>
-<span class="sourceLineNo">365</span>         out.cr(depth-1);<a name="line.365"></a>
-<span class="sourceLineNo">366</span>      out.append(')');<a name="line.366"></a>
-<span class="sourceLineNo">367</span><a name="line.367"></a>
-<span class="sourceLineNo">368</span>      return out;<a name="line.368"></a>
-<span class="sourceLineNo">369</span>   }<a name="line.369"></a>
-<span class="sourceLineNo">370</span><a name="line.370"></a>
+<span class="sourceLineNo">206</span>    * @param plainTextParams &lt;jk&gt;true&lt;/jk&gt; if this is a top level parameter key or value and paramFormat is PLAINTEXT.<a name="line.206"></a>
+<span class="sourceLineNo">207</span>    *<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    * @return The same writer passed in.<a name="line.208"></a>
+<span class="sourceLineNo">209</span>    * @throws Exception<a name="line.209"></a>
+<span class="sourceLineNo">210</span>    */<a name="line.210"></a>
+<span class="sourceLineNo">211</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.211"></a>
+<span class="sourceLineNo">212</span>   protected SerializerWriter serializeAnything(UonSerializerSession session, UonWriter out, Object o, ClassMeta&lt;?&gt; eType,<a name="line.212"></a>
+<span class="sourceLineNo">213</span>         String attrName, BeanPropertyMeta pMeta, boolean plainTextParams) throws Exception {<a name="line.213"></a>
+<span class="sourceLineNo">214</span><a name="line.214"></a>
+<span class="sourceLineNo">215</span>      if (o == null) {<a name="line.215"></a>
+<span class="sourceLineNo">216</span>         out.appendObject(null, false, plainTextParams);<a name="line.216"></a>
+<span class="sourceLineNo">217</span>         return out;<a name="line.217"></a>
+<span class="sourceLineNo">218</span>      }<a name="line.218"></a>
+<span class="sourceLineNo">219</span><a name="line.219"></a>
+<span class="sourceLineNo">220</span>      if (eType == null)<a name="line.220"></a>
+<span class="sourceLineNo">221</span>         eType = object();<a name="line.221"></a>
+<span class="sourceLineNo">222</span><a name="line.222"></a>
+<span class="sourceLineNo">223</span>      ClassMeta&lt;?&gt; aType;        // The actual type<a name="line.223"></a>
+<span class="sourceLineNo">224</span>      ClassMeta&lt;?&gt; sType;        // The serialized type<a name="line.224"></a>
+<span class="sourceLineNo">225</span><a name="line.225"></a>
+<span class="sourceLineNo">226</span>      aType = session.push(attrName, o, eType);<a name="line.226"></a>
+<span class="sourceLineNo">227</span>      boolean isRecursion = aType == null;<a name="line.227"></a>
+<span class="sourceLineNo">228</span><a name="line.228"></a>
+<span class="sourceLineNo">229</span>      // Handle recursion<a name="line.229"></a>
+<span class="sourceLineNo">230</span>      if (aType == null) {<a name="line.230"></a>
+<span class="sourceLineNo">231</span>         o = null;<a name="line.231"></a>
+<span class="sourceLineNo">232</span>         aType = object();<a name="line.232"></a>
+<span class="sourceLineNo">233</span>      }<a name="line.233"></a>
+<span class="sourceLineNo">234</span><a name="line.234"></a>
+<span class="sourceLineNo">235</span>      sType = aType.getSerializedClassMeta();<a name="line.235"></a>
+<span class="sourceLineNo">236</span>      String typeName = session.getBeanTypeName(eType, aType, pMeta);<a name="line.236"></a>
+<span class="sourceLineNo">237</span><a name="line.237"></a>
+<span class="sourceLineNo">238</span>      // Swap if necessary<a name="line.238"></a>
+<span class="sourceLineNo">239</span>      PojoSwap swap = aType.getPojoSwap();<a name="line.239"></a>
+<span class="sourceLineNo">240</span>      if (swap != null) {<a name="line.240"></a>
+<span class="sourceLineNo">241</span>         o = swap.swap(session, o);<a name="line.241"></a>
+<span class="sourceLineNo">242</span><a name="line.242"></a>
+<span class="sourceLineNo">243</span>         // If the getSwapClass() method returns Object, we need to figure out<a name="line.243"></a>
+<span class="sourceLineNo">244</span>         // the actual type now.<a name="line.244"></a>
+<span class="sourceLineNo">245</span>         if (sType.isObject())<a name="line.245"></a>
+<span class="sourceLineNo">246</span>            sType = session.getClassMetaForObject(o);<a name="line.246"></a>
+<span class="sourceLineNo">247</span>      }<a name="line.247"></a>
+<span class="sourceLineNo">248</span><a name="line.248"></a>
+<span class="sourceLineNo">249</span>      // '\0' characters are considered null.<a name="line.249"></a>
+<span class="sourceLineNo">250</span>      if (o == null || (sType.isChar() &amp;&amp; ((Character)o).charValue() == 0))<a name="line.250"></a>
+<span class="sourceLineNo">251</span>         out.appendObject(null, false, plainTextParams);<a name="line.251"></a>
+<span class="sourceLineNo">252</span>      else if (sType.isBoolean())<a name="line.252"></a>
+<span class="sourceLineNo">253</span>         out.appendBoolean(o);<a name="line.253"></a>
+<span class="sourceLineNo">254</span>      else if (sType.isNumber())<a name="line.254"></a>
+<span class="sourceLineNo">255</span>         out.appendNumber(o);<a name="line.255"></a>
+<span class="sourceLineNo">256</span>      else if (sType.isBean())<a name="line.256"></a>
+<span class="sourceLineNo">257</span>         serializeBeanMap(session, out, session.toBeanMap(o), typeName);<a name="line.257"></a>
+<span class="sourceLineNo">258</span>      else if (sType.isUri() || (pMeta != null &amp;&amp; pMeta.isUri()))<a name="line.258"></a>
+<span class="sourceLineNo">259</span>         out.appendUri(o);<a name="line.259"></a>
+<span class="sourceLineNo">260</span>      else if (sType.isMap()) {<a name="line.260"></a>
+<span class="sourceLineNo">261</span>         if (o instanceof BeanMap)<a name="line.261"></a>
+<span class="sourceLineNo">262</span>            serializeBeanMap(session, out, (BeanMap)o, typeName);<a name="line.262"></a>
+<span class="sourceLineNo">263</span>         else<a name="line.263"></a>
+<span class="sourceLineNo">264</span>            serializeMap(session, out, (Map)o, eType);<a name="line.264"></a>
+<span class="sourceLineNo">265</span>      }<a name="line.265"></a>
+<span class="sourceLineNo">266</span>      else if (sType.isCollection()) {<a name="line.266"></a>
+<span class="sourceLineNo">267</span>         serializeCollection(session, out, (Collection) o, eType);<a name="line.267"></a>
+<span class="sourceLineNo">268</span>      }<a name="line.268"></a>
+<span class="sourceLineNo">269</span>      else if (sType.isArray()) {<a name="line.269"></a>
+<span class="sourceLineNo">270</span>         serializeCollection(session, out, toList(sType.getInnerClass(), o), eType);<a name="line.270"></a>
+<span class="sourceLineNo">271</span>      }<a name="line.271"></a>
+<span class="sourceLineNo">272</span>      else {<a name="line.272"></a>
+<span class="sourceLineNo">273</span>         out.appendObject(o, false, plainTextParams);<a name="line.273"></a>
+<span class="sourceLineNo">274</span>      }<a name="line.274"></a>
+<span class="sourceLineNo">275</span><a name="line.275"></a>
+<span class="sourceLineNo">276</span>      if (! isRecursion)<a name="line.276"></a>
+<span class="sourceLineNo">277</span>         session.pop();<a name="line.277"></a>
+<span class="sourceLineNo">278</span>      return out;<a name="line.278"></a>
+<span class="sourceLineNo">279</span>   }<a name="line.279"></a>
+<span class="sourceLineNo">280</span><a name="line.280"></a>
+<span class="sourceLineNo">281</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.281"></a>
+<span class="sourceLineNo">282</span>   private SerializerWriter serializeMap(UonSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.282"></a>
+<span class="sourceLineNo">283</span><a name="line.283"></a>
+<span class="sourceLineNo">284</span>      m = session.sort(m);<a name="line.284"></a>
+<span class="sourceLineNo">285</span><a name="line.285"></a>
+<span class="sourceLineNo">286</span>      ClassMeta&lt;?&gt; keyType = type.getKeyType(), valueType = type.getValueType();<a name="line.286"></a>
+<span class="sourceLineNo">287</span><a name="line.287"></a>
+<span class="sourceLineNo">288</span>      int depth = session.getIndent();<a name="line.288"></a>
+<span class="sourceLineNo">289</span>      out.append('(');<a name="line.289"></a>
+<span class="sourceLineNo">290</span><a name="line.290"></a>
+<span class="sourceLineNo">291</span>      Iterator mapEntries = m.entrySet().iterator();<a name="line.291"></a>
+<span class="sourceLineNo">292</span><a name="line.292"></a>
+<span class="sourceLineNo">293</span>      while (mapEntries.hasNext()) {<a name="line.293"></a>
+<span class="sourceLineNo">294</span>         Map.Entry e = (Map.Entry) mapEntries.next();<a name="line.294"></a>
+<span class="sourceLineNo">295</span>         Object value = e.getValue();<a name="line.295"></a>
+<span class="sourceLineNo">296</span>         Object key = session.generalize(e.getKey(), keyType);<a name="line.296"></a>
+<span class="sourceLineNo">297</span>         out.cr(depth).appendObject(key, false, false).append('=');<a name="line.297"></a>
+<span class="sourceLineNo">298</span>         serializeAnything(session, out, value, valueType, (key == null ? null : session.toString(key)), null, false);<a name="line.298"></a>
+<span class="sourceLineNo">299</span>         if (mapEntries.hasNext())<a name="line.299"></a>
+<span class="sourceLineNo">300</span>            out.append(',');<a name="line.300"></a>
+<span class="sourceLineNo">301</span>      }<a name="line.301"></a>
+<span class="sourceLineNo">302</span><a name="line.302"></a>
+<span class="sourceLineNo">303</span>      if (m.size() &gt; 0)<a name="line.303"></a>
+<span class="sourceLineNo">304</span>         out.cr(depth-1);<a name="line.304"></a>
+<span class="sourceLineNo">305</span>      out.append(')');<a name="line.305"></a>
+<span class="sourceLineNo">306</span><a name="line.306"></a>
+<span class="sourceLineNo">307</span>      return out;<a name="line.307"></a>
+<span class="sourceLineNo">308</span>   }<a name="line.308"></a>
+<span class="sourceLineNo">309</span><a name="line.309"></a>
+<span class="sourceLineNo">310</span>   private SerializerWriter serializeBeanMap(UonSerializerSession session, UonWriter out, BeanMap&lt;?&gt; m, String typeName) throws Exception {<a name="line.310"></a>
+<span class="sourceLineNo">311</span>      int depth = session.getIndent();<a name="line.311"></a>
+<span class="sourceLineNo">312</span><a name="line.312"></a>
+<span class="sourceLineNo">313</span>      out.append('(');<a name="line.313"></a>
+<span class="sourceLineNo">314</span><a name="line.314"></a>
+<span class="sourceLineNo">315</span>      boolean addComma = false;<a name="line.315"></a>
+<span class="sourceLineNo">316</span><a name="line.316"></a>
+<span class="sourceLineNo">317</span>      for (BeanPropertyValue p : m.getValues(session.isTrimNulls(), typeName != null ? session.createBeanTypeNameProperty(m, typeName) : null)) {<a name="line.317"></a>
+<span class="sourceLineNo">318</span>         BeanPropertyMeta pMeta = p.getMeta();<a name="line.318"></a>
+<span class="sourceLineNo">319</span>         ClassMeta&lt;?&gt; cMeta = p.getClassMeta();<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span>         String key = p.getName();<a name="line.321"></a>
+<span class="sourceLineNo">322</span>         Object value = p.getValue();<a name="line.322"></a>
+<span class="sourceLineNo">323</span>         Throwable t = p.getThrown();<a name="line.323"></a>
+<span class="sourceLineNo">324</span>         if (t != null)<a name="line.324"></a>
+<span class="sourceLineNo">325</span>            session.addBeanGetterWarning(pMeta, t);<a name="line.325"></a>
+<span class="sourceLineNo">326</span><a name="line.326"></a>
+<span class="sourceLineNo">327</span>         if (session.canIgnoreValue(cMeta, key, value))<a name="line.327"></a>
+<span class="sourceLineNo">328</span>            continue;<a name="line.328"></a>
+<span class="sourceLineNo">329</span><a name="line.329"></a>
+<span class="sourceLineNo">330</span>         if (addComma)<a name="line.330"></a>
+<span class="sourceLineNo">331</span>            out.append(',');<a name="line.331"></a>
+<span class="sourceLineNo">332</span><a name="line.332"></a>
+<span class="sourceLineNo">333</span>         out.cr(depth).appendObject(key, false, false).append('=');<a name="line.333"></a>
+<span class="sourceLineNo">334</span><a name="line.334"></a>
+<span class="sourceLineNo">335</span>         serializeAnything(session, out, value, cMeta, key, pMeta, false);<a name="line.335"></a>
+<span class="sourceLineNo">336</span><a name="line.336"></a>
+<span class="sourceLineNo">337</span>         addComma = true;<a name="line.337"></a>
+<span class="sourceLineNo">338</span>      }<a name="line.338"></a>
+<span class="sourceLineNo">339</span><a name="line.339"></a>
+<span class="sourceLineNo">340</span>      if (m.size() &gt; 0)<a name="line.340"></a>
+<span class="sourceLineNo">341</span>         out.cr(depth-1);<a name="line.341"></a>
+<span class="sourceLineNo">342</span>      out.append(')');<a name="line.342"></a>
+<span class="sourceLineNo">343</span><a name="line.343"></a>
+<span class="sourceLineNo">344</span>      return out;<a name="line.344"></a>
+<span class="sourceLineNo">345</span>   }<a name="line.345"></a>
+<span class="sourceLineNo">346</span><a name="line.346"></a>
+<span class="sourceLineNo">347</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.347"></a>
+<span class="sourceLineNo">348</span>   private SerializerWriter serializeCollection(UonSerializerSession session, UonWriter out, Collection c, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.348"></a>
+<span class="sourceLineNo">349</span><a name="line.349"></a>
+<span class="sourceLineNo">350</span>      ClassMeta&lt;?&gt; elementType = type.getElementType();<a name="line.350"></a>
+<span class="sourceLineNo">351</span><a name="line.351"></a>
+<span class="sourceLineNo">352</span>      c = session.sort(c);<a name="line.352"></a>
+<span class="sourceLineNo">353</span><a name="line.353"></a>
+<span class="sourceLineNo">354</span>      out.append('@').append('(');<a name="line.354"></a>
+<span class="sourceLineNo">355</span><a name="line.355"></a>
+<span class="sourceLineNo">356</span>      int depth = session.getIndent();<a name="line.356"></a>
+<span class="sourceLineNo">357</span><a name="line.357"></a>
+<span class="sourceLineNo">358</span>      for (Iterator i = c.iterator(); i.hasNext();) {<a name="line.358"></a>
+<span class="sourceLineNo">359</span>         out.cr(depth);<a name="line.359"></a>
+<span class="sourceLineNo">360</span>         serializeAnything(session, out, i.next(), elementType, "&lt;iterator&gt;", null, false);<a name="line.360"></a>
+<span class="sourceLineNo">361</span>         if (i.hasNext())<a name="line.361"></a>
+<span class="sourceLineNo">362</span>            out.append(',');<a name="line.362"></a>
+<span class="sourceLineNo">363</span>      }<a name="line.363"></a>
+<span class="sourceLineNo">364</span><a name="line.364"></a>
+<span class="sourceLineNo">365</span>      if (c.size() &gt; 0)<a name="line.365"></a>
+<span class="sourceLineNo">366</span>         out.cr(depth-1);<a name="line.366"></a>
+<span class="sourceLineNo">367</span>      out.append(')');<a name="line.367"></a>
+<span class="sourceLineNo">368</span><a name="line.368"></a>
+<span class="sourceLineNo">369</span>      return out;<a name="line.369"></a>
+<span class="sourceLineNo">370</span>   }<a name="line.370"></a>
 <span class="sourceLineNo">371</span><a name="line.371"></a>
-<span class="sourceLineNo">372</span>   //--------------------------------------------------------------------------------<a name="line.372"></a>
-<span class="sourceLineNo">373</span>   // Entry point methods<a name="line.373"></a>
-<span class="sourceLineNo">374</span>   //--------------------------------------------------------------------------------<a name="line.374"></a>
-<span class="sourceLineNo">375</span><a name="line.375"></a>
-<span class="sourceLineNo">376</span>   @Override /* Serializer */<a name="line.376"></a>
-<span class="sourceLineNo">377</span>   public UonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.377"></a>
-<span class="sourceLineNo">378</span>      return new UonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.378"></a>
-<span class="sourceLineNo">379</span>   }<a name="line.379"></a>
-<span class="sourceLineNo">380</span><a name="line.380"></a>
-<span class="sourceLineNo">381</span>   @Override /* Serializer */<a name="line.381"></a>
-<span class="sourceLineNo">382</span>   protected void doSerialize(SerializerSession session, Object o) throws Exception {<a name="line.382"></a>
-<span class="sourceLineNo">383</span>      UonSerializerSession s = (UonSerializerSession)session;<a name="line.383"></a>
-<span class="sourceLineNo">384</span>      serializeAnything(s, s.getWriter(), o, s.getExpectedRootType(o), "root", null);<a name="line.384"></a>
-<span class="sourceLineNo">385</span>   }<a name="line.385"></a>
-<span class="sourceLineNo">386</span>}<a name="line.386"></a>
+<span class="sourceLineNo">372</span><a name="line.372"></a>
+<span class="sourceLineNo">373</span>   //--------------------------------------------------------------------------------<a name="line.373"></a>
+<span class="sourceLineNo">374</span>   // Entry point methods<a name="line.374"></a>
+<span class="sourceLineNo">375</span>   //--------------------------------------------------------------------------------<a name="line.375"></a>
+<span class="sourceLineNo">376</span><a name="line.376"></a>
+<span class="sourceLineNo">377</span>   @Override /* Serializer */<a name="line.377"></a>
+<span class="sourceLineNo">378</span>   public UonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.378"></a>
+<span class="sourceLineNo">379</span>      return new UonSerializerSession(ctx, null, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.379"></a>
+<span class="sourceLineNo">380</span>   }<a name="line.380"></a>
+<span class="sourceLineNo">381</span><a name="line.381"></a>
+<span class="sourceLineNo">382</span>   @Override /* Serializer */<a name="line.382"></a>
+<span class="sourceLineNo">383</span>   protected void doSerialize(SerializerSession session, Object o) throws Exception {<a name="line.383"></a>
+<span class="sourceLineNo">384</span>      UonSerializerSession s = (UonSerializerSession)session;<a name="line.384"></a>
+<span class="sourceLineNo">385</span>      serializeAnything(s, s.getWriter(), o, s.getExpectedRootType(o), "root", null, false);<a name="line.385"></a>
+<span class="sourceLineNo">386</span>   }<a name="line.386"></a>
+<span class="sourceLineNo">387</span>}<a name="line.387"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.Readable.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.Readable.html b/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.Readable.html
index e815156..79c2816 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.Readable.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/uon/UonSerializer.Readable.html
@@ -211,187 +211,188 @@
 <span class="sourceLineNo">203</span>    * @param eType The expected type of the object if this is a bean property.<a name="line.203"></a>
 <span class="sourceLineNo">204</span>    * @param attrName The bean property name if this is a bean property.  &lt;jk&gt;null&lt;/jk&gt; if this isn't a bean property being serialized.<a name="line.204"></a>
 <span class="sourceLineNo">205</span>    * @param pMeta The bean property metadata.<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    *<a name="line.206"></a>
-<span class="sourceLineNo">207</span>    * @return The same writer passed in.<a name="line.207"></a>
-<span class="sourceLineNo">208</span>    * @throws Exception<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    */<a name="line.209"></a>
-<span class="sourceLineNo">210</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.210"></a>
-<span class="sourceLineNo">211</span>   protected SerializerWriter serializeAnything(UonSerializerSession session, UonWriter out, Object o, ClassMeta&lt;?&gt; eType,<a name="line.211"></a>
-<span class="sourceLineNo">212</span>         String attrName, BeanPropertyMeta pMeta) throws Exception {<a name="line.212"></a>
-<span class="sourceLineNo">213</span><a name="line.213"></a>
-<span class="sourceLineNo">214</span>      if (o == null) {<a name="line.214"></a>
-<span class="sourceLineNo">215</span>         out.appendObject(null, false);<a name="line.215"></a>
-<span class="sourceLineNo">216</span>         return out;<a name="line.216"></a>
-<span class="sourceLineNo">217</span>      }<a name="line.217"></a>
-<span class="sourceLineNo">218</span><a name="line.218"></a>
-<span class="sourceLineNo">219</span>      if (eType == null)<a name="line.219"></a>
-<span class="sourceLineNo">220</span>         eType = object();<a name="line.220"></a>
-<span class="sourceLineNo">221</span><a name="line.221"></a>
-<span class="sourceLineNo">222</span>      ClassMeta&lt;?&gt; aType;        // The actual type<a name="line.222"></a>
-<span class="sourceLineNo">223</span>      ClassMeta&lt;?&gt; sType;        // The serialized type<a name="line.223"></a>
-<span class="sourceLineNo">224</span><a name="line.224"></a>
-<span class="sourceLineNo">225</span>      aType = session.push(attrName, o, eType);<a name="line.225"></a>
-<span class="sourceLineNo">226</span>      boolean isRecursion = aType == null;<a name="line.226"></a>
-<span class="sourceLineNo">227</span><a name="line.227"></a>
-<span class="sourceLineNo">228</span>      // Handle recursion<a name="line.228"></a>
-<span class="sourceLineNo">229</span>      if (aType == null) {<a name="line.229"></a>
-<span class="sourceLineNo">230</span>         o = null;<a name="line.230"></a>
-<span class="sourceLineNo">231</span>         aType = object();<a name="line.231"></a>
-<span class="sourceLineNo">232</span>      }<a name="line.232"></a>
-<span class="sourceLineNo">233</span><a name="line.233"></a>
-<span class="sourceLineNo">234</span>      sType = aType.getSerializedClassMeta();<a name="line.234"></a>
-<span class="sourceLineNo">235</span>      String typeName = session.getBeanTypeName(eType, aType, pMeta);<a name="line.235"></a>
-<span class="sourceLineNo">236</span><a name="line.236"></a>
-<span class="sourceLineNo">237</span>      // Swap if necessary<a name="line.237"></a>
-<span class="sourceLineNo">238</span>      PojoSwap swap = aType.getPojoSwap();<a name="line.238"></a>
-<span class="sourceLineNo">239</span>      if (swap != null) {<a name="line.239"></a>
-<span class="sourceLineNo">240</span>         o = swap.swap(session, o);<a name="line.240"></a>
-<span class="sourceLineNo">241</span><a name="line.241"></a>
-<span class="sourceLineNo">242</span>         // If the getSwapClass() method returns Object, we need to figure out<a name="line.242"></a>
-<span class="sourceLineNo">243</span>         // the actual type now.<a name="line.243"></a>
-<span class="sourceLineNo">244</span>         if (sType.isObject())<a name="line.244"></a>
-<span class="sourceLineNo">245</span>            sType = session.getClassMetaForObject(o);<a name="line.245"></a>
-<span class="sourceLineNo">246</span>      }<a name="line.246"></a>
-<span class="sourceLineNo">247</span><a name="line.247"></a>
-<span class="sourceLineNo">248</span>      // '\0' characters are considered null.<a name="line.248"></a>
-<span class="sourceLineNo">249</span>      if (o == null || (sType.isChar() &amp;&amp; ((Character)o).charValue() == 0))<a name="line.249"></a>
-<span class="sourceLineNo">250</span>         out.appendObject(null, false);<a name="line.250"></a>
-<span class="sourceLineNo">251</span>      else if (sType.isBoolean())<a name="line.251"></a>
-<span class="sourceLineNo">252</span>         out.appendBoolean(o);<a name="line.252"></a>
-<span class="sourceLineNo">253</span>      else if (sType.isNumber())<a name="line.253"></a>
-<span class="sourceLineNo">254</span>         out.appendNumber(o);<a name="line.254"></a>
-<span class="sourceLineNo">255</span>      else if (sType.isBean())<a name="line.255"></a>
-<span class="sourceLineNo">256</span>         serializeBeanMap(session, out, session.toBeanMap(o), typeName);<a name="line.256"></a>
-<span class="sourceLineNo">257</span>      else if (sType.isUri() || (pMeta != null &amp;&amp; pMeta.isUri()))<a name="line.257"></a>
-<span class="sourceLineNo">258</span>         out.appendUri(o);<a name="line.258"></a>
-<span class="sourceLineNo">259</span>      else if (sType.isMap()) {<a name="line.259"></a>
-<span class="sourceLineNo">260</span>         if (o instanceof BeanMap)<a name="line.260"></a>
-<span class="sourceLineNo">261</span>            serializeBeanMap(session, out, (BeanMap)o, typeName);<a name="line.261"></a>
-<span class="sourceLineNo">262</span>         else<a name="line.262"></a>
-<span class="sourceLineNo">263</span>            serializeMap(session, out, (Map)o, eType);<a name="line.263"></a>
-<span class="sourceLineNo">264</span>      }<a name="line.264"></a>
-<span class="sourceLineNo">265</span>      else if (sType.isCollection()) {<a name="line.265"></a>
-<span class="sourceLineNo">266</span>         serializeCollection(session, out, (Collection) o, eType);<a name="line.266"></a>
-<span class="sourceLineNo">267</span>      }<a name="line.267"></a>
-<span class="sourceLineNo">268</span>      else if (sType.isArray()) {<a name="line.268"></a>
-<span class="sourceLineNo">269</span>         serializeCollection(session, out, toList(sType.getInnerClass(), o), eType);<a name="line.269"></a>
-<span class="sourceLineNo">270</span>      }<a name="line.270"></a>
-<span class="sourceLineNo">271</span>      else {<a name="line.271"></a>
-<span class="sourceLineNo">272</span>         out.appendObject(o, false);<a name="line.272"></a>
-<span class="sourceLineNo">273</span>      }<a name="line.273"></a>
-<span class="sourceLineNo">274</span><a name="line.274"></a>
-<span class="sourceLineNo">275</span>      if (! isRecursion)<a name="line.275"></a>
-<span class="sourceLineNo">276</span>         session.pop();<a name="line.276"></a>
-<span class="sourceLineNo">277</span>      return out;<a name="line.277"></a>
-<span class="sourceLineNo">278</span>   }<a name="line.278"></a>
-<span class="sourceLineNo">279</span><a name="line.279"></a>
-<span class="sourceLineNo">280</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.280"></a>
-<span class="sourceLineNo">281</span>   private SerializerWriter serializeMap(UonSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.281"></a>
-<span class="sourceLineNo">282</span><a name="line.282"></a>
-<span class="sourceLineNo">283</span>      m = session.sort(m);<a name="line.283"></a>
-<span class="sourceLineNo">284</span><a name="line.284"></a>
-<span class="sourceLineNo">285</span>      ClassMeta&lt;?&gt; keyType = type.getKeyType(), valueType = type.getValueType();<a name="line.285"></a>
-<span class="sourceLineNo">286</span><a name="line.286"></a>
-<span class="sourceLineNo">287</span>      int depth = session.getIndent();<a name="line.287"></a>
-<span class="sourceLineNo">288</span>      out.append('(');<a name="line.288"></a>
-<span class="sourceLineNo">289</span><a name="line.289"></a>
-<span class="sourceLineNo">290</span>      Iterator mapEntries = m.entrySet().iterator();<a name="line.290"></a>
-<span class="sourceLineNo">291</span><a name="line.291"></a>
-<span class="sourceLineNo">292</span>      while (mapEntries.hasNext()) {<a name="line.292"></a>
-<span class="sourceLineNo">293</span>         Map.Entry e = (Map.Entry) mapEntries.next();<a name="line.293"></a>
-<span class="sourceLineNo">294</span>         Object value = e.getValue();<a name="line.294"></a>
-<span class="sourceLineNo">295</span>         Object key = session.generalize(e.getKey(), keyType);<a name="line.295"></a>
-<span class="sourceLineNo">296</span>         out.cr(depth).appendObject(key, false).append('=');<a name="line.296"></a>
-<span class="sourceLineNo">297</span>         serializeAnything(session, out, value, valueType, (key == null ? null : session.toString(key)), null);<a name="line.297"></a>
-<span class="sourceLineNo">298</span>         if (mapEntries.hasNext())<a name="line.298"></a>
-<span class="sourceLineNo">299</span>            out.append(',');<a name="line.299"></a>
-<span class="sourceLineNo">300</span>      }<a name="line.300"></a>
-<span class="sourceLineNo">301</span><a name="line.301"></a>
-<span class="sourceLineNo">302</span>      if (m.size() &gt; 0)<a name="line.302"></a>
-<span class="sourceLineNo">303</span>         out.cr(depth-1);<a name="line.303"></a>
-<span class="sourceLineNo">304</span>      out.append(')');<a name="line.304"></a>
-<span class="sourceLineNo">305</span><a name="line.305"></a>
-<span class="sourceLineNo">306</span>      return out;<a name="line.306"></a>
-<span class="sourceLineNo">307</span>   }<a name="line.307"></a>
-<span class="sourceLineNo">308</span><a name="line.308"></a>
-<span class="sourceLineNo">309</span>   private SerializerWriter serializeBeanMap(UonSerializerSession session, UonWriter out, BeanMap&lt;?&gt; m, String typeName) throws Exception {<a name="line.309"></a>
-<span class="sourceLineNo">310</span>      int depth = session.getIndent();<a name="line.310"></a>
-<span class="sourceLineNo">311</span><a name="line.311"></a>
-<span class="sourceLineNo">312</span>      out.append('(');<a name="line.312"></a>
-<span class="sourceLineNo">313</span><a name="line.313"></a>
-<span class="sourceLineNo">314</span>      boolean addComma = false;<a name="line.314"></a>
-<span class="sourceLineNo">315</span><a name="line.315"></a>
-<span class="sourceLineNo">316</span>      for (BeanPropertyValue p : m.getValues(session.isTrimNulls(), typeName != null ? session.createBeanTypeNameProperty(m, typeName) : null)) {<a name="line.316"></a>
-<span class="sourceLineNo">317</span>         BeanPropertyMeta pMeta = p.getMeta();<a name="line.317"></a>
-<span class="sourceLineNo">318</span>         ClassMeta&lt;?&gt; cMeta = p.getClassMeta();<a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span>         String key = p.getName();<a name="line.320"></a>
-<span class="sourceLineNo">321</span>         Object value = p.getValue();<a name="line.321"></a>
-<span class="sourceLineNo">322</span>         Throwable t = p.getThrown();<a name="line.322"></a>
-<span class="sourceLineNo">323</span>         if (t != null)<a name="line.323"></a>
-<span class="sourceLineNo">324</span>            session.addBeanGetterWarning(pMeta, t);<a name="line.324"></a>
-<span class="sourceLineNo">325</span><a name="line.325"></a>
-<span class="sourceLineNo">326</span>         if (session.canIgnoreValue(cMeta, key, value))<a name="line.326"></a>
-<span class="sourceLineNo">327</span>            continue;<a name="line.327"></a>
-<span class="sourceLineNo">328</span><a name="line.328"></a>
-<span class="sourceLineNo">329</span>         if (addComma)<a name="line.329"></a>
-<span class="sourceLineNo">330</span>            out.append(',');<a name="line.330"></a>
-<span class="sourceLineNo">331</span><a name="line.331"></a>
-<span class="sourceLineNo">332</span>         out.cr(depth).appendObject(key, false).append('=');<a name="line.332"></a>
-<span class="sourceLineNo">333</span><a name="line.333"></a>
-<span class="sourceLineNo">334</span>         serializeAnything(session, out, value, cMeta, key, pMeta);<a name="line.334"></a>
-<span class="sourceLineNo">335</span><a name="line.335"></a>
-<span class="sourceLineNo">336</span>         addComma = true;<a name="line.336"></a>
-<span class="sourceLineNo">337</span>      }<a name="line.337"></a>
-<span class="sourceLineNo">338</span><a name="line.338"></a>
-<span class="sourceLineNo">339</span>      if (m.size() &gt; 0)<a name="line.339"></a>
-<span class="sourceLineNo">340</span>         out.cr(depth-1);<a name="line.340"></a>
-<span class="sourceLineNo">341</span>      out.append(')');<a name="line.341"></a>
-<span class="sourceLineNo">342</span><a name="line.342"></a>
-<span class="sourceLineNo">343</span>      return out;<a name="line.343"></a>
-<span class="sourceLineNo">344</span>   }<a name="line.344"></a>
-<span class="sourceLineNo">345</span><a name="line.345"></a>
-<span class="sourceLineNo">346</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.346"></a>
-<span class="sourceLineNo">347</span>   private SerializerWriter serializeCollection(UonSerializerSession session, UonWriter out, Collection c, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.347"></a>
-<span class="sourceLineNo">348</span><a name="line.348"></a>
-<span class="sourceLineNo">349</span>      ClassMeta&lt;?&gt; elementType = type.getElementType();<a name="line.349"></a>
-<span class="sourceLineNo">350</span><a name="line.350"></a>
-<span class="sourceLineNo">351</span>      c = session.sort(c);<a name="line.351"></a>
-<span class="sourceLineNo">352</span><a name="line.352"></a>
-<span class="sourceLineNo">353</span>      out.append('@').append('(');<a name="line.353"></a>
-<span class="sourceLineNo">354</span><a name="line.354"></a>
-<span class="sourceLineNo">355</span>      int depth = session.getIndent();<a name="line.355"></a>
-<span class="sourceLineNo">356</span><a name="line.356"></a>
-<span class="sourceLineNo">357</span>      for (Iterator i = c.iterator(); i.hasNext();) {<a name="line.357"></a>
-<span class="sourceLineNo">358</span>         out.cr(depth);<a name="line.358"></a>
-<span class="sourceLineNo">359</span>         serializeAnything(session, out, i.next(), elementType, "&lt;iterator&gt;", null);<a name="line.359"></a>
-<span class="sourceLineNo">360</span>         if (i.hasNext())<a name="line.360"></a>
-<span class="sourceLineNo">361</span>            out.append(',');<a name="line.361"></a>
-<span class="sourceLineNo">362</span>      }<a name="line.362"></a>
-<span class="sourceLineNo">363</span><a name="line.363"></a>
-<span class="sourceLineNo">364</span>      if (c.size() &gt; 0)<a name="line.364"></a>
-<span class="sourceLineNo">365</span>         out.cr(depth-1);<a name="line.365"></a>
-<span class="sourceLineNo">366</span>      out.append(')');<a name="line.366"></a>
-<span class="sourceLineNo">367</span><a name="line.367"></a>
-<span class="sourceLineNo">368</span>      return out;<a name="line.368"></a>
-<span class="sourceLineNo">369</span>   }<a name="line.369"></a>
-<span class="sourceLineNo">370</span><a name="line.370"></a>
+<span class="sourceLineNo">206</span>    * @param plainTextParams &lt;jk&gt;true&lt;/jk&gt; if this is a top level parameter key or value and paramFormat is PLAINTEXT.<a name="line.206"></a>
+<span class="sourceLineNo">207</span>    *<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    * @return The same writer passed in.<a name="line.208"></a>
+<span class="sourceLineNo">209</span>    * @throws Exception<a name="line.209"></a>
+<span class="sourceLineNo">210</span>    */<a name="line.210"></a>
+<span class="sourceLineNo">211</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.211"></a>
+<span class="sourceLineNo">212</span>   protected SerializerWriter serializeAnything(UonSerializerSession session, UonWriter out, Object o, ClassMeta&lt;?&gt; eType,<a name="line.212"></a>
+<span class="sourceLineNo">213</span>         String attrName, BeanPropertyMeta pMeta, boolean plainTextParams) throws Exception {<a name="line.213"></a>
+<span class="sourceLineNo">214</span><a name="line.214"></a>
+<span class="sourceLineNo">215</span>      if (o == null) {<a name="line.215"></a>
+<span class="sourceLineNo">216</span>         out.appendObject(null, false, plainTextParams);<a name="line.216"></a>
+<span class="sourceLineNo">217</span>         return out;<a name="line.217"></a>
+<span class="sourceLineNo">218</span>      }<a name="line.218"></a>
+<span class="sourceLineNo">219</span><a name="line.219"></a>
+<span class="sourceLineNo">220</span>      if (eType == null)<a name="line.220"></a>
+<span class="sourceLineNo">221</span>         eType = object();<a name="line.221"></a>
+<span class="sourceLineNo">222</span><a name="line.222"></a>
+<span class="sourceLineNo">223</span>      ClassMeta&lt;?&gt; aType;        // The actual type<a name="line.223"></a>
+<span class="sourceLineNo">224</span>      ClassMeta&lt;?&gt; sType;        // The serialized type<a name="line.224"></a>
+<span class="sourceLineNo">225</span><a name="line.225"></a>
+<span class="sourceLineNo">226</span>      aType = session.push(attrName, o, eType);<a name="line.226"></a>
+<span class="sourceLineNo">227</span>      boolean isRecursion = aType == null;<a name="line.227"></a>
+<span class="sourceLineNo">228</span><a name="line.228"></a>
+<span class="sourceLineNo">229</span>      // Handle recursion<a name="line.229"></a>
+<span class="sourceLineNo">230</span>      if (aType == null) {<a name="line.230"></a>
+<span class="sourceLineNo">231</span>         o = null;<a name="line.231"></a>
+<span class="sourceLineNo">232</span>         aType = object();<a name="line.232"></a>
+<span class="sourceLineNo">233</span>      }<a name="line.233"></a>
+<span class="sourceLineNo">234</span><a name="line.234"></a>
+<span class="sourceLineNo">235</span>      sType = aType.getSerializedClassMeta();<a name="line.235"></a>
+<span class="sourceLineNo">236</span>      String typeName = session.getBeanTypeName(eType, aType, pMeta);<a name="line.236"></a>
+<span class="sourceLineNo">237</span><a name="line.237"></a>
+<span class="sourceLineNo">238</span>      // Swap if necessary<a name="line.238"></a>
+<span class="sourceLineNo">239</span>      PojoSwap swap = aType.getPojoSwap();<a name="line.239"></a>
+<span class="sourceLineNo">240</span>      if (swap != null) {<a name="line.240"></a>
+<span class="sourceLineNo">241</span>         o = swap.swap(session, o);<a name="line.241"></a>
+<span class="sourceLineNo">242</span><a name="line.242"></a>
+<span class="sourceLineNo">243</span>         // If the getSwapClass() method returns Object, we need to figure out<a name="line.243"></a>
+<span class="sourceLineNo">244</span>         // the actual type now.<a name="line.244"></a>
+<span class="sourceLineNo">245</span>         if (sType.isObject())<a name="line.245"></a>
+<span class="sourceLineNo">246</span>            sType = session.getClassMetaForObject(o);<a name="line.246"></a>
+<span class="sourceLineNo">247</span>      }<a name="line.247"></a>
+<span class="sourceLineNo">248</span><a name="line.248"></a>
+<span class="sourceLineNo">249</span>      // '\0' characters are considered null.<a name="line.249"></a>
+<span class="sourceLineNo">250</span>      if (o == null || (sType.isChar() &amp;&amp; ((Character)o).charValue() == 0))<a name="line.250"></a>
+<span class="sourceLineNo">251</span>         out.appendObject(null, false, plainTextParams);<a name="line.251"></a>
+<span class="sourceLineNo">252</span>      else if (sType.isBoolean())<a name="line.252"></a>
+<span class="sourceLineNo">253</span>         out.appendBoolean(o);<a name="line.253"></a>
+<span class="sourceLineNo">254</span>      else if (sType.isNumber())<a name="line.254"></a>
+<span class="sourceLineNo">255</span>         out.appendNumber(o);<a name="line.255"></a>
+<span class="sourceLineNo">256</span>      else if (sType.isBean())<a name="line.256"></a>
+<span class="sourceLineNo">257</span>         serializeBeanMap(session, out, session.toBeanMap(o), typeName);<a name="line.257"></a>
+<span class="sourceLineNo">258</span>      else if (sType.isUri() || (pMeta != null &amp;&amp; pMeta.isUri()))<a name="line.258"></a>
+<span class="sourceLineNo">259</span>         out.appendUri(o);<a name="line.259"></a>
+<span class="sourceLineNo">260</span>      else if (sType.isMap()) {<a name="line.260"></a>
+<span class="sourceLineNo">261</span>         if (o instanceof BeanMap)<a name="line.261"></a>
+<span class="sourceLineNo">262</span>            serializeBeanMap(session, out, (BeanMap)o, typeName);<a name="line.262"></a>
+<span class="sourceLineNo">263</span>         else<a name="line.263"></a>
+<span class="sourceLineNo">264</span>            serializeMap(session, out, (Map)o, eType);<a name="line.264"></a>
+<span class="sourceLineNo">265</span>      }<a name="line.265"></a>
+<span class="sourceLineNo">266</span>      else if (sType.isCollection()) {<a name="line.266"></a>
+<span class="sourceLineNo">267</span>         serializeCollection(session, out, (Collection) o, eType);<a name="line.267"></a>
+<span class="sourceLineNo">268</span>      }<a name="line.268"></a>
+<span class="sourceLineNo">269</span>      else if (sType.isArray()) {<a name="line.269"></a>
+<span class="sourceLineNo">270</span>         serializeCollection(session, out, toList(sType.getInnerClass(), o), eType);<a name="line.270"></a>
+<span class="sourceLineNo">271</span>      }<a name="line.271"></a>
+<span class="sourceLineNo">272</span>      else {<a name="line.272"></a>
+<span class="sourceLineNo">273</span>         out.appendObject(o, false, plainTextParams);<a name="line.273"></a>
+<span class="sourceLineNo">274</span>      }<a name="line.274"></a>
+<span class="sourceLineNo">275</span><a name="line.275"></a>
+<span class="sourceLineNo">276</span>      if (! isRecursion)<a name="line.276"></a>
+<span class="sourceLineNo">277</span>         session.pop();<a name="line.277"></a>
+<span class="sourceLineNo">278</span>      return out;<a name="line.278"></a>
+<span class="sourceLineNo">279</span>   }<a name="line.279"></a>
+<span class="sourceLineNo">280</span><a name="line.280"></a>
+<span class="sourceLineNo">281</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.281"></a>
+<span class="sourceLineNo">282</span>   private SerializerWriter serializeMap(UonSerializerSession session, UonWriter out, Map m, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.282"></a>
+<span class="sourceLineNo">283</span><a name="line.283"></a>
+<span class="sourceLineNo">284</span>      m = session.sort(m);<a name="line.284"></a>
+<span class="sourceLineNo">285</span><a name="line.285"></a>
+<span class="sourceLineNo">286</span>      ClassMeta&lt;?&gt; keyType = type.getKeyType(), valueType = type.getValueType();<a name="line.286"></a>
+<span class="sourceLineNo">287</span><a name="line.287"></a>
+<span class="sourceLineNo">288</span>      int depth = session.getIndent();<a name="line.288"></a>
+<span class="sourceLineNo">289</span>      out.append('(');<a name="line.289"></a>
+<span class="sourceLineNo">290</span><a name="line.290"></a>
+<span class="sourceLineNo">291</span>      Iterator mapEntries = m.entrySet().iterator();<a name="line.291"></a>
+<span class="sourceLineNo">292</span><a name="line.292"></a>
+<span class="sourceLineNo">293</span>      while (mapEntries.hasNext()) {<a name="line.293"></a>
+<span class="sourceLineNo">294</span>         Map.Entry e = (Map.Entry) mapEntries.next();<a name="line.294"></a>
+<span class="sourceLineNo">295</span>         Object value = e.getValue();<a name="line.295"></a>
+<span class="sourceLineNo">296</span>         Object key = session.generalize(e.getKey(), keyType);<a name="line.296"></a>
+<span class="sourceLineNo">297</span>         out.cr(depth).appendObject(key, false, false).append('=');<a name="line.297"></a>
+<span class="sourceLineNo">298</span>         serializeAnything(session, out, value, valueType, (key == null ? null : session.toString(key)), null, false);<a name="line.298"></a>
+<span class="sourceLineNo">299</span>         if (mapEntries.hasNext())<a name="line.299"></a>
+<span class="sourceLineNo">300</span>            out.append(',');<a name="line.300"></a>
+<span class="sourceLineNo">301</span>      }<a name="line.301"></a>
+<span class="sourceLineNo">302</span><a name="line.302"></a>
+<span class="sourceLineNo">303</span>      if (m.size() &gt; 0)<a name="line.303"></a>
+<span class="sourceLineNo">304</span>         out.cr(depth-1);<a name="line.304"></a>
+<span class="sourceLineNo">305</span>      out.append(')');<a name="line.305"></a>
+<span class="sourceLineNo">306</span><a name="line.306"></a>
+<span class="sourceLineNo">307</span>      return out;<a name="line.307"></a>
+<span class="sourceLineNo">308</span>   }<a name="line.308"></a>
+<span class="sourceLineNo">309</span><a name="line.309"></a>
+<span class="sourceLineNo">310</span>   private SerializerWriter serializeBeanMap(UonSerializerSession session, UonWriter out, BeanMap&lt;?&gt; m, String typeName) throws Exception {<a name="line.310"></a>
+<span class="sourceLineNo">311</span>      int depth = session.getIndent();<a name="line.311"></a>
+<span class="sourceLineNo">312</span><a name="line.312"></a>
+<span class="sourceLineNo">313</span>      out.append('(');<a name="line.313"></a>
+<span class="sourceLineNo">314</span><a name="line.314"></a>
+<span class="sourceLineNo">315</span>      boolean addComma = false;<a name="line.315"></a>
+<span class="sourceLineNo">316</span><a name="line.316"></a>
+<span class="sourceLineNo">317</span>      for (BeanPropertyValue p : m.getValues(session.isTrimNulls(), typeName != null ? session.createBeanTypeNameProperty(m, typeName) : null)) {<a name="line.317"></a>
+<span class="sourceLineNo">318</span>         BeanPropertyMeta pMeta = p.getMeta();<a name="line.318"></a>
+<span class="sourceLineNo">319</span>         ClassMeta&lt;?&gt; cMeta = p.getClassMeta();<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span>         String key = p.getName();<a name="line.321"></a>
+<span class="sourceLineNo">322</span>         Object value = p.getValue();<a name="line.322"></a>
+<span class="sourceLineNo">323</span>         Throwable t = p.getThrown();<a name="line.323"></a>
+<span class="sourceLineNo">324</span>         if (t != null)<a name="line.324"></a>
+<span class="sourceLineNo">325</span>            session.addBeanGetterWarning(pMeta, t);<a name="line.325"></a>
+<span class="sourceLineNo">326</span><a name="line.326"></a>
+<span class="sourceLineNo">327</span>         if (session.canIgnoreValue(cMeta, key, value))<a name="line.327"></a>
+<span class="sourceLineNo">328</span>            continue;<a name="line.328"></a>
+<span class="sourceLineNo">329</span><a name="line.329"></a>
+<span class="sourceLineNo">330</span>         if (addComma)<a name="line.330"></a>
+<span class="sourceLineNo">331</span>            out.append(',');<a name="line.331"></a>
+<span class="sourceLineNo">332</span><a name="line.332"></a>
+<span class="sourceLineNo">333</span>         out.cr(depth).appendObject(key, false, false).append('=');<a name="line.333"></a>
+<span class="sourceLineNo">334</span><a name="line.334"></a>
+<span class="sourceLineNo">335</span>         serializeAnything(session, out, value, cMeta, key, pMeta, false);<a name="line.335"></a>
+<span class="sourceLineNo">336</span><a name="line.336"></a>
+<span class="sourceLineNo">337</span>         addComma = true;<a name="line.337"></a>
+<span class="sourceLineNo">338</span>      }<a name="line.338"></a>
+<span class="sourceLineNo">339</span><a name="line.339"></a>
+<span class="sourceLineNo">340</span>      if (m.size() &gt; 0)<a name="line.340"></a>
+<span class="sourceLineNo">341</span>         out.cr(depth-1);<a name="line.341"></a>
+<span class="sourceLineNo">342</span>      out.append(')');<a name="line.342"></a>
+<span class="sourceLineNo">343</span><a name="line.343"></a>
+<span class="sourceLineNo">344</span>      return out;<a name="line.344"></a>
+<span class="sourceLineNo">345</span>   }<a name="line.345"></a>
+<span class="sourceLineNo">346</span><a name="line.346"></a>
+<span class="sourceLineNo">347</span>   @SuppressWarnings({ "rawtypes", "unchecked" })<a name="line.347"></a>
+<span class="sourceLineNo">348</span>   private SerializerWriter serializeCollection(UonSerializerSession session, UonWriter out, Collection c, ClassMeta&lt;?&gt; type) throws Exception {<a name="line.348"></a>
+<span class="sourceLineNo">349</span><a name="line.349"></a>
+<span class="sourceLineNo">350</span>      ClassMeta&lt;?&gt; elementType = type.getElementType();<a name="line.350"></a>
+<span class="sourceLineNo">351</span><a name="line.351"></a>
+<span class="sourceLineNo">352</span>      c = session.sort(c);<a name="line.352"></a>
+<span class="sourceLineNo">353</span><a name="line.353"></a>
+<span class="sourceLineNo">354</span>      out.append('@').append('(');<a name="line.354"></a>
+<span class="sourceLineNo">355</span><a name="line.355"></a>
+<span class="sourceLineNo">356</span>      int depth = session.getIndent();<a name="line.356"></a>
+<span class="sourceLineNo">357</span><a name="line.357"></a>
+<span class="sourceLineNo">358</span>      for (Iterator i = c.iterator(); i.hasNext();) {<a name="line.358"></a>
+<span class="sourceLineNo">359</span>         out.cr(depth);<a name="line.359"></a>
+<span class="sourceLineNo">360</span>         serializeAnything(session, out, i.next(), elementType, "&lt;iterator&gt;", null, false);<a name="line.360"></a>
+<span class="sourceLineNo">361</span>         if (i.hasNext())<a name="line.361"></a>
+<span class="sourceLineNo">362</span>            out.append(',');<a name="line.362"></a>
+<span class="sourceLineNo">363</span>      }<a name="line.363"></a>
+<span class="sourceLineNo">364</span><a name="line.364"></a>
+<span class="sourceLineNo">365</span>      if (c.size() &gt; 0)<a name="line.365"></a>
+<span class="sourceLineNo">366</span>         out.cr(depth-1);<a name="line.366"></a>
+<span class="sourceLineNo">367</span>      out.append(')');<a name="line.367"></a>
+<span class="sourceLineNo">368</span><a name="line.368"></a>
+<span class="sourceLineNo">369</span>      return out;<a name="line.369"></a>
+<span class="sourceLineNo">370</span>   }<a name="line.370"></a>
 <span class="sourceLineNo">371</span><a name="line.371"></a>
-<span class="sourceLineNo">372</span>   //--------------------------------------------------------------------------------<a name="line.372"></a>
-<span class="sourceLineNo">373</span>   // Entry point methods<a name="line.373"></a>
-<span class="sourceLineNo">374</span>   //--------------------------------------------------------------------------------<a name="line.374"></a>
-<span class="sourceLineNo">375</span><a name="line.375"></a>
-<span class="sourceLineNo">376</span>   @Override /* Serializer */<a name="line.376"></a>
-<span class="sourceLineNo">377</span>   public UonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.377"></a>
-<span class="sourceLineNo">378</span>      return new UonSerializerSession(ctx, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.378"></a>
-<span class="sourceLineNo">379</span>   }<a name="line.379"></a>
-<span class="sourceLineNo">380</span><a name="line.380"></a>
-<span class="sourceLineNo">381</span>   @Override /* Serializer */<a name="line.381"></a>
-<span class="sourceLineNo">382</span>   protected void doSerialize(SerializerSession session, Object o) throws Exception {<a name="line.382"></a>
-<span class="sourceLineNo">383</span>      UonSerializerSession s = (UonSerializerSession)session;<a name="line.383"></a>
-<span class="sourceLineNo">384</span>      serializeAnything(s, s.getWriter(), o, s.getExpectedRootType(o), "root", null);<a name="line.384"></a>
-<span class="sourceLineNo">385</span>   }<a name="line.385"></a>
-<span class="sourceLineNo">386</span>}<a name="line.386"></a>
+<span class="sourceLineNo">372</span><a name="line.372"></a>
+<span class="sourceLineNo">373</span>   //--------------------------------------------------------------------------------<a name="line.373"></a>
+<span class="sourceLineNo">374</span>   // Entry point methods<a name="line.374"></a>
+<span class="sourceLineNo">375</span>   //--------------------------------------------------------------------------------<a name="line.375"></a>
+<span class="sourceLineNo">376</span><a name="line.376"></a>
+<span class="sourceLineNo">377</span>   @Override /* Serializer */<a name="line.377"></a>
+<span class="sourceLineNo">378</span>   public UonSerializerSession createSession(Object output, ObjectMap op, Method javaMethod, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.378"></a>
+<span class="sourceLineNo">379</span>      return new UonSerializerSession(ctx, null, op, output, javaMethod, locale, timeZone, mediaType);<a name="line.379"></a>
+<span class="sourceLineNo">380</span>   }<a name="line.380"></a>
+<span class="sourceLineNo">381</span><a name="line.381"></a>
+<span class="sourceLineNo">382</span>   @Override /* Serializer */<a name="line.382"></a>
+<span class="sourceLineNo">383</span>   protected void doSerialize(SerializerSession session, Object o) throws Exception {<a name="line.383"></a>
+<span class="sourceLineNo">384</span>      UonSerializerSession s = (UonSerializerSession)session;<a name="line.384"></a>
+<span class="sourceLineNo">385</span>      serializeAnything(s, s.getWriter(), o, s.getExpectedRootType(o), "root", null, false);<a name="line.385"></a>
+<span class="sourceLineNo">386</span>   }<a name="line.386"></a>
+<span class="sourceLineNo">387</span>}<a name="line.387"></a>
 
 
 


[05/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/uon/UonWriter.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/uon/UonWriter.html b/content/site/apidocs/src-html/org/apache/juneau/uon/UonWriter.html
index e8ea012..4c30f4e 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/uon/UonWriter.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/uon/UonWriter.html
@@ -48,245 +48,229 @@
 <span class="sourceLineNo">040</span>   // Characters that need to be preceeded with an escape character.<a name="line.40"></a>
 <span class="sourceLineNo">041</span>   private static final AsciiSet escapedChars = new AsciiSet("~'");<a name="line.41"></a>
 <span class="sourceLineNo">042</span><a name="line.42"></a>
-<span class="sourceLineNo">043</span>   private static final AsciiSet needsQuoteChars = new AsciiSet("),=\n\t\r\b\f ");<a name="line.43"></a>
+<span class="sourceLineNo">043</span>   private static final AsciiSet noChars = new AsciiSet("");<a name="line.43"></a>
 <span class="sourceLineNo">044</span><a name="line.44"></a>
-<span class="sourceLineNo">045</span>   private static final AsciiSet maybeNeedsQuotesFirstChar = new AsciiSet("),=\n\t\r\b\f tfn+-.#0123456789");<a name="line.45"></a>
+<span class="sourceLineNo">045</span>   private static char[] hexArray = "0123456789ABCDEF".toCharArray();<a name="line.45"></a>
 <span class="sourceLineNo">046</span><a name="line.46"></a>
-<span class="sourceLineNo">047</span>   private static char[] hexArray = "0123456789ABCDEF".toCharArray();<a name="line.47"></a>
-<span class="sourceLineNo">048</span><a name="line.48"></a>
-<span class="sourceLineNo">049</span>   /**<a name="line.49"></a>
-<span class="sourceLineNo">050</span>    * Constructor.<a name="line.50"></a>
-<span class="sourceLineNo">051</span>    *<a name="line.51"></a>
-<span class="sourceLineNo">052</span>    * @param session The session that created this writer.<a name="line.52"></a>
-<span class="sourceLineNo">053</span>    * @param out The writer being wrapped.<a name="line.53"></a>
-<span class="sourceLineNo">054</span>    * @param useWhitespace If &lt;jk&gt;true&lt;/jk&gt;, tabs will be used in output.<a name="line.54"></a>
-<span class="sourceLineNo">055</span>    * @param encodeChars If &lt;jk&gt;true&lt;/jk&gt;, special characters should be encoded.<a name="line.55"></a>
-<span class="sourceLineNo">056</span>    * @param trimStrings If &lt;jk&gt;true&lt;/jk&gt;, strings should be trimmed before they're serialized.<a name="line.56"></a>
-<span class="sourceLineNo">057</span>    * @param relativeUriBase The base (e.g. &lt;js&gt;https://localhost:9443/contextPath"&lt;/js&gt;) for relative URIs (e.g. &lt;js&gt;"my/path"&lt;/js&gt;).<a name="line.57"></a>
-<span class="sourceLineNo">058</span>    * @param absolutePathUriBase The base (e.g. &lt;js&gt;https://localhost:9443"&lt;/js&gt;) for relative URIs with absolute paths (e.g. &lt;js&gt;"/contextPath/my/path"&lt;/js&gt;).<a name="line.58"></a>
-<span class="sourceLineNo">059</span>    */<a name="line.59"></a>
-<span class="sourceLineNo">060</span>   protected UonWriter(UonSerializerSession session, Writer out, boolean useWhitespace, boolean encodeChars, boolean trimStrings, String relativeUriBase, String absolutePathUriBase) {<a name="line.60"></a>
-<span class="sourceLineNo">061</span>      super(out, useWhitespace, trimStrings, '\'', relativeUriBase, absolutePathUriBase);<a name="line.61"></a>
-<span class="sourceLineNo">062</span>      this.session = session;<a name="line.62"></a>
-<span class="sourceLineNo">063</span>      this.encodeChars = encodeChars;<a name="line.63"></a>
-<span class="sourceLineNo">064</span>   }<a name="line.64"></a>
-<span class="sourceLineNo">065</span><a name="line.65"></a>
-<span class="sourceLineNo">066</span>   /**<a name="line.66"></a>
-<span class="sourceLineNo">067</span>    * Serializes the specified simple object as a UON string value.<a name="line.67"></a>
-<span class="sourceLineNo">068</span>    *<a name="line.68"></a>
-<span class="sourceLineNo">069</span>    * @param o The object being serialized.<a name="line.69"></a>
-<span class="sourceLineNo">070</span>    * @param isTopAttrName If this is a top-level attribute name we're serializing.<a name="line.70"></a>
-<span class="sourceLineNo">071</span>    * @return This object (for method chaining).<a name="line.71"></a>
-<span class="sourceLineNo">072</span>    * @throws IOException Should never happen.<a name="line.72"></a>
-<span class="sourceLineNo">073</span>    */<a name="line.73"></a>
-<span class="sourceLineNo">074</span>   public final UonWriter appendObject(Object o, boolean isTopAttrName) throws IOException {<a name="line.74"></a>
-<span class="sourceLineNo">075</span><a name="line.75"></a>
-<span class="sourceLineNo">076</span>      if (o instanceof Boolean)<a name="line.76"></a>
-<span class="sourceLineNo">077</span>         return appendBoolean(o);<a name="line.77"></a>
-<span class="sourceLineNo">078</span>      if (o instanceof Number)<a name="line.78"></a>
-<span class="sourceLineNo">079</span>         return appendNumber(o);<a name="line.79"></a>
-<span class="sourceLineNo">080</span>      if (o == null)<a name="line.80"></a>
-<span class="sourceLineNo">081</span>         return append("null");<a name="line.81"></a>
-<span class="sourceLineNo">082</span><a name="line.82"></a>
-<span class="sourceLineNo">083</span>      String s = session.toString(o);<a name="line.83"></a>
-<span class="sourceLineNo">084</span>      char c0 = s.isEmpty() ? 0 : s.charAt(0);<a name="line.84"></a>
+<span class="sourceLineNo">047</span>   /**<a name="line.47"></a>
+<span class="sourceLineNo">048</span>    * Constructor.<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    *<a name="line.49"></a>
+<span class="sourceLineNo">050</span>    * @param session The session that created this writer.<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    * @param out The writer being wrapped.<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    * @param useWhitespace If &lt;jk&gt;true&lt;/jk&gt;, tabs will be used in output.<a name="line.52"></a>
+<span class="sourceLineNo">053</span>    * @param encodeChars If &lt;jk&gt;true&lt;/jk&gt;, special characters should be encoded.<a name="line.53"></a>
+<span class="sourceLineNo">054</span>    * @param trimStrings If &lt;jk&gt;true&lt;/jk&gt;, strings should be trimmed before they're serialized.<a name="line.54"></a>
+<span class="sourceLineNo">055</span>    * @param relativeUriBase The base (e.g. &lt;js&gt;https://localhost:9443/contextPath"&lt;/js&gt;) for relative URIs (e.g. &lt;js&gt;"my/path"&lt;/js&gt;).<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    * @param absolutePathUriBase The base (e.g. &lt;js&gt;https://localhost:9443"&lt;/js&gt;) for relative URIs with absolute paths (e.g. &lt;js&gt;"/contextPath/my/path"&lt;/js&gt;).<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    */<a name="line.57"></a>
+<span class="sourceLineNo">058</span>   protected UonWriter(UonSerializerSession session, Writer out, boolean useWhitespace, boolean encodeChars, boolean trimStrings, String relativeUriBase, String absolutePathUriBase) {<a name="line.58"></a>
+<span class="sourceLineNo">059</span>      super(out, useWhitespace, trimStrings, '\'', relativeUriBase, absolutePathUriBase);<a name="line.59"></a>
+<span class="sourceLineNo">060</span>      this.session = session;<a name="line.60"></a>
+<span class="sourceLineNo">061</span>      this.encodeChars = encodeChars;<a name="line.61"></a>
+<span class="sourceLineNo">062</span>   }<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span>   /**<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    * Serializes the specified simple object as a UON string value.<a name="line.65"></a>
+<span class="sourceLineNo">066</span>    *<a name="line.66"></a>
+<span class="sourceLineNo">067</span>    * @param o The object being serialized.<a name="line.67"></a>
+<span class="sourceLineNo">068</span>    * @param isTopAttrName If this is a top-level attribute name we're serializing.<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    * @param plainTextParams This is a top-level name or parameter we're serializing and the parameter format is PLAINTEXT.<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    * @return This object (for method chaining).<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    * @throws IOException Should never happen.<a name="line.71"></a>
+<span class="sourceLineNo">072</span>    */<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   public final UonWriter appendObject(Object o, boolean isTopAttrName, boolean plainTextParams) throws IOException {<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span>      if (o instanceof Boolean)<a name="line.75"></a>
+<span class="sourceLineNo">076</span>         return appendBoolean(o);<a name="line.76"></a>
+<span class="sourceLineNo">077</span>      if (o instanceof Number)<a name="line.77"></a>
+<span class="sourceLineNo">078</span>         return appendNumber(o);<a name="line.78"></a>
+<span class="sourceLineNo">079</span>      if (o == null)<a name="line.79"></a>
+<span class="sourceLineNo">080</span>         return append("null");<a name="line.80"></a>
+<span class="sourceLineNo">081</span><a name="line.81"></a>
+<span class="sourceLineNo">082</span>      String s = session.toString(o);<a name="line.82"></a>
+<span class="sourceLineNo">083</span><a name="line.83"></a>
+<span class="sourceLineNo">084</span>      boolean needsQuotes = (! plainTextParams) &amp;&amp; UonUtils.needsQuotes(s);<a name="line.84"></a>
 <span class="sourceLineNo">085</span><a name="line.85"></a>
-<span class="sourceLineNo">086</span>      boolean needsQuotes =<a name="line.86"></a>
-<span class="sourceLineNo">087</span>         s.isEmpty()<a name="line.87"></a>
-<span class="sourceLineNo">088</span>         || c0 == '@'<a name="line.88"></a>
-<span class="sourceLineNo">089</span>         || c0 == '('<a name="line.89"></a>
-<span class="sourceLineNo">090</span>         || needsQuoteChars.contains(s)<a name="line.90"></a>
-<span class="sourceLineNo">091</span>         || (<a name="line.91"></a>
-<span class="sourceLineNo">092</span>            maybeNeedsQuotesFirstChar.contains(c0)<a name="line.92"></a>
-<span class="sourceLineNo">093</span>            &amp;&amp; (<a name="line.93"></a>
-<span class="sourceLineNo">094</span>               "true".equals(s)<a name="line.94"></a>
-<span class="sourceLineNo">095</span>               || "false".equals(s)<a name="line.95"></a>
-<span class="sourceLineNo">096</span>               || "null".equals(s)<a name="line.96"></a>
-<span class="sourceLineNo">097</span>               || StringUtils.isNumeric(s)<a name="line.97"></a>
-<span class="sourceLineNo">098</span>            )<a name="line.98"></a>
-<span class="sourceLineNo">099</span>         )<a name="line.99"></a>
-<span class="sourceLineNo">100</span>      ;<a name="line.100"></a>
-<span class="sourceLineNo">101</span><a name="line.101"></a>
-<span class="sourceLineNo">102</span>      AsciiSet unenc = (isTopAttrName ? unencodedCharsAttrName : unencodedChars);<a name="line.102"></a>
-<span class="sourceLineNo">103</span>      AsciiSet esc = escapedChars;<a name="line.103"></a>
-<span class="sourceLineNo">104</span><a name="line.104"></a>
-<span class="sourceLineNo">105</span>      if (needsQuotes)<a name="line.105"></a>
-<span class="sourceLineNo">106</span>         append('\'');<a name="line.106"></a>
-<span class="sourceLineNo">107</span>      for (int i = 0; i &lt; s.length(); i++) {<a name="line.107"></a>
-<span class="sourceLineNo">108</span>         char c = s.charAt(i);<a name="line.108"></a>
-<span class="sourceLineNo">109</span>         if (esc.contains(c))<a name="line.109"></a>
-<span class="sourceLineNo">110</span>            append('~');<a name="line.110"></a>
-<span class="sourceLineNo">111</span>         if ((!encodeChars) || unenc.contains(c))<a name="line.111"></a>
-<span class="sourceLineNo">112</span>            append(c);<a name="line.112"></a>
-<span class="sourceLineNo">113</span>         else {<a name="line.113"></a>
-<span class="sourceLineNo">114</span>            if (c == ' ')<a name="line.114"></a>
-<span class="sourceLineNo">115</span>               append('+');<a name="line.115"></a>
-<span class="sourceLineNo">116</span>            else {<a name="line.116"></a>
-<span class="sourceLineNo">117</span>               int p = s.codePointAt(i);<a name="line.117"></a>
-<span class="sourceLineNo">118</span>               if (p &lt; 0x0080)<a name="line.118"></a>
-<span class="sourceLineNo">119</span>                  appendHex(p);<a name="line.119"></a>
-<span class="sourceLineNo">120</span>               else if (p &lt; 0x0800) {<a name="line.120"></a>
-<span class="sourceLineNo">121</span>                  int p1=p&gt;&gt;&gt;6;<a name="line.121"></a>
-<span class="sourceLineNo">122</span>                  appendHex(p1+192).appendHex((p&amp;63)+128);<a name="line.122"></a>
-<span class="sourceLineNo">123</span>               } else if (p &lt; 0x10000) {<a name="line.123"></a>
-<span class="sourceLineNo">124</span>                  int p1=p&gt;&gt;&gt;6, p2=p1&gt;&gt;&gt;6;<a name="line.124"></a>
-<span class="sourceLineNo">125</span>                  appendHex(p2+224).appendHex((p1&amp;63)+128).appendHex((p&amp;63)+128);<a name="line.125"></a>
-<span class="sourceLineNo">126</span>               } else {<a name="line.126"></a>
-<span class="sourceLineNo">127</span>                  i++;  // Two-byte codepoint...skip past surrogate pair lower byte.<a name="line.127"></a>
-<span class="sourceLineNo">128</span>                  int p1=p&gt;&gt;&gt;6, p2=p1&gt;&gt;&gt;6, p3=p2&gt;&gt;&gt;6;<a name="line.128"></a>
-<span class="sourceLineNo">129</span>                  appendHex(p3+240).appendHex((p2&amp;63)+128).appendHex((p1&amp;63)+128).appendHex((p&amp;63)+128);<a name="line.129"></a>
-<span class="sourceLineNo">130</span>               }<a name="line.130"></a>
-<span class="sourceLineNo">131</span>            }<a name="line.131"></a>
-<span class="sourceLineNo">132</span>         }<a name="line.132"></a>
-<span class="sourceLineNo">133</span>      }<a name="line.133"></a>
-<span class="sourceLineNo">134</span>      if (needsQuotes)<a name="line.134"></a>
-<span class="sourceLineNo">135</span>         append('\'');<a name="line.135"></a>
-<span class="sourceLineNo">136</span><a name="line.136"></a>
-<span class="sourceLineNo">137</span>      return this;<a name="line.137"></a>
-<span class="sourceLineNo">138</span>   }<a name="line.138"></a>
-<span class="sourceLineNo">139</span><a name="line.139"></a>
-<span class="sourceLineNo">140</span>   /**<a name="line.140"></a>
-<span class="sourceLineNo">141</span>    * Appends a boolean value to the output.<a name="line.141"></a>
-<span class="sourceLineNo">142</span>    *<a name="line.142"></a>
-<span class="sourceLineNo">143</span>    * @param o The boolean value to append to the output.<a name="line.143"></a>
-<span class="sourceLineNo">144</span>    * @return This object (for method chaining).<a name="line.144"></a>
-<span class="sourceLineNo">145</span>    * @throws IOException<a name="line.145"></a>
-<span class="sourceLineNo">146</span>    */<a name="line.146"></a>
-<span class="sourceLineNo">147</span>   protected UonWriter appendBoolean(Object o) throws IOException {<a name="line.147"></a>
-<span class="sourceLineNo">148</span>      append(o.toString());<a name="line.148"></a>
-<span class="sourceLineNo">149</span>      return this;<a name="line.149"></a>
-<span class="sourceLineNo">150</span>   }<a name="line.150"></a>
-<span class="sourceLineNo">151</span><a name="line.151"></a>
-<span class="sourceLineNo">152</span>   /**<a name="line.152"></a>
-<span class="sourceLineNo">153</span>    * Appends a numeric value to the output.<a name="line.153"></a>
-<span class="sourceLineNo">154</span>    *<a name="line.154"></a>
-<span class="sourceLineNo">155</span>    * @param o The numeric value to append to the output.<a name="line.155"></a>
-<span class="sourceLineNo">156</span>    * @return This object (for method chaining).<a name="line.156"></a>
-<span class="sourceLineNo">157</span>    * @throws IOException<a name="line.157"></a>
-<span class="sourceLineNo">158</span>    */<a name="line.158"></a>
-<span class="sourceLineNo">159</span>   protected UonWriter appendNumber(Object o) throws IOException {<a name="line.159"></a>
-<span class="sourceLineNo">160</span>      append(o.toString());<a name="line.160"></a>
-<span class="sourceLineNo">161</span>      return this;<a name="line.161"></a>
-<span class="sourceLineNo">162</span>   }<a name="line.162"></a>
-<span class="sourceLineNo">163</span><a name="line.163"></a>
-<span class="sourceLineNo">164</span>   /**<a name="line.164"></a>
-<span class="sourceLineNo">165</span>    * Prints out a two-byte %xx sequence for the given byte value.<a name="line.165"></a>
-<span class="sourceLineNo">166</span>    */<a name="line.166"></a>
-<span class="sourceLineNo">167</span>   private UonWriter appendHex(int b) throws IOException {<a name="line.167"></a>
-<span class="sourceLineNo">168</span>      if (b &gt; 255)<a name="line.168"></a>
-<span class="sourceLineNo">169</span>         throw new IOException("Invalid value passed to appendHex.  Must be in the range 0-255.  Value=" + b);<a name="line.169"></a>
-<span class="sourceLineNo">170</span>      append('%').append(hexArray[b&gt;&gt;&gt;4]).append(hexArray[b&amp;0x0F]);<a name="line.170"></a>
-<span class="sourceLineNo">171</span>      return this;<a name="line.171"></a>
-<span class="sourceLineNo">172</span>   }<a name="line.172"></a>
-<span class="sourceLineNo">173</span><a name="line.173"></a>
-<span class="sourceLineNo">174</span>   /**<a name="line.174"></a>
-<span class="sourceLineNo">175</span>    * Appends a URI to the output.<a name="line.175"></a>
-<span class="sourceLineNo">176</span>    *<a name="line.176"></a>
-<span class="sourceLineNo">177</span>    * @param uri The URI to append to the output.<a name="line.177"></a>
-<span class="sourceLineNo">178</span>    * @return This object (for method chaining).<a name="line.178"></a>
-<span class="sourceLineNo">179</span>    * @throws IOException<a name="line.179"></a>
-<span class="sourceLineNo">180</span>    */<a name="line.180"></a>
-<span class="sourceLineNo">181</span>   @Override<a name="line.181"></a>
-<span class="sourceLineNo">182</span>   public SerializerWriter appendUri(Object uri) throws IOException {<a name="line.182"></a>
-<span class="sourceLineNo">183</span>      String s = uri.toString();<a name="line.183"></a>
-<span class="sourceLineNo">184</span>      if (s.indexOf("://") == -1) {<a name="line.184"></a>
-<span class="sourceLineNo">185</span>         if (StringUtils.startsWith(s, '/')) {<a name="line.185"></a>
-<span class="sourceLineNo">186</span>            if (absolutePathUriBase != null)<a name="line.186"></a>
-<span class="sourceLineNo">187</span>               append(absolutePathUriBase);<a name="line.187"></a>
-<span class="sourceLineNo">188</span>         } else {<a name="line.188"></a>
-<span class="sourceLineNo">189</span>            if (relativeUriBase != null) {<a name="line.189"></a>
-<span class="sourceLineNo">190</span>               append(relativeUriBase);<a name="line.190"></a>
-<span class="sourceLineNo">191</span>               if (! relativeUriBase.equals("/"))<a name="line.191"></a>
-<span class="sourceLineNo">192</span>                  append("/");<a name="line.192"></a>
-<span class="sourceLineNo">193</span>            }<a name="line.193"></a>
-<span class="sourceLineNo">194</span>         }<a name="line.194"></a>
-<span class="sourceLineNo">195</span>      }<a name="line.195"></a>
-<span class="sourceLineNo">196</span>      return appendObject(s, false);<a name="line.196"></a>
-<span class="sourceLineNo">197</span>   }<a name="line.197"></a>
-<span class="sourceLineNo">198</span><a name="line.198"></a>
+<span class="sourceLineNo">086</span>      AsciiSet unenc = (isTopAttrName ? unencodedCharsAttrName : unencodedChars);<a name="line.86"></a>
+<span class="sourceLineNo">087</span>      AsciiSet esc = plainTextParams ? noChars : escapedChars;<a name="line.87"></a>
+<span class="sourceLineNo">088</span><a name="line.88"></a>
+<span class="sourceLineNo">089</span>      if (needsQuotes)<a name="line.89"></a>
+<span class="sourceLineNo">090</span>         append('\'');<a name="line.90"></a>
+<span class="sourceLineNo">091</span>      for (int i = 0; i &lt; s.length(); i++) {<a name="line.91"></a>
+<span class="sourceLineNo">092</span>         char c = s.charAt(i);<a name="line.92"></a>
+<span class="sourceLineNo">093</span>         if (esc.contains(c))<a name="line.93"></a>
+<span class="sourceLineNo">094</span>            append('~');<a name="line.94"></a>
+<span class="sourceLineNo">095</span>         if ((!encodeChars) || unenc.contains(c))<a name="line.95"></a>
+<span class="sourceLineNo">096</span>            append(c);<a name="line.96"></a>
+<span class="sourceLineNo">097</span>         else {<a name="line.97"></a>
+<span class="sourceLineNo">098</span>            if (c == ' ')<a name="line.98"></a>
+<span class="sourceLineNo">099</span>               append('+');<a name="line.99"></a>
+<span class="sourceLineNo">100</span>            else {<a name="line.100"></a>
+<span class="sourceLineNo">101</span>               int p = s.codePointAt(i);<a name="line.101"></a>
+<span class="sourceLineNo">102</span>               if (p &lt; 0x0080)<a name="line.102"></a>
+<span class="sourceLineNo">103</span>                  appendHex(p);<a name="line.103"></a>
+<span class="sourceLineNo">104</span>               else if (p &lt; 0x0800) {<a name="line.104"></a>
+<span class="sourceLineNo">105</span>                  int p1=p&gt;&gt;&gt;6;<a name="line.105"></a>
+<span class="sourceLineNo">106</span>                  appendHex(p1+192).appendHex((p&amp;63)+128);<a name="line.106"></a>
+<span class="sourceLineNo">107</span>               } else if (p &lt; 0x10000) {<a name="line.107"></a>
+<span class="sourceLineNo">108</span>                  int p1=p&gt;&gt;&gt;6, p2=p1&gt;&gt;&gt;6;<a name="line.108"></a>
+<span class="sourceLineNo">109</span>                  appendHex(p2+224).appendHex((p1&amp;63)+128).appendHex((p&amp;63)+128);<a name="line.109"></a>
+<span class="sourceLineNo">110</span>               } else {<a name="line.110"></a>
+<span class="sourceLineNo">111</span>                  i++;  // Two-byte codepoint...skip past surrogate pair lower byte.<a name="line.111"></a>
+<span class="sourceLineNo">112</span>                  int p1=p&gt;&gt;&gt;6, p2=p1&gt;&gt;&gt;6, p3=p2&gt;&gt;&gt;6;<a name="line.112"></a>
+<span class="sourceLineNo">113</span>                  appendHex(p3+240).appendHex((p2&amp;63)+128).appendHex((p1&amp;63)+128).appendHex((p&amp;63)+128);<a name="line.113"></a>
+<span class="sourceLineNo">114</span>               }<a name="line.114"></a>
+<span class="sourceLineNo">115</span>            }<a name="line.115"></a>
+<span class="sourceLineNo">116</span>         }<a name="line.116"></a>
+<span class="sourceLineNo">117</span>      }<a name="line.117"></a>
+<span class="sourceLineNo">118</span>      if (needsQuotes)<a name="line.118"></a>
+<span class="sourceLineNo">119</span>         append('\'');<a name="line.119"></a>
+<span class="sourceLineNo">120</span><a name="line.120"></a>
+<span class="sourceLineNo">121</span>      return this;<a name="line.121"></a>
+<span class="sourceLineNo">122</span>   }<a name="line.122"></a>
+<span class="sourceLineNo">123</span><a name="line.123"></a>
+<span class="sourceLineNo">124</span>   /**<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    * Appends a boolean value to the output.<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    *<a name="line.126"></a>
+<span class="sourceLineNo">127</span>    * @param o The boolean value to append to the output.<a name="line.127"></a>
+<span class="sourceLineNo">128</span>    * @return This object (for method chaining).<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    * @throws IOException<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    */<a name="line.130"></a>
+<span class="sourceLineNo">131</span>   protected UonWriter appendBoolean(Object o) throws IOException {<a name="line.131"></a>
+<span class="sourceLineNo">132</span>      append(o.toString());<a name="line.132"></a>
+<span class="sourceLineNo">133</span>      return this;<a name="line.133"></a>
+<span class="sourceLineNo">134</span>   }<a name="line.134"></a>
+<span class="sourceLineNo">135</span><a name="line.135"></a>
+<span class="sourceLineNo">136</span>   /**<a name="line.136"></a>
+<span class="sourceLineNo">137</span>    * Appends a numeric value to the output.<a name="line.137"></a>
+<span class="sourceLineNo">138</span>    *<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    * @param o The numeric value to append to the output.<a name="line.139"></a>
+<span class="sourceLineNo">140</span>    * @return This object (for method chaining).<a name="line.140"></a>
+<span class="sourceLineNo">141</span>    * @throws IOException<a name="line.141"></a>
+<span class="sourceLineNo">142</span>    */<a name="line.142"></a>
+<span class="sourceLineNo">143</span>   protected UonWriter appendNumber(Object o) throws IOException {<a name="line.143"></a>
+<span class="sourceLineNo">144</span>      append(o.toString());<a name="line.144"></a>
+<span class="sourceLineNo">145</span>      return this;<a name="line.145"></a>
+<span class="sourceLineNo">146</span>   }<a name="line.146"></a>
+<span class="sourceLineNo">147</span><a name="line.147"></a>
+<span class="sourceLineNo">148</span>   /**<a name="line.148"></a>
+<span class="sourceLineNo">149</span>    * Prints out a two-byte %xx sequence for the given byte value.<a name="line.149"></a>
+<span class="sourceLineNo">150</span>    */<a name="line.150"></a>
+<span class="sourceLineNo">151</span>   private UonWriter appendHex(int b) throws IOException {<a name="line.151"></a>
+<span class="sourceLineNo">152</span>      if (b &gt; 255)<a name="line.152"></a>
+<span class="sourceLineNo">153</span>         throw new IOException("Invalid value passed to appendHex.  Must be in the range 0-255.  Value=" + b);<a name="line.153"></a>
+<span class="sourceLineNo">154</span>      append('%').append(hexArray[b&gt;&gt;&gt;4]).append(hexArray[b&amp;0x0F]);<a name="line.154"></a>
+<span class="sourceLineNo">155</span>      return this;<a name="line.155"></a>
+<span class="sourceLineNo">156</span>   }<a name="line.156"></a>
+<span class="sourceLineNo">157</span><a name="line.157"></a>
+<span class="sourceLineNo">158</span>   /**<a name="line.158"></a>
+<span class="sourceLineNo">159</span>    * Appends a URI to the output.<a name="line.159"></a>
+<span class="sourceLineNo">160</span>    *<a name="line.160"></a>
+<span class="sourceLineNo">161</span>    * @param uri The URI to append to the output.<a name="line.161"></a>
+<span class="sourceLineNo">162</span>    * @return This object (for method chaining).<a name="line.162"></a>
+<span class="sourceLineNo">163</span>    * @throws IOException<a name="line.163"></a>
+<span class="sourceLineNo">164</span>    */<a name="line.164"></a>
+<span class="sourceLineNo">165</span>   @Override<a name="line.165"></a>
+<span class="sourceLineNo">166</span>   public SerializerWriter appendUri(Object uri) throws IOException {<a name="line.166"></a>
+<span class="sourceLineNo">167</span>      String s = uri.toString();<a name="line.167"></a>
+<span class="sourceLineNo">168</span>      if (s.indexOf("://") == -1) {<a name="line.168"></a>
+<span class="sourceLineNo">169</span>         if (StringUtils.startsWith(s, '/')) {<a name="line.169"></a>
+<span class="sourceLineNo">170</span>            if (absolutePathUriBase != null)<a name="line.170"></a>
+<span class="sourceLineNo">171</span>               append(absolutePathUriBase);<a name="line.171"></a>
+<span class="sourceLineNo">172</span>         } else {<a name="line.172"></a>
+<span class="sourceLineNo">173</span>            if (relativeUriBase != null) {<a name="line.173"></a>
+<span class="sourceLineNo">174</span>               append(relativeUriBase);<a name="line.174"></a>
+<span class="sourceLineNo">175</span>               if (! relativeUriBase.equals("/"))<a name="line.175"></a>
+<span class="sourceLineNo">176</span>                  append("/");<a name="line.176"></a>
+<span class="sourceLineNo">177</span>            }<a name="line.177"></a>
+<span class="sourceLineNo">178</span>         }<a name="line.178"></a>
+<span class="sourceLineNo">179</span>      }<a name="line.179"></a>
+<span class="sourceLineNo">180</span>      return appendObject(s, false, false);<a name="line.180"></a>
+<span class="sourceLineNo">181</span>   }<a name="line.181"></a>
+<span class="sourceLineNo">182</span><a name="line.182"></a>
+<span class="sourceLineNo">183</span><a name="line.183"></a>
+<span class="sourceLineNo">184</span>   //--------------------------------------------------------------------------------<a name="line.184"></a>
+<span class="sourceLineNo">185</span>   // Overridden methods<a name="line.185"></a>
+<span class="sourceLineNo">186</span>   //--------------------------------------------------------------------------------<a name="line.186"></a>
+<span class="sourceLineNo">187</span><a name="line.187"></a>
+<span class="sourceLineNo">188</span>   @Override /* SerializerWriter */<a name="line.188"></a>
+<span class="sourceLineNo">189</span>   public UonWriter cr(int depth) throws IOException {<a name="line.189"></a>
+<span class="sourceLineNo">190</span>      super.cr(depth);<a name="line.190"></a>
+<span class="sourceLineNo">191</span>      return this;<a name="line.191"></a>
+<span class="sourceLineNo">192</span>   }<a name="line.192"></a>
+<span class="sourceLineNo">193</span><a name="line.193"></a>
+<span class="sourceLineNo">194</span>   @Override /* SerializerWriter */<a name="line.194"></a>
+<span class="sourceLineNo">195</span>   public UonWriter appendln(int indent, String text) throws IOException {<a name="line.195"></a>
+<span class="sourceLineNo">196</span>      super.appendln(indent, text);<a name="line.196"></a>
+<span class="sourceLineNo">197</span>      return this;<a name="line.197"></a>
+<span class="sourceLineNo">198</span>   }<a name="line.198"></a>
 <span class="sourceLineNo">199</span><a name="line.199"></a>
-<span class="sourceLineNo">200</span>   //--------------------------------------------------------------------------------<a name="line.200"></a>
-<span class="sourceLineNo">201</span>   // Overridden methods<a name="line.201"></a>
-<span class="sourceLineNo">202</span>   //--------------------------------------------------------------------------------<a name="line.202"></a>
-<span class="sourceLineNo">203</span><a name="line.203"></a>
-<span class="sourceLineNo">204</span>   @Override /* SerializerWriter */<a name="line.204"></a>
-<span class="sourceLineNo">205</span>   public UonWriter cr(int depth) throws IOException {<a name="line.205"></a>
-<span class="sourceLineNo">206</span>      super.cr(depth);<a name="line.206"></a>
-<span class="sourceLineNo">207</span>      return this;<a name="line.207"></a>
-<span class="sourceLineNo">208</span>   }<a name="line.208"></a>
-<span class="sourceLineNo">209</span><a name="line.209"></a>
-<span class="sourceLineNo">210</span>   @Override /* SerializerWriter */<a name="line.210"></a>
-<span class="sourceLineNo">211</span>   public UonWriter appendln(int indent, String text) throws IOException {<a name="line.211"></a>
-<span class="sourceLineNo">212</span>      super.appendln(indent, text);<a name="line.212"></a>
-<span class="sourceLineNo">213</span>      return this;<a name="line.213"></a>
-<span class="sourceLineNo">214</span>   }<a name="line.214"></a>
-<span class="sourceLineNo">215</span><a name="line.215"></a>
-<span class="sourceLineNo">216</span>   @Override /* SerializerWriter */<a name="line.216"></a>
-<span class="sourceLineNo">217</span>   public UonWriter appendln(String text) throws IOException {<a name="line.217"></a>
-<span class="sourceLineNo">218</span>      super.appendln(text);<a name="line.218"></a>
-<span class="sourceLineNo">219</span>      return this;<a name="line.219"></a>
-<span class="sourceLineNo">220</span>   }<a name="line.220"></a>
-<span class="sourceLineNo">221</span><a name="line.221"></a>
-<span class="sourceLineNo">222</span>   @Override /* SerializerWriter */<a name="line.222"></a>
-<span class="sourceLineNo">223</span>   public UonWriter append(int indent, String text) throws IOException {<a name="line.223"></a>
-<span class="sourceLineNo">224</span>      super.append(indent, text);<a name="line.224"></a>
-<span class="sourceLineNo">225</span>      return this;<a name="line.225"></a>
-<span class="sourceLineNo">226</span>   }<a name="line.226"></a>
-<span class="sourceLineNo">227</span><a name="line.227"></a>
-<span class="sourceLineNo">228</span>   @Override /* SerializerWriter */<a name="line.228"></a>
-<span class="sourceLineNo">229</span>   public UonWriter append(int indent, char c) throws IOException {<a name="line.229"></a>
-<span class="sourceLineNo">230</span>      super.append(indent, c);<a name="line.230"></a>
-<span class="sourceLineNo">231</span>      return this;<a name="line.231"></a>
-<span class="sourceLineNo">232</span>   }<a name="line.232"></a>
-<span class="sourceLineNo">233</span><a name="line.233"></a>
-<span class="sourceLineNo">234</span>   @Override /* SerializerWriter */<a name="line.234"></a>
-<span class="sourceLineNo">235</span>   public UonWriter q() throws IOException {<a name="line.235"></a>
-<span class="sourceLineNo">236</span>      super.q();<a name="line.236"></a>
-<span class="sourceLineNo">237</span>      return this;<a name="line.237"></a>
-<span class="sourceLineNo">238</span>   }<a name="line.238"></a>
-<span class="sourceLineNo">239</span><a name="line.239"></a>
-<span class="sourceLineNo">240</span>   @Override /* SerializerWriter */<a name="line.240"></a>
-<span class="sourceLineNo">241</span>   public UonWriter i(int indent) throws IOException {<a name="line.241"></a>
-<span class="sourceLineNo">242</span>      super.i(indent);<a name="line.242"></a>
-<span class="sourceLineNo">243</span>      return this;<a name="line.243"></a>
-<span class="sourceLineNo">244</span>   }<a name="line.244"></a>
-<span class="sourceLineNo">245</span><a name="line.245"></a>
-<span class="sourceLineNo">246</span>   @Override /* SerializerWriter */<a name="line.246"></a>
-<span class="sourceLineNo">247</span>   public UonWriter nl() throws IOException {<a name="line.247"></a>
-<span class="sourceLineNo">248</span>      super.nl();<a name="line.248"></a>
-<span class="sourceLineNo">249</span>      return this;<a name="line.249"></a>
-<span class="sourceLineNo">250</span>   }<a name="line.250"></a>
-<span class="sourceLineNo">251</span><a name="line.251"></a>
-<span class="sourceLineNo">252</span>   @Override /* SerializerWriter */<a name="line.252"></a>
-<span class="sourceLineNo">253</span>   public UonWriter append(Object text) throws IOException {<a name="line.253"></a>
-<span class="sourceLineNo">254</span>      super.append(text);<a name="line.254"></a>
-<span class="sourceLineNo">255</span>      return this;<a name="line.255"></a>
-<span class="sourceLineNo">256</span>   }<a name="line.256"></a>
-<span class="sourceLineNo">257</span><a name="line.257"></a>
-<span class="sourceLineNo">258</span>   @Override /* SerializerWriter */<a name="line.258"></a>
-<span class="sourceLineNo">259</span>   public UonWriter append(String text) throws IOException {<a name="line.259"></a>
-<span class="sourceLineNo">260</span>      super.append(text);<a name="line.260"></a>
-<span class="sourceLineNo">261</span>      return this;<a name="line.261"></a>
-<span class="sourceLineNo">262</span>   }<a name="line.262"></a>
-<span class="sourceLineNo">263</span><a name="line.263"></a>
-<span class="sourceLineNo">264</span>   @Override /* SerializerWriter */<a name="line.264"></a>
-<span class="sourceLineNo">265</span>   public UonWriter appendIf(boolean b, String text) throws IOException {<a name="line.265"></a>
-<span class="sourceLineNo">266</span>      super.appendIf(b, text);<a name="line.266"></a>
-<span class="sourceLineNo">267</span>      return this;<a name="line.267"></a>
-<span class="sourceLineNo">268</span>   }<a name="line.268"></a>
-<span class="sourceLineNo">269</span><a name="line.269"></a>
-<span class="sourceLineNo">270</span>   @Override /* SerializerWriter */<a name="line.270"></a>
-<span class="sourceLineNo">271</span>   public UonWriter appendIf(boolean b, char c) throws IOException {<a name="line.271"></a>
-<span class="sourceLineNo">272</span>      super.appendIf(b, c);<a name="line.272"></a>
-<span class="sourceLineNo">273</span>      return this;<a name="line.273"></a>
-<span class="sourceLineNo">274</span>   }<a name="line.274"></a>
-<span class="sourceLineNo">275</span><a name="line.275"></a>
-<span class="sourceLineNo">276</span>   @Override /* SerializerWriter */<a name="line.276"></a>
-<span class="sourceLineNo">277</span>   public UonWriter append(char c) throws IOException {<a name="line.277"></a>
-<span class="sourceLineNo">278</span>      super.append(c);<a name="line.278"></a>
-<span class="sourceLineNo">279</span>      return this;<a name="line.279"></a>
-<span class="sourceLineNo">280</span>   }<a name="line.280"></a>
-<span class="sourceLineNo">281</span>}<a name="line.281"></a>
+<span class="sourceLineNo">200</span>   @Override /* SerializerWriter */<a name="line.200"></a>
+<span class="sourceLineNo">201</span>   public UonWriter appendln(String text) throws IOException {<a name="line.201"></a>
+<span class="sourceLineNo">202</span>      super.appendln(text);<a name="line.202"></a>
+<span class="sourceLineNo">203</span>      return this;<a name="line.203"></a>
+<span class="sourceLineNo">204</span>   }<a name="line.204"></a>
+<span class="sourceLineNo">205</span><a name="line.205"></a>
+<span class="sourceLineNo">206</span>   @Override /* SerializerWriter */<a name="line.206"></a>
+<span class="sourceLineNo">207</span>   public UonWriter append(int indent, String text) throws IOException {<a name="line.207"></a>
+<span class="sourceLineNo">208</span>      super.append(indent, text);<a name="line.208"></a>
+<span class="sourceLineNo">209</span>      return this;<a name="line.209"></a>
+<span class="sourceLineNo">210</span>   }<a name="line.210"></a>
+<span class="sourceLineNo">211</span><a name="line.211"></a>
+<span class="sourceLineNo">212</span>   @Override /* SerializerWriter */<a name="line.212"></a>
+<span class="sourceLineNo">213</span>   public UonWriter append(int indent, char c) throws IOException {<a name="line.213"></a>
+<span class="sourceLineNo">214</span>      super.append(indent, c);<a name="line.214"></a>
+<span class="sourceLineNo">215</span>      return this;<a name="line.215"></a>
+<span class="sourceLineNo">216</span>   }<a name="line.216"></a>
+<span class="sourceLineNo">217</span><a name="line.217"></a>
+<span class="sourceLineNo">218</span>   @Override /* SerializerWriter */<a name="line.218"></a>
+<span class="sourceLineNo">219</span>   public UonWriter q() throws IOException {<a name="line.219"></a>
+<span class="sourceLineNo">220</span>      super.q();<a name="line.220"></a>
+<span class="sourceLineNo">221</span>      return this;<a name="line.221"></a>
+<span class="sourceLineNo">222</span>   }<a name="line.222"></a>
+<span class="sourceLineNo">223</span><a name="line.223"></a>
+<span class="sourceLineNo">224</span>   @Override /* SerializerWriter */<a name="line.224"></a>
+<span class="sourceLineNo">225</span>   public UonWriter i(int indent) throws IOException {<a name="line.225"></a>
+<span class="sourceLineNo">226</span>      super.i(indent);<a name="line.226"></a>
+<span class="sourceLineNo">227</span>      return this;<a name="line.227"></a>
+<span class="sourceLineNo">228</span>   }<a name="line.228"></a>
+<span class="sourceLineNo">229</span><a name="line.229"></a>
+<span class="sourceLineNo">230</span>   @Override /* SerializerWriter */<a name="line.230"></a>
+<span class="sourceLineNo">231</span>   public UonWriter nl() throws IOException {<a name="line.231"></a>
+<span class="sourceLineNo">232</span>      super.nl();<a name="line.232"></a>
+<span class="sourceLineNo">233</span>      return this;<a name="line.233"></a>
+<span class="sourceLineNo">234</span>   }<a name="line.234"></a>
+<span class="sourceLineNo">235</span><a name="line.235"></a>
+<span class="sourceLineNo">236</span>   @Override /* SerializerWriter */<a name="line.236"></a>
+<span class="sourceLineNo">237</span>   public UonWriter append(Object text) throws IOException {<a name="line.237"></a>
+<span class="sourceLineNo">238</span>      super.append(text);<a name="line.238"></a>
+<span class="sourceLineNo">239</span>      return this;<a name="line.239"></a>
+<span class="sourceLineNo">240</span>   }<a name="line.240"></a>
+<span class="sourceLineNo">241</span><a name="line.241"></a>
+<span class="sourceLineNo">242</span>   @Override /* SerializerWriter */<a name="line.242"></a>
+<span class="sourceLineNo">243</span>   public UonWriter append(String text) throws IOException {<a name="line.243"></a>
+<span class="sourceLineNo">244</span>      super.append(text);<a name="line.244"></a>
+<span class="sourceLineNo">245</span>      return this;<a name="line.245"></a>
+<span class="sourceLineNo">246</span>   }<a name="line.246"></a>
+<span class="sourceLineNo">247</span><a name="line.247"></a>
+<span class="sourceLineNo">248</span>   @Override /* SerializerWriter */<a name="line.248"></a>
+<span class="sourceLineNo">249</span>   public UonWriter appendIf(boolean b, String text) throws IOException {<a name="line.249"></a>
+<span class="sourceLineNo">250</span>      super.appendIf(b, text);<a name="line.250"></a>
+<span class="sourceLineNo">251</span>      return this;<a name="line.251"></a>
+<span class="sourceLineNo">252</span>   }<a name="line.252"></a>
+<span class="sourceLineNo">253</span><a name="line.253"></a>
+<span class="sourceLineNo">254</span>   @Override /* SerializerWriter */<a name="line.254"></a>
+<span class="sourceLineNo">255</span>   public UonWriter appendIf(boolean b, char c) throws IOException {<a name="line.255"></a>
+<span class="sourceLineNo">256</span>      super.appendIf(b, c);<a name="line.256"></a>
+<span class="sourceLineNo">257</span>      return this;<a name="line.257"></a>
+<span class="sourceLineNo">258</span>   }<a name="line.258"></a>
+<span class="sourceLineNo">259</span><a name="line.259"></a>
+<span class="sourceLineNo">260</span>   @Override /* SerializerWriter */<a name="line.260"></a>
+<span class="sourceLineNo">261</span>   public UonWriter append(char c) throws IOException {<a name="line.261"></a>
+<span class="sourceLineNo">262</span>      super.append(c);<a name="line.262"></a>
+<span class="sourceLineNo">263</span>      return this;<a name="line.263"></a>
+<span class="sourceLineNo">264</span>   }<a name="line.264"></a>
+<span class="sourceLineNo">265</span>}<a name="line.265"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html
index 22f38a1..fe0ae83 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/urlencoding/UrlEncodingParser.html
@@ -423,7 +423,7 @@
 <span class="sourceLineNo">415</span>   }<a name="line.415"></a>
 <span class="sourceLineNo">416</span><a name="line.416"></a>
 <span class="sourceLineNo">417</span>   /**<a name="line.417"></a>
-<span class="sourceLineNo">418</span>    * Parses a single query parameter value into the specified class type.<a name="line.418"></a>
+<span class="sourceLineNo">418</span>    * Parses a single query parameter or header value into the specified class type.<a name="line.418"></a>
 <span class="sourceLineNo">419</span>    *<a name="line.419"></a>
 <span class="sourceLineNo">420</span>    * @param in The input query string value.<a name="line.420"></a>
 <span class="sourceLineNo">421</span>    * @param type The object type to create.<a name="line.421"></a>
@@ -434,99 +434,89 @@
 <span class="sourceLineNo">426</span>    * @return A new instance of the specified type.<a name="line.426"></a>
 <span class="sourceLineNo">427</span>    * @throws ParseException<a name="line.427"></a>
 <span class="sourceLineNo">428</span>    */<a name="line.428"></a>
-<span class="sourceLineNo">429</span>   public &lt;T&gt; T parseParameter(CharSequence in, Type type, Type...args) throws ParseException {<a name="line.429"></a>
+<span class="sourceLineNo">429</span>   public &lt;T&gt; T parsePart(String in, Type type, Type...args) throws ParseException {<a name="line.429"></a>
 <span class="sourceLineNo">430</span>      if (in == null)<a name="line.430"></a>
 <span class="sourceLineNo">431</span>         return null;<a name="line.431"></a>
-<span class="sourceLineNo">432</span>      UonParserSession session = createParameterSession(in);<a name="line.432"></a>
-<span class="sourceLineNo">433</span>      try {<a name="line.433"></a>
-<span class="sourceLineNo">434</span>         UonReader r = session.getReader();<a name="line.434"></a>
-<span class="sourceLineNo">435</span>         return (T)super.parseAnything(session, session.getClassMeta(type, args), r, null, true, null);<a name="line.435"></a>
-<span class="sourceLineNo">436</span>      } catch (ParseException e) {<a name="line.436"></a>
-<span class="sourceLineNo">437</span>         throw e;<a name="line.437"></a>
-<span class="sourceLineNo">438</span>      } catch (Exception e) {<a name="line.438"></a>
-<span class="sourceLineNo">439</span>         throw new ParseException(session, e);<a name="line.439"></a>
-<span class="sourceLineNo">440</span>      } finally {<a name="line.440"></a>
-<span class="sourceLineNo">441</span>         session.close();<a name="line.441"></a>
-<span class="sourceLineNo">442</span>      }<a name="line.442"></a>
-<span class="sourceLineNo">443</span>   }<a name="line.443"></a>
-<span class="sourceLineNo">444</span><a name="line.444"></a>
-<span class="sourceLineNo">445</span>   /**<a name="line.445"></a>
-<span class="sourceLineNo">446</span>    * Parses a single query parameter value into the specified class type.<a name="line.446"></a>
-<span class="sourceLineNo">447</span>    *<a name="line.447"></a>
-<span class="sourceLineNo">448</span>    * @param in The input query string value.<a name="line.448"></a>
-<span class="sourceLineNo">449</span>    * @param type The class type of the object to create.<a name="line.449"></a>
-<span class="sourceLineNo">450</span>    * @return A new instance of the specified type.<a name="line.450"></a>
-<span class="sourceLineNo">451</span>    * @throws ParseException<a name="line.451"></a>
-<span class="sourceLineNo">452</span>    */<a name="line.452"></a>
-<span class="sourceLineNo">453</span>   public &lt;T&gt; T parseParameter(CharSequence in, Class&lt;T&gt; type) throws ParseException {<a name="line.453"></a>
-<span class="sourceLineNo">454</span>      if (in == null)<a name="line.454"></a>
-<span class="sourceLineNo">455</span>         return null;<a name="line.455"></a>
-<span class="sourceLineNo">456</span>      UonParserSession session = createParameterSession(in);<a name="line.456"></a>
-<span class="sourceLineNo">457</span>      try {<a name="line.457"></a>
-<span class="sourceLineNo">458</span>         UonReader r = session.getReader();<a name="line.458"></a>
-<span class="sourceLineNo">459</span>         return super.parseAnything(session, session.getClassMeta(type), r, null, true, null);<a name="line.459"></a>
-<span class="sourceLineNo">460</span>      } catch (ParseException e) {<a name="line.460"></a>
-<span class="sourceLineNo">461</span>         throw e;<a name="line.461"></a>
-<span class="sourceLineNo">462</span>      } catch (Exception e) {<a name="line.462"></a>
-<span class="sourceLineNo">463</span>         throw new ParseException(session, e);<a name="line.463"></a>
-<span class="sourceLineNo">464</span>      } finally {<a name="line.464"></a>
-<span class="sourceLineNo">465</span>         session.close();<a name="line.465"></a>
-<span class="sourceLineNo">466</span>      }<a name="line.466"></a>
-<span class="sourceLineNo">467</span>   }<a name="line.467"></a>
-<span class="sourceLineNo">468</span><a name="line.468"></a>
-<span class="sourceLineNo">469</span>   /**<a name="line.469"></a>
-<span class="sourceLineNo">470</span>    * Same as {@link #parseParameter(CharSequence, Type, Type...)} except the type has already<a name="line.470"></a>
-<span class="sourceLineNo">471</span>    * been converted to a {@link ClassMeta} object.<a name="line.471"></a>
-<span class="sourceLineNo">472</span>    *<a name="line.472"></a>
-<span class="sourceLineNo">473</span>    * @param in The input query string value.<a name="line.473"></a>
-<span class="sourceLineNo">474</span>    * @param type The class type of the object to create.<a name="line.474"></a>
-<span class="sourceLineNo">475</span>    * @return A new instance of the specified type.<a name="line.475"></a>
-<span class="sourceLineNo">476</span>    * @throws ParseException<a name="line.476"></a>
-<span class="sourceLineNo">477</span>    */<a name="line.477"></a>
-<span class="sourceLineNo">478</span>   public &lt;T&gt; T parseParameter(CharSequence in, ClassMeta&lt;T&gt; type) throws ParseException {<a name="line.478"></a>
-<span class="sourceLineNo">479</span>      if (in == null)<a name="line.479"></a>
-<span class="sourceLineNo">480</span>         return null;<a name="line.480"></a>
-<span class="sourceLineNo">481</span>      UonParserSession session = createParameterSession(in);<a name="line.481"></a>
-<span class="sourceLineNo">482</span>      try {<a name="line.482"></a>
-<span class="sourceLineNo">483</span>         UonReader r = session.getReader();<a name="line.483"></a>
-<span class="sourceLineNo">484</span>         return super.parseAnything(session, type, r, null, true, null);<a name="line.484"></a>
-<span class="sourceLineNo">485</span>      } catch (ParseException e) {<a name="line.485"></a>
-<span class="sourceLineNo">486</span>         throw e;<a name="line.486"></a>
-<span class="sourceLineNo">487</span>      } catch (Exception e) {<a name="line.487"></a>
-<span class="sourceLineNo">488</span>         throw new ParseException(session, e);<a name="line.488"></a>
-<span class="sourceLineNo">489</span>      } finally {<a name="line.489"></a>
-<span class="sourceLineNo">490</span>         session.close();<a name="line.490"></a>
-<span class="sourceLineNo">491</span>      }<a name="line.491"></a>
+<span class="sourceLineNo">432</span>      return (T)parsePart(in, getBeanContext().getClassMeta(type, args));<a name="line.432"></a>
+<span class="sourceLineNo">433</span>   }<a name="line.433"></a>
+<span class="sourceLineNo">434</span><a name="line.434"></a>
+<span class="sourceLineNo">435</span>   /**<a name="line.435"></a>
+<span class="sourceLineNo">436</span>    * Parses a single query parameter or header value into the specified class type.<a name="line.436"></a>
+<span class="sourceLineNo">437</span>    *<a name="line.437"></a>
+<span class="sourceLineNo">438</span>    * @param in The input query string value.<a name="line.438"></a>
+<span class="sourceLineNo">439</span>    * @param type The class type of the object to create.<a name="line.439"></a>
+<span class="sourceLineNo">440</span>    * @return A new instance of the specified type.<a name="line.440"></a>
+<span class="sourceLineNo">441</span>    * @throws ParseException<a name="line.441"></a>
+<span class="sourceLineNo">442</span>    */<a name="line.442"></a>
+<span class="sourceLineNo">443</span>   public &lt;T&gt; T parsePart(String in, Class&lt;T&gt; type) throws ParseException {<a name="line.443"></a>
+<span class="sourceLineNo">444</span>      if (in == null)<a name="line.444"></a>
+<span class="sourceLineNo">445</span>         return null;<a name="line.445"></a>
+<span class="sourceLineNo">446</span>      return parsePart(in, getBeanContext().getClassMeta(type));<a name="line.446"></a>
+<span class="sourceLineNo">447</span>   }<a name="line.447"></a>
+<span class="sourceLineNo">448</span><a name="line.448"></a>
+<span class="sourceLineNo">449</span>   /**<a name="line.449"></a>
+<span class="sourceLineNo">450</span>    * Same as {@link #parsePart(String, Type, Type...)} except the type has already<a name="line.450"></a>
+<span class="sourceLineNo">451</span>    * been converted to a {@link ClassMeta} object.<a name="line.451"></a>
+<span class="sourceLineNo">452</span>    *<a name="line.452"></a>
+<span class="sourceLineNo">453</span>    * @param in The input query string value.<a name="line.453"></a>
+<span class="sourceLineNo">454</span>    * @param type The class type of the object to create.<a name="line.454"></a>
+<span class="sourceLineNo">455</span>    * @return A new instance of the specified type.<a name="line.455"></a>
+<span class="sourceLineNo">456</span>    * @throws ParseException<a name="line.456"></a>
+<span class="sourceLineNo">457</span>    */<a name="line.457"></a>
+<span class="sourceLineNo">458</span>   public &lt;T&gt; T parsePart(String in, ClassMeta&lt;T&gt; type) throws ParseException {<a name="line.458"></a>
+<span class="sourceLineNo">459</span>      if (in == null)<a name="line.459"></a>
+<span class="sourceLineNo">460</span>         return null;<a name="line.460"></a>
+<span class="sourceLineNo">461</span>      if (type.isString() &amp;&amp; in.length() &gt; 0) {<a name="line.461"></a>
+<span class="sourceLineNo">462</span>         // Shortcut - If we're returning a string and the value doesn't start with "'" or is "null", then<a name="line.462"></a>
+<span class="sourceLineNo">463</span>         // just return the string since it's a plain value.<a name="line.463"></a>
+<span class="sourceLineNo">464</span>         // This allows us to bypass the creation of a UonParserSession object.<a name="line.464"></a>
+<span class="sourceLineNo">465</span>         char x = StringUtils.firstNonWhitespaceChar(in);<a name="line.465"></a>
+<span class="sourceLineNo">466</span>         if (x != '\'' &amp;&amp; x != 'n' &amp;&amp; in.indexOf('~') == -1)<a name="line.466"></a>
+<span class="sourceLineNo">467</span>            return (T)in;<a name="line.467"></a>
+<span class="sourceLineNo">468</span>         if (x == 'n' &amp;&amp; "null".equals(in))<a name="line.468"></a>
+<span class="sourceLineNo">469</span>            return null;<a name="line.469"></a>
+<span class="sourceLineNo">470</span>      }<a name="line.470"></a>
+<span class="sourceLineNo">471</span>      UonParserSession session = createParameterSession(in);<a name="line.471"></a>
+<span class="sourceLineNo">472</span>      try {<a name="line.472"></a>
+<span class="sourceLineNo">473</span>         UonReader r = session.getReader();<a name="line.473"></a>
+<span class="sourceLineNo">474</span>         return super.parseAnything(session, type, r, null, true, null);<a name="line.474"></a>
+<span class="sourceLineNo">475</span>      } catch (ParseException e) {<a name="line.475"></a>
+<span class="sourceLineNo">476</span>         throw e;<a name="line.476"></a>
+<span class="sourceLineNo">477</span>      } catch (Exception e) {<a name="line.477"></a>
+<span class="sourceLineNo">478</span>         throw new ParseException(session, e);<a name="line.478"></a>
+<span class="sourceLineNo">479</span>      } finally {<a name="line.479"></a>
+<span class="sourceLineNo">480</span>         session.close();<a name="line.480"></a>
+<span class="sourceLineNo">481</span>      }<a name="line.481"></a>
+<span class="sourceLineNo">482</span>   }<a name="line.482"></a>
+<span class="sourceLineNo">483</span><a name="line.483"></a>
+<span class="sourceLineNo">484</span><a name="line.484"></a>
+<span class="sourceLineNo">485</span>   //--------------------------------------------------------------------------------<a name="line.485"></a>
+<span class="sourceLineNo">486</span>   // Entry point methods<a name="line.486"></a>
+<span class="sourceLineNo">487</span>   //--------------------------------------------------------------------------------<a name="line.487"></a>
+<span class="sourceLineNo">488</span><a name="line.488"></a>
+<span class="sourceLineNo">489</span>   @Override /* Parser */<a name="line.489"></a>
+<span class="sourceLineNo">490</span>   public UrlEncodingParserSession createSession(Object input, ObjectMap op, Method javaMethod, Object outer, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.490"></a>
+<span class="sourceLineNo">491</span>      return new UrlEncodingParserSession(ctx, op, input, javaMethod, outer, locale, timeZone, mediaType);<a name="line.491"></a>
 <span class="sourceLineNo">492</span>   }<a name="line.492"></a>
 <span class="sourceLineNo">493</span><a name="line.493"></a>
-<span class="sourceLineNo">494</span><a name="line.494"></a>
-<span class="sourceLineNo">495</span>   //--------------------------------------------------------------------------------<a name="line.495"></a>
-<span class="sourceLineNo">496</span>   // Entry point methods<a name="line.496"></a>
-<span class="sourceLineNo">497</span>   //--------------------------------------------------------------------------------<a name="line.497"></a>
-<span class="sourceLineNo">498</span><a name="line.498"></a>
-<span class="sourceLineNo">499</span>   @Override /* Parser */<a name="line.499"></a>
-<span class="sourceLineNo">500</span>   public UrlEncodingParserSession createSession(Object input, ObjectMap op, Method javaMethod, Object outer, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.500"></a>
-<span class="sourceLineNo">501</span>      return new UrlEncodingParserSession(ctx, op, input, javaMethod, outer, locale, timeZone, mediaType);<a name="line.501"></a>
-<span class="sourceLineNo">502</span>   }<a name="line.502"></a>
-<span class="sourceLineNo">503</span><a name="line.503"></a>
-<span class="sourceLineNo">504</span>   @Override /* Parser */<a name="line.504"></a>
-<span class="sourceLineNo">505</span>   protected &lt;T&gt; T doParse(ParserSession session, ClassMeta&lt;T&gt; type) throws Exception {<a name="line.505"></a>
-<span class="sourceLineNo">506</span>      UrlEncodingParserSession s = (UrlEncodingParserSession)session;<a name="line.506"></a>
-<span class="sourceLineNo">507</span>      UonReader r = s.getReader();<a name="line.507"></a>
-<span class="sourceLineNo">508</span>      T o = parseAnything(s, type, r, s.getOuter());<a name="line.508"></a>
-<span class="sourceLineNo">509</span>      return o;<a name="line.509"></a>
+<span class="sourceLineNo">494</span>   @Override /* Parser */<a name="line.494"></a>
+<span class="sourceLineNo">495</span>   protected &lt;T&gt; T doParse(ParserSession session, ClassMeta&lt;T&gt; type) throws Exception {<a name="line.495"></a>
+<span class="sourceLineNo">496</span>      UrlEncodingParserSession s = (UrlEncodingParserSession)session;<a name="line.496"></a>
+<span class="sourceLineNo">497</span>      UonReader r = s.getReader();<a name="line.497"></a>
+<span class="sourceLineNo">498</span>      T o = parseAnything(s, type, r, s.getOuter());<a name="line.498"></a>
+<span class="sourceLineNo">499</span>      return o;<a name="line.499"></a>
+<span class="sourceLineNo">500</span>   }<a name="line.500"></a>
+<span class="sourceLineNo">501</span><a name="line.501"></a>
+<span class="sourceLineNo">502</span>   @Override /* ReaderParser */<a name="line.502"></a>
+<span class="sourceLineNo">503</span>   protected &lt;K,V&gt; Map&lt;K,V&gt; doParseIntoMap(ParserSession session, Map&lt;K,V&gt; m, Type keyType, Type valueType) throws Exception {<a name="line.503"></a>
+<span class="sourceLineNo">504</span>      UrlEncodingParserSession s = (UrlEncodingParserSession)session;<a name="line.504"></a>
+<span class="sourceLineNo">505</span>      UonReader r = s.getReader();<a name="line.505"></a>
+<span class="sourceLineNo">506</span>      if (r.peekSkipWs() == '?')<a name="line.506"></a>
+<span class="sourceLineNo">507</span>         r.read();<a name="line.507"></a>
+<span class="sourceLineNo">508</span>      m = parseIntoMap(s, r, m, session.getClassMeta(Map.class, keyType, valueType), null);<a name="line.508"></a>
+<span class="sourceLineNo">509</span>      return m;<a name="line.509"></a>
 <span class="sourceLineNo">510</span>   }<a name="line.510"></a>
-<span class="sourceLineNo">511</span><a name="line.511"></a>
-<span class="sourceLineNo">512</span>   @Override /* ReaderParser */<a name="line.512"></a>
-<span class="sourceLineNo">513</span>   protected &lt;K,V&gt; Map&lt;K,V&gt; doParseIntoMap(ParserSession session, Map&lt;K,V&gt; m, Type keyType, Type valueType) throws Exception {<a name="line.513"></a>
-<span class="sourceLineNo">514</span>      UrlEncodingParserSession s = (UrlEncodingParserSession)session;<a name="line.514"></a>
-<span class="sourceLineNo">515</span>      UonReader r = s.getReader();<a name="line.515"></a>
-<span class="sourceLineNo">516</span>      if (r.peekSkipWs() == '?')<a name="line.516"></a>
-<span class="sourceLineNo">517</span>         r.read();<a name="line.517"></a>
-<span class="sourceLineNo">518</span>      m = parseIntoMap(s, r, m, session.getClassMeta(Map.class, keyType, valueType), null);<a name="line.518"></a>
-<span class="sourceLineNo">519</span>      return m;<a name="line.519"></a>
-<span class="sourceLineNo">520</span>   }<a name="line.520"></a>
-<span class="sourceLineNo">521</span>}<a name="line.521"></a>
+<span class="sourceLineNo">511</span>}<a name="line.511"></a>
 
 
 


[24/42] incubator-juneau-website git commit: Update javadocs.

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/overview-tree.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/overview-tree.html b/content/site/apidocs/overview-tree.html
index 9d5a88a..f347668 100644
--- a/content/site/apidocs/overview-tree.html
+++ b/content/site/apidocs/overview-tree.html
@@ -96,6 +96,7 @@
 <li><a href="org/apache/juneau/msgpack/package-tree.html">org.apache.juneau.msgpack</a>, </li>
 <li><a href="org/apache/juneau/parser/package-tree.html">org.apache.juneau.parser</a>, </li>
 <li><a href="org/apache/juneau/plaintext/package-tree.html">org.apache.juneau.plaintext</a>, </li>
+<li><a href="org/apache/juneau/remoteable/package-tree.html">org.apache.juneau.remoteable</a>, </li>
 <li><a href="org/apache/juneau/rest/package-tree.html">org.apache.juneau.rest</a>, </li>
 <li><a href="org/apache/juneau/rest/annotation/package-tree.html">org.apache.juneau.rest.annotation</a>, </li>
 <li><a href="org/apache/juneau/rest/client/package-tree.html">org.apache.juneau.rest.client</a>, </li>
@@ -932,7 +933,10 @@
 <li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/Redirect.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">Redirect</span></a></li>
 <li type="circle">org.apache.juneau.rest.response.<a href="org/apache/juneau/rest/response/RedirectHandler.html" title="class in org.apache.juneau.rest.response"><span class="typeNameLink">RedirectHandler</span></a> (implements org.apache.juneau.rest.<a href="org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest">ResponseHandler</a>)</li>
 <li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/ReflectionUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">ReflectionUtils</span></a></li>
+<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteableMeta</span></a></li>
+<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMethodMeta.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteableMethodMeta</span></a></li>
 <li type="circle">org.apache.juneau.rest.remoteable.<a href="org/apache/juneau/rest/remoteable/RemoteableServiceProperties.html" title="class in org.apache.juneau.rest.remoteable"><span class="typeNameLink">RemoteableServiceProperties</span></a></li>
+<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteMethodArg.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteMethodArg</span></a></li>
 <li type="circle">java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/ResourceBundle.html?is-external=true" title="class or interface in java.util"><span class="typeNameLink">ResourceBundle</span></a>
 <ul>
 <li type="circle">org.apache.juneau.utils.<a href="org/apache/juneau/utils/MessageBundle.html" title="class in org.apache.juneau.utils"><span class="typeNameLink">MessageBundle</span></a></li>
@@ -969,6 +973,7 @@
 </ul>
 </li>
 <li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestUtils.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">RestUtils</span></a></li>
+<li type="circle">org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RetryOn.html" title="class in org.apache.juneau.rest.client"><span class="typeNameLink">RetryOn</span></a></li>
 <li type="circle">org.apache.juneau.dto.jsonschema.<a href="org/apache/juneau/dto/jsonschema/Schema.html" title="class in org.apache.juneau.dto.jsonschema"><span class="typeNameLink">Schema</span></a>
 <ul>
 <li type="circle">org.apache.juneau.dto.jsonschema.<a href="org/apache/juneau/dto/jsonschema/SchemaProperty.html" title="class in org.apache.juneau.dto.jsonschema"><span class="typeNameLink">SchemaProperty</span></a>
@@ -1099,6 +1104,7 @@
 <ul>
 <li type="circle">org.apache.juneau.<a href="org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau"><span class="typeNameLink">BeanRuntimeException</span></a></li>
 <li type="circle">org.apache.juneau.<a href="org/apache/juneau/ConfigException.html" title="class in org.apache.juneau"><span class="typeNameLink">ConfigException</span></a></li>
+<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteableMetadataException</span></a></li>
 </ul>
 </li>
 <li type="circle">org.apache.juneau.<a href="org/apache/juneau/InvalidDataConversionException.html" title="class in org.apache.juneau"><span class="typeNameLink">InvalidDataConversionException</span></a></li>
@@ -1117,6 +1123,7 @@
 </li>
 <li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/ThrowableUtils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">ThrowableUtils</span></a></li>
 <li type="circle">org.apache.juneau.rest.converters.<a href="org/apache/juneau/rest/converters/Traversable.html" title="class in org.apache.juneau.rest.converters"><span class="typeNameLink">Traversable</span></a> (implements org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestConverter.html" title="interface in org.apache.juneau.rest">RestConverter</a>)</li>
+<li type="circle">org.apache.juneau.uon.<a href="org/apache/juneau/uon/UonUtils.html" title="class in org.apache.juneau.uon"><span class="typeNameLink">UonUtils</span></a></li>
 <li type="circle">org.apache.juneau.urlencoding.<a href="org/apache/juneau/urlencoding/UrlEncodingContext.html" title="class in org.apache.juneau.urlencoding"><span class="typeNameLink">UrlEncodingContext</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>)</li>
 <li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/UrlPathPattern.html" title="class in org.apache.juneau.rest"><span class="typeNameLink">UrlPathPattern</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;)</li>
 <li type="circle">org.apache.juneau.internal.<a href="org/apache/juneau/internal/Utils.html" title="class in org.apache.juneau.internal"><span class="typeNameLink">Utils</span></a></li>
@@ -1200,7 +1207,6 @@
 <li type="circle">org.apache.juneau.jena.<a href="org/apache/juneau/jena/RdfCommonContext.html" title="interface in org.apache.juneau.jena"><span class="typeNameLink">RdfCommonContext</span></a></li>
 <li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/ResponseHandler.html" title="interface in org.apache.juneau.rest"><span class="typeNameLink">ResponseHandler</span></a></li>
 <li type="circle">org.apache.juneau.rest.<a href="org/apache/juneau/rest/RestConverter.html" title="interface in org.apache.juneau.rest"><span class="typeNameLink">RestConverter</span></a></li>
-<li type="circle">org.apache.juneau.rest.client.<a href="org/apache/juneau/rest/client/RetryOn.html" title="interface in org.apache.juneau.rest.client"><span class="typeNameLink">RetryOn</span></a></li>
 <li type="circle">org.apache.juneau.<a href="org/apache/juneau/Streamable.html" title="interface in org.apache.juneau"><span class="typeNameLink">Streamable</span></a></li>
 <li type="circle">org.apache.juneau.<a href="org/apache/juneau/Writable.html" title="interface in org.apache.juneau"><span class="typeNameLink">Writable</span></a></li>
 <li type="circle">org.apache.juneau.utils.<a href="org/apache/juneau/utils/ZipFileList.ZipFileEntry.html" title="interface in org.apache.juneau.utils"><span class="typeNameLink">ZipFileList.ZipFileEntry</span></a></li>
@@ -1209,7 +1215,6 @@
 <ul>
 <li type="circle">org.apache.juneau.annotation.<a href="org/apache/juneau/annotation/URI.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">URI</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
 <li type="circle">org.apache.juneau.annotation.<a href="org/apache/juneau/annotation/ThreadSafe.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">ThreadSafe</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
-<li type="circle">org.apache.juneau.annotation.<a href="org/apache/juneau/annotation/Remoteable.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Remoteable</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
 <li type="circle">org.apache.juneau.annotation.<a href="org/apache/juneau/annotation/Produces.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Produces</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
 <li type="circle">org.apache.juneau.annotation.<a href="org/apache/juneau/annotation/Pojo.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">Pojo</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
 <li type="circle">org.apache.juneau.annotation.<a href="org/apache/juneau/annotation/ParentProperty.html" title="annotation in org.apache.juneau.annotation"><span class="typeNameLink">ParentProperty</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
@@ -1224,6 +1229,15 @@
 <li type="circle">org.apache.juneau.html.annotation.<a href="org/apache/juneau/html/annotation/Html.html" title="annotation in org.apache.juneau.html.annotation"><span class="typeNameLink">Html</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
 <li type="circle">org.apache.juneau.html.<a href="org/apache/juneau/html/HtmlLink.html" title="annotation in org.apache.juneau.html"><span class="typeNameLink">HtmlLink</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
 <li type="circle">org.apache.juneau.json.annotation.<a href="org/apache/juneau/json/annotation/Json.html" title="annotation in org.apache.juneau.json.annotation"><span class="typeNameLink">Json</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/RemoteMethod.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">RemoteMethod</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/Remoteable.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Remoteable</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/QueryIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">QueryIfNE</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/Query.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Query</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/HeaderIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">HeaderIfNE</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/Header.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Header</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/FormDataIfNE.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">FormDataIfNE</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/FormData.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">FormData</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
+<li type="circle">org.apache.juneau.remoteable.<a href="org/apache/juneau/remoteable/Body.html" title="annotation in org.apache.juneau.remoteable"><span class="typeNameLink">Body</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
 <li type="circle">org.apache.juneau.urlencoding.annotation.<a href="org/apache/juneau/urlencoding/annotation/UrlEncoding.html" title="annotation in org.apache.juneau.urlencoding.annotation"><span class="typeNameLink">UrlEncoding</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
 <li type="circle">org.apache.juneau.xml.annotation.<a href="org/apache/juneau/xml/annotation/XmlSchema.html" title="annotation in org.apache.juneau.xml.annotation"><span class="typeNameLink">XmlSchema</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
 <li type="circle">org.apache.juneau.xml.annotation.<a href="org/apache/juneau/xml/annotation/XmlNs.html" title="annotation in org.apache.juneau.xml.annotation"><span class="typeNameLink">XmlNs</span></a> (implements java.lang.annotation.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/package-list
----------------------------------------------------------------------
diff --git a/content/site/apidocs/package-list b/content/site/apidocs/package-list
index 0cde3c9..4592763 100644
--- a/content/site/apidocs/package-list
+++ b/content/site/apidocs/package-list
@@ -22,6 +22,7 @@ org.apache.juneau.microservice.resources
 org.apache.juneau.msgpack
 org.apache.juneau.parser
 org.apache.juneau.plaintext
+org.apache.juneau.remoteable
 org.apache.juneau.rest
 org.apache.juneau.rest.annotation
 org.apache.juneau.rest.client

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/80ff9b74/content/site/apidocs/serialized-form.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/serialized-form.html b/content/site/apidocs/serialized-form.html
index 4e62f8c..f3475b2 100644
--- a/content/site/apidocs/serialized-form.html
+++ b/content/site/apidocs/serialized-form.html
@@ -409,6 +409,20 @@
 </ul>
 </li>
 <li class="blockList">
+<h2 title="Package">Package&nbsp;org.apache.juneau.remoteable</h2>
+<ul class="blockList">
+<li class="blockList"><a name="org.apache.juneau.remoteable.RemoteableMetadataException">
+<!--   -->
+</a>
+<h3>Class <a href="org/apache/juneau/remoteable/RemoteableMetadataException.html" title="class in org.apache.juneau.remoteable">org.apache.juneau.remoteable.RemoteableMetadataException</a> extends <a href="org/apache/juneau/FormattedRuntimeException.html" title="class in org.apache.juneau">FormattedRuntimeException</a> implements Serializable</h3>
+<dl class="nameValue">
+<dt>serialVersionUID:</dt>
+<dd>1L</dd>
+</dl>
+</li>
+</ul>
+</li>
+<li class="blockList">
 <h2 title="Package">Package&nbsp;org.apache.juneau.rest</h2>
 <ul class="blockList">
 <li class="blockList"><a name="org.apache.juneau.rest.RestException">