| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) on Thu Sep 15 14:13:16 CDT 2022 --> |
| <title>CoreClientUpgradeRequest (Eclipse Jetty API Doc - v11.0.12)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2022-09-15"> |
| <meta name="description" content="declaration: package: org.eclipse.jetty.websocket.core.client, class: CoreClientUpgradeRequest"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../../script-dir/jquery-3.5.1.min.js"></script> |
| <script type="text/javascript" src="../../../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">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#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <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="sub-nav-list"> |
| <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> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.eclipse.jetty.websocket.core.client</a></div> |
| <h1 title="Class CoreClientUpgradeRequest" class="title">Class CoreClientUpgradeRequest</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance"><a href="../../../client/HttpRequest.html" title="class in org.eclipse.jetty.client">org.eclipse.jetty.client.HttpRequest</a> |
| <div class="inheritance">org.eclipse.jetty.websocket.core.client.CoreClientUpgradeRequest</div> |
| </div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/EventListener.html" title="class or interface in java.util" class="external-link">EventListener</a></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 class="notes"> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="../../jakarta/client/internal/JakartaClientUpgradeRequest.html" title="class in org.eclipse.jetty.websocket.jakarta.client.internal">JakartaClientUpgradeRequest</a></code>, <code><a href="../../client/impl/JettyClientUpgradeRequest.html" title="class in org.eclipse.jetty.websocket.client.impl">JettyClientUpgradeRequest</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="modifiers">public abstract class </span><span class="element-name type-name-label">CoreClientUpgradeRequest</span> |
| <span class="extends-implements">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></span></div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <li> |
| <section class="nested-class-summary" id="nested-class-summary"> |
| <h2>Nested Class Summary</h2> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.client.api.Request">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></h2> |
| <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></div> |
| </section> |
| </li> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="caption"><span>Fields</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Field</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>protected final <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="../CoreSession.html" title="interface in org.eclipse.jetty.websocket.core">CoreSession</a>></code></div> |
| <div class="col-second even-row-color"><code><a href="#futureCoreSession" class="member-name-link">futureCoreSession</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(org.eclipse.jetty.websocket.core.client.WebSocketCoreClient,java.net.URI)" class="member-name-link">CoreClientUpgradeRequest</a><wbr>(<a href="WebSocketCoreClient.html" title="class in org.eclipse.jetty.websocket.core.client">WebSocketCoreClient</a> webSocketClient, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/URI.html" title="class or interface in java.net" class="external-link">URI</a> requestURI)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addExtensions(java.lang.String...)" class="member-name-link">addExtensions</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>... configs)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addExtensions(org.eclipse.jetty.websocket.core.ExtensionConfig...)" class="member-name-link">addExtensions</a><wbr>(<a href="../ExtensionConfig.html" title="class in org.eclipse.jetty.websocket.core">ExtensionConfig</a>... configs)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addListener(org.eclipse.jetty.websocket.core.client.UpgradeListener)" class="member-name-link">addListener</a><wbr>(<a href="UpgradeListener.html" title="interface in org.eclipse.jetty.websocket.core.client">UpgradeListener</a> listener)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#customize(org.eclipse.jetty.io.EndPoint)" class="member-name-link">customize</a><wbr>(<a href="../../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> endPoint)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Allow for overridden customization of endpoint (such as special transport level properties: e.g.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="CoreClientUpgradeRequest.html" title="class in org.eclipse.jetty.websocket.core.client">CoreClientUpgradeRequest</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#from(org.eclipse.jetty.websocket.core.client.WebSocketCoreClient,java.net.URI,org.eclipse.jetty.websocket.core.FrameHandler)" class="member-name-link">from</a><wbr>(<a href="WebSocketCoreClient.html" title="class in org.eclipse.jetty.websocket.core.client">WebSocketCoreClient</a> webSocketClient, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/URI.html" title="class or interface in java.net" class="external-link">URI</a> requestURI, |
| <a href="../FrameHandler.html" title="interface in org.eclipse.jetty.websocket.core">FrameHandler</a> frameHandler)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../ExtensionConfig.html" title="class in org.eclipse.jetty.websocket.core">ExtensionConfig</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getExtensions()" class="member-name-link">getExtensions</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>abstract <a href="../FrameHandler.html" title="interface in org.eclipse.jetty.websocket.core">FrameHandler</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getFrameHandler()" class="member-name-link">getFrameHandler</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSubProtocols()" class="member-name-link">getSubProtocols</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#handleException(java.lang.Throwable)" class="member-name-link">handleException</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a> failure)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../../client/HttpUpgrader.html" title="interface in org.eclipse.jetty.client">HttpUpgrader</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#newHttpUpgrader(org.eclipse.jetty.http.HttpVersion)" class="member-name-link">newHttpUpgrader</a><wbr>(<a href="../../../http/HttpVersion.html" title="enum in org.eclipse.jetty.http">HttpVersion</a> version)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onComplete(org.eclipse.jetty.client.api.Result)" class="member-name-link">onComplete</a><wbr>(<a href="../../../client/api/Result.html" title="class in org.eclipse.jetty.client.api">Result</a> result)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Callback method invoked when the request <em><b>and</b></em> the response have been processed, |
| either successfully or not.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#requestComplete()" class="member-name-link">requestComplete</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#send(org.eclipse.jetty.client.api.Response.CompleteListener)" class="member-name-link">send</a><wbr>(<a href="../../../client/api/Response.CompleteListener.html" title="interface in org.eclipse.jetty.client.api">Response.CompleteListener</a> listener)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sends this request and asynchronously notifies the given listener for response events.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="../CoreSession.html" title="interface in org.eclipse.jetty.websocket.core">CoreSession</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#sendAsync()" class="member-name-link">sendAsync</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setConfiguration(org.eclipse.jetty.websocket.core.Configuration.ConfigurationCustomizer)" class="member-name-link">setConfiguration</a><wbr>(<a href="../Configuration.ConfigurationCustomizer.html" title="class in org.eclipse.jetty.websocket.core">Configuration.ConfigurationCustomizer</a> config)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setExtensions(java.util.List)" class="member-name-link">setExtensions</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../ExtensionConfig.html" title="class in org.eclipse.jetty.websocket.core">ExtensionConfig</a>> configs)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSubProtocols(java.lang.String...)" class="member-name-link">setSubProtocols</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>... protocols)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSubProtocols(java.util.List)" class="member-name-link">setSubProtocols</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>> protocols)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#upgrade(org.eclipse.jetty.client.HttpResponse,org.eclipse.jetty.io.EndPoint)" class="member-name-link">upgrade</a><wbr>(<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></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.client.HttpRequest">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></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li> |
| <section class="field-details" id="field-detail"> |
| <h2>Field Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="futureCoreSession"> |
| <h3>futureCoreSession</h3> |
| <div class="member-signature"><span class="modifiers">protected final</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="../CoreSession.html" title="interface in org.eclipse.jetty.websocket.core">CoreSession</a>></span> <span class="element-name">futureCoreSession</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>(org.eclipse.jetty.websocket.core.client.WebSocketCoreClient,java.net.URI)"> |
| <h3>CoreClientUpgradeRequest</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">CoreClientUpgradeRequest</span><wbr><span class="parameters">(<a href="WebSocketCoreClient.html" title="class in org.eclipse.jetty.websocket.core.client">WebSocketCoreClient</a> webSocketClient, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/URI.html" title="class or interface in java.net" class="external-link">URI</a> requestURI)</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="from(org.eclipse.jetty.websocket.core.client.WebSocketCoreClient,java.net.URI,org.eclipse.jetty.websocket.core.FrameHandler)"> |
| <h3>from</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="CoreClientUpgradeRequest.html" title="class in org.eclipse.jetty.websocket.core.client">CoreClientUpgradeRequest</a></span> <span class="element-name">from</span><wbr><span class="parameters">(<a href="WebSocketCoreClient.html" title="class in org.eclipse.jetty.websocket.core.client">WebSocketCoreClient</a> webSocketClient, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/URI.html" title="class or interface in java.net" class="external-link">URI</a> requestURI, |
| <a href="../FrameHandler.html" title="interface in org.eclipse.jetty.websocket.core">FrameHandler</a> frameHandler)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setConfiguration(org.eclipse.jetty.websocket.core.Configuration.ConfigurationCustomizer)"> |
| <h3>setConfiguration</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setConfiguration</span><wbr><span class="parameters">(<a href="../Configuration.ConfigurationCustomizer.html" title="class in org.eclipse.jetty.websocket.core">Configuration.ConfigurationCustomizer</a> config)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addListener(org.eclipse.jetty.websocket.core.client.UpgradeListener)"> |
| <h3>addListener</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">addListener</span><wbr><span class="parameters">(<a href="UpgradeListener.html" title="interface in org.eclipse.jetty.websocket.core.client">UpgradeListener</a> listener)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addExtensions(org.eclipse.jetty.websocket.core.ExtensionConfig...)"> |
| <h3>addExtensions</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">addExtensions</span><wbr><span class="parameters">(<a href="../ExtensionConfig.html" title="class in org.eclipse.jetty.websocket.core">ExtensionConfig</a>... configs)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="addExtensions(java.lang.String...)"> |
| <h3>addExtensions</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">addExtensions</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>... configs)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getExtensions()"> |
| <h3>getExtensions</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../ExtensionConfig.html" title="class in org.eclipse.jetty.websocket.core">ExtensionConfig</a>></span> <span class="element-name">getExtensions</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setExtensions(java.util.List)"> |
| <h3>setExtensions</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setExtensions</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../ExtensionConfig.html" title="class in org.eclipse.jetty.websocket.core">ExtensionConfig</a>> configs)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getSubProtocols()"> |
| <h3>getSubProtocols</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>></span> <span class="element-name">getSubProtocols</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setSubProtocols(java.lang.String...)"> |
| <h3>setSubProtocols</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setSubProtocols</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>... protocols)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setSubProtocols(java.util.List)"> |
| <h3>setSubProtocols</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setSubProtocols</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>> protocols)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="send(org.eclipse.jetty.client.api.Response.CompleteListener)"> |
| <h3>send</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">send</span><wbr><span class="parameters">(<a href="../../../client/api/Response.CompleteListener.html" title="interface in org.eclipse.jetty.client.api">Response.CompleteListener</a> listener)</span></div> |
| <div class="block"><span class="descfrm-type-label">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 class="notes"> |
| <dt>Specified by:</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>Overrides:</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>Parameters:</dt> |
| <dd><code>listener</code> - the listener that receives response events</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="sendAsync()"> |
| <h3>sendAsync</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="../CoreSession.html" title="interface in org.eclipse.jetty.websocket.core">CoreSession</a>></span> <span class="element-name">sendAsync</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onComplete(org.eclipse.jetty.client.api.Result)"> |
| <h3>onComplete</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onComplete</span><wbr><span class="parameters">(<a href="../../../client/api/Result.html" title="class in org.eclipse.jetty.client.api">Result</a> result)</span></div> |
| <div class="block"><span class="descfrm-type-label">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 class="notes"> |
| <dt>Specified by:</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>Parameters:</dt> |
| <dd><code>result</code> - the result of the request / response exchange</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="handleException(java.lang.Throwable)"> |
| <h3>handleException</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">handleException</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a> failure)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="newHttpUpgrader(org.eclipse.jetty.http.HttpVersion)"> |
| <h3>newHttpUpgrader</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../../client/HttpUpgrader.html" title="interface in org.eclipse.jetty.client">HttpUpgrader</a></span> <span class="element-name">newHttpUpgrader</span><wbr><span class="parameters">(<a href="../../../http/HttpVersion.html" title="enum in org.eclipse.jetty.http">HttpVersion</a> version)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="customize(org.eclipse.jetty.io.EndPoint)"> |
| <h3>customize</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">customize</span><wbr><span class="parameters">(<a href="../../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> endPoint)</span></div> |
| <div class="block">Allow for overridden customization of endpoint (such as special transport level properties: e.g. TCP keepAlive)</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getFrameHandler()"> |
| <h3>getFrameHandler</h3> |
| <div class="member-signature"><span class="modifiers">public abstract</span> <span class="return-type"><a href="../FrameHandler.html" title="interface in org.eclipse.jetty.websocket.core">FrameHandler</a></span> <span class="element-name">getFrameHandler</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="requestComplete()"> |
| <h3>requestComplete</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">requestComplete</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="upgrade(org.eclipse.jetty.client.HttpResponse,org.eclipse.jetty.io.EndPoint)"> |
| <h3>upgrade</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">upgrade</span><wbr><span class="parameters">(<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)</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 1995–2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |