http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f6fc8b5/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 index 1abc1e7..5e25c80 100644 --- a/content/site/apidocs/org/apache/juneau/remoteable/Header.html +++ b/content/site/apidocs/org/apache/juneau/remoteable/Header.html @@ -96,7 +96,7 @@ <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/ElementType.html?is-external=true#FIELD" title="class or interface in java.lang.annotation">FIELD</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/Header.html#line.79">Header</a></pre> +public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Header.html#line.80">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> @@ -115,11 +115,11 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Hea The argument can be any of the following types: <ul class='spaced-list'> <li><code>NameValuePairs</code> - Individual name-value pairs. - <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>Any serializable POJO - Converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serialize-org.apache.juneau.serializer.PartType-java.lang.Object-"><code>UrlEncodingSerializer.serialize(PartType,Object)</code></a>. <li><code>Map<String,Object></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>. + Values are converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serialize-org.apache.juneau.serializer.PartType-java.lang.Object-"><code>UrlEncodingSerializer.serialize(PartType,Object)</code></a>. <li>A bean - 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>. + Values are converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serialize-org.apache.juneau.serializer.PartType-java.lang.Object-"><code>UrlEncodingSerializer.serialize(PartType,Object)</code></a>. </ul> <p> The annotation can also be applied to a bean property field or getter when the argument is annotated with @@ -166,6 +166,12 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Hea <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/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/Header.html#serializer--">serializer</a></span></code> +<div class="block">Specifies the <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer"><code>PartSerializer</code></a> class used for serializing values to strings.</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/Header.html#value--">value</a></span></code> <div class="block">The HTTP header name.</div> @@ -189,10 +195,10 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Hea <a name="value--"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>value</h4> -<pre>public abstract <a href="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/Header.html#line.92">value</a></pre> +<pre>public abstract <a href="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/Header.html#line.93">value</a></pre> <div class="block">The HTTP header name. <p> A value of <js>"*"</js> indicates the value should be serialized as name/value pairs and is applicable @@ -210,6 +216,27 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Hea </ul> </li> </ul> +<ul class="blockList"> +<li class="blockList"><a name="serializer--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>serializer</h4> +<pre>public abstract <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><? extends <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a>> <a href="../../../../src-html/org/apache/juneau/remoteable/Header.html#line.102">serializer</a></pre> +<div class="block">Specifies the <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer"><code>PartSerializer</code></a> class used for serializing values to strings. + <p> + The default serializer converters values to UON notation. + <p> + This annotation is provided to allow values to be custom serialized.</div> +<dl> +<dt>Default:</dt> +<dd>org.apache.juneau.urlencoding.UrlEncodingSerializer.class</dd> +</dl> +</li> +</ul> +</li> +</ul> </li> </ul> </div>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f6fc8b5/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 index 7aa52ad..980df78 100644 --- a/content/site/apidocs/org/apache/juneau/remoteable/HeaderIfNE.html +++ b/content/site/apidocs/org/apache/juneau/remoteable/HeaderIfNE.html @@ -96,7 +96,7 @@ <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/ElementType.html?is-external=true#FIELD" title="class or interface in java.lang.annotation">FIELD</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/HeaderIfNE.html#line.27">HeaderIfNE</a></pre> +public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/HeaderIfNE.html#line.30">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> @@ -117,6 +117,12 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Hea <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/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/HeaderIfNE.html#serializer--">serializer</a></span></code> +<div class="block">Specifies the <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer"><code>PartSerializer</code></a> class used for serializing values to strings.</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/HeaderIfNE.html#value--">value</a></span></code> <div class="block">The HTTP header name.</div> @@ -140,10 +146,10 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Hea <a name="value--"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>value</h4> -<pre>public abstract <a href="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/HeaderIfNE.html#line.40">value</a></pre> +<pre>public abstract <a href="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/HeaderIfNE.html#line.43">value</a></pre> <div class="block">The HTTP header name. <p> A value of <js>"*"</js> indicates the value should be serialized as name/value pairs and is applicable @@ -161,6 +167,27 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Hea </ul> </li> </ul> +<ul class="blockList"> +<li class="blockList"><a name="serializer--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>serializer</h4> +<pre>public abstract <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><? extends <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a>> <a href="../../../../src-html/org/apache/juneau/remoteable/HeaderIfNE.html#line.52">serializer</a></pre> +<div class="block">Specifies the <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer"><code>PartSerializer</code></a> class used for serializing values to strings. + <p> + The default serializer converters values to UON notation. + <p> + This annotation is provided to allow values to be custom serialized.</div> +<dl> +<dt>Default:</dt> +<dd>org.apache.juneau.urlencoding.UrlEncodingSerializer.class</dd> +</dl> +</li> +</ul> +</li> +</ul> </li> </ul> </div> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f6fc8b5/content/site/apidocs/org/apache/juneau/remoteable/Path.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/remoteable/Path.html b/content/site/apidocs/org/apache/juneau/remoteable/Path.html index b8a854c..c19972b 100644 --- a/content/site/apidocs/org/apache/juneau/remoteable/Path.html +++ b/content/site/apidocs/org/apache/juneau/remoteable/Path.html @@ -96,7 +96,7 @@ <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/ElementType.html?is-external=true#FIELD" title="class or interface in java.lang.annotation">FIELD</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/Path.html#line.73">Path</a></pre> +public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Path.html#line.74">Path</a></pre> <div class="block">Annotation applied to Java method arguments of interface proxies to denote that they are path variables on the request. <p> <h5 class='section'>Example:</h5> @@ -112,11 +112,11 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Pat The argument can be any of the following types: <ul class='spaced-list'> <li><code>NameValuePairs</code> - Individual name-value pairs. - <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>Any serializable POJO - Converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serialize-org.apache.juneau.serializer.PartType-java.lang.Object-"><code>UrlEncodingSerializer.serialize(PartType,Object)</code></a>. <li><code>Map<String,Object></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>. + Values are converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serialize-org.apache.juneau.serializer.PartType-java.lang.Object-"><code>UrlEncodingSerializer.serialize(PartType,Object)</code></a>. <li>A bean - 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>. + Values are converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serialize-org.apache.juneau.serializer.PartType-java.lang.Object-"><code>UrlEncodingSerializer.serialize(PartType,Object)</code></a>. </ul> <p> The annotation can also be applied to a bean property field or getter when the argument is annotated with @@ -160,6 +160,12 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Pat <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/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/Path.html#serializer--">serializer</a></span></code> +<div class="block">Specifies the <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer"><code>PartSerializer</code></a> class used for serializing values to strings.</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/Path.html#value--">value</a></span></code> <div class="block">The path parameter name.</div> @@ -183,10 +189,10 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Pat <a name="value--"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>value</h4> -<pre>public abstract <a href="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/Path.html#line.86">value</a></pre> +<pre>public abstract <a href="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/Path.html#line.87">value</a></pre> <div class="block">The path parameter name. <p> A value of <js>"*"</js> indicates the value should be serialized as name/value pairs and is applicable @@ -204,6 +210,27 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Pat </ul> </li> </ul> +<ul class="blockList"> +<li class="blockList"><a name="serializer--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>serializer</h4> +<pre>public abstract <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><? extends <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a>> <a href="../../../../src-html/org/apache/juneau/remoteable/Path.html#line.96">serializer</a></pre> +<div class="block">Specifies the <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer"><code>PartSerializer</code></a> class used for serializing values to strings. + <p> + The default serializer converters values to UON notation. + <p> + This annotation is provided to allow values to be custom serialized.</div> +<dl> +<dt>Default:</dt> +<dd>org.apache.juneau.urlencoding.UrlEncodingSerializer.class</dd> +</dl> +</li> +</ul> +</li> +</ul> </li> </ul> </div> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f6fc8b5/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 index 12d027f..383552e 100644 --- a/content/site/apidocs/org/apache/juneau/remoteable/Query.html +++ b/content/site/apidocs/org/apache/juneau/remoteable/Query.html @@ -96,7 +96,7 @@ <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/ElementType.html?is-external=true#FIELD" title="class or interface in java.lang.annotation">FIELD</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/Query.html#line.83">Query</a></pre> +public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Query.html#line.84">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> @@ -118,11 +118,11 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Que The argument can be any of the following types: <ul class='spaced-list'> <li><code>NameValuePairs</code> - Individual name-value pairs. - <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>Any serializable POJO - Converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serialize-org.apache.juneau.serializer.PartType-java.lang.Object-"><code>UrlEncodingSerializer.serialize(PartType,Object)</code></a>. <li><code>Map<String,Object></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>. + Values are converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serialize-org.apache.juneau.serializer.PartType-java.lang.Object-"><code>UrlEncodingSerializer.serialize(PartType,Object)</code></a>. <li>A bean - 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>. + Values are converted to text using <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serialize-org.apache.juneau.serializer.PartType-java.lang.Object-"><code>UrlEncodingSerializer.serialize(PartType,Object)</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> <p> @@ -170,6 +170,12 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Que <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/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/Query.html#serializer--">serializer</a></span></code> +<div class="block">Specifies the <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer"><code>PartSerializer</code></a> class used for serializing values to strings.</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/Query.html#value--">value</a></span></code> <div class="block">The query parameter name.</div> @@ -193,10 +199,10 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Que <a name="value--"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>value</h4> -<pre>public abstract <a href="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/Query.html#line.97">value</a></pre> +<pre>public abstract <a href="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/Query.html#line.98">value</a></pre> <div class="block">The query parameter name. <p> A value of <js>"*"</js> indicates the value should be serialized as name/value pairs and is applicable @@ -215,6 +221,27 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Que </ul> </li> </ul> +<ul class="blockList"> +<li class="blockList"><a name="serializer--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>serializer</h4> +<pre>public abstract <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><? extends <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a>> <a href="../../../../src-html/org/apache/juneau/remoteable/Query.html#line.107">serializer</a></pre> +<div class="block">Specifies the <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer"><code>PartSerializer</code></a> class used for serializing values to strings. + <p> + The default serializer converters values to UON notation. + <p> + This annotation is provided to allow values to be custom serialized.</div> +<dl> +<dt>Default:</dt> +<dd>org.apache.juneau.urlencoding.UrlEncodingSerializer.class</dd> +</dl> +</li> +</ul> +</li> +</ul> </li> </ul> </div> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f6fc8b5/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 index 112af11..17e5113 100644 --- a/content/site/apidocs/org/apache/juneau/remoteable/QueryIfNE.html +++ b/content/site/apidocs/org/apache/juneau/remoteable/QueryIfNE.html @@ -96,7 +96,7 @@ <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/ElementType.html?is-external=true#FIELD" title="class or interface in java.lang.annotation">FIELD</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/QueryIfNE.html#line.27">QueryIfNE</a></pre> +public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/QueryIfNE.html#line.30">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> @@ -117,6 +117,12 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Que <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/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/QueryIfNE.html#serializer--">serializer</a></span></code> +<div class="block">Specifies the <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer"><code>PartSerializer</code></a> class used for serializing values to strings.</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/QueryIfNE.html#value--">value</a></span></code> <div class="block">The query parameter name.</div> @@ -140,10 +146,10 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Que <a name="value--"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>value</h4> -<pre>public abstract <a href="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/QueryIfNE.html#line.41">value</a></pre> +<pre>public abstract <a href="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/QueryIfNE.html#line.44">value</a></pre> <div class="block">The query parameter name. <p> A value of <js>"*"</js> indicates the value should be serialized as name/value pairs and is applicable @@ -162,6 +168,27 @@ public @interface <a href="../../../../src-html/org/apache/juneau/remoteable/Que </ul> </li> </ul> +<ul class="blockList"> +<li class="blockList"><a name="serializer--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>serializer</h4> +<pre>public abstract <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><? extends <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a>> <a href="../../../../src-html/org/apache/juneau/remoteable/QueryIfNE.html#line.53">serializer</a></pre> +<div class="block">Specifies the <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer"><code>PartSerializer</code></a> class used for serializing values to strings. + <p> + The default serializer converters values to UON notation. + <p> + This annotation is provided to allow values to be custom serialized.</div> +<dl> +<dt>Default:</dt> +<dd>org.apache.juneau.urlencoding.UrlEncodingSerializer.class</dd> +</dl> +</li> +</ul> +</li> +</ul> </li> </ul> </div> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f6fc8b5/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 index 452d551..5adb4a7 100644 --- a/content/site/apidocs/org/apache/juneau/remoteable/RemoteMethodArg.html +++ b/content/site/apidocs/org/apache/juneau/remoteable/RemoteMethodArg.html @@ -102,7 +102,7 @@ <li class="blockList"> <hr> <br> -<pre>public class <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethodArg.html#line.18">RemoteMethodArg</a> +<pre>public class <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethodArg.html#line.21">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> @@ -136,6 +136,12 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </td> </tr> <tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html#serializer">serializer</a></span></code> +<div class="block">The serializer used for converting objects to strings.</div> +</td> +</tr> +<tr class="rowColor"> <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> @@ -158,9 +164,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </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> name, +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/remoteable/RemoteMethodArg.html#RemoteMethodArg-java.lang.String-int-boolean-java.lang.Class-">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> name, int index, - boolean skipIfNE)</code> + boolean skipIfNE, + <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><? extends <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a>> serializer)</code> <div class="block">Constructor.</div> </td> </tr> @@ -200,7 +207,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>name</h4> -<pre>public final <a href="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> +<pre>public final <a href="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.24">name</a></pre> <div class="block">The argument name. Can be blank.</div> </li> </ul> @@ -210,20 +217,30 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>index</h4> -<pre>public final int <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethodArg.html#line.24">index</a></pre> +<pre>public final int <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethodArg.html#line.27">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"> +<ul class="blockList"> <li class="blockList"> <h4>skipIfNE</h4> -<pre>public final boolean <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethodArg.html#line.27">skipIfNE</a></pre> +<pre>public final boolean <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethodArg.html#line.30">skipIfNE</a></pre> <div class="block">The value is skipped if it's null/empty.</div> </li> </ul> +<a name="serializer"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>serializer</h4> +<pre>public final <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a> <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethodArg.html#line.33">serializer</a></pre> +<div class="block">The serializer used for converting objects to strings.</div> +</li> +</ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> @@ -232,21 +249,25 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <!-- --> </a> <h3>Constructor Detail</h3> -<a name="RemoteMethodArg-java.lang.String-int-boolean-"> +<a name="RemoteMethodArg-java.lang.String-int-boolean-java.lang.Class-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>RemoteMethodArg</h4> -<pre>protected <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> name, +<pre>protected <a href="../../../../src-html/org/apache/juneau/remoteable/RemoteMethodArg.html#line.45">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> name, int index, - boolean skipIfNE)</pre> + boolean skipIfNE, + <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><? extends <a href="../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a>> serializer)</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> +<dd><code>serializer</code> - The class to use for serializing headers, query paramters, form-data parameters, and + path variables. + If <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding"><code>UrlEncodingSerializer</code></a>, then the url-encoding serializer defined on the client will be used.</dd> </dl> </li> </ul> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f6fc8b5/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 95dee04..df66764 100644 --- a/content/site/apidocs/org/apache/juneau/rest/Redirect.html +++ b/content/site/apidocs/org/apache/juneau/rest/Redirect.html @@ -108,7 +108,7 @@ var activeTableTab = "activeTableTab"; <li class="blockList"> <hr> <br> -<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/Redirect.html#line.66">Redirect</a> +<pre>public final class <a href="../../../../src-html/org/apache/juneau/rest/Redirect.html#line.67">Redirect</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">REST methods can return this object as a shortcut for performing <code>HTTP 302</code> redirects. <p> @@ -249,7 +249,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>Redirect</h4> -<pre>public <a href="../../../../src-html/org/apache/juneau/rest/Redirect.html#line.85">Redirect</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> url, +<pre>public <a href="../../../../src-html/org/apache/juneau/rest/Redirect.html#line.86">Redirect</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> 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>... args)</pre> <div class="block">Redirect to the specified URL. Relative paths are interpreted as relative to the servlet path.</div> @@ -272,7 +272,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>Redirect</h4> -<pre>public <a href="../../../../src-html/org/apache/juneau/rest/Redirect.html#line.101">Redirect</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> url)</pre> +<pre>public <a href="../../../../src-html/org/apache/juneau/rest/Redirect.html#line.102">Redirect</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> url)</pre> <div class="block">Convenience method for redirecting to instance of <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> and <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>. Same as calling <code>toString()</code> on the object and using the other constructor.</div> <dl> @@ -293,7 +293,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>Redirect</h4> -<pre>public <a href="../../../../src-html/org/apache/juneau/rest/Redirect.html#line.119">Redirect</a>(int httpResponseCode, +<pre>public <a href="../../../../src-html/org/apache/juneau/rest/Redirect.html#line.120">Redirect</a>(int httpResponseCode, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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>... args)</pre> <div class="block">Redirect to the specified URL. @@ -318,7 +318,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>Redirect</h4> -<pre>public <a href="../../../../src-html/org/apache/juneau/rest/Redirect.html#line.128">Redirect</a>()</pre> +<pre>public <a href="../../../../src-html/org/apache/juneau/rest/Redirect.html#line.129">Redirect</a>()</pre> <div class="block">Shortcut for redirecting to the servlet root.</div> </li> </ul> @@ -336,11 +336,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>toUrl</h4> -<pre>public <a href="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/Redirect.html#line.138">toUrl</a>(<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a> s)</pre> +<pre>public <a href="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/Redirect.html#line.139">toUrl</a>(<a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a> s)</pre> <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#serializePart-java.lang.Object-java.lang.Boolean-java.lang.Boolean-"><code>UrlEncodingSerializer.serializePart(Object,Boolean,Boolean)</code></a> method.</dd> +<dd><code>s</code> - Use this serializer to encode arguments using the <a href="../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html#serialize-org.apache.juneau.serializer.PartType-java.lang.Object-"><code>UrlEncodingSerializer.serialize(PartType,Object)</code></a> method.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>The URL to redirect to.</dd> </dl> @@ -352,7 +352,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>getHttpResponseCode</h4> -<pre>public int <a href="../../../../src-html/org/apache/juneau/rest/Redirect.html#line.152">getHttpResponseCode</a>()</pre> +<pre>public int <a href="../../../../src-html/org/apache/juneau/rest/Redirect.html#line.153">getHttpResponseCode</a>()</pre> <div class="block">Returns the response code passed in through the constructor.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/2f6fc8b5/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 3160531..5f46fbd 100644 --- a/content/site/apidocs/org/apache/juneau/rest/client/NameValuePairs.html +++ b/content/site/apidocs/org/apache/juneau/rest/client/NameValuePairs.html @@ -132,7 +132,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public final class <a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.38">NameValuePairs</a> +<pre>public final class <a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.39">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><org.apache.http.NameValuePair></pre> <div class="block">Convenience class for constructing instances of <code>List<NameValuePair></code> for the <code>UrlEncodedFormEntity</code> class. @@ -216,9 +216,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h </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> name, +<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.serializer.PartSerializer-">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> 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> value, - <a href="../../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a> serializer)</code> + <a href="../../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a> partSerializer)</code> <div class="block">Appends the specified name/value pair to the end of this list.</div> </td> </tr> @@ -306,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 <a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.38">NameValuePairs</a>()</pre> +<pre>public <a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.39">NameValuePairs</a>()</pre> </li> </ul> </li> @@ -323,7 +323,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>append</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.48">append</a>(org.apache.http.NameValuePair pair)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.49">append</a>(org.apache.http.NameValuePair pair)</pre> <div class="block">Appends the specified pair to the end of this list.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -339,7 +339,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <ul class="blockList"> <li class="blockList"> <h4>append</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a> <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> name, +<pre>public <a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/NameValuePairs.html#line.63">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> 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> value)</pre> <div class="block">Appends the specified name/value pair to the end of this list. <p> @@ -353,7 +353,7 @@ 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-org.apache.juneau.urlencoding.UrlEncodingSerializer-"> +<a name="append-java.lang.String-java.lang.Object-org.apache.juneau.serializer.PartSerializer-"> <!-- --> </a> <ul class="blockListLast"> @@ -361,16 +361,15 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.h <h4>append</h4> <pre>public <a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a> <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> 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> value, - <a href="../../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding">UrlEncodingSerializer</a> serializer)</pre> + <a href="../../../../../org/apache/juneau/serializer/PartSerializer.html" title="interface in org.apache.juneau.serializer">PartSerializer</a> partSerializer)</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> + The value is converted to UON notation using the <a href="../../../../../org/apache/juneau/urlencoding/UrlEncodingSerializer.html" title="class in org.apache.juneau.urlencoding"><code>UrlEncodingSerializer</code></a> defined on the client.</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> +<dd><code>partSerializer</code> - The serializer to use for converting values to simple strings.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>This object (for method chaining).</dd> </dl>
