blob: cd9880c88a82a04c7b2758b618edd660b6035f59 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>SyncInvoker</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SyncInvoker";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../javax/ws/rs/client/RxInvokerProvider.html" title="interface in javax.ws.rs.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../javax/ws/rs/client/WebTarget.html" title="interface in javax.ws.rs.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?javax/ws/rs/client/SyncInvoker.html" target="_top">Frames</a></li>
<li><a href="SyncInvoker.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">javax.ws.rs.client</div>
<h2 title="Interface SyncInvoker" class="title">Interface SyncInvoker</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><a href="../../../../javax/ws/rs/client/Invocation.Builder.html" title="interface in javax.ws.rs.client">Invocation.Builder</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">SyncInvoker</span></pre>
<div class="block">Uniform interface for synchronous invocation of HTTP methods.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#delete--">delete</a></span>()</code>
<div class="block">Invoke HTTP DELETE method for the current request synchronously.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#delete-java.lang.Class-">delete</a></span>(java.lang.Class&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke HTTP DELETE method for the current request synchronously.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#delete-javax.ws.rs.core.GenericType-">delete</a></span>(<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke HTTP DELETE method for the current request synchronously.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#get--">get</a></span>()</code>
<div class="block">Invoke HTTP GET method for the current request synchronously.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#get-java.lang.Class-">get</a></span>(java.lang.Class&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke HTTP GET method for the current request synchronously.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#get-javax.ws.rs.core.GenericType-">get</a></span>(<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke HTTP GET method for the current request synchronously.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#head--">head</a></span>()</code>
<div class="block">Invoke HTTP HEAD method for the current request synchronously.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#method-java.lang.String-">method</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Invoke an arbitrary method for the current request synchronously.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#method-java.lang.String-java.lang.Class-">method</a></span>(java.lang.String&nbsp;name,
java.lang.Class&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke an arbitrary method for the current request synchronously.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#method-java.lang.String-javax.ws.rs.client.Entity-">method</a></span>(java.lang.String&nbsp;name,
<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity)</code>
<div class="block">Invoke an arbitrary method for the current request synchronously.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#method-java.lang.String-javax.ws.rs.client.Entity-java.lang.Class-">method</a></span>(java.lang.String&nbsp;name,
<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
java.lang.Class&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke an arbitrary method for the current request synchronously.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#method-java.lang.String-javax.ws.rs.client.Entity-javax.ws.rs.core.GenericType-">method</a></span>(java.lang.String&nbsp;name,
<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke an arbitrary method for the current request synchronously.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#method-java.lang.String-javax.ws.rs.core.GenericType-">method</a></span>(java.lang.String&nbsp;name,
<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke an arbitrary method for the current request synchronously.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#options--">options</a></span>()</code>
<div class="block">Invoke HTTP OPTIONS method for the current request synchronously.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#options-java.lang.Class-">options</a></span>(java.lang.Class&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke HTTP OPTIONS method for the current request synchronously.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#options-javax.ws.rs.core.GenericType-">options</a></span>(<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke HTTP OPTIONS method for the current request synchronously.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#post-javax.ws.rs.client.Entity-">post</a></span>(<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity)</code>
<div class="block">Invoke HTTP POST method for the current request synchronously.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#post-javax.ws.rs.client.Entity-java.lang.Class-">post</a></span>(<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
java.lang.Class&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke HTTP POST method for the current request synchronously.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#post-javax.ws.rs.client.Entity-javax.ws.rs.core.GenericType-">post</a></span>(<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke HTTP POST method for the current request synchronously.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#put-javax.ws.rs.client.Entity-">put</a></span>(<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity)</code>
<div class="block">Invoke HTTP PUT method for the current request synchronously.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#put-javax.ws.rs.client.Entity-java.lang.Class-">put</a></span>(<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
java.lang.Class&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke HTTP PUT method for the current request synchronously.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#put-javax.ws.rs.client.Entity-javax.ws.rs.core.GenericType-">put</a></span>(<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke HTTP PUT method for the current request synchronously.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#trace--">trace</a></span>()</code>
<div class="block">Invoke HTTP TRACE method for the current request synchronously.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#trace-java.lang.Class-">trace</a></span>(java.lang.Class&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke HTTP TRACE method for the current request synchronously.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/client/SyncInvoker.html#trace-javax.ws.rs.core.GenericType-">trace</a></span>(<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code>
<div class="block">Invoke HTTP TRACE method for the current request synchronously.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="get--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a>&nbsp;get()</pre>
<div class="block">Invoke HTTP GET method for the current request synchronously.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the invocation processing has failed.</dd>
</dl>
</li>
</ul>
<a name="get-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;get(java.lang.Class&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP GET method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>responseType</code> - Java type the response entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="get-javax.ws.rs.core.GenericType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;get(<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP GET method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - generic response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>responseType</code> - representation of a generic Java type the response
entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified generic response type does not represent
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a></dd>
</dl>
</li>
</ul>
<a name="put-javax.ws.rs.client.Entity-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a>&nbsp;put(<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity)</pre>
<div class="block">Invoke HTTP PUT method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entity</code> - request entity, including it's full <a href="../../../../javax/ws/rs/core/Variant.html" title="class in javax.ws.rs.core"><code>Variant</code></a> information.
Any variant-related HTTP headers previously set (namely <code>Content-Type</code>,
<code>Content-Language</code> and <code>Content-Encoding</code>) will be overwritten using
the entity variant information.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
</dl>
</li>
</ul>
<a name="put-javax.ws.rs.client.Entity-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;put(<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
java.lang.Class&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP PUT method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entity</code> - request entity, including it's full <a href="../../../../javax/ws/rs/core/Variant.html" title="class in javax.ws.rs.core"><code>Variant</code></a> information.
Any variant-related HTTP headers previously set (namely <code>Content-Type</code>,
<code>Content-Language</code> and <code>Content-Encoding</code>) will be overwritten using
the entity variant information.</dd>
<dd><code>responseType</code> - Java type the response entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="put-javax.ws.rs.client.Entity-javax.ws.rs.core.GenericType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;put(<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP PUT method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - generic response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entity</code> - request entity, including it's full <a href="../../../../javax/ws/rs/core/Variant.html" title="class in javax.ws.rs.core"><code>Variant</code></a> information.
Any variant-related HTTP headers previously set (namely <code>Content-Type</code>,
<code>Content-Language</code> and <code>Content-Encoding</code>) will be overwritten using
the entity variant information.</dd>
<dd><code>responseType</code> - representation of a generic Java type the response
entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified generic response type does not represent
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="post-javax.ws.rs.client.Entity-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>post</h4>
<pre><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a>&nbsp;post(<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity)</pre>
<div class="block">Invoke HTTP POST method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entity</code> - request entity, including it's full <a href="../../../../javax/ws/rs/core/Variant.html" title="class in javax.ws.rs.core"><code>Variant</code></a> information.
Any variant-related HTTP headers previously set (namely <code>Content-Type</code>,
<code>Content-Language</code> and <code>Content-Encoding</code>) will be overwritten using
the entity variant information.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
</dl>
</li>
</ul>
<a name="post-javax.ws.rs.client.Entity-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>post</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;post(<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
java.lang.Class&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP POST method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entity</code> - request entity, including it's full <a href="../../../../javax/ws/rs/core/Variant.html" title="class in javax.ws.rs.core"><code>Variant</code></a> information.
Any variant-related HTTP headers previously set (namely <code>Content-Type</code>,
<code>Content-Language</code> and <code>Content-Encoding</code>) will be overwritten using
the entity variant information.</dd>
<dd><code>responseType</code> - Java type the response entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="post-javax.ws.rs.client.Entity-javax.ws.rs.core.GenericType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>post</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;post(<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP POST method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - generic response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entity</code> - request entity, including it's full <a href="../../../../javax/ws/rs/core/Variant.html" title="class in javax.ws.rs.core"><code>Variant</code></a> information.
Any variant-related HTTP headers previously set (namely <code>Content-Type</code>,
<code>Content-Language</code> and <code>Content-Encoding</code>) will be overwritten using
the entity variant information.</dd>
<dd><code>responseType</code> - representation of a generic Java type the response
entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified generic response type does not represent
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="delete--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
<pre><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a>&nbsp;delete()</pre>
<div class="block">Invoke HTTP DELETE method for the current request synchronously.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
</dl>
</li>
</ul>
<a name="delete-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;delete(java.lang.Class&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP DELETE method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>responseType</code> - Java type the response entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="delete-javax.ws.rs.core.GenericType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;delete(<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP DELETE method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - generic response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>responseType</code> - representation of a generic Java type the response
entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified generic response type does not represent
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="head--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>head</h4>
<pre><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a>&nbsp;head()</pre>
<div class="block">Invoke HTTP HEAD method for the current request synchronously.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
</dl>
</li>
</ul>
<a name="options--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>options</h4>
<pre><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a>&nbsp;options()</pre>
<div class="block">Invoke HTTP OPTIONS method for the current request synchronously.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
</dl>
</li>
</ul>
<a name="options-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>options</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;options(java.lang.Class&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP OPTIONS method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>responseType</code> - Java type the response entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="options-javax.ws.rs.core.GenericType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>options</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;options(<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP OPTIONS method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - generic response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>responseType</code> - representation of a generic Java type the response
entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified generic response type does not represent
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="trace--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trace</h4>
<pre><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a>&nbsp;trace()</pre>
<div class="block">Invoke HTTP TRACE method for the current request synchronously.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
</dl>
</li>
</ul>
<a name="trace-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trace</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;trace(java.lang.Class&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP TRACE method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>responseType</code> - Java type the response entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="trace-javax.ws.rs.core.GenericType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trace</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;trace(<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP TRACE method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - generic response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>responseType</code> - representation of a generic Java type the response
entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified generic response type does not represent
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="method-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>method</h4>
<pre><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a>&nbsp;method(java.lang.String&nbsp;name)</pre>
<div class="block">Invoke an arbitrary method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - method name.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
</dl>
</li>
</ul>
<a name="method-java.lang.String-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>method</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;method(java.lang.String&nbsp;name,
java.lang.Class&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke an arbitrary method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - method name.</dd>
<dd><code>responseType</code> - Java type the response entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="method-java.lang.String-javax.ws.rs.core.GenericType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>method</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;method(java.lang.String&nbsp;name,
<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke an arbitrary method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - generic response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - method name.</dd>
<dd><code>responseType</code> - representation of a generic Java type the response
entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified generic response type does not represent
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="method-java.lang.String-javax.ws.rs.client.Entity-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>method</h4>
<pre><a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core">Response</a>&nbsp;method(java.lang.String&nbsp;name,
<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity)</pre>
<div class="block">Invoke an arbitrary method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - method name.</dd>
<dd><code>entity</code> - request entity, including it's full <a href="../../../../javax/ws/rs/core/Variant.html" title="class in javax.ws.rs.core"><code>Variant</code></a> information.
Any variant-related HTTP headers previously set (namely <code>Content-Type</code>,
<code>Content-Language</code> and <code>Content-Encoding</code>) will be overwritten using
the entity variant information.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
</dl>
</li>
</ul>
<a name="method-java.lang.String-javax.ws.rs.client.Entity-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>method</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;method(java.lang.String&nbsp;name,
<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
java.lang.Class&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke an arbitrary method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - method name.</dd>
<dd><code>entity</code> - request entity, including it's full <a href="../../../../javax/ws/rs/core/Variant.html" title="class in javax.ws.rs.core"><code>Variant</code></a> information.
Any variant-related HTTP headers previously set (namely <code>Content-Type</code>,
<code>Content-Language</code> and <code>Content-Encoding</code>) will be overwritten using
the entity variant information.</dd>
<dd><code>responseType</code> - Java type the response entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
<a name="method-java.lang.String-javax.ws.rs.client.Entity-javax.ws.rs.core.GenericType-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>method</h4>
<pre>&lt;T&gt;&nbsp;T&nbsp;method(java.lang.String&nbsp;name,
<a href="../../../../javax/ws/rs/client/Entity.html" title="class in javax.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="../../../../javax/ws/rs/core/GenericType.html" title="class in javax.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke an arbitrary method for the current request synchronously.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - generic response entity type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - method name.</dd>
<dd><code>entity</code> - request entity, including it's full <a href="../../../../javax/ws/rs/core/Variant.html" title="class in javax.ws.rs.core"><code>Variant</code></a> information.
Any variant-related HTTP headers previously set (namely <code>Content-Type</code>,
<code>Content-Language</code> and <code>Content-Encoding</code>) will be overwritten using
the entity variant information.</dd>
<dd><code>responseType</code> - representation of a generic Java type the response
entity will be converted to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../javax/ws/rs/client/ResponseProcessingException.html" title="class in javax.ws.rs.client">ResponseProcessingException</a></code> - in case processing of a received HTTP response fails (e.g. in a filter
or during conversion of the response entity data to an instance
of a particular Java type).</dd>
<dd><code><a href="../../../../javax/ws/rs/ProcessingException.html" title="class in javax.ws.rs">ProcessingException</a></code> - in case the request processing or subsequent I/O operation fails.</dd>
<dd><code><a href="../../../../javax/ws/rs/WebApplicationException.html" title="class in javax.ws.rs">WebApplicationException</a></code> - in case the response status code of the response
returned by the server is not
<a href="../../../../javax/ws/rs/core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified generic response type does not represent
<a href="../../../../javax/ws/rs/core/Response.html" title="class in javax.ws.rs.core"><code>Response</code></a>.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../javax/ws/rs/client/RxInvokerProvider.html" title="interface in javax.ws.rs.client"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../javax/ws/rs/client/WebTarget.html" title="interface in javax.ws.rs.client"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?javax/ws/rs/client/SyncInvoker.html" target="_top">Frames</a></li>
<li><a href="SyncInvoker.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>