http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/37ddf434/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 33634fe..7342421 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":10,"i18":42,"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}; +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":10,"i18":42,"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}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -587,18 +587,25 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </tr> <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#path-java.lang.String-java.lang.Object-">path</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)</code> +<div class="block">Replaces a variable of the form <js>"{name}"</js> in the URL path with the specified value.</div> +</td> +</tr> +<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.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> 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="i68" class="altColor"> +<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.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> os, boolean 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="i69" class="rowColor"> +<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.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> 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> os, @@ -607,7 +614,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="i70" class="altColor"> +<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.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> 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> w, @@ -616,57 +623,57 @@ 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="i71" class="rowColor"> +<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#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> 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="i72" class="altColor"> +<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#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> w, boolean 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="i73" class="rowColor"> +<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#port-int-">port</a></span>(int port)</code> <div class="block">Sets the URI port.</div> </td> </tr> -<tr id="i74" class="altColor"> +<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#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> value)</code> <div class="block">Sets the value for the <code>Pragma</code> request header.</div> </td> </tr> -<tr id="i75" class="rowColor"> +<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#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> value)</code> <div class="block">Sets the value for the <code>Proxy-Authorization</code> request header.</div> </td> </tr> -<tr id="i76" 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.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><<a href="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>> params)</code> <div class="block">Adds query parameters to the URI query.</div> </td> </tr> -<tr id="i77" class="rowColor"> +<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-">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> query)</code> <div class="block">Sets a custom URI query.</div> </td> </tr> -<tr id="i78" class="altColor"> +<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#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> 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)</code> <div class="block">Adds a query parameter to the URI query.</div> </td> </tr> -<tr id="i79" class="rowColor"> +<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#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> 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, @@ -674,44 +681,44 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <div class="block">Adds a query parameter to the URI query.</div> </td> </tr> -<tr id="i80" class="altColor"> +<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#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><<a href="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>> params)</code> <div class="block">Adds query parameters to the URI for any parameters that aren't null/empty.</div> </td> </tr> -<tr id="i81" 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#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> 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)</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="i82" 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#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> value)</code> <div class="block">Sets the value for the <code>Range</code> request header.</div> </td> </tr> -<tr id="i83" 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#redirectMaxAttempts-int-">redirectMaxAttempts</a></span>(int maxAttempts)</code> <div class="block">Specify the number of redirects to follow before throwing an exception.</div> </td> </tr> -<tr id="i84" 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#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> value)</code> <div class="block">Sets the value for the <code>Referer</code> request header.</div> </td> </tr> -<tr id="i85" class="rowColor"> +<tr id="i86" 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> 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="i86" class="altColor"> +<tr id="i87" 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 retries, long interval, @@ -719,86 +726,86 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <div class="block">Make this call retryable if an error response (>=400) is received.</div> </td> </tr> -<tr id="i87" class="rowColor"> +<tr id="i88" 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="i88" class="altColor"> +<tr id="i89" 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><<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/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="i89" 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#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> scheme)</code> <div class="block">Sets the URI scheme.</div> </td> </tr> -<tr id="i90" 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#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> serializer)</code> <div class="block">Specifies the serializer to use on this call.</div> </td> </tr> -<tr id="i91" 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#setConfig-org.apache.http.client.config.RequestConfig-">setConfig</a></span>(org.apache.http.client.config.RequestConfig config)</code> <div class="block">Set configuration settings on this request.</div> </td> </tr> -<tr id="i92" 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#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> successPattern)</code> <div class="block">Look for the specified regular expression pattern in the response output.</div> </td> </tr> -<tr id="i93" 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#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> value)</code> <div class="block">Sets the value for the <code>TE</code> request header.</div> </td> </tr> -<tr id="i94" 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#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> value)</code> <div class="block">Sets the value for the <code>Upgrade</code> request header.</div> </td> </tr> -<tr id="i95" 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#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> uri)</code> <div class="block">Sets the URI for this call.</div> </td> </tr> -<tr id="i96" 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#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> value)</code> <div class="block">Sets the value for the <code>User-Agent</code> request header.</div> </td> </tr> -<tr id="i97" 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#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> userInfo)</code> <div class="block">Sets the URI user info.</div> </td> </tr> -<tr id="i98" 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#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> 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> password)</code> <div class="block">Sets the URI user info.</div> </td> </tr> -<tr id="i99" class="rowColor"> +<tr id="i100" 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> value)</code> <div class="block">Sets the value for the <code>Via</code> request header.</div> </td> </tr> -<tr id="i100" class="altColor"> +<tr id="i101" 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> value)</code> <div class="block">Sets the value for the <code>Warning</code> request header.</div> @@ -938,20 +945,23 @@ 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 <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <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> name, +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.184">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> 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, - boolean skipIfEmpty)</pre> + boolean skipIfEmpty) + 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 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> + 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>, <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="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>, or bean.</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> + Can also be <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>, <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="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>, or bean 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> +<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> @@ -961,7 +971,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 <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <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> name, +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.214">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> 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) 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 query parameter to the URI query.</div> @@ -982,7 +992,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 <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <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><<a href="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>> params) +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.225">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><<a href="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>> 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> @@ -1001,7 +1011,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>queryIfNE</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <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> name, +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.239">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> 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) 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 query parameter to the URI query if the parameter value is not <jk>null</jk> or an empty string. @@ -1024,7 +1034,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>queryIfNE</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <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><<a href="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>> params) +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.252">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><<a href="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>> 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 for any parameters that aren't null/empty. <p> @@ -1045,7 +1055,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 <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <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> query)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.262">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> query)</pre> <div class="block">Sets a custom URI query.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1061,19 +1071,22 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>formData</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <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> name, +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.279">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> 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, - boolean skipIfEmpty)</pre> + boolean skipIfEmpty) + 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> + 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>, <a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>, or bean.</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> + Can also be <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>, <a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client"><code>NameValuePairs</code></a>, or bean if the name is null/blank/*.</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> +<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> @@ -1083,7 +1096,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>formData</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <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> name, +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.308">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> 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) 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> @@ -1106,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>formData</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <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> nameValuePairs) +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.319">formData</a>(<a href="../../../../../org/apache/juneau/rest/client/NameValuePairs.html" title="class in org.apache.juneau.rest.client">NameValuePairs</a> 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> @@ -1125,7 +1138,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>formData</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <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><<a href="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>> params) +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.330">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><<a href="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>> 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> @@ -1144,7 +1157,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>formDataIfNE</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.339">formDataIfNE</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/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.344">formDataIfNE</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) 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 the request if the parameter value is not <jk>null</jk> or an empty string. @@ -1167,7 +1180,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>formDataIfNE</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.352">formDataIfNE</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><<a href="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>> params) +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.357">formDataIfNE</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><<a href="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>> 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 parameters to the request for any parameters that aren't null/empty. <p> @@ -1182,13 +1195,34 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </dl> </li> </ul> +<a name="path-java.lang.String-java.lang.Object-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>path</h4> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.370">path</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) + throws <a href="../../../../../org/apache/juneau/rest/client/RestCallException.html" title="class in org.apache.juneau.rest.client">RestCallException</a></pre> +<div class="block">Replaces a variable of the form <js>"{name}"</js> in the URL path with the specified value.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>name</code> - The path variable name.</dd> +<dd><code>value</code> - The replacement value.</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 variable could not be found in path.</dd> +</dl> +</li> +</ul> <a name="userInfo-java.lang.String-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>userInfo</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.362">userInfo</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> userInfo)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.398">userInfo</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> userInfo)</pre> <div class="block">Sets the URI user info.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1204,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>userInfo</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.374">userInfo</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> username, +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.410">userInfo</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> 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> password)</pre> <div class="block">Sets the URI user info.</div> <dl> @@ -1222,7 +1256,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>input</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.394">input</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> input) +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.430">input</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> input) 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 input for this REST call.</div> <dl> @@ -1249,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>serializer</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.408">serializer</a>(<a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a> serializer)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.444">serializer</a>(<a href="../../../../../org/apache/juneau/serializer/Serializer.html" title="class in org.apache.juneau.serializer">Serializer</a> serializer)</pre> <div class="block">Specifies the serializer to use on this call. <p> Overrides the serializer specified on the <a href="../../../../../org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client"><code>RestClient</code></a>.</div> @@ -1267,7 +1301,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>parser</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.421">parser</a>(<a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a> parser)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.457">parser</a>(<a href="../../../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a> parser)</pre> <div class="block">Specifies the parser to use on this call. <p> Overrides the parser specified on the <a href="../../../../../org/apache/juneau/rest/client/RestClient.html" title="class in org.apache.juneau.rest.client"><code>RestClient</code></a>.</div> @@ -1285,9 +1319,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>header</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.441">header</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/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.478">header</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, - boolean skipIfEmpty)</pre> + boolean skipIfEmpty) + 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 a header on the request.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1297,6 +1332,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>skipIfEmpty</code> - Don't add the header if the name is null/empty.</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> @@ -1306,8 +1343,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>header</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.465">header</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> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.506">header</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) + 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 a header on the request.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1316,6 +1354,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>value</code> - The header value.</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> @@ -1325,13 +1365,16 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>headers</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.475">headers</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><<a href="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>> values)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.517">headers</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><<a href="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>> values) + 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 headers on the request.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>values</code> - The header values.</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> @@ -1341,8 +1384,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>headerIfNE</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.489">headerIfNE</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> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.532">headerIfNE</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) + 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 a header on the request if the value is not null/empty. <p> NE = "not empty"</div> @@ -1353,6 +1397,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>value</code> - The header value.</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> @@ -1362,7 +1408,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>headersIfNE</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.501">headersIfNE</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><<a href="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>> values)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.545">headersIfNE</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><<a href="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>> values) + 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 headers on the request if the values are not null/empty. <p> NE = "not empty"</div> @@ -1371,6 +1418,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>values</code> - The header values.</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> @@ -1380,7 +1429,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>accept</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.513">accept</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> value)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.558">accept</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> 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">Sets the value for the <code>Accept</code> request header. <p> This overrides the media type specified on the parser, but is overridden by calling <code>header(<js>"Accept"</js>, value);</code></div> @@ -1389,6 +1439,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>value</code> - The new header value.</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> @@ -1398,7 +1450,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>acceptCharset</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.525">acceptCharset</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> value)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.571">acceptCharset</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> 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">Sets the value for the <code>Accept-Charset</code> request header. <p> This is a shortcut for calling <code>header(<js>"Accept-Charset"</js>, value);</code></div> @@ -1407,6 +1460,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>value</code> - The new header value.</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> @@ -1416,7 +1471,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>acceptEncoding</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.537">acceptEncoding</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> value)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.584">acceptEncoding</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> 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">Sets the value for the <code>Accept-Encoding</code> request header. <p> This is a shortcut for calling <code>header(<js>"Accept-Encoding"</js>, value);</code></div> @@ -1425,6 +1481,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>value</code> - The new header value.</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> @@ -1434,7 +1492,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>acceptLanguage</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.549">acceptLanguage</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> value)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.597">acceptLanguage</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> 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">Sets the value for the <code>Accept-Language</code> request header. <p> This is a shortcut for calling <code>header(<js>"Accept-Language"</js>, value);</code></div> @@ -1443,6 +1502,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>value</code> - The new header value.</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> @@ -1452,7 +1513,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>authorization</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.561">authorization</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> value)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.610">authorization</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> 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">Sets the value for the <code>Authorization</code> request header. <p> This is a shortcut for calling <code>header(<js>"Authorization"</js>, value);</code></div> @@ -1461,6 +1523,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>value</code> - The new header value.</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> @@ -1470,7 +1534,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>cacheControl</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.573">cacheControl</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> value)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.623">cacheControl</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> 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">Sets the value for the <code>Cache-Control</code> request header. <p> This is a shortcut for calling <code>header(<js>"Cache-Control"</js>, value);</code></div> @@ -1479,6 +1544,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>value</code> - The new header value.</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> @@ -1488,7 +1555,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>connection</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.585">connection</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> value)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.636">connection</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> 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">Sets the value for the <code>Connection</code> request header. <p> This is a shortcut for calling <code>header(<js>"Connection"</js>, value);</code></div> @@ -1497,6 +1565,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>value</code> - The new header value.</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> @@ -1506,7 +1576,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>contentLength</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.597">contentLength</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> value)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.649">contentLength</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> 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">Sets the value for the <code>Content-Length</code> request header. <p> This is a shortcut for calling <code>header(<js>"Content-Length"</js>, value);</code></div> @@ -1515,6 +1586,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>value</code> - The new header value.</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> @@ -1524,7 +1597,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>contentType</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.609">contentType</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> value)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.662">contentType</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> 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">Sets the value for the <code>Content-Type</code> request header. <p> This overrides the media type specified on the serializer, but is overridden by calling <code>header(<js>"Content-Type"</js>, value);</code></div> @@ -1533,6 +1607,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>value</code> - The new header value.</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> @@ -1542,7 +1618,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>date</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.621">date</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> value)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.675">date</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> 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">Sets the value for the <code>Date</code> request header. <p> This is a shortcut for calling <code>header(<js>"Date"</js>, value);</code></div> @@ -1551,6 +1628,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <dd><code>value</code> - The new header value.</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> @@ -1560,7 +1639,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>expect</h4> -<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/RestCall.html#line.633">expect</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> value)</pre> +<pre>public <a href="../../../../../org/apache/juneau/rest/client/RestCall.html" title="class in org.apache.juneau.rest.client">RestCall</a> <a href="../../../../../src-html/org/apache/juneau/rest/client/
<TRUNCATED>
