| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.9.1) on Mon Dec 07 11:01:44 CST 2020 --> |
| <title>CoreClientUpgradeRequest (Eclipse Jetty API Doc - v10.0.0)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2020-12-07"> |
| <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="CoreClientUpgradeRequest (Eclipse Jetty API Doc - v10.0.0)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":10,"i6":6,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete 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/CoreClientUpgradeRequest.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 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: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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"> </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> <a href="package-summary.html">org.eclipse.jetty.websocket.core.client</a></div> |
| <h2 title="Class CoreClientUpgradeRequest" class="title">Class CoreClientUpgradeRequest</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../client/HttpRequest.html" title="class in org.eclipse.jetty.client">org.eclipse.jetty.client.HttpRequest</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.websocket.core.client.CoreClientUpgradeRequest</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code>java.util.EventListener</code>, <code><a href="../../../client/api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a></code>, <code><a href="../../../client/api/Response.CompleteListener.html" title="interface in org.eclipse.jetty.client.api">Response.CompleteListener</a></code>, <code><a href="../../../client/api/Response.ResponseListener.html" title="interface in org.eclipse.jetty.client.api">Response.ResponseListener</a></code>, <code><a href="../../../client/HttpUpgrader.Factory.html" title="interface in org.eclipse.jetty.client">HttpUpgrader.Factory</a></code></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="../../javax/client/internal/JavaxClientUpgradeRequest.html" title="class in org.eclipse.jetty.websocket.javax.client.internal">JavaxClientUpgradeRequest</a></code>, <code><a href="../../client/impl/JettyClientUpgradeRequest.html" title="class in org.eclipse.jetty.websocket.client.impl">JettyClientUpgradeRequest</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public abstract class <span class="typeNameLabel">CoreClientUpgradeRequest</span> |
| extends <a href="../../../client/HttpRequest.html" title="class in org.eclipse.jetty.client">HttpRequest</a> |
| implements <a href="../../../client/api/Response.CompleteListener.html" title="interface in org.eclipse.jetty.client.api">Response.CompleteListener</a>, <a href="../../../client/HttpUpgrader.Factory.html" title="interface in org.eclipse.jetty.client">HttpUpgrader.Factory</a></pre> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.client.api.Request"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.client.api.<a href="../../../client/api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a></h3> |
| <code><a href="../../../client/api/Request.BeginListener.html" title="interface in org.eclipse.jetty.client.api">Request.BeginListener</a>, <a href="../../../client/api/Request.CommitListener.html" title="interface in org.eclipse.jetty.client.api">Request.CommitListener</a>, <a href="../../../client/api/Request.Content.html" title="interface in org.eclipse.jetty.client.api">Request.Content</a>, <a href="../../../client/api/Request.ContentListener.html" title="interface in org.eclipse.jetty.client.api">Request.ContentListener</a>, <a href="../../../client/api/Request.FailureListener.html" title="interface in org.eclipse.jetty.client.api">Request.FailureListener</a>, <a href="../../../client/api/Request.HeadersListener.html" title="interface in org.eclipse.jetty.client.api">Request.HeadersListener</a>, <a href="../../../client/api/Request.Listener.html" title="interface in org.eclipse.jetty.client.api">Request.Listener</a>, <a href="../../../client/api/Request.QueuedListener.html" title="interface in org.eclipse.jetty.client.api">Request.QueuedListener</a>, <a href="../../../client/api/Request.RequestListener.html" title="interface in org.eclipse.jetty.client.api">Request.RequestListener</a>, <a href="../../../client/api/Request.SuccessListener.html" title="interface in org.eclipse.jetty.client.api">Request.SuccessListener</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected java.util.concurrent.CompletableFuture<<a href="../CoreSession.html" title="interface in org.eclipse.jetty.websocket.core">CoreSession</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#futureCoreSession">futureCoreSession</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.websocket.core.client.WebSocketCoreClient,java.net.URI)">CoreClientUpgradeRequest</a></span>​(<a href="WebSocketCoreClient.html" title="class in org.eclipse.jetty.websocket.core.client">WebSocketCoreClient</a> webSocketClient, |
| java.net.URI requestURI)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== 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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addExtensions(java.lang.String...)">addExtensions</a></span>​(java.lang.String... configs)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addExtensions(org.eclipse.jetty.websocket.core.ExtensionConfig...)">addExtensions</a></span>​(<a href="../ExtensionConfig.html" title="class in org.eclipse.jetty.websocket.core">ExtensionConfig</a>... configs)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addListener(org.eclipse.jetty.websocket.core.client.UpgradeListener)">addListener</a></span>​(<a href="UpgradeListener.html" title="interface in org.eclipse.jetty.websocket.core.client">UpgradeListener</a> listener)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#customize(org.eclipse.jetty.io.EndPoint)">customize</a></span>​(<a href="../../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> endPoint)</code></th> |
| <td class="colLast"> |
| <div class="block">Allow for overridden customization of endpoint (such as special transport level properties: e.g.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static <a href="CoreClientUpgradeRequest.html" title="class in org.eclipse.jetty.websocket.core.client">CoreClientUpgradeRequest</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#from(org.eclipse.jetty.websocket.core.client.WebSocketCoreClient,java.net.URI,org.eclipse.jetty.websocket.core.FrameHandler)">from</a></span>​(<a href="WebSocketCoreClient.html" title="class in org.eclipse.jetty.websocket.core.client">WebSocketCoreClient</a> webSocketClient, |
| java.net.URI requestURI, |
| <a href="../FrameHandler.html" title="interface in org.eclipse.jetty.websocket.core">FrameHandler</a> frameHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../ExtensionConfig.html" title="class in org.eclipse.jetty.websocket.core">ExtensionConfig</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getExtensions()">getExtensions</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>abstract <a href="../FrameHandler.html" title="interface in org.eclipse.jetty.websocket.core">FrameHandler</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFrameHandler()">getFrameHandler</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>java.util.List<java.lang.String></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSubProtocols()">getSubProtocols</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleException(java.lang.Throwable)">handleException</a></span>​(java.lang.Throwable failure)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../client/HttpUpgrader.html" title="interface in org.eclipse.jetty.client">HttpUpgrader</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newHttpUpgrader(org.eclipse.jetty.http.HttpVersion)">newHttpUpgrader</a></span>​(<a href="../../../http/HttpVersion.html" title="enum in org.eclipse.jetty.http">HttpVersion</a> version)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onComplete(org.eclipse.jetty.client.api.Result)">onComplete</a></span>​(<a href="../../../client/api/Result.html" title="class in org.eclipse.jetty.client.api">Result</a> result)</code></th> |
| <td class="colLast"> |
| <div class="block">Callback method invoked when the request <em><b>and</b></em> the response have been processed, |
| either successfully or not.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#requestComplete()">requestComplete</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#send(org.eclipse.jetty.client.api.Response.CompleteListener)">send</a></span>​(<a href="../../../client/api/Response.CompleteListener.html" title="interface in org.eclipse.jetty.client.api">Response.CompleteListener</a> listener)</code></th> |
| <td class="colLast"> |
| <div class="block">Sends this request and asynchronously notifies the given listener for response events.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>java.util.concurrent.CompletableFuture<<a href="../CoreSession.html" title="interface in org.eclipse.jetty.websocket.core">CoreSession</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sendAsync()">sendAsync</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setConfiguration(org.eclipse.jetty.websocket.core.Configuration.ConfigurationCustomizer)">setConfiguration</a></span>​(<a href="../Configuration.ConfigurationCustomizer.html" title="class in org.eclipse.jetty.websocket.core">Configuration.ConfigurationCustomizer</a> config)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setExtensions(java.util.List)">setExtensions</a></span>​(java.util.List<<a href="../ExtensionConfig.html" title="class in org.eclipse.jetty.websocket.core">ExtensionConfig</a>> configs)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSubProtocols(java.lang.String...)">setSubProtocols</a></span>​(java.lang.String... protocols)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSubProtocols(java.util.List)">setSubProtocols</a></span>​(java.util.List<java.lang.String> protocols)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#upgrade(org.eclipse.jetty.client.HttpResponse,org.eclipse.jetty.io.EndPoint)">upgrade</a></span>​(<a href="../../../client/HttpResponse.html" title="class in org.eclipse.jetty.client">HttpResponse</a> response, |
| <a href="../../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> endPoint)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.client.HttpRequest"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.client.<a href="../../../client/HttpRequest.html" title="class in org.eclipse.jetty.client">HttpRequest</a></h3> |
| <code><a href="../../../client/HttpRequest.html#abort(java.lang.Throwable)">abort</a>, <a href="../../../client/HttpRequest.html#accept(java.lang.String...)">accept</a>, <a href="../../../client/HttpRequest.html#addHeader(org.eclipse.jetty.http.HttpField)">addHeader</a>, <a href="../../../client/HttpRequest.html#agent(java.lang.String)">agent</a>, <a href="../../../client/HttpRequest.html#attribute(java.lang.String,java.lang.Object)">attribute</a>, <a href="../../../client/HttpRequest.html#body(org.eclipse.jetty.client.api.Request.Content)">body</a>, <a href="../../../client/HttpRequest.html#content(org.eclipse.jetty.client.api.ContentProvider)">content</a>, <a href="../../../client/HttpRequest.html#content(org.eclipse.jetty.client.api.ContentProvider,java.lang.String)">content</a>, <a href="../../../client/HttpRequest.html#cookie(java.net.HttpCookie)">cookie</a>, <a href="../../../client/HttpRequest.html#file(java.nio.file.Path)">file</a>, <a href="../../../client/HttpRequest.html#file(java.nio.file.Path,java.lang.String)">file</a>, <a href="../../../client/HttpRequest.html#followRedirects(boolean)">followRedirects</a>, <a href="../../../client/HttpRequest.html#getAbortCause()">getAbortCause</a>, <a href="../../../client/HttpRequest.html#getAgent()">getAgent</a>, <a href="../../../client/HttpRequest.html#getAttributes()">getAttributes</a>, <a href="../../../client/HttpRequest.html#getBody()">getBody</a>, <a href="../../../client/HttpRequest.html#getContent()">getContent</a>, <a href="../../../client/HttpRequest.html#getConversation()">getConversation</a>, <a href="../../../client/HttpRequest.html#getCookies()">getCookies</a>, <a href="../../../client/HttpRequest.html#getHeaders()">getHeaders</a>, <a href="../../../client/HttpRequest.html#getHost()">getHost</a>, <a href="../../../client/HttpRequest.html#getIdleTimeout()">getIdleTimeout</a>, <a href="../../../client/HttpRequest.html#getMethod()">getMethod</a>, <a href="../../../client/HttpRequest.html#getParams()">getParams</a>, <a href="../../../client/HttpRequest.html#getPath()">getPath</a>, <a href="../../../client/HttpRequest.html#getPort()">getPort</a>, <a href="../../../client/HttpRequest.html#getPushListener()">getPushListener</a>, <a href="../../../client/HttpRequest.html#getQuery()">getQuery</a>, <a href="../../../client/HttpRequest.html#getRequestListeners(java.lang.Class)">getRequestListeners</a>, <a href="../../../client/HttpRequest.html#getResponseListeners()">getResponseListeners</a>, <a href="../../../client/HttpRequest.html#getScheme()">getScheme</a>, <a href="../../../client/HttpRequest.html#getTag()">getTag</a>, <a href="../../../client/HttpRequest.html#getTimeout()">getTimeout</a>, <a href="../../../client/HttpRequest.html#getTrailers()">getTrailers</a>, <a href="../../../client/HttpRequest.html#getUpgradeProtocol()">getUpgradeProtocol</a>, <a href="../../../client/HttpRequest.html#getURI()">getURI</a>, <a href="../../../client/HttpRequest.html#getVersion()">getVersion</a>, <a href="../../../client/HttpRequest.html#header(java.lang.String,java.lang.String)">header</a>, <a href="../../../client/HttpRequest.html#header(org.eclipse.jetty.http.HttpHeader,java.lang.String)">header</a>, <a href="../../../client/HttpRequest.html#headers(java.util.function.Consumer)">headers</a>, <a href="../../../client/HttpRequest.html#host(java.lang.String)">host</a>, <a href="../../../client/HttpRequest.html#idleTimeout(long,java.util.concurrent.TimeUnit)">idleTimeout</a>, <a href="../../../client/HttpRequest.html#isFollowRedirects()">isFollowRedirects</a>, <a href="../../../client/HttpRequest.html#isVersionExplicit()">isVersionExplicit</a>, <a href="../../../client/HttpRequest.html#listener(org.eclipse.jetty.client.api.Request.Listener)">listener</a>, <a href="../../../client/HttpRequest.html#method(java.lang.String)">method</a>, <a href="../../../client/HttpRequest.html#method(org.eclipse.jetty.http.HttpMethod)">method</a>, <a href="../../../client/HttpRequest.html#onComplete(org.eclipse.jetty.client.api.Response.CompleteListener)">onComplete</a>, <a href="../../../client/HttpRequest.html#onRequestBegin(org.eclipse.jetty.client.api.Request.BeginListener)">onRequestBegin</a>, <a href="../../../client/HttpRequest.html#onRequestCommit(org.eclipse.jetty.client.api.Request.CommitListener)">onRequestCommit</a>, <a href="../../../client/HttpRequest.html#onRequestContent(org.eclipse.jetty.client.api.Request.ContentListener)">onRequestContent</a>, <a href="../../../client/HttpRequest.html#onRequestFailure(org.eclipse.jetty.client.api.Request.FailureListener)">onRequestFailure</a>, <a href="../../../client/HttpRequest.html#onRequestHeaders(org.eclipse.jetty.client.api.Request.HeadersListener)">onRequestHeaders</a>, <a href="../../../client/HttpRequest.html#onRequestQueued(org.eclipse.jetty.client.api.Request.QueuedListener)">onRequestQueued</a>, <a href="../../../client/HttpRequest.html#onRequestSuccess(org.eclipse.jetty.client.api.Request.SuccessListener)">onRequestSuccess</a>, <a href="../../../client/HttpRequest.html#onResponseBegin(org.eclipse.jetty.client.api.Response.BeginListener)">onResponseBegin</a>, <a href="../../../client/HttpRequest.html#onResponseContent(org.eclipse.jetty.client.api.Response.ContentListener)">onResponseContent</a>, <a href="../../../client/HttpRequest.html#onResponseContentAsync(org.eclipse.jetty.client.api.Response.AsyncContentListener)">onResponseContentAsync</a>, <a href="../../../client/HttpRequest.html#onResponseContentDemanded(org.eclipse.jetty.client.api.Response.DemandedContentListener)">onResponseContentDemanded</a>, <a href="../../../client/HttpRequest.html#onResponseFailure(org.eclipse.jetty.client.api.Response.FailureListener)">onResponseFailure</a>, <a href="../../../client/HttpRequest.html#onResponseHeader(org.eclipse.jetty.client.api.Response.HeaderListener)">onResponseHeader</a>, <a href="../../../client/HttpRequest.html#onResponseHeaders(org.eclipse.jetty.client.api.Response.HeadersListener)">onResponseHeaders</a>, <a href="../../../client/HttpRequest.html#onResponseSuccess(org.eclipse.jetty.client.api.Response.SuccessListener)">onResponseSuccess</a>, <a href="../../../client/HttpRequest.html#param(java.lang.String,java.lang.String)">param</a>, <a href="../../../client/HttpRequest.html#path(java.lang.String)">path</a>, <a href="../../../client/HttpRequest.html#port(int)">port</a>, <a href="../../../client/HttpRequest.html#pushListener(java.util.function.BiFunction)">pushListener</a>, <a href="../../../client/HttpRequest.html#scheme(java.lang.String)">scheme</a>, <a href="../../../client/HttpRequest.html#send()">send</a>, <a href="../../../client/HttpRequest.html#tag(java.lang.Object)">tag</a>, <a href="../../../client/HttpRequest.html#timeout(long,java.util.concurrent.TimeUnit)">timeout</a>, <a href="../../../client/HttpRequest.html#toString()">toString</a>, <a href="../../../client/HttpRequest.html#trailers(java.util.function.Supplier)">trailers</a>, <a href="../../../client/HttpRequest.html#upgradeProtocol(java.lang.String)">upgradeProtocol</a>, <a href="../../../client/HttpRequest.html#version(org.eclipse.jetty.http.HttpVersion)">version</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="futureCoreSession"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>futureCoreSession</h4> |
| <pre>protected final java.util.concurrent.CompletableFuture<<a href="../CoreSession.html" title="interface in org.eclipse.jetty.websocket.core">CoreSession</a>> futureCoreSession</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>(org.eclipse.jetty.websocket.core.client.WebSocketCoreClient,java.net.URI)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>CoreClientUpgradeRequest</h4> |
| <pre>public CoreClientUpgradeRequest​(<a href="WebSocketCoreClient.html" title="class in org.eclipse.jetty.websocket.core.client">WebSocketCoreClient</a> webSocketClient, |
| java.net.URI requestURI)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="from(org.eclipse.jetty.websocket.core.client.WebSocketCoreClient,java.net.URI,org.eclipse.jetty.websocket.core.FrameHandler)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>from</h4> |
| <pre class="methodSignature">public static <a href="CoreClientUpgradeRequest.html" title="class in org.eclipse.jetty.websocket.core.client">CoreClientUpgradeRequest</a> from​(<a href="WebSocketCoreClient.html" title="class in org.eclipse.jetty.websocket.core.client">WebSocketCoreClient</a> webSocketClient, |
| java.net.URI requestURI, |
| <a href="../FrameHandler.html" title="interface in org.eclipse.jetty.websocket.core">FrameHandler</a> frameHandler)</pre> |
| </li> |
| </ul> |
| <a id="setConfiguration(org.eclipse.jetty.websocket.core.Configuration.ConfigurationCustomizer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setConfiguration</h4> |
| <pre class="methodSignature">public void setConfiguration​(<a href="../Configuration.ConfigurationCustomizer.html" title="class in org.eclipse.jetty.websocket.core">Configuration.ConfigurationCustomizer</a> config)</pre> |
| </li> |
| </ul> |
| <a id="addListener(org.eclipse.jetty.websocket.core.client.UpgradeListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addListener</h4> |
| <pre class="methodSignature">public void addListener​(<a href="UpgradeListener.html" title="interface in org.eclipse.jetty.websocket.core.client">UpgradeListener</a> listener)</pre> |
| </li> |
| </ul> |
| <a id="addExtensions(org.eclipse.jetty.websocket.core.ExtensionConfig...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addExtensions</h4> |
| <pre class="methodSignature">public void addExtensions​(<a href="../ExtensionConfig.html" title="class in org.eclipse.jetty.websocket.core">ExtensionConfig</a>... configs)</pre> |
| </li> |
| </ul> |
| <a id="addExtensions(java.lang.String...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addExtensions</h4> |
| <pre class="methodSignature">public void addExtensions​(java.lang.String... configs)</pre> |
| </li> |
| </ul> |
| <a id="getExtensions()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExtensions</h4> |
| <pre class="methodSignature">public java.util.List<<a href="../ExtensionConfig.html" title="class in org.eclipse.jetty.websocket.core">ExtensionConfig</a>> getExtensions()</pre> |
| </li> |
| </ul> |
| <a id="setExtensions(java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setExtensions</h4> |
| <pre class="methodSignature">public void setExtensions​(java.util.List<<a href="../ExtensionConfig.html" title="class in org.eclipse.jetty.websocket.core">ExtensionConfig</a>> configs)</pre> |
| </li> |
| </ul> |
| <a id="getSubProtocols()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSubProtocols</h4> |
| <pre class="methodSignature">public java.util.List<java.lang.String> getSubProtocols()</pre> |
| </li> |
| </ul> |
| <a id="setSubProtocols(java.lang.String...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSubProtocols</h4> |
| <pre class="methodSignature">public void setSubProtocols​(java.lang.String... protocols)</pre> |
| </li> |
| </ul> |
| <a id="setSubProtocols(java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSubProtocols</h4> |
| <pre class="methodSignature">public void setSubProtocols​(java.util.List<java.lang.String> protocols)</pre> |
| </li> |
| </ul> |
| <a id="send(org.eclipse.jetty.client.api.Response.CompleteListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>send</h4> |
| <pre class="methodSignature">public void send​(<a href="../../../client/api/Response.CompleteListener.html" title="interface in org.eclipse.jetty.client.api">Response.CompleteListener</a> listener)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../client/api/Request.html#send(org.eclipse.jetty.client.api.Response.CompleteListener)">Request</a></code></span></div> |
| <div class="block"><p>Sends this request and asynchronously notifies the given listener for response events.</p> |
| <p>This method should be used when the application needs to be notified of the various response events |
| as they happen, or when the application needs to efficiently manage the response content.</p> |
| <p>The listener passed to this method may implement not only <a href="../../../client/api/Response.CompleteListener.html" title="interface in org.eclipse.jetty.client.api"><code>Response.CompleteListener</code></a> |
| but also other response listener interfaces, and all the events implemented will be notified. |
| This allows application code to write a single listener class to handle all relevant events.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../client/api/Request.html#send(org.eclipse.jetty.client.api.Response.CompleteListener)">send</a></code> in interface <code><a href="../../../client/api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../client/HttpRequest.html#send(org.eclipse.jetty.client.api.Response.CompleteListener)">send</a></code> in class <code><a href="../../../client/HttpRequest.html" title="class in org.eclipse.jetty.client">HttpRequest</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the listener that receives response events</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="sendAsync()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendAsync</h4> |
| <pre class="methodSignature">public java.util.concurrent.CompletableFuture<<a href="../CoreSession.html" title="interface in org.eclipse.jetty.websocket.core">CoreSession</a>> sendAsync()</pre> |
| </li> |
| </ul> |
| <a id="onComplete(org.eclipse.jetty.client.api.Result)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onComplete</h4> |
| <pre class="methodSignature">public void onComplete​(<a href="../../../client/api/Result.html" title="class in org.eclipse.jetty.client.api">Result</a> result)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../client/api/Response.CompleteListener.html#onComplete(org.eclipse.jetty.client.api.Result)">Response.CompleteListener</a></code></span></div> |
| <div class="block">Callback method invoked when the request <em><b>and</b></em> the response have been processed, |
| either successfully or not. |
| <p> |
| The <code>result</code> parameter contains the request, the response, and eventual failures. |
| <p> |
| Requests may complete <em>after</em> response, for example in case of big uploads that are |
| discarded or read asynchronously by the server. |
| This method is always invoked <em>after</em> <a href="../../../client/api/Response.SuccessListener.html#onSuccess(org.eclipse.jetty.client.api.Response)"><code>Response.SuccessListener.onSuccess(Response)</code></a> or |
| <a href="../../../client/api/Response.FailureListener.html#onFailure(org.eclipse.jetty.client.api.Response,java.lang.Throwable)"><code>Response.FailureListener.onFailure(Response, Throwable)</code></a>, and only when request indicates that |
| it is completed.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../client/api/Response.CompleteListener.html#onComplete(org.eclipse.jetty.client.api.Result)">onComplete</a></code> in interface <code><a href="../../../client/api/Response.CompleteListener.html" title="interface in org.eclipse.jetty.client.api">Response.CompleteListener</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>result</code> - the result of the request / response exchange</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="handleException(java.lang.Throwable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleException</h4> |
| <pre class="methodSignature">protected void handleException​(java.lang.Throwable failure)</pre> |
| </li> |
| </ul> |
| <a id="newHttpUpgrader(org.eclipse.jetty.http.HttpVersion)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newHttpUpgrader</h4> |
| <pre class="methodSignature">public <a href="../../../client/HttpUpgrader.html" title="interface in org.eclipse.jetty.client">HttpUpgrader</a> newHttpUpgrader​(<a href="../../../http/HttpVersion.html" title="enum in org.eclipse.jetty.http">HttpVersion</a> version)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../client/HttpUpgrader.Factory.html#newHttpUpgrader(org.eclipse.jetty.http.HttpVersion)">newHttpUpgrader</a></code> in interface <code><a href="../../../client/HttpUpgrader.Factory.html" title="interface in org.eclipse.jetty.client">HttpUpgrader.Factory</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="customize(org.eclipse.jetty.io.EndPoint)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>customize</h4> |
| <pre class="methodSignature">protected void customize​(<a href="../../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> endPoint)</pre> |
| <div class="block">Allow for overridden customization of endpoint (such as special transport level properties: e.g. TCP keepAlive)</div> |
| </li> |
| </ul> |
| <a id="getFrameHandler()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFrameHandler</h4> |
| <pre class="methodSignature">public abstract <a href="../FrameHandler.html" title="interface in org.eclipse.jetty.websocket.core">FrameHandler</a> getFrameHandler()</pre> |
| </li> |
| </ul> |
| <a id="requestComplete()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>requestComplete</h4> |
| <pre class="methodSignature">public void requestComplete()</pre> |
| </li> |
| </ul> |
| <a id="upgrade(org.eclipse.jetty.client.HttpResponse,org.eclipse.jetty.io.EndPoint)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>upgrade</h4> |
| <pre class="methodSignature">public void upgrade​(<a href="../../../client/HttpResponse.html" title="class in org.eclipse.jetty.client">HttpResponse</a> response, |
| <a href="../../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> endPoint)</pre> |
| </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/CoreClientUpgradeRequest.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 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: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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>Copyright © 1995–2020 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |