blob: fe806c508d4d46277a75369608e42a56ae0d27d4 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.2) on Wed Sep 23 17:36:24 GMT 2020 -->
<title>AsyncInvoker (jakarta.ws.rs-api 3.0.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-09-23">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AsyncInvoker (jakarta.ws.rs-api 3.0.0 API)";
}
}
catch(err) {
}
//-->
var data = {"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,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":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";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AsyncInvoker.html">Use</a></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" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</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 id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">jakarta.ws.rs.client</a></div>
<h2 title="Interface AsyncInvoker" class="title">Interface AsyncInvoker</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public interface <span class="typeNameLabel">AsyncInvoker</span></pre>
<div class="block">Uniform interface for asynchronous invocation of HTTP methods.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Marek Potociar</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<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="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#delete()">delete</a></span>()</code></th>
<td class="colLast">
<div class="block">Invoke HTTP DELETE method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#delete(jakarta.ws.rs.client.InvocationCallback)">delete</a></span>&#8203;(<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP DELETE method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#delete(jakarta.ws.rs.core.GenericType)">delete</a></span>&#8203;(<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP DELETE method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#delete(java.lang.Class)">delete</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP DELETE method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#get()">get</a></span>()</code></th>
<td class="colLast">
<div class="block">Invoke HTTP GET method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#get(jakarta.ws.rs.client.InvocationCallback)">get</a></span>&#8203;(<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP GET method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#get(jakarta.ws.rs.core.GenericType)">get</a></span>&#8203;(<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP GET method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#get(java.lang.Class)">get</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP GET method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#head()">head</a></span>()</code></th>
<td class="colLast">
<div class="block">Invoke HTTP HEAD method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#head(jakarta.ws.rs.client.InvocationCallback)">head</a></span>&#8203;(<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP HEAD method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#method(java.lang.String)">method</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Invoke an arbitrary method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#method(java.lang.String,jakarta.ws.rs.client.Entity)">method</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity)</code></th>
<td class="colLast">
<div class="block">Invoke an arbitrary method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#method(java.lang.String,jakarta.ws.rs.client.Entity,jakarta.ws.rs.client.InvocationCallback)">method</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Invoke an arbitrary method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#method(java.lang.String,jakarta.ws.rs.client.Entity,jakarta.ws.rs.core.GenericType)">method</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke an arbitrary method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#method(java.lang.String,jakarta.ws.rs.client.Entity,java.lang.Class)">method</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke an arbitrary method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#method(java.lang.String,jakarta.ws.rs.client.InvocationCallback)">method</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Invoke an arbitrary method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#method(java.lang.String,jakarta.ws.rs.core.GenericType)">method</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke an arbitrary method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#method(java.lang.String,java.lang.Class)">method</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke an arbitrary method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#options()">options</a></span>()</code></th>
<td class="colLast">
<div class="block">Invoke HTTP OPTIONS method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#options(jakarta.ws.rs.client.InvocationCallback)">options</a></span>&#8203;(<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP OPTIONS method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#options(jakarta.ws.rs.core.GenericType)">options</a></span>&#8203;(<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP OPTIONS method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#options(java.lang.Class)">options</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP OPTIONS method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#post(jakarta.ws.rs.client.Entity)">post</a></span>&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP POST method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#post(jakarta.ws.rs.client.Entity,jakarta.ws.rs.client.InvocationCallback)">post</a></span>&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP POST method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#post(jakarta.ws.rs.client.Entity,jakarta.ws.rs.core.GenericType)">post</a></span>&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP POST method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#post(jakarta.ws.rs.client.Entity,java.lang.Class)">post</a></span>&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP POST method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#put(jakarta.ws.rs.client.Entity)">put</a></span>&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP PUT method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#put(jakarta.ws.rs.client.Entity,jakarta.ws.rs.client.InvocationCallback)">put</a></span>&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP PUT method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#put(jakarta.ws.rs.client.Entity,jakarta.ws.rs.core.GenericType)">put</a></span>&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP PUT method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#put(jakarta.ws.rs.client.Entity,java.lang.Class)">put</a></span>&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP PUT method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#trace()">trace</a></span>()</code></th>
<td class="colLast">
<div class="block">Invoke HTTP TRACE method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#trace(jakarta.ws.rs.client.InvocationCallback)">trace</a></span>&#8203;(<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP TRACE method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#trace(jakarta.ws.rs.core.GenericType)">trace</a></span>&#8203;(<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP TRACE method for the current request asynchronously.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#trace(java.lang.Class)">trace</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</code></th>
<td class="colLast">
<div class="block">Invoke HTTP TRACE method for the current request asynchronously.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="get()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;&nbsp;get()</pre>
<div class="block">Invoke HTTP GET method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a> thrown
in case of an invocation processing failure. Note that in case a processing of a properly received response fails,
the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the
<a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="get(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;get&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP GET method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="get(jakarta.ws.rs.core.GenericType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;get&#8203;(<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP GET method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="get(jakarta.ws.rs.client.InvocationCallback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;get&#8203;(<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</pre>
<div class="block">Invoke HTTP GET method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the generic type of the supplied response callback is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case
a processing of a properly received response fails, the wrapped processing exception will be of
<a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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>callback</code> - asynchronous invocation callback.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="put(jakarta.ws.rs.client.Entity)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;&nbsp;put&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity)</pre>
<div class="block">Invoke HTTP PUT method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a> thrown
in case of an invocation processing failure. In case a processing of a properly received response fails, the wrapped
processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>
instance whose processing has failed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entity</code> - request entity, including it's full <a href="../core/Variant.html" title="class in jakarta.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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="put(jakarta.ws.rs.client.Entity,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;put&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP PUT method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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="../core/Variant.html" title="class in jakarta.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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="put(jakarta.ws.rs.client.Entity,jakarta.ws.rs.core.GenericType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;put&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP PUT method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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="../core/Variant.html" title="class in jakarta.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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="put(jakarta.ws.rs.client.Entity,jakarta.ws.rs.client.InvocationCallback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;put&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</pre>
<div class="block">Invoke HTTP PUT method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the generic type of the supplied response callback is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case
a processing of a properly received response fails, the wrapped processing exception will be of
<a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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="../core/Variant.html" title="class in jakarta.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>callback</code> - asynchronous invocation callback.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="post(jakarta.ws.rs.client.Entity)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>post</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;&nbsp;post&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity)</pre>
<div class="block">Invoke HTTP POST method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a> thrown
in case of an invocation processing failure. In case a processing of a properly received response fails, the wrapped
processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>
instance whose processing has failed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entity</code> - request entity, including it's full <a href="../core/Variant.html" title="class in jakarta.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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../ProcessingException.html" title="class in jakarta.ws.rs">ProcessingException</a></code> - in case the invocation processing has failed.</dd>
</dl>
</li>
</ul>
<a id="post(jakarta.ws.rs.client.Entity,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>post</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;post&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP POST method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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="../core/Variant.html" title="class in jakarta.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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="post(jakarta.ws.rs.client.Entity,jakarta.ws.rs.core.GenericType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>post</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;post&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP POST method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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="../core/Variant.html" title="class in jakarta.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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="post(jakarta.ws.rs.client.Entity,jakarta.ws.rs.client.InvocationCallback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>post</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;post&#8203;(<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</pre>
<div class="block">Invoke HTTP POST method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the generic type of the supplied response callback is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case
a processing of a properly received response fails, the wrapped processing exception will be of
<a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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="../core/Variant.html" title="class in jakarta.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>callback</code> - asynchronous invocation callback.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="delete()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;&nbsp;delete()</pre>
<div class="block">Invoke HTTP DELETE method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a> thrown
in case of an invocation processing failure. In case a processing of a properly received response fails, the wrapped
processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>
instance whose processing has failed.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="delete(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;delete&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP DELETE method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="delete(jakarta.ws.rs.core.GenericType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;delete&#8203;(<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP DELETE method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="delete(jakarta.ws.rs.client.InvocationCallback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;delete&#8203;(<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</pre>
<div class="block">Invoke HTTP DELETE method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the generic type of the supplied response callback is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case
a processing of a properly received response fails, the wrapped processing exception will be of
<a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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>callback</code> - asynchronous invocation callback.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="head()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>head</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;&nbsp;head()</pre>
<div class="block">Invoke HTTP HEAD method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a> thrown
in case of an invocation processing failure. In case a processing of a properly received response fails, the wrapped
processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>
instance whose processing has failed.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="head(jakarta.ws.rs.client.InvocationCallback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>head</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;&nbsp;head&#8203;(<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;&nbsp;callback)</pre>
<div class="block">Invoke HTTP HEAD method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a> thrown
in case of an invocation processing failure. In case a processing of a properly received response fails, the wrapped
processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>
instance whose processing has failed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>callback</code> - asynchronous invocation callback.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="options()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>options</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;&nbsp;options()</pre>
<div class="block">Invoke HTTP OPTIONS method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a> thrown
in case of an invocation processing failure. In case a processing of a properly received response fails, the wrapped
processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>
instance whose processing has failed.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="options(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>options</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;options&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP OPTIONS method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="options(jakarta.ws.rs.core.GenericType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>options</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;options&#8203;(<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP OPTIONS method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="options(jakarta.ws.rs.client.InvocationCallback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>options</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;options&#8203;(<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</pre>
<div class="block">Invoke HTTP OPTIONS method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the generic type of the supplied response callback is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case
a processing of a properly received response fails, the wrapped processing exception will be of
<a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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>callback</code> - asynchronous invocation callback.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="trace()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trace</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;&nbsp;trace()</pre>
<div class="block">Invoke HTTP TRACE method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a> thrown
in case of an invocation processing failure. In case a processing of a properly received response fails, the wrapped
processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>
instance whose processing has failed.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="trace(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trace</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;trace&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP TRACE method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="trace(jakarta.ws.rs.core.GenericType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trace</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;trace&#8203;(<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke HTTP TRACE method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="trace(jakarta.ws.rs.client.InvocationCallback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trace</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;trace&#8203;(<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</pre>
<div class="block">Invoke HTTP TRACE method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the generic type of the supplied response callback is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case
a processing of a properly received response fails, the wrapped processing exception will be of
<a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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>callback</code> - asynchronous invocation callback.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="method(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>method</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;&nbsp;method&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</pre>
<div class="block">Invoke an arbitrary method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a> thrown
in case of an invocation processing failure. In case a processing of a properly received response fails, the wrapped
processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>
instance whose processing has failed.</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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="method(java.lang.String,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>method</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;method&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke an arbitrary method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="method(java.lang.String,jakarta.ws.rs.core.GenericType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>method</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;method&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke an arbitrary method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="method(java.lang.String,jakarta.ws.rs.client.InvocationCallback)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>method</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;method&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</pre>
<div class="block">Invoke an arbitrary method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the generic type of the supplied response callback is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case
a processing of a properly received response fails, the wrapped processing exception will be of
<a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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>callback</code> - asynchronous invocation callback.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="method(java.lang.String,jakarta.ws.rs.client.Entity)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>method</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;<a href="../core/Response.html" title="class in jakarta.ws.rs.core">Response</a>&gt;&nbsp;method&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity)</pre>
<div class="block">Invoke an arbitrary method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a> thrown
in case of an invocation processing failure. In case a processing of a properly received response fails, the wrapped
processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>
instance whose processing has failed.</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="../core/Variant.html" title="class in jakarta.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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="method(java.lang.String,jakarta.ws.rs.client.Entity,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>method</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;method&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke an arbitrary method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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="../core/Variant.html" title="class in jakarta.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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="method(java.lang.String,jakarta.ws.rs.client.Entity,jakarta.ws.rs.core.GenericType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>method</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;method&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="../core/GenericType.html" title="class in jakarta.ws.rs.core">GenericType</a>&lt;T&gt;&nbsp;responseType)</pre>
<div class="block">Invoke an arbitrary method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the specified response type is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case a processing of a
properly received response fails, the wrapped processing exception will be of <a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a>
type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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="../core/Variant.html" title="class in jakarta.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 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
<a id="method(java.lang.String,jakarta.ws.rs.client.Entity,jakarta.ws.rs.client.InvocationCallback)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>method</h4>
<pre class="methodSignature">&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a>&lt;T&gt;&nbsp;method&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name,
<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;?&gt;&nbsp;entity,
<a href="InvocationCallback.html" title="interface in jakarta.ws.rs.client">InvocationCallback</a>&lt;T&gt;&nbsp;callback)</pre>
<div class="block">Invoke an arbitrary method for the current request asynchronously.
<p>
Note that calling the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true#get()" title="class or interface in java.util.concurrent" class="externalLink"><code>Future.get()</code></a> method on the returned <code>Future</code> instance may
throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutionException</code></a> that wraps either a <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a>
thrown in case of an invocation processing failure or a <a href="../WebApplicationException.html" title="class in jakarta.ws.rs"><code>WebApplicationException</code></a> or one of its subclasses
thrown in case the received response status code is not <a href="../core/Response.Status.Family.html#SUCCESSFUL"><code>successful</code></a> and the generic type of the supplied response callback is not <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a>. In case
a processing of a properly received response fails, the wrapped processing exception will be of
<a href="ResponseProcessingException.html" title="class in jakarta.ws.rs.client"><code>ResponseProcessingException</code></a> type and will contain the <a href="../core/Response.html" title="class in jakarta.ws.rs.core"><code>Response</code></a> instance whose processing has failed.</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="../core/Variant.html" title="class in jakarta.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>callback</code> - asynchronous invocation callback.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>invocation response <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>future</code></a>.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AsyncInvoker.html">Use</a></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" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</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 id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small><p align="left">Copyright &#169; 2018, 2020 Eclipse Foundation.<br>Use is subject to <a href="../../../../resources/EFSL.html" target="_top">license terms</a>.</small></p>
</footer>
</body>
</html>