blob: a3dd6792af9754e8e2199b7c3bd660556627c6a9 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.10) on Fri Feb 26 09:50:23 CST 2021 -->
<title>Uses of Interface org.eclipse.jetty.util.Promise (Jetty :: Project 9.4.38.v20210224 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-02-26">
<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.5.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="Uses of Interface org.eclipse.jetty.util.Promise (Jetty :: Project 9.4.38.v20210224 API)";
}
}
catch(err) {
}
//-->
var pathtoroot = "../../../../../";
var useModuleDirectories = false;
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><a href="../Promise.html" title="interface in org.eclipse.jetty.util">Class</a></li>
<li class="navBarCell1Rev">Use</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>
<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>
<main role="main">
<div class="header">
<h2 title="Uses of Interface org.eclipse.jetty.util.Promise" class="title">Uses of Interface<br>org.eclipse.jetty.util.Promise</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary">
<caption><span>Packages that use <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.client">org.eclipse.jetty.client</a></th>
<td class="colLast">
<div class="block">Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.client.api">org.eclipse.jetty.client.api</a></th>
<td class="colLast">
<div class="block">Jetty Client : API Classes</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.client.http">org.eclipse.jetty.client.http</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.fcgi.client.http">org.eclipse.jetty.fcgi.client.http</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.http2">org.eclipse.jetty.http2</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.http2.api">org.eclipse.jetty.http2.api</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.http2.client">org.eclipse.jetty.http2.client</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.http2.client.http">org.eclipse.jetty.http2.client.http</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.proxy">org.eclipse.jetty.proxy</a></th>
<td class="colLast">
<div class="block">Jetty Proxy : Async Proxy Support</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.util">org.eclipse.jetty.util</a></th>
<td class="colLast">
<div class="block">Jetty Util : Common Utility Classes</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.client">
<!-- -->
</a>
<h3>Uses of <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a> in <a href="../../client/package-summary.html">org.eclipse.jetty.client</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../client/package-summary.html">org.eclipse.jetty.client</a> with parameters of type <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpDestination.</span><code><span class="memberNameLink"><a href="../../client/HttpDestination.html#createConnection(org.eclipse.jetty.util.Promise)">createConnection</a></span>&#8203;(<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../client/api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a>&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpClient.</span><code><span class="memberNameLink"><a href="../../client/HttpClient.html#newConnection(org.eclipse.jetty.client.HttpDestination,org.eclipse.jetty.util.Promise)">newConnection</a></span>&#8203;(<a href="../../client/HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a>&nbsp;destination,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../client/api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a>&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpDestination.</span><code><span class="memberNameLink"><a href="../../client/HttpDestination.html#newConnection(org.eclipse.jetty.util.Promise)">newConnection</a></span>&#8203;(<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../client/api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a>&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.client.api">
<!-- -->
</a>
<h3>Uses of <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a> in <a href="../../client/api/package-summary.html">org.eclipse.jetty.client.api</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../client/api/package-summary.html">org.eclipse.jetty.client.api</a> with parameters of type <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Destination.</span><code><span class="memberNameLink"><a href="../../client/api/Destination.html#newConnection(org.eclipse.jetty.util.Promise)">newConnection</a></span>&#8203;(<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../client/api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a>&gt;&nbsp;promise)</code></th>
<td class="colLast">
<div class="block">Creates asynchronously a new, unpooled, <a href="../../client/api/Connection.html" title="interface in org.eclipse.jetty.client.api"><code>Connection</code></a> that will be returned
at a later time through the given <a href="../Promise.html" title="interface in org.eclipse.jetty.util"><code>Promise</code></a>.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.client.http">
<!-- -->
</a>
<h3>Uses of <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a> in <a href="../../client/http/package-summary.html">org.eclipse.jetty.client.http</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../client/http/package-summary.html">org.eclipse.jetty.client.http</a> with parameters of type <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../client/http/HttpConnectionOverHTTP.html" title="class in org.eclipse.jetty.client.http">HttpConnectionOverHTTP</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpClientTransportOverHTTP.</span><code><span class="memberNameLink"><a href="../../client/http/HttpClientTransportOverHTTP.html#newHttpConnection(org.eclipse.jetty.io.EndPoint,org.eclipse.jetty.client.HttpDestination,org.eclipse.jetty.util.Promise)">newHttpConnection</a></span>&#8203;(<a href="../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&nbsp;endPoint,
<a href="../../client/HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a>&nbsp;destination,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../client/api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a>&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Constructors in <a href="../../client/http/package-summary.html">org.eclipse.jetty.client.http</a> with parameters of type <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../client/http/HttpConnectionOverHTTP.html#%3Cinit%3E(org.eclipse.jetty.io.EndPoint,org.eclipse.jetty.client.HttpDestination,org.eclipse.jetty.util.Promise)">HttpConnectionOverHTTP</a></span>&#8203;(<a href="../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&nbsp;endPoint,
<a href="../../client/HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a>&nbsp;destination,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../client/api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a>&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.fcgi.client.http">
<!-- -->
</a>
<h3>Uses of <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a> in <a href="../../fcgi/client/http/package-summary.html">org.eclipse.jetty.fcgi.client.http</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../fcgi/client/http/package-summary.html">org.eclipse.jetty.fcgi.client.http</a> with parameters of type <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../fcgi/client/http/HttpConnectionOverFCGI.html" title="class in org.eclipse.jetty.fcgi.client.http">HttpConnectionOverFCGI</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpClientTransportOverFCGI.</span><code><span class="memberNameLink"><a href="../../fcgi/client/http/HttpClientTransportOverFCGI.html#newHttpConnection(org.eclipse.jetty.io.EndPoint,org.eclipse.jetty.client.HttpDestination,org.eclipse.jetty.util.Promise)">newHttpConnection</a></span>&#8203;(<a href="../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&nbsp;endPoint,
<a href="../../client/HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a>&nbsp;destination,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../client/api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a>&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Constructors in <a href="../../fcgi/client/http/package-summary.html">org.eclipse.jetty.fcgi.client.http</a> with parameters of type <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../fcgi/client/http/HttpConnectionOverFCGI.html#%3Cinit%3E(org.eclipse.jetty.io.EndPoint,org.eclipse.jetty.client.HttpDestination,org.eclipse.jetty.util.Promise,boolean)">HttpConnectionOverFCGI</a></span>&#8203;(<a href="../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&nbsp;endPoint,
<a href="../../client/HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a>&nbsp;destination,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../client/api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a>&gt;&nbsp;promise,
boolean&nbsp;multiplexed)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.http2">
<!-- -->
</a>
<h3>Uses of <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a> in <a href="../../http2/package-summary.html">org.eclipse.jetty.http2</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../http2/package-summary.html">org.eclipse.jetty.http2</a> with parameters of type <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../http2/IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HTTP2Session.</span><code><span class="memberNameLink"><a href="../../http2/HTTP2Session.html#createLocalStream(int,org.eclipse.jetty.util.Promise)">createLocalStream</a></span>&#8203;(int&nbsp;streamId,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HTTP2Session.</span><code><span class="memberNameLink"><a href="../../http2/HTTP2Session.html#newStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">newStream</a></span>&#8203;(<a href="../../http2/frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="../../http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HTTP2Session.</span><code><span class="memberNameLink"><a href="../../http2/HTTP2Session.html#newStream(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">newStream</a></span>&#8203;(<a href="../../http2/IStream.FrameList.html" title="class in org.eclipse.jetty.http2">IStream.FrameList</a>&nbsp;frames,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="../../http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ISession.</span><code><span class="memberNameLink"><a href="../../http2/ISession.html#newStream(org.eclipse.jetty.http2.IStream.FrameList,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">newStream</a></span>&#8203;(<a href="../../http2/IStream.FrameList.html" title="class in org.eclipse.jetty.http2">IStream.FrameList</a>&nbsp;frames,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="../../http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">
<div class="block">Sends the given list of frames to create a new <a href="../../http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HTTP2Session.</span><code><span class="memberNameLink"><a href="../../http2/HTTP2Session.html#push(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.http2.api.Stream.Listener)">push</a></span>&#8203;(<a href="../../http2/IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="../../http2/frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</a>&nbsp;frame,
<a href="../../http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HTTP2Stream.</span><code><span class="memberNameLink"><a href="../../http2/HTTP2Stream.html#push(org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">push</a></span>&#8203;(<a href="../../http2/frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</a>&nbsp;frame,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="../../http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ISession.</span><code><span class="memberNameLink"><a href="../../http2/ISession.html#push(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.http2.api.Stream.Listener)">push</a></span>&#8203;(<a href="../../http2/IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a>&nbsp;stream,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="../../http2/frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</a>&nbsp;frame,
<a href="../../http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">
<div class="block">Enqueues the given PUSH_PROMISE frame to be written to the connection.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.http2.api">
<!-- -->
</a>
<h3>Uses of <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a> in <a href="../../http2/api/package-summary.html">org.eclipse.jetty.http2.api</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../http2/api/package-summary.html">org.eclipse.jetty.http2.api</a> with parameters of type <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Session.</span><code><span class="memberNameLink"><a href="../../http2/api/Session.html#newStream(org.eclipse.jetty.http2.frames.HeadersFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">newStream</a></span>&#8203;(<a href="../../http2/frames/HeadersFrame.html" title="class in org.eclipse.jetty.http2.frames">HeadersFrame</a>&nbsp;frame,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="../../http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">
<div class="block">Sends the given HEADERS <code>frame</code> to create a new <a href="../../http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api"><code>Stream</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Stream.</span><code><span class="memberNameLink"><a href="../../http2/api/Stream.html#push(org.eclipse.jetty.http2.frames.PushPromiseFrame,org.eclipse.jetty.util.Promise,org.eclipse.jetty.http2.api.Stream.Listener)">push</a></span>&#8203;(<a href="../../http2/frames/PushPromiseFrame.html" title="class in org.eclipse.jetty.http2.frames">PushPromiseFrame</a>&nbsp;frame,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Stream.html" title="interface in org.eclipse.jetty.http2.api">Stream</a>&gt;&nbsp;promise,
<a href="../../http2/api/Stream.Listener.html" title="interface in org.eclipse.jetty.http2.api">Stream.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">
<div class="block">Sends the given PUSH_PROMISE <code>frame</code>.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.http2.client">
<!-- -->
</a>
<h3>Uses of <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a> in <a href="../../http2/client/package-summary.html">org.eclipse.jetty.http2.client</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../http2/client/package-summary.html">org.eclipse.jetty.http2.client</a> with parameters of type <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HTTP2Client.</span><code><span class="memberNameLink"><a href="../../http2/client/HTTP2Client.html#accept(org.eclipse.jetty.util.ssl.SslContextFactory,java.nio.channels.SocketChannel,org.eclipse.jetty.http2.api.Session.Listener,org.eclipse.jetty.util.Promise)">accept</a></span>&#8203;(<a href="../ssl/SslContextFactory.html" title="class in org.eclipse.jetty.util.ssl">SslContextFactory</a>&nbsp;sslContextFactory,
java.nio.channels.SocketChannel&nbsp;channel,
<a href="../../http2/api/Session.Listener.html" title="interface in org.eclipse.jetty.http2.api">Session.Listener</a>&nbsp;listener,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HTTP2Client.</span><code><span class="memberNameLink"><a href="../../http2/client/HTTP2Client.html#connect(java.net.InetSocketAddress,org.eclipse.jetty.http2.api.Session.Listener,org.eclipse.jetty.util.Promise)">connect</a></span>&#8203;(java.net.InetSocketAddress&nbsp;address,
<a href="../../http2/api/Session.Listener.html" title="interface in org.eclipse.jetty.http2.api">Session.Listener</a>&nbsp;listener,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HTTP2Client.</span><code><span class="memberNameLink"><a href="../../http2/client/HTTP2Client.html#connect(org.eclipse.jetty.util.ssl.SslContextFactory,java.net.InetSocketAddress,org.eclipse.jetty.http2.api.Session.Listener,org.eclipse.jetty.util.Promise)">connect</a></span>&#8203;(<a href="../ssl/SslContextFactory.html" title="class in org.eclipse.jetty.util.ssl">SslContextFactory</a>&nbsp;sslContextFactory,
java.net.InetSocketAddress&nbsp;address,
<a href="../../http2/api/Session.Listener.html" title="interface in org.eclipse.jetty.http2.api">Session.Listener</a>&nbsp;listener,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HTTP2Client.</span><code><span class="memberNameLink"><a href="../../http2/client/HTTP2Client.html#connect(org.eclipse.jetty.util.ssl.SslContextFactory,java.net.InetSocketAddress,org.eclipse.jetty.http2.api.Session.Listener,org.eclipse.jetty.util.Promise,java.util.Map)">connect</a></span>&#8203;(<a href="../ssl/SslContextFactory.html" title="class in org.eclipse.jetty.util.ssl">SslContextFactory</a>&nbsp;sslContextFactory,
java.net.InetSocketAddress&nbsp;address,
<a href="../../http2/api/Session.Listener.html" title="interface in org.eclipse.jetty.http2.api">Session.Listener</a>&nbsp;listener,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&gt;&nbsp;promise,
java.util.Map&lt;java.lang.String,&#8203;java.lang.Object&gt;&nbsp;context)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.http2.client.http">
<!-- -->
</a>
<h3>Uses of <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a> in <a href="../../http2/client/http/package-summary.html">org.eclipse.jetty.http2.client.http</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../http2/client/http/package-summary.html">org.eclipse.jetty.http2.client.http</a> with parameters of type <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpClientTransportOverHTTP2.</span><code><span class="memberNameLink"><a href="../../http2/client/http/HttpClientTransportOverHTTP2.html#connect(org.eclipse.jetty.util.ssl.SslContextFactory,java.net.InetSocketAddress,org.eclipse.jetty.http2.api.Session.Listener,org.eclipse.jetty.util.Promise,java.util.Map)">connect</a></span>&#8203;(<a href="../ssl/SslContextFactory.html" title="class in org.eclipse.jetty.util.ssl">SslContextFactory</a>&nbsp;sslContextFactory,
java.net.InetSocketAddress&nbsp;address,
<a href="../../http2/api/Session.Listener.html" title="interface in org.eclipse.jetty.http2.api">Session.Listener</a>&nbsp;listener,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../../http2/api/Session.html" title="interface in org.eclipse.jetty.http2.api">Session</a>&gt;&nbsp;promise,
java.util.Map&lt;java.lang.String,&#8203;java.lang.Object&gt;&nbsp;context)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.proxy">
<!-- -->
</a>
<h3>Uses of <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a> in <a href="../../proxy/package-summary.html">org.eclipse.jetty.proxy</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../proxy/package-summary.html">org.eclipse.jetty.proxy</a> with parameters of type <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ConnectHandler.</span><code><span class="memberNameLink"><a href="../../proxy/ConnectHandler.html#connectToServer(javax.servlet.http.HttpServletRequest,java.lang.String,int,org.eclipse.jetty.util.Promise)">connectToServer</a></span>&#8203;(javax.servlet.http.HttpServletRequest&nbsp;request,
java.lang.String&nbsp;host,
int&nbsp;port,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;java.nio.channels.SocketChannel&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.util">
<!-- -->
</a>
<h3>Uses of <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a> in <a href="../package-summary.html">org.eclipse.jetty.util</a></h3>
<table class="useSummary">
<caption><span>Classes in <a href="../package-summary.html">org.eclipse.jetty.util</a> that implement <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../FuturePromise.html" title="class in org.eclipse.jetty.util">FuturePromise</a>&lt;C&gt;</span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../Promise.Adapter.html" title="class in org.eclipse.jetty.util">Promise.Adapter</a>&lt;U&gt;</span></code></th>
<td class="colLast">
<div class="block">Empty implementation of <a href="../Promise.html" title="interface in org.eclipse.jetty.util"><code>Promise</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../Promise.Completable.html" title="class in org.eclipse.jetty.util">Promise.Completable</a>&lt;S&gt;</span></code></th>
<td class="colLast">
<div class="block">A CompletableFuture that is also a Promise.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../Promise.Wrapper.html" title="class in org.eclipse.jetty.util">Promise.Wrapper</a>&lt;W&gt;</span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">org.eclipse.jetty.util</a> that return <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Promise.</span><code><span class="memberNameLink"><a href="../Promise.html#from(java.util.concurrent.CompletableFuture)">from</a></span>&#8203;(java.util.concurrent.CompletableFuture&lt;? super T&gt;&nbsp;completable)</code></th>
<td class="colLast">
<div class="block">Creates a promise from the given incomplete CompletableFuture.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../Promise.Wrapper.html" title="type parameter in Promise.Wrapper">W</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Promise.Wrapper.</span><code><span class="memberNameLink"><a href="../Promise.Wrapper.html#getPromise()">getPromise</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../Promise.Wrapper.html" title="type parameter in Promise.Wrapper">W</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Promise.Wrapper.</span><code><span class="memberNameLink"><a href="../Promise.Wrapper.html#unwrap()">unwrap</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">org.eclipse.jetty.util</a> with parameters of type <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">SocketAddressResolver.Async.</span><code><span class="memberNameLink"><a href="../SocketAddressResolver.Async.html#resolve(java.lang.String,int,org.eclipse.jetty.util.Promise)">resolve</a></span>&#8203;(java.lang.String&nbsp;host,
int&nbsp;port,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;java.util.List&lt;java.net.InetSocketAddress&gt;&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">SocketAddressResolver.</span><code><span class="memberNameLink"><a href="../SocketAddressResolver.html#resolve(java.lang.String,int,org.eclipse.jetty.util.Promise)">resolve</a></span>&#8203;(java.lang.String&nbsp;host,
int&nbsp;port,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;java.util.List&lt;java.net.InetSocketAddress&gt;&gt;&nbsp;promise)</code></th>
<td class="colLast">
<div class="block">Resolves the given host and port, returning a <code>SocketAddress</code> through the given <a href="../Promise.html" title="interface in org.eclipse.jetty.util"><code>Promise</code></a>
with the default timeout.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">SocketAddressResolver.Sync.</span><code><span class="memberNameLink"><a href="../SocketAddressResolver.Sync.html#resolve(java.lang.String,int,org.eclipse.jetty.util.Promise)">resolve</a></span>&#8203;(java.lang.String&nbsp;host,
int&nbsp;port,
<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;java.util.List&lt;java.net.InetSocketAddress&gt;&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Constructors in <a href="../package-summary.html">org.eclipse.jetty.util</a> with parameters of type <a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../Promise.Wrapper.html#%3Cinit%3E(org.eclipse.jetty.util.Promise)">Wrapper</a></span>&#8203;(<a href="../Promise.html" title="interface in org.eclipse.jetty.util">Promise</a>&lt;<a href="../Promise.Wrapper.html" title="type parameter in Promise.Wrapper">W</a>&gt;&nbsp;promise)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
</ul>
</li>
</ul>
</div>
</main>
<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><a href="../Promise.html" title="interface in org.eclipse.jetty.util">Class</a></li>
<li class="navBarCell1Rev">Use</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>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 1995&#x2013;2021 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>