| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.11) on Wed Jul 07 10:55:45 EDT 2021 --> |
| <title>HttpClient (Eclipse Jetty API Doc - v10.0.6)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2021-07-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="HttpClient (Eclipse Jetty API Doc - v10.0.6)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":9,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":42,"i53":9,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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/HttpClient.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.client</a></div> |
| <h2 title="Class HttpClient" class="title">Class HttpClient</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.AbstractLifeCycle</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.ContainerLifeCycle</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.client.HttpClient</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></code>, <code><a href="../util/component/Destroyable.html" title="interface in org.eclipse.jetty.util.component">Destroyable</a></code>, <code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code>, <code><a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code>, <code><a href="../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd> |
| </dl> |
| <hr> |
| <pre><a href="../util/annotation/ManagedObject.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedObject</a>("The HTTP client") |
| public class <span class="typeNameLabel">HttpClient</span> |
| extends <a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></pre> |
| <div class="block"><p>HttpClient provides an efficient, asynchronous, non-blocking implementation |
| to perform HTTP requests to a server through a simple API that offers also blocking semantic.</p> |
| <p>HttpClient provides easy-to-use methods such as <a href="#GET(java.lang.String)"><code>GET(String)</code></a> that allow to perform HTTP |
| requests in a one-liner, but also gives the ability to fine tune the configuration of requests via |
| <a href="#newRequest(java.net.URI)"><code>newRequest(URI)</code></a>.</p> |
| <p>HttpClient acts as a central configuration point for network parameters (such as idle timeouts) |
| and HTTP parameters (such as whether to follow redirects).</p> |
| <p>HttpClient transparently pools connections to servers, but allows direct control of connections |
| for cases where this is needed.</p> |
| <p>HttpClient also acts as a central configuration point for cookies, via <a href="#getCookieStore()"><code>getCookieStore()</code></a>.</p> |
| <p>Typical usage:</p> |
| <pre> |
| HttpClient httpClient = new HttpClient(); |
| httpClient.start(); |
| |
| // One liner: |
| httpClient.GET("http://localhost:8080/").getStatus(); |
| |
| // Building a request with a timeout |
| ContentResponse response = httpClient.newRequest("http://localhost:8080") |
| .timeout(5, TimeUnit.SECONDS) |
| .send(); |
| int status = response.status(); |
| |
| // Asynchronously |
| httpClient.newRequest("http://localhost:8080").send(new Response.CompleteListener() |
| { |
| @Override |
| public void onComplete(Result result) |
| { |
| ... |
| } |
| }); |
| </pre></div> |
| </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.util.component.AbstractLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3> |
| <code><a href="../util/component/AbstractLifeCycle.AbstractLifeCycleListener.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle.AbstractLifeCycleListener</a>, <a href="../util/component/AbstractLifeCycle.StopException.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle.StopException</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.Container"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></h3> |
| <code><a href="../util/component/Container.InheritedListener.html" title="interface in org.eclipse.jetty.util.component">Container.InheritedListener</a>, <a href="../util/component/Container.Listener.html" title="interface in org.eclipse.jetty.util.component">Container.Listener</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.Dumpable"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3> |
| <code><a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.LifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></h3> |
| <code><a href="../util/component/LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</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>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#USER_AGENT">USER_AGENT</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3> |
| <code><a href="../util/component/AbstractLifeCycle.html#FAILED">FAILED</a>, <a href="../util/component/AbstractLifeCycle.html#STARTED">STARTED</a>, <a href="../util/component/AbstractLifeCycle.html#STARTING">STARTING</a>, <a href="../util/component/AbstractLifeCycle.html#STOPPED">STOPPED</a>, <a href="../util/component/AbstractLifeCycle.html#STOPPING">STOPPING</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.util.component.Dumpable"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3> |
| <code><a href="../util/component/Dumpable.html#KEY">KEY</a></code></li> |
| </ul> |
| </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()">HttpClient</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a HttpClient instance that can perform HTTP/1.1 requests to non-TLS and TLS destinations.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.client.HttpClientTransport)">HttpClient</a></span>​(<a href="HttpClientTransport.html" title="interface in org.eclipse.jetty.client">HttpClientTransport</a> transport)</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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated 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>protected <a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#copyRequest(org.eclipse.jetty.client.HttpRequest,java.net.URI)">copyRequest</a></span>​(<a href="HttpRequest.html" title="class in org.eclipse.jetty.client">HttpRequest</a> oldRequest, |
| java.net.URI newURI)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="Origin.html" title="class in org.eclipse.jetty.client">Origin</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createOrigin(org.eclipse.jetty.client.HttpRequest,org.eclipse.jetty.client.Origin.Protocol)">createOrigin</a></span>​(<a href="HttpRequest.html" title="class in org.eclipse.jetty.client">HttpRequest</a> request, |
| <a href="Origin.Protocol.html" title="class in org.eclipse.jetty.client">Origin.Protocol</a> protocol)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doStart()">doStart</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Starts the managed lifecycle beans in the order they were added.</div> |
| </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="#doStop()">doStop</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Stops the managed lifecycle beans in the reverse order they were added.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dump(java.lang.Appendable,java.lang.String)">dump</a></span>​(java.lang.Appendable out, |
| java.lang.String indent)</code></th> |
| <td class="colLast"> |
| <div class="block">Dump this object (and children) into an Appendable using the provided indent after any new lines.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="ProtocolHandler.html" title="interface in org.eclipse.jetty.client">ProtocolHandler</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findProtocolHandler(org.eclipse.jetty.client.api.Request,org.eclipse.jetty.client.api.Response)">findProtocolHandler</a></span>​(<a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> request, |
| <a href="api/Response.html" title="interface in org.eclipse.jetty.client.api">Response</a> response)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="api/ContentResponse.html" title="interface in org.eclipse.jetty.client.api">ContentResponse</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FORM(java.lang.String,org.eclipse.jetty.util.Fields)">FORM</a></span>​(java.lang.String uri, |
| <a href="../util/Fields.html" title="class in org.eclipse.jetty.util">Fields</a> fields)</code></th> |
| <td class="colLast"> |
| <div class="block">Performs a POST request to the specified URI with the given form parameters.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="api/ContentResponse.html" title="interface in org.eclipse.jetty.client.api">ContentResponse</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FORM(java.net.URI,org.eclipse.jetty.util.Fields)">FORM</a></span>​(java.net.URI uri, |
| <a href="../util/Fields.html" title="class in org.eclipse.jetty.util">Fields</a> fields)</code></th> |
| <td class="colLast"> |
| <div class="block">Performs a POST request to the specified URI with the given form parameters.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="api/ContentResponse.html" title="interface in org.eclipse.jetty.client.api">ContentResponse</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#GET(java.lang.String)">GET</a></span>​(java.lang.String uri)</code></th> |
| <td class="colLast"> |
| <div class="block">Performs a GET request to the specified URI.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="api/ContentResponse.html" title="interface in org.eclipse.jetty.client.api">ContentResponse</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#GET(java.net.URI)">GET</a></span>​(java.net.URI uri)</code></th> |
| <td class="colLast"> |
| <div class="block">Performs a GET request to the specified URI.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../http/HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAcceptEncodingField()">getAcceptEncodingField</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAddressResolutionTimeout()">getAddressResolutionTimeout</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="api/AuthenticationStore.html" title="interface in org.eclipse.jetty.client.api">AuthenticationStore</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAuthenticationStore()">getAuthenticationStore</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>java.net.SocketAddress</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBindAddress()">getBindAddress</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io">ByteBufferPool</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getByteBufferPool()">getByteBufferPool</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConnectTimeout()">getConnectTimeout</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>java.util.Set<<a href="ContentDecoder.Factory.html" title="class in org.eclipse.jetty.client">ContentDecoder.Factory</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getContentDecoderFactories()">getContentDecoderFactories</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a <em>non</em> thread-safe set of <a href="ContentDecoder.Factory.html" title="class in org.eclipse.jetty.client"><code>ContentDecoder.Factory</code></a>s that can be modified before |
| performing requests.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>java.net.CookieStore</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCookieStore()">getCookieStore</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultRequestContentType()">getDefaultRequestContentType</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>java.util.List<<a href="api/Destination.html" title="interface in org.eclipse.jetty.client.api">Destination</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDestinations()">getDestinations</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>java.util.concurrent.Executor</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getExecutor()">getExecutor</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="../http/HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHttpCompliance()">getHttpCompliance</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Gets the http compliance mode for parsing http responses.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIdleTimeout()">getIdleTimeout</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxConnectionsPerDestination()">getMaxConnectionsPerDestination</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxRedirects()">getMaxRedirects</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxRequestsQueuedPerDestination()">getMaxRequestsQueuedPerDestination</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code><a href="ProtocolHandlers.html" title="class in org.eclipse.jetty.client">ProtocolHandlers</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getProtocolHandlers()">getProtocolHandlers</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code><a href="ProxyConfiguration.html" title="class in org.eclipse.jetty.client">ProxyConfiguration</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getProxyConfiguration()">getProxyConfiguration</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRequestBufferSize()">getRequestBufferSize</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>java.util.List<<a href="api/Request.Listener.html" title="interface in org.eclipse.jetty.client.api">Request.Listener</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRequestListeners()">getRequestListeners</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a <em>non</em> thread-safe list of <a href="api/Request.Listener.html" title="interface in org.eclipse.jetty.client.api"><code>Request.Listener</code></a>s that can be modified before |
| performing requests.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getResponseBufferSize()">getResponseBufferSize</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code><a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getScheduler()">getScheduler</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code><a href="../util/SocketAddressResolver.html" title="interface in org.eclipse.jetty.util">SocketAddressResolver</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSocketAddressResolver()">getSocketAddressResolver</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code><a href="../util/ssl/SslContextFactory.Client.html" title="class in org.eclipse.jetty.util.ssl">SslContextFactory.Client</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSslContextFactory()">getSslContextFactory</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code><a href="HttpClientTransport.html" title="interface in org.eclipse.jetty.client">HttpClientTransport</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTransport()">getTransport</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code><a href="../http/HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUserAgentField()">getUserAgentField</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isConnectBlocking()">isConnectBlocking</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isDefaultPort(java.lang.String,int)">isDefaultPort</a></span>​(java.lang.String scheme, |
| int port)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isFollowRedirects()">isFollowRedirects</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRemoveIdleDestinations()">isRemoveIdleDestinations</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSchemeSecure(java.lang.String)">isSchemeSecure</a></span>​(java.lang.String scheme)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isStrictEventOrdering()">isStrictEventOrdering</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isTCPNoDelay()">isTCPNoDelay</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isUseInputDirectByteBuffers()">isUseInputDirectByteBuffers</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isUseOutputDirectByteBuffers()">isUseOutputDirectByteBuffers</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newConnection(org.eclipse.jetty.client.HttpDestination,org.eclipse.jetty.util.Promise)">newConnection</a></span>​(<a href="HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a> destination, |
| <a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a><<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a>> promise)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="HttpRequest.html" title="class in org.eclipse.jetty.client">HttpRequest</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newHttpRequest(org.eclipse.jetty.client.HttpConversation,java.net.URI)">newHttpRequest</a></span>​(<a href="HttpConversation.html" title="class in org.eclipse.jetty.client">HttpConversation</a> conversation, |
| java.net.URI uri)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code><a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newRequest(java.lang.String)">newRequest</a></span>​(java.lang.String uri)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new request with the specified absolute URI in string format.</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code><a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newRequest(java.lang.String,int)">newRequest</a></span>​(java.lang.String host, |
| int port)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new request with the "http" scheme and the specified host and port</div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code><a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newRequest(java.net.URI)">newRequest</a></span>​(java.net.URI uri)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new request with the specified absolute URI.</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../io/ClientConnectionFactory.html" title="interface in org.eclipse.jetty.io">ClientConnectionFactory</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newSslClientConnectionFactory(org.eclipse.jetty.util.ssl.SslContextFactory.Client,org.eclipse.jetty.io.ClientConnectionFactory)">newSslClientConnectionFactory</a></span>​(<a href="../util/ssl/SslContextFactory.Client.html" title="class in org.eclipse.jetty.util.ssl">SslContextFactory.Client</a> sslContextFactory, |
| <a href="../io/ClientConnectionFactory.html" title="interface in org.eclipse.jetty.io">ClientConnectionFactory</a> connectionFactory)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code>protected java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#normalizeHost(java.lang.String)">normalizeHost</a></span>​(java.lang.String host)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">no replacement, do not use it</div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#normalizePort(java.lang.String,int)">normalizePort</a></span>​(java.lang.String scheme, |
| int port)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code><a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#POST(java.lang.String)">POST</a></span>​(java.lang.String uri)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a POST request to the specified URI.</div> |
| </td> |
| </tr> |
| <tr id="i55" class="rowColor"> |
| <td class="colFirst"><code><a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#POST(java.net.URI)">POST</a></span>​(java.net.URI uri)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a POST request to the specified URI.</div> |
| </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeDestination(org.eclipse.jetty.client.HttpDestination)">removeDestination</a></span>​(<a href="HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a> destination)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i57" class="rowColor"> |
| <td class="colFirst"><code><a href="api/Destination.html" title="interface in org.eclipse.jetty.client.api">Destination</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resolveDestination(org.eclipse.jetty.client.api.Request)">resolveDestination</a></span>​(<a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> request)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i58" class="altColor"> |
| <td class="colFirst"><code><a href="HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resolveDestination(org.eclipse.jetty.client.Origin)">resolveDestination</a></span>​(<a href="Origin.html" title="class in org.eclipse.jetty.client">Origin</a> origin)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns, creating it if absent, the destination with the given origin.</div> |
| </td> |
| </tr> |
| <tr id="i59" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#send(org.eclipse.jetty.client.HttpRequest,java.util.List)">send</a></span>​(<a href="HttpRequest.html" title="class in org.eclipse.jetty.client">HttpRequest</a> request, |
| java.util.List<<a href="api/Response.ResponseListener.html" title="interface in org.eclipse.jetty.client.api">Response.ResponseListener</a>> listeners)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i60" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAddressResolutionTimeout(long)">setAddressResolutionTimeout</a></span>​(long addressResolutionTimeout)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the socket address resolution timeout used by the default <a href="../util/SocketAddressResolver.html" title="interface in org.eclipse.jetty.util"><code>SocketAddressResolver</code></a> |
| created by this HttpClient at startup.</div> |
| </td> |
| </tr> |
| <tr id="i61" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAuthenticationStore(org.eclipse.jetty.client.api.AuthenticationStore)">setAuthenticationStore</a></span>​(<a href="api/AuthenticationStore.html" title="interface in org.eclipse.jetty.client.api">AuthenticationStore</a> authenticationStore)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i62" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBindAddress(java.net.SocketAddress)">setBindAddress</a></span>​(java.net.SocketAddress bindAddress)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i63" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setByteBufferPool(org.eclipse.jetty.io.ByteBufferPool)">setByteBufferPool</a></span>​(<a href="../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io">ByteBufferPool</a> byteBufferPool)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i64" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setConnectBlocking(boolean)">setConnectBlocking</a></span>​(boolean connectBlocking)</code></th> |
| <td class="colLast"> |
| <div class="block">Whether <code>connect()</code> operations are performed in blocking mode.</div> |
| </td> |
| </tr> |
| <tr id="i65" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setConnectTimeout(long)">setConnectTimeout</a></span>​(long connectTimeout)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i66" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCookieStore(java.net.CookieStore)">setCookieStore</a></span>​(java.net.CookieStore cookieStore)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i67" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefaultRequestContentType(java.lang.String)">setDefaultRequestContentType</a></span>​(java.lang.String contentType)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i68" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setExecutor(java.util.concurrent.Executor)">setExecutor</a></span>​(java.util.concurrent.Executor executor)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i69" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFollowRedirects(boolean)">setFollowRedirects</a></span>​(boolean follow)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i70" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHttpCompliance(org.eclipse.jetty.http.HttpCompliance)">setHttpCompliance</a></span>​(<a href="../http/HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a> httpCompliance)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the http compliance mode for parsing http responses.</div> |
| </td> |
| </tr> |
| <tr id="i71" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIdleTimeout(long)">setIdleTimeout</a></span>​(long idleTimeout)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i72" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMaxConnectionsPerDestination(int)">setMaxConnectionsPerDestination</a></span>​(int maxConnectionsPerDestination)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the max number of connections to open to each destinations.</div> |
| </td> |
| </tr> |
| <tr id="i73" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMaxRedirects(int)">setMaxRedirects</a></span>​(int maxRedirects)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i74" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMaxRequestsQueuedPerDestination(int)">setMaxRequestsQueuedPerDestination</a></span>​(int maxRequestsQueuedPerDestination)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the max number of requests that may be queued to a destination.</div> |
| </td> |
| </tr> |
| <tr id="i75" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setName(java.lang.String)">setName</a></span>​(java.lang.String name)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the name of this HttpClient.</div> |
| </td> |
| </tr> |
| <tr id="i76" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRemoveIdleDestinations(boolean)">setRemoveIdleDestinations</a></span>​(boolean removeIdleDestinations)</code></th> |
| <td class="colLast"> |
| <div class="block">Whether destinations that have no connections (nor active nor idle) should be removed.</div> |
| </td> |
| </tr> |
| <tr id="i77" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRequestBufferSize(int)">setRequestBufferSize</a></span>​(int requestBufferSize)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i78" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setResponseBufferSize(int)">setResponseBufferSize</a></span>​(int responseBufferSize)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i79" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setScheduler(org.eclipse.jetty.util.thread.Scheduler)">setScheduler</a></span>​(<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a> scheduler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i80" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSocketAddressResolver(org.eclipse.jetty.util.SocketAddressResolver)">setSocketAddressResolver</a></span>​(<a href="../util/SocketAddressResolver.html" title="interface in org.eclipse.jetty.util">SocketAddressResolver</a> resolver)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i81" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setStrictEventOrdering(boolean)">setStrictEventOrdering</a></span>​(boolean strictEventOrdering)</code></th> |
| <td class="colLast"> |
| <div class="block">Whether request/response events must be strictly ordered with respect to connection usage.</div> |
| </td> |
| </tr> |
| <tr id="i82" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTCPNoDelay(boolean)">setTCPNoDelay</a></span>​(boolean tcpNoDelay)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i83" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setUseInputDirectByteBuffers(boolean)">setUseInputDirectByteBuffers</a></span>​(boolean useInputDirectByteBuffers)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i84" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setUseOutputDirectByteBuffers(boolean)">setUseOutputDirectByteBuffers</a></span>​(boolean useOutputDirectByteBuffers)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i85" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setUserAgentField(org.eclipse.jetty.http.HttpField)">setUserAgentField</a></span>​(<a href="../http/HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a> agent)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.ContainerLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.util.component.<a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></h3> |
| <code><a href="../util/component/ContainerLifeCycle.html#addBean(java.lang.Object)">addBean</a>, <a href="../util/component/ContainerLifeCycle.html#addBean(java.lang.Object,boolean)">addBean</a>, <a href="../util/component/ContainerLifeCycle.html#addEventListener(java.util.EventListener)">addEventListener</a>, <a href="../util/component/ContainerLifeCycle.html#addManaged(org.eclipse.jetty.util.component.LifeCycle)">addManaged</a>, <a href="../util/component/ContainerLifeCycle.html#contains(java.lang.Object)">contains</a>, <a href="../util/component/ContainerLifeCycle.html#destroy()">destroy</a>, <a href="../util/component/ContainerLifeCycle.html#dump()">dump</a>, <a href="../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable)">dump</a>, <a href="../util/component/ContainerLifeCycle.html#dumpObjects(java.lang.Appendable,java.lang.String,java.lang.Object...)">dumpObjects</a>, <a href="../util/component/ContainerLifeCycle.html#dumpStdErr()">dumpStdErr</a>, <a href="../util/component/ContainerLifeCycle.html#getBean(java.lang.Class)">getBean</a>, <a href="../util/component/ContainerLifeCycle.html#getBeans()">getBeans</a>, <a href="../util/component/ContainerLifeCycle.html#getBeans(java.lang.Class)">getBeans</a>, <a href="../util/component/ContainerLifeCycle.html#getContainedBeans(java.lang.Class)">getContainedBeans</a>, <a href="../util/component/ContainerLifeCycle.html#getContainedBeans(java.lang.Class,java.util.Collection)">getContainedBeans</a>, <a href="../util/component/ContainerLifeCycle.html#isAuto(java.lang.Object)">isAuto</a>, <a href="../util/component/ContainerLifeCycle.html#isManaged(java.lang.Object)">isManaged</a>, <a href="../util/component/ContainerLifeCycle.html#isUnmanaged(java.lang.Object)">isUnmanaged</a>, <a href="../util/component/ContainerLifeCycle.html#manage(java.lang.Object)">manage</a>, <a href="../util/component/ContainerLifeCycle.html#removeBean(java.lang.Object)">removeBean</a>, <a href="../util/component/ContainerLifeCycle.html#removeBeans()">removeBeans</a>, <a href="../util/component/ContainerLifeCycle.html#removeEventListener(java.util.EventListener)">removeEventListener</a>, <a href="../util/component/ContainerLifeCycle.html#setBeans(java.util.Collection)">setBeans</a>, <a href="../util/component/ContainerLifeCycle.html#start(org.eclipse.jetty.util.component.LifeCycle)">start</a>, <a href="../util/component/ContainerLifeCycle.html#stop(org.eclipse.jetty.util.component.LifeCycle)">stop</a>, <a href="../util/component/ContainerLifeCycle.html#unmanage(java.lang.Object)">unmanage</a>, <a href="../util/component/ContainerLifeCycle.html#updateBean(java.lang.Object,java.lang.Object)">updateBean</a>, <a href="../util/component/ContainerLifeCycle.html#updateBean(java.lang.Object,java.lang.Object,boolean)">updateBean</a>, <a href="../util/component/ContainerLifeCycle.html#updateBeans(java.lang.Object%5B%5D,java.lang.Object%5B%5D)">updateBeans</a>, <a href="../util/component/ContainerLifeCycle.html#updateBeans(java.util.Collection,java.util.Collection)">updateBeans</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3> |
| <code><a href="../util/component/AbstractLifeCycle.html#getEventListeners()">getEventListeners</a>, <a href="../util/component/AbstractLifeCycle.html#getState()">getState</a>, <a href="../util/component/AbstractLifeCycle.html#getState(org.eclipse.jetty.util.component.LifeCycle)">getState</a>, <a href="../util/component/AbstractLifeCycle.html#isFailed()">isFailed</a>, <a href="../util/component/AbstractLifeCycle.html#isRunning()">isRunning</a>, <a href="../util/component/AbstractLifeCycle.html#isStarted()">isStarted</a>, <a href="../util/component/AbstractLifeCycle.html#isStarting()">isStarting</a>, <a href="../util/component/AbstractLifeCycle.html#isStopped()">isStopped</a>, <a href="../util/component/AbstractLifeCycle.html#isStopping()">isStopping</a>, <a href="../util/component/AbstractLifeCycle.html#setEventListeners(java.util.Collection)">setEventListeners</a>, <a href="../util/component/AbstractLifeCycle.html#start()">start</a>, <a href="../util/component/AbstractLifeCycle.html#stop()">stop</a>, <a href="../util/component/AbstractLifeCycle.html#toString()">toString</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> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Container"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></h3> |
| <code><a href="../util/component/Container.html#getCachedBeans(java.lang.Class)">getCachedBeans</a>, <a href="../util/component/Container.html#getEventListeners()">getEventListeners</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Dumpable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3> |
| <code><a href="../util/component/Dumpable.html#dumpSelf()">dumpSelf</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Dumpable.DumpableContainer"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></h3> |
| <code><a href="../util/component/Dumpable.DumpableContainer.html#isDumpable(java.lang.Object)">isDumpable</a></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="USER_AGENT"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>USER_AGENT</h4> |
| <pre>public static final java.lang.String USER_AGENT</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>()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>HttpClient</h4> |
| <pre>public HttpClient()</pre> |
| <div class="block">Creates a HttpClient instance that can perform HTTP/1.1 requests to non-TLS and TLS destinations.</div> |
| </li> |
| </ul> |
| <a id="<init>(org.eclipse.jetty.client.HttpClientTransport)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>HttpClient</h4> |
| <pre>public HttpClient​(<a href="HttpClientTransport.html" title="interface in org.eclipse.jetty.client">HttpClientTransport</a> transport)</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="dump(java.lang.Appendable,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dump</h4> |
| <pre class="methodSignature">public void dump​(java.lang.Appendable out, |
| java.lang.String indent) |
| throws java.io.IOException</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../util/component/Dumpable.html#dump(java.lang.Appendable,java.lang.String)">Dumpable</a></code></span></div> |
| <div class="block">Dump this object (and children) into an Appendable using the provided indent after any new lines. |
| The indent should not be applied to the first object dumped.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../util/component/Dumpable.html#dump(java.lang.Appendable,java.lang.String)">dump</a></code> in interface <code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable,java.lang.String)">dump</a></code> in class <code><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>out</code> - The appendable to dump to</dd> |
| <dd><code>indent</code> - The indent to apply after any new lines.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - if unable to write to Appendable</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getTransport()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTransport</h4> |
| <pre class="methodSignature">public <a href="HttpClientTransport.html" title="interface in org.eclipse.jetty.client">HttpClientTransport</a> getTransport()</pre> |
| </li> |
| </ul> |
| <a id="getSslContextFactory()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSslContextFactory</h4> |
| <pre class="methodSignature">public <a href="../util/ssl/SslContextFactory.Client.html" title="class in org.eclipse.jetty.util.ssl">SslContextFactory.Client</a> getSslContextFactory()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../util/ssl/SslContextFactory.html" title="class in org.eclipse.jetty.util.ssl"><code>SslContextFactory</code></a> that manages TLS encryption</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="doStart()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doStart</h4> |
| <pre class="methodSignature">protected void doStart() |
| throws java.lang.Exception</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../util/component/ContainerLifeCycle.html#doStart()">ContainerLifeCycle</a></code></span></div> |
| <div class="block">Starts the managed lifecycle beans in the order they were added.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../util/component/ContainerLifeCycle.html#doStart()">doStart</a></code> in class <code><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../util/component/AbstractLifeCycle.StopException.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle.StopException</a></code> - If thrown, the lifecycle will immediately be stopped.</dd> |
| <dd><code>java.lang.Exception</code> - If there was a problem starting. Will cause a transition to FAILED state</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="doStop()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doStop</h4> |
| <pre class="methodSignature">protected void doStop() |
| throws java.lang.Exception</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../util/component/ContainerLifeCycle.html#doStop()">ContainerLifeCycle</a></code></span></div> |
| <div class="block">Stops the managed lifecycle beans in the reverse order they were added.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../util/component/ContainerLifeCycle.html#doStop()">doStop</a></code> in class <code><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code> - If there was a problem stopping. Will cause a transition to FAILED state</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getRequestListeners()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRequestListeners</h4> |
| <pre class="methodSignature">public java.util.List<<a href="api/Request.Listener.html" title="interface in org.eclipse.jetty.client.api">Request.Listener</a>> getRequestListeners()</pre> |
| <div class="block">Returns a <em>non</em> thread-safe list of <a href="api/Request.Listener.html" title="interface in org.eclipse.jetty.client.api"><code>Request.Listener</code></a>s that can be modified before |
| performing requests.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a list of <a href="api/Request.Listener.html" title="interface in org.eclipse.jetty.client.api"><code>Request.Listener</code></a> that can be used to add and remove listeners</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getCookieStore()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCookieStore</h4> |
| <pre class="methodSignature">public java.net.CookieStore getCookieStore()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the cookie store associated with this instance</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setCookieStore(java.net.CookieStore)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCookieStore</h4> |
| <pre class="methodSignature">public void setCookieStore​(java.net.CookieStore cookieStore)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cookieStore</code> - the cookie store associated with this instance</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getAuthenticationStore()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAuthenticationStore</h4> |
| <pre class="methodSignature">public <a href="api/AuthenticationStore.html" title="interface in org.eclipse.jetty.client.api">AuthenticationStore</a> getAuthenticationStore()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the authentication store associated with this instance</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setAuthenticationStore(org.eclipse.jetty.client.api.AuthenticationStore)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAuthenticationStore</h4> |
| <pre class="methodSignature">public void setAuthenticationStore​(<a href="api/AuthenticationStore.html" title="interface in org.eclipse.jetty.client.api">AuthenticationStore</a> authenticationStore)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>authenticationStore</code> - the authentication store associated with this instance</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getContentDecoderFactories()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentDecoderFactories</h4> |
| <pre class="methodSignature">public java.util.Set<<a href="ContentDecoder.Factory.html" title="class in org.eclipse.jetty.client">ContentDecoder.Factory</a>> getContentDecoderFactories()</pre> |
| <div class="block">Returns a <em>non</em> thread-safe set of <a href="ContentDecoder.Factory.html" title="class in org.eclipse.jetty.client"><code>ContentDecoder.Factory</code></a>s that can be modified before |
| performing requests.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a set of <a href="ContentDecoder.Factory.html" title="class in org.eclipse.jetty.client"><code>ContentDecoder.Factory</code></a> that can be used to add and remove content decoder factories</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="GET(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>GET</h4> |
| <pre class="methodSignature">public <a href="api/ContentResponse.html" title="interface in org.eclipse.jetty.client.api">ContentResponse</a> GET​(java.lang.String uri) |
| throws java.lang.InterruptedException, |
| java.util.concurrent.ExecutionException, |
| java.util.concurrent.TimeoutException</pre> |
| <div class="block">Performs a GET request to the specified URI.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>uri</code> - the URI to GET</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="api/ContentResponse.html" title="interface in org.eclipse.jetty.client.api"><code>ContentResponse</code></a> for the request</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.InterruptedException</code> - if send threading has been interrupted</dd> |
| <dd><code>java.util.concurrent.ExecutionException</code> - the execution failed</dd> |
| <dd><code>java.util.concurrent.TimeoutException</code> - the send timed out</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#GET(java.net.URI)"><code>GET(URI)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="GET(java.net.URI)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>GET</h4> |
| <pre class="methodSignature">public <a href="api/ContentResponse.html" title="interface in org.eclipse.jetty.client.api">ContentResponse</a> GET​(java.net.URI uri) |
| throws java.lang.InterruptedException, |
| java.util.concurrent.ExecutionException, |
| java.util.concurrent.TimeoutException</pre> |
| <div class="block">Performs a GET request to the specified URI.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>uri</code> - the URI to GET</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="api/ContentResponse.html" title="interface in org.eclipse.jetty.client.api"><code>ContentResponse</code></a> for the request</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.InterruptedException</code> - if send threading has been interrupted</dd> |
| <dd><code>java.util.concurrent.ExecutionException</code> - the execution failed</dd> |
| <dd><code>java.util.concurrent.TimeoutException</code> - the send timed out</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#newRequest(java.net.URI)"><code>newRequest(URI)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="FORM(java.lang.String,org.eclipse.jetty.util.Fields)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>FORM</h4> |
| <pre class="methodSignature">public <a href="api/ContentResponse.html" title="interface in org.eclipse.jetty.client.api">ContentResponse</a> FORM​(java.lang.String uri, |
| <a href="../util/Fields.html" title="class in org.eclipse.jetty.util">Fields</a> fields) |
| throws java.lang.InterruptedException, |
| java.util.concurrent.ExecutionException, |
| java.util.concurrent.TimeoutException</pre> |
| <div class="block">Performs a POST request to the specified URI with the given form parameters.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>uri</code> - the URI to POST</dd> |
| <dd><code>fields</code> - the fields composing the form name/value pairs</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="api/ContentResponse.html" title="interface in org.eclipse.jetty.client.api"><code>ContentResponse</code></a> for the request</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.InterruptedException</code> - if send threading has been interrupted</dd> |
| <dd><code>java.util.concurrent.ExecutionException</code> - the execution failed</dd> |
| <dd><code>java.util.concurrent.TimeoutException</code> - the send timed out</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="FORM(java.net.URI,org.eclipse.jetty.util.Fields)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>FORM</h4> |
| <pre class="methodSignature">public <a href="api/ContentResponse.html" title="interface in org.eclipse.jetty.client.api">ContentResponse</a> FORM​(java.net.URI uri, |
| <a href="../util/Fields.html" title="class in org.eclipse.jetty.util">Fields</a> fields) |
| throws java.lang.InterruptedException, |
| java.util.concurrent.ExecutionException, |
| java.util.concurrent.TimeoutException</pre> |
| <div class="block">Performs a POST request to the specified URI with the given form parameters.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>uri</code> - the URI to POST</dd> |
| <dd><code>fields</code> - the fields composing the form name/value pairs</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="api/ContentResponse.html" title="interface in org.eclipse.jetty.client.api"><code>ContentResponse</code></a> for the request</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.InterruptedException</code> - if send threading has been interrupted</dd> |
| <dd><code>java.util.concurrent.ExecutionException</code> - the execution failed</dd> |
| <dd><code>java.util.concurrent.TimeoutException</code> - the send timed out</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="POST(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>POST</h4> |
| <pre class="methodSignature">public <a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> POST​(java.lang.String uri)</pre> |
| <div class="block">Creates a POST request to the specified URI.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>uri</code> - the URI to POST to</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the POST request</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#POST(java.net.URI)"><code>POST(URI)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="POST(java.net.URI)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>POST</h4> |
| <pre class="methodSignature">public <a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> POST​(java.net.URI uri)</pre> |
| <div class="block">Creates a POST request to the specified URI.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>uri</code> - the URI to POST to</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the POST request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="newRequest(java.lang.String,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newRequest</h4> |
| <pre class="methodSignature">public <a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> newRequest​(java.lang.String host, |
| int port)</pre> |
| <div class="block">Creates a new request with the "http" scheme and the specified host and port</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>host</code> - the request host</dd> |
| <dd><code>port</code> - the request port</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the request just created</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="newRequest(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newRequest</h4> |
| <pre class="methodSignature">public <a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> newRequest​(java.lang.String uri)</pre> |
| <div class="block">Creates a new request with the specified absolute URI in string format.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>uri</code> - the request absolute URI</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the request just created</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="newRequest(java.net.URI)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newRequest</h4> |
| <pre class="methodSignature">public <a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> newRequest​(java.net.URI uri)</pre> |
| <div class="block">Creates a new request with the specified absolute URI.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>uri</code> - the request absolute URI</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the request just created</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="copyRequest(org.eclipse.jetty.client.HttpRequest,java.net.URI)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyRequest</h4> |
| <pre class="methodSignature">protected <a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> copyRequest​(<a href="HttpRequest.html" title="class in org.eclipse.jetty.client">HttpRequest</a> oldRequest, |
| java.net.URI newURI)</pre> |
| </li> |
| </ul> |
| <a id="newHttpRequest(org.eclipse.jetty.client.HttpConversation,java.net.URI)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newHttpRequest</h4> |
| <pre class="methodSignature">protected <a href="HttpRequest.html" title="class in org.eclipse.jetty.client">HttpRequest</a> newHttpRequest​(<a href="HttpConversation.html" title="class in org.eclipse.jetty.client">HttpConversation</a> conversation, |
| java.net.URI uri)</pre> |
| </li> |
| </ul> |
| <a id="resolveDestination(org.eclipse.jetty.client.api.Request)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resolveDestination</h4> |
| <pre class="methodSignature">public <a href="api/Destination.html" title="interface in org.eclipse.jetty.client.api">Destination</a> resolveDestination​(<a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> request)</pre> |
| </li> |
| </ul> |
| <a id="createOrigin(org.eclipse.jetty.client.HttpRequest,org.eclipse.jetty.client.Origin.Protocol)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createOrigin</h4> |
| <pre class="methodSignature">public <a href="Origin.html" title="class in org.eclipse.jetty.client">Origin</a> createOrigin​(<a href="HttpRequest.html" title="class in org.eclipse.jetty.client">HttpRequest</a> request, |
| <a href="Origin.Protocol.html" title="class in org.eclipse.jetty.client">Origin.Protocol</a> protocol)</pre> |
| </li> |
| </ul> |
| <a id="resolveDestination(org.eclipse.jetty.client.Origin)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resolveDestination</h4> |
| <pre class="methodSignature">public <a href="HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a> resolveDestination​(<a href="Origin.html" title="class in org.eclipse.jetty.client">Origin</a> origin)</pre> |
| <div class="block"><p>Returns, creating it if absent, the destination with the given origin.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>origin</code> - the origin that identifies the destination</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the destination for the given origin</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="removeDestination(org.eclipse.jetty.client.HttpDestination)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeDestination</h4> |
| <pre class="methodSignature">protected boolean removeDestination​(<a href="HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a> destination)</pre> |
| </li> |
| </ul> |
| <a id="getDestinations()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDestinations</h4> |
| <pre class="methodSignature">public java.util.List<<a href="api/Destination.html" title="interface in org.eclipse.jetty.client.api">Destination</a>> getDestinations()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the list of destinations known to this HttpClient.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="send(org.eclipse.jetty.client.HttpRequest,java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>send</h4> |
| <pre class="methodSignature">protected void send​(<a href="HttpRequest.html" title="class in org.eclipse.jetty.client">HttpRequest</a> request, |
| java.util.List<<a href="api/Response.ResponseListener.html" title="interface in org.eclipse.jetty.client.api">Response.ResponseListener</a>> listeners)</pre> |
| </li> |
| </ul> |
| <a id="newConnection(org.eclipse.jetty.client.HttpDestination,org.eclipse.jetty.util.Promise)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newConnection</h4> |
| <pre class="methodSignature">protected void newConnection​(<a href="HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a> destination, |
| <a href="../util/Promise.html" title="interface in org.eclipse.jetty.util">Promise</a><<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a>> promise)</pre> |
| </li> |
| </ul> |
| <a id="getProtocolHandlers()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProtocolHandlers</h4> |
| <pre class="methodSignature">public <a href="ProtocolHandlers.html" title="class in org.eclipse.jetty.client">ProtocolHandlers</a> getProtocolHandlers()</pre> |
| </li> |
| </ul> |
| <a id="findProtocolHandler(org.eclipse.jetty.client.api.Request,org.eclipse.jetty.client.api.Response)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findProtocolHandler</h4> |
| <pre class="methodSignature">protected <a href="ProtocolHandler.html" title="interface in org.eclipse.jetty.client">ProtocolHandler</a> findProtocolHandler​(<a href="api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> request, |
| <a href="api/Response.html" title="interface in org.eclipse.jetty.client.api">Response</a> response)</pre> |
| </li> |
| </ul> |
| <a id="getByteBufferPool()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getByteBufferPool</h4> |
| <pre class="methodSignature">public <a href="../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io">ByteBufferPool</a> getByteBufferPool()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io"><code>ByteBufferPool</code></a> of this HttpClient</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setByteBufferPool(org.eclipse.jetty.io.ByteBufferPool)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setByteBufferPool</h4> |
| <pre class="methodSignature">public void setByteBufferPool​(<a href="../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io">ByteBufferPool</a> byteBufferPool)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>byteBufferPool</code> - the <a href="../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io"><code>ByteBufferPool</code></a> of this HttpClient</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getName</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The name of this HttpClient") |
| public java.lang.String getName()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the name of this HttpClient</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setName</h4> |
| <pre class="methodSignature">public void setName​(java.lang.String name)</pre> |
| <div class="block"><p>Sets the name of this HttpClient.</p> |
| <p>The name is also used to generate the JMX ObjectName of this HttpClient |
| and must be set before the registration of the HttpClient MBean in the MBeanServer.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of this HttpClient</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getConnectTimeout()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConnectTimeout</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The timeout, in milliseconds, for connect() operations") |
| public long getConnectTimeout()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the max time, in milliseconds, a connection can take to connect to destinations. Zero value means infinite timeout.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setConnectTimeout(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setConnectTimeout</h4> |
| <pre class="methodSignature">public void setConnectTimeout​(long connectTimeout)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>connectTimeout</code> - the max time, in milliseconds, a connection can take to connect to destinations. Zero value means infinite timeout.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Socket.connect(SocketAddress, int)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getAddressResolutionTimeout()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAddressResolutionTimeout</h4> |
| <pre class="methodSignature">public long getAddressResolutionTimeout()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the timeout, in milliseconds, for the default <a href="../util/SocketAddressResolver.html" title="interface in org.eclipse.jetty.util"><code>SocketAddressResolver</code></a> created at startup</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#getSocketAddressResolver()"><code>getSocketAddressResolver()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setAddressResolutionTimeout(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAddressResolutionTimeout</h4> |
| <pre class="methodSignature">public void setAddressResolutionTimeout​(long addressResolutionTimeout)</pre> |
| <div class="block"><p>Sets the socket address resolution timeout used by the default <a href="../util/SocketAddressResolver.html" title="interface in org.eclipse.jetty.util"><code>SocketAddressResolver</code></a> |
| created by this HttpClient at startup.</p> |
| <p>For more fine tuned configuration of socket address resolution, see |
| <a href="#setSocketAddressResolver(org.eclipse.jetty.util.SocketAddressResolver)"><code>setSocketAddressResolver(SocketAddressResolver)</code></a>.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>addressResolutionTimeout</code> - the timeout, in milliseconds, for the default <a href="../util/SocketAddressResolver.html" title="interface in org.eclipse.jetty.util"><code>SocketAddressResolver</code></a> created at startup</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#setSocketAddressResolver(org.eclipse.jetty.util.SocketAddressResolver)"><code>setSocketAddressResolver(SocketAddressResolver)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getIdleTimeout()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIdleTimeout</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The timeout, in milliseconds, to close idle connections") |
| public long getIdleTimeout()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the max time, in milliseconds, a connection can be idle (that is, without traffic of bytes in either direction)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setIdleTimeout(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setIdleTimeout</h4> |
| <pre class="methodSignature">public void setIdleTimeout​(long idleTimeout)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idleTimeout</code> - the max time, in milliseconds, a connection can be idle (that is, without traffic of bytes in either direction)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getBindAddress()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBindAddress</h4> |
| <pre class="methodSignature">public java.net.SocketAddress getBindAddress()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the address to bind socket channels to</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#setBindAddress(java.net.SocketAddress)"><code>setBindAddress(SocketAddress)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setBindAddress(java.net.SocketAddress)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBindAddress</h4> |
| <pre class="methodSignature">public void setBindAddress​(java.net.SocketAddress bindAddress)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>bindAddress</code> - the address to bind socket channels to</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#getBindAddress()"><code>getBindAddress()</code></a>, |
| <code>SocketChannel.bind(SocketAddress)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getUserAgentField()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUserAgentField</h4> |
| <pre class="methodSignature">public <a href="../http/HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a> getUserAgentField()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the "User-Agent" HTTP field of this HttpClient</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setUserAgentField(org.eclipse.jetty.http.HttpField)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUserAgentField</h4> |
| <pre class="methodSignature">public void setUserAgentField​(<a href="../http/HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a> agent)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>agent</code> - the "User-Agent" HTTP header string of this HttpClient</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isFollowRedirects()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isFollowRedirects</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("Whether HTTP redirects are followed") |
| public boolean isFollowRedirects()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether this HttpClient follows HTTP redirects</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="api/Request.html#isFollowRedirects()"><code>Request.isFollowRedirects()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setFollowRedirects(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFollowRedirects</h4> |
| <pre class="methodSignature">public void setFollowRedirects​(boolean follow)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>follow</code> - whether this HttpClient follows HTTP redirects</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#setMaxRedirects(int)"><code>setMaxRedirects(int)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getExecutor()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExecutor</h4> |
| <pre class="methodSignature">public java.util.concurrent.Executor getExecutor()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <code>Executor</code> of this HttpClient</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setExecutor(java.util.concurrent.Executor)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setExecutor</h4> |
| <pre class="methodSignature">public void setExecutor​(java.util.concurrent.Executor executor)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>executor</code> - the <code>Executor</code> of this HttpClient</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getScheduler()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getScheduler</h4> |
| <pre class="methodSignature">public <a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a> getScheduler()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread"><code>Scheduler</code></a> of this HttpClient</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setScheduler(org.eclipse.jetty.util.thread.Scheduler)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setScheduler</h4> |
| <pre class="methodSignature">public void setScheduler​(<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a> scheduler)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>scheduler</code> - the <a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread"><code>Scheduler</code></a> of this HttpClient</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getSocketAddressResolver()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSocketAddressResolver</h4> |
| <pre class="methodSignature">public <a href="../util/SocketAddressResolver.html" title="interface in org.eclipse.jetty.util">SocketAddressResolver</a> getSocketAddressResolver()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../util/SocketAddressResolver.html" title="interface in org.eclipse.jetty.util"><code>SocketAddressResolver</code></a> of this HttpClient</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setSocketAddressResolver(org.eclipse.jetty.util.SocketAddressResolver)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSocketAddressResolver</h4> |
| <pre class="methodSignature">public void setSocketAddressResolver​(<a href="../util/SocketAddressResolver.html" title="interface in org.eclipse.jetty.util">SocketAddressResolver</a> resolver)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>resolver</code> - the <a href="../util/SocketAddressResolver.html" title="interface in org.eclipse.jetty.util"><code>SocketAddressResolver</code></a> of this HttpClient</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getMaxConnectionsPerDestination()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxConnectionsPerDestination</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The max number of connections per each destination") |
| public int getMaxConnectionsPerDestination()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the max number of connections that this HttpClient opens to <a href="api/Destination.html" title="interface in org.eclipse.jetty.client.api"><code>Destination</code></a>s</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setMaxConnectionsPerDestination(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMaxConnectionsPerDestination</h4> |
| <pre class="methodSignature">public void setMaxConnectionsPerDestination​(int maxConnectionsPerDestination)</pre> |
| <div class="block">Sets the max number of connections to open to each destinations. |
| <p> |
| RFC 2616 suggests that 2 connections should be opened per each destination, |
| but browsers commonly open 6. |
| If this HttpClient is used for load testing, it is common to have only one destination |
| (the server to load test), and it is recommended to set this value to a high value (at least as |
| much as the threads present in the <a href="#getExecutor()"><code>executor</code></a>).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>maxConnectionsPerDestination</code> - the max number of connections that this HttpClient opens to <a href="api/Destination.html" title="interface in org.eclipse.jetty.client.api"><code>Destination</code></a>s</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getMaxRequestsQueuedPerDestination()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxRequestsQueuedPerDestination</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The max number of requests queued per each destination") |
| public int getMaxRequestsQueuedPerDestination()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the max number of requests that may be queued to a <a href="api/Destination.html" title="interface in org.eclipse.jetty.client.api"><code>Destination</code></a>.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setMaxRequestsQueuedPerDestination(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMaxRequestsQueuedPerDestination</h4> |
| <pre class="methodSignature">public void setMaxRequestsQueuedPerDestination​(int maxRequestsQueuedPerDestination)</pre> |
| <div class="block">Sets the max number of requests that may be queued to a destination. |
| <p> |
| If this HttpClient performs a high rate of requests to a destination, |
| and all the connections managed by that destination are busy with other requests, |
| then new requests will be queued up in the destination. |
| This parameter controls how many requests can be queued before starting to reject them. |
| If this HttpClient is used for load testing, it is common to have this parameter |
| set to a high value, although this may impact latency (requests sit in the queue for a long |
| time before being sent).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>maxRequestsQueuedPerDestination</code> - the max number of requests that may be queued to a <a href="api/Destination.html" title="interface in org.eclipse.jetty.client.api"><code>Destination</code></a>.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getRequestBufferSize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRequestBufferSize</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The request buffer size") |
| public int getRequestBufferSize()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the size of the buffer used to write requests</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setRequestBufferSize(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRequestBufferSize</h4> |
| <pre class="methodSignature">public void setRequestBufferSize​(int requestBufferSize)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>requestBufferSize</code> - the size of the buffer used to write requests</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getResponseBufferSize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getResponseBufferSize</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The response buffer size") |
| public int getResponseBufferSize()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the size of the buffer used to read responses</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setResponseBufferSize(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setResponseBufferSize</h4> |
| <pre class="methodSignature">public void setResponseBufferSize​(int responseBufferSize)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>responseBufferSize</code> - the size of the buffer used to read responses</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getMaxRedirects()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxRedirects</h4> |
| <pre class="methodSignature">public int getMaxRedirects()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the max number of HTTP redirects that are followed in a conversation</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#setMaxRedirects(int)"><code>setMaxRedirects(int)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setMaxRedirects(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMaxRedirects</h4> |
| <pre class="methodSignature">public void setMaxRedirects​(int maxRedirects)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>maxRedirects</code> - the max number of HTTP redirects that are followed in a conversation, or -1 for unlimited redirects</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#setFollowRedirects(boolean)"><code>setFollowRedirects(boolean)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isTCPNoDelay()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isTCPNoDelay</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="Whether the TCP_NODELAY option is enabled", |
| <a href="../util/annotation/ManagedAttribute.html#name()">name</a>="tcpNoDelay") |
| public boolean isTCPNoDelay()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether TCP_NODELAY is enabled</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setTCPNoDelay(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTCPNoDelay</h4> |
| <pre class="methodSignature">public void setTCPNoDelay​(boolean tcpNoDelay)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>tcpNoDelay</code> - whether TCP_NODELAY is enabled</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Socket.setTcpNoDelay(boolean)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getHttpCompliance()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHttpCompliance</h4> |
| <pre class="methodSignature">public <a href="../http/HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a> getHttpCompliance()</pre> |
| <div class="block">Gets the http compliance mode for parsing http responses. |
| The default http compliance level is <a href="../http/HttpCompliance.html#RFC7230"><code>HttpCompliance.RFC7230</code></a> which is the latest HTTP/1.1 specification</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the HttpCompliance instance</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setHttpCompliance(org.eclipse.jetty.http.HttpCompliance)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setHttpCompliance</h4> |
| <pre class="methodSignature">public void setHttpCompliance​(<a href="../http/HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a> httpCompliance)</pre> |
| <div class="block">Sets the http compliance mode for parsing http responses. |
| This affect how weak the <a href="../http/HttpParser.html" title="class in org.eclipse.jetty.http"><code>HttpParser</code></a> parses http responses and which http protocol level is supported</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>httpCompliance</code> - The compliance level which is used to actually parse http responses</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isStrictEventOrdering()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isStrictEventOrdering</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("Whether request/response events must be strictly ordered") |
| public boolean isStrictEventOrdering()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether request events must be strictly ordered</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#setStrictEventOrdering(boolean)"><code>setStrictEventOrdering(boolean)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setStrictEventOrdering(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setStrictEventOrdering</h4> |
| <pre class="methodSignature">public void setStrictEventOrdering​(boolean strictEventOrdering)</pre> |
| <div class="block">Whether request/response events must be strictly ordered with respect to connection usage. |
| <p> |
| From the point of view of connection usage, the connection can be reused just before the |
| "complete" event notified to <a href="api/Response.CompleteListener.html" title="interface in org.eclipse.jetty.client.api"><code>Response.CompleteListener</code></a>s |
| (but after the "success" event). |
| <p> |
| When a request/response exchange is completing, the destination may have another request |
| queued to be sent to the server. |
| If the connection for that destination is reused for the second request before the "complete" |
| event of the first exchange, it may happen that the "begin" event of the second request |
| happens before the "complete" event of the first exchange. |
| <p> |
| Enforcing strict ordering of events so that a "begin" event of a request can never happen |
| before the "complete" event of the previous exchange comes with the cost of increased |
| connection usage. |
| In case of HTTP redirects and strict event ordering, for example, the redirect request will |
| be forced to open a new connection because it is typically sent from the complete listener |
| when the connection cannot yet be reused. |
| When strict event ordering is not enforced, the redirect request will reuse the already |
| open connection making the system more efficient. |
| <p> |
| The default value for this property is <code>false</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>strictEventOrdering</code> - whether request/response events must be strictly ordered</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isRemoveIdleDestinations()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRemoveIdleDestinations</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("Whether idle destinations are removed") |
| public boolean isRemoveIdleDestinations()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether destinations that have no connections should be removed</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#setRemoveIdleDestinations(boolean)"><code>setRemoveIdleDestinations(boolean)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setRemoveIdleDestinations(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRemoveIdleDestinations</h4> |
| <pre class="methodSignature">public void setRemoveIdleDestinations​(boolean removeIdleDestinations)</pre> |
| <div class="block">Whether destinations that have no connections (nor active nor idle) should be removed. |
| <p> |
| Applications typically make request to a limited number of destinations so keeping |
| destinations around is not a problem for the memory or the GC. |
| However, for applications that hit millions of different destinations (e.g. a spider |
| bot) it would be useful to be able to remove the old destinations that won't be visited |
| anymore and leave space for new destinations.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>removeIdleDestinations</code> - whether destinations that have no connections should be removed</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="DuplexConnectionPool.html" title="class in org.eclipse.jetty.client"><code>DuplexConnectionPool</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isConnectBlocking()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isConnectBlocking</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("Whether the connect() operation is blocking") |
| public boolean isConnectBlocking()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether <code>connect()</code> operations are performed in blocking mode</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setConnectBlocking(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setConnectBlocking</h4> |
| <pre class="methodSignature">public void setConnectBlocking​(boolean connectBlocking)</pre> |
| <div class="block"><p>Whether <code>connect()</code> operations are performed in blocking mode.</p> |
| <p>If <code>connect()</code> are performed in blocking mode, then <code>Socket.connect(SocketAddress, int)</code> |
| will be used to connect to servers.</p> |
| <p>Otherwise, <code>SocketChannel.connect(SocketAddress)</code> will be used in non-blocking mode, |
| therefore registering for <code>SelectionKey.OP_CONNECT</code> and finishing the connect operation |
| when the NIO system emits that event.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>connectBlocking</code> - whether <code>connect()</code> operations are performed in blocking mode</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getDefaultRequestContentType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultRequestContentType</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The default content type for request content") |
| public java.lang.String getDefaultRequestContentType()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the default content type for request content</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setDefaultRequestContentType(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDefaultRequestContentType</h4> |
| <pre class="methodSignature">public void setDefaultRequestContentType​(java.lang.String contentType)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>contentType</code> - the default content type for request content</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isUseInputDirectByteBuffers()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isUseInputDirectByteBuffers</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("Whether to use direct ByteBuffers for reading") |
| public boolean isUseInputDirectByteBuffers()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether to use direct ByteBuffers for reading</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setUseInputDirectByteBuffers(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUseInputDirectByteBuffers</h4> |
| <pre class="methodSignature">public void setUseInputDirectByteBuffers​(boolean useInputDirectByteBuffers)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>useInputDirectByteBuffers</code> - whether to use direct ByteBuffers for reading</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isUseOutputDirectByteBuffers()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isUseOutputDirectByteBuffers</h4> |
| <pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("Whether to use direct ByteBuffers for writing") |
| public boolean isUseOutputDirectByteBuffers()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether to use direct ByteBuffers for writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setUseOutputDirectByteBuffers(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUseOutputDirectByteBuffers</h4> |
| <pre class="methodSignature">public void setUseOutputDirectByteBuffers​(boolean useOutputDirectByteBuffers)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>useOutputDirectByteBuffers</code> - whether to use direct ByteBuffers for writing</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getProxyConfiguration()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProxyConfiguration</h4> |
| <pre class="methodSignature">public <a href="ProxyConfiguration.html" title="class in org.eclipse.jetty.client">ProxyConfiguration</a> getProxyConfiguration()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the forward proxy configuration</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getAcceptEncodingField()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAcceptEncodingField</h4> |
| <pre class="methodSignature">protected <a href="../http/HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a> getAcceptEncodingField()</pre> |
| </li> |
| </ul> |
| <a id="normalizeHost(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>normalizeHost</h4> |
| <pre class="methodSignature">@Deprecated |
| protected java.lang.String normalizeHost​(java.lang.String host)</pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">no replacement, do not use it</div> |
| </div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>host</code> - the host to normalize</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the host itself</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="normalizePort(java.lang.String,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>normalizePort</h4> |
| <pre class="methodSignature">public static int normalizePort​(java.lang.String scheme, |
| int port)</pre> |
| </li> |
| </ul> |
| <a id="isDefaultPort(java.lang.String,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDefaultPort</h4> |
| <pre class="methodSignature">public boolean isDefaultPort​(java.lang.String scheme, |
| int port)</pre> |
| </li> |
| </ul> |
| <a id="isSchemeSecure(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isSchemeSecure</h4> |
| <pre class="methodSignature">public static boolean isSchemeSecure​(java.lang.String scheme)</pre> |
| </li> |
| </ul> |
| <a id="newSslClientConnectionFactory(org.eclipse.jetty.util.ssl.SslContextFactory.Client,org.eclipse.jetty.io.ClientConnectionFactory)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>newSslClientConnectionFactory</h4> |
| <pre class="methodSignature">protected <a href="../io/ClientConnectionFactory.html" title="interface in org.eclipse.jetty.io">ClientConnectionFactory</a> newSslClientConnectionFactory​(<a href="../util/ssl/SslContextFactory.Client.html" title="class in org.eclipse.jetty.util.ssl">SslContextFactory.Client</a> sslContextFactory, |
| <a href="../io/ClientConnectionFactory.html" title="interface in org.eclipse.jetty.io">ClientConnectionFactory</a> connectionFactory)</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/HttpClient.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–2021 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |