| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.10) on Mon Feb 22 09:41:51 CST 2021 --> |
| <title>AsyncProxyServlet (Eclipse Jetty API Doc - v10.0.1)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2021-02-22"> |
| <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="AsyncProxyServlet (Eclipse Jetty API Doc - v10.0.1)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AsyncProxyServlet.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>Field | </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.proxy</a></div> |
| <h2 title="Class AsyncProxyServlet" class="title">Class AsyncProxyServlet</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>javax.servlet.GenericServlet</li> |
| <li> |
| <ul class="inheritance"> |
| <li>javax.servlet.http.HttpServlet</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="AbstractProxyServlet.html" title="class in org.eclipse.jetty.proxy">org.eclipse.jetty.proxy.AbstractProxyServlet</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="ProxyServlet.html" title="class in org.eclipse.jetty.proxy">org.eclipse.jetty.proxy.ProxyServlet</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.proxy.AsyncProxyServlet</li> |
| </ul> |
| </li> |
| </ul> |
| </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>java.io.Serializable</code>, <code>javax.servlet.Servlet</code>, <code>javax.servlet.ServletConfig</code></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="AsyncProxyServlet.Transparent.html" title="class in org.eclipse.jetty.proxy">AsyncProxyServlet.Transparent</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">AsyncProxyServlet</span> |
| extends <a href="ProxyServlet.html" title="class in org.eclipse.jetty.proxy">ProxyServlet</a></pre> |
| <div class="block"><p>Servlet 3.1 asynchronous proxy servlet.</p> |
| <p>Both the request processing and the I/O are asynchronous.</p></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="ProxyServlet.html" title="class in org.eclipse.jetty.proxy"><code>ProxyServlet</code></a>, |
| <a href="AsyncMiddleManServlet.html" title="class in org.eclipse.jetty.proxy"><code>AsyncMiddleManServlet</code></a>, |
| <a href="ConnectHandler.html" title="class in org.eclipse.jetty.proxy"><code>ConnectHandler</code></a>, |
| <a href="../../../../serialized-form.html#org.eclipse.jetty.proxy.AsyncProxyServlet">Serialized Form</a></dd> |
| </dl> |
| </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> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="AsyncProxyServlet.StreamReader.html" title="class in org.eclipse.jetty.proxy">AsyncProxyServlet.StreamReader</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="AsyncProxyServlet.StreamWriter.html" title="class in org.eclipse.jetty.proxy">AsyncProxyServlet.StreamWriter</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="AsyncProxyServlet.Transparent.html" title="class in org.eclipse.jetty.proxy">AsyncProxyServlet.Transparent</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Convenience extension of <a href="AsyncProxyServlet.html" title="class in org.eclipse.jetty.proxy"><code>AsyncProxyServlet</code></a> that offers transparent proxy functionalities.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.proxy.ProxyServlet"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.eclipse.jetty.proxy.<a href="ProxyServlet.html" title="class in org.eclipse.jetty.proxy">ProxyServlet</a></h3> |
| <code><a href="ProxyServlet.ProxyInputStreamRequestContent.html" title="class in org.eclipse.jetty.proxy">ProxyServlet.ProxyInputStreamRequestContent</a>, <a href="ProxyServlet.ProxyResponseListener.html" title="class in org.eclipse.jetty.proxy">ProxyServlet.ProxyResponseListener</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.proxy.AbstractProxyServlet"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.eclipse.jetty.proxy.<a href="AbstractProxyServlet.html" title="class in org.eclipse.jetty.proxy">AbstractProxyServlet</a></h3> |
| <code><a href="AbstractProxyServlet.TransparentDelegate.html" title="class in org.eclipse.jetty.proxy">AbstractProxyServlet.TransparentDelegate</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> |
| <ul class="blockList"> |
| <li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.proxy.AbstractProxyServlet"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.jetty.proxy.<a href="AbstractProxyServlet.html" title="class in org.eclipse.jetty.proxy">AbstractProxyServlet</a></h3> |
| <code><a href="AbstractProxyServlet.html#_log">_log</a>, <a href="AbstractProxyServlet.html#CLIENT_REQUEST_ATTRIBUTE">CLIENT_REQUEST_ATTRIBUTE</a>, <a href="AbstractProxyServlet.html#HOP_HEADERS">HOP_HEADERS</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()">AsyncProxyServlet</a></span>()</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="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></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 javax.servlet.ReadListener</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newReadListener(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.eclipse.jetty.client.api.Request,org.eclipse.jetty.client.util.AsyncRequestContent)">newReadListener</a></span>​(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.http.HttpServletResponse response, |
| <a href="../client/api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> proxyRequest, |
| <a href="../client/util/AsyncRequestContent.html" title="class in org.eclipse.jetty.client.util">AsyncRequestContent</a> content)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="AsyncProxyServlet.StreamWriter.html" title="class in org.eclipse.jetty.proxy">AsyncProxyServlet.StreamWriter</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newWriteListener(javax.servlet.http.HttpServletRequest,org.eclipse.jetty.client.api.Response)">newWriteListener</a></span>​(javax.servlet.http.HttpServletRequest request, |
| <a href="../client/api/Response.html" title="interface in org.eclipse.jetty.client.api">Response</a> proxyResponse)</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="#onResponseContent(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.eclipse.jetty.client.api.Response,byte%5B%5D,int,int,org.eclipse.jetty.util.Callback)">onResponseContent</a></span>​(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.http.HttpServletResponse response, |
| <a href="../client/api/Response.html" title="interface in org.eclipse.jetty.client.api">Response</a> proxyResponse, |
| byte[] buffer, |
| int offset, |
| int length, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../client/api/Request.Content.html" title="interface in org.eclipse.jetty.client.api">Request.Content</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#proxyRequestContent(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.eclipse.jetty.client.api.Request)">proxyRequestContent</a></span>​(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.http.HttpServletResponse response, |
| <a href="../client/api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> proxyRequest)</code></th> |
| <td class="colLast"> |
| <div class="block">Wraps the client-to-proxy request content in a <code>Request.Content</code> for the proxy-to-server request.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.proxy.ProxyServlet"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.proxy.<a href="ProxyServlet.html" title="class in org.eclipse.jetty.proxy">ProxyServlet</a></h3> |
| <code><a href="ProxyServlet.html#newProxyResponseListener(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)">newProxyResponseListener</a>, <a href="ProxyServlet.html#onContinue(javax.servlet.http.HttpServletRequest,org.eclipse.jetty.client.api.Request)">onContinue</a>, <a href="ProxyServlet.html#service(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)">service</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.proxy.AbstractProxyServlet"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.proxy.<a href="AbstractProxyServlet.html" title="class in org.eclipse.jetty.proxy">AbstractProxyServlet</a></h3> |
| <code><a href="AbstractProxyServlet.html#addProxyHeaders(javax.servlet.http.HttpServletRequest,org.eclipse.jetty.client.api.Request)">addProxyHeaders</a>, <a href="AbstractProxyServlet.html#addViaHeader(javax.servlet.http.HttpServletRequest,org.eclipse.jetty.client.api.Request)">addViaHeader</a>, <a href="AbstractProxyServlet.html#addViaHeader(org.eclipse.jetty.client.api.Request)">addViaHeader</a>, <a href="AbstractProxyServlet.html#addXForwardedHeaders(javax.servlet.http.HttpServletRequest,org.eclipse.jetty.client.api.Request)">addXForwardedHeaders</a>, <a href="AbstractProxyServlet.html#clientRequestStatus(java.lang.Throwable)">clientRequestStatus</a>, <a href="AbstractProxyServlet.html#copyRequestHeaders(javax.servlet.http.HttpServletRequest,org.eclipse.jetty.client.api.Request)">copyRequestHeaders</a>, <a href="AbstractProxyServlet.html#createHttpClient()">createHttpClient</a>, <a href="AbstractProxyServlet.html#createLogger()">createLogger</a>, <a href="AbstractProxyServlet.html#destroy()">destroy</a>, <a href="AbstractProxyServlet.html#expects100Continue(javax.servlet.http.HttpServletRequest)">expects100Continue</a>, <a href="AbstractProxyServlet.html#filterServerResponseHeader(javax.servlet.http.HttpServletRequest,org.eclipse.jetty.client.api.Response,java.lang.String,java.lang.String)">filterServerResponseHeader</a>, <a href="AbstractProxyServlet.html#findConnectionHeaders(javax.servlet.http.HttpServletRequest)">findConnectionHeaders</a>, <a href="AbstractProxyServlet.html#getBlackListHosts()">getBlackListHosts</a>, <a href="AbstractProxyServlet.html#getHostHeader()">getHostHeader</a>, <a href="AbstractProxyServlet.html#getHttpClient()">getHttpClient</a>, <a href="AbstractProxyServlet.html#getRequestId(javax.servlet.http.HttpServletRequest)">getRequestId</a>, <a href="AbstractProxyServlet.html#getTimeout()">getTimeout</a>, <a href="AbstractProxyServlet.html#getViaHost()">getViaHost</a>, <a href="AbstractProxyServlet.html#getWhiteListHosts()">getWhiteListHosts</a>, <a href="AbstractProxyServlet.html#hasContent(javax.servlet.http.HttpServletRequest)">hasContent</a>, <a href="AbstractProxyServlet.html#init()">init</a>, <a href="AbstractProxyServlet.html#newClientConnector()">newClientConnector</a>, <a href="AbstractProxyServlet.html#newHttpClient()">newHttpClient</a>, <a href="AbstractProxyServlet.html#newHttpClient(org.eclipse.jetty.io.ClientConnector)">newHttpClient</a>, <a href="AbstractProxyServlet.html#newProxyRequest(javax.servlet.http.HttpServletRequest,java.lang.String)">newProxyRequest</a>, <a href="AbstractProxyServlet.html#onClientRequestFailure(javax.servlet.http.HttpServletRequest,org.eclipse.jetty.client.api.Request,javax.servlet.http.HttpServletResponse,java.lang.Throwable)">onClientRequestFailure</a>, <a href="AbstractProxyServlet.html#onProxyResponseFailure(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.eclipse.jetty.client.api.Response,java.lang.Throwable)">onProxyResponseFailure</a>, <a href="AbstractProxyServlet.html#onProxyResponseSuccess(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.eclipse.jetty.client.api.Response)">onProxyResponseSuccess</a>, <a href="AbstractProxyServlet.html#onProxyRewriteFailed(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)">onProxyRewriteFailed</a>, <a href="AbstractProxyServlet.html#onServerResponseHeaders(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.eclipse.jetty.client.api.Response)">onServerResponseHeaders</a>, <a href="AbstractProxyServlet.html#proxyResponseStatus(java.lang.Throwable)">proxyResponseStatus</a>, <a href="AbstractProxyServlet.html#rewriteTarget(javax.servlet.http.HttpServletRequest)">rewriteTarget</a>, <a href="AbstractProxyServlet.html#sendProxyRequest(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.eclipse.jetty.client.api.Request)">sendProxyRequest</a>, <a href="AbstractProxyServlet.html#sendProxyResponseError(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,int)">sendProxyResponseError</a>, <a href="AbstractProxyServlet.html#setTimeout(long)">setTimeout</a>, <a href="AbstractProxyServlet.html#validateDestination(java.lang.String,int)">validateDestination</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.javax.servlet.http.HttpServlet"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class javax.servlet.http.HttpServlet</h3> |
| <code>doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.javax.servlet.GenericServlet"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class javax.servlet.GenericServlet</h3> |
| <code>getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log</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, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= 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="blockListLast"> |
| <li class="blockList"> |
| <h4>AsyncProxyServlet</h4> |
| <pre>public AsyncProxyServlet()</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="proxyRequestContent(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.eclipse.jetty.client.api.Request)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>proxyRequestContent</h4> |
| <pre class="methodSignature">protected <a href="../client/api/Request.Content.html" title="interface in org.eclipse.jetty.client.api">Request.Content</a> proxyRequestContent​(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.http.HttpServletResponse response, |
| <a href="../client/api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> proxyRequest) |
| throws java.io.IOException</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="ProxyServlet.html#proxyRequestContent(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.eclipse.jetty.client.api.Request)">ProxyServlet</a></code></span></div> |
| <div class="block">Wraps the client-to-proxy request content in a <code>Request.Content</code> for the proxy-to-server request.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="ProxyServlet.html#proxyRequestContent(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.eclipse.jetty.client.api.Request)">proxyRequestContent</a></code> in class <code><a href="ProxyServlet.html" title="class in org.eclipse.jetty.proxy">ProxyServlet</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>request</code> - the client-to-proxy request</dd> |
| <dd><code>response</code> - the proxy-to-client response</dd> |
| <dd><code>proxyRequest</code> - the proxy-to-server request</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a proxy-to-server request content</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - if the proxy-to-server request content cannot be created</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="newReadListener(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.eclipse.jetty.client.api.Request,org.eclipse.jetty.client.util.AsyncRequestContent)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newReadListener</h4> |
| <pre class="methodSignature">protected javax.servlet.ReadListener newReadListener​(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.http.HttpServletResponse response, |
| <a href="../client/api/Request.html" title="interface in org.eclipse.jetty.client.api">Request</a> proxyRequest, |
| <a href="../client/util/AsyncRequestContent.html" title="class in org.eclipse.jetty.client.util">AsyncRequestContent</a> content)</pre> |
| </li> |
| </ul> |
| <a id="onResponseContent(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.eclipse.jetty.client.api.Response,byte[],int,int,org.eclipse.jetty.util.Callback)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onResponseContent</h4> |
| <pre class="methodSignature">protected void onResponseContent​(javax.servlet.http.HttpServletRequest request, |
| javax.servlet.http.HttpServletResponse response, |
| <a href="../client/api/Response.html" title="interface in org.eclipse.jetty.client.api">Response</a> proxyResponse, |
| byte[] buffer, |
| int offset, |
| int length, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> callback)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="ProxyServlet.html#onResponseContent(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.eclipse.jetty.client.api.Response,byte%5B%5D,int,int,org.eclipse.jetty.util.Callback)">onResponseContent</a></code> in class <code><a href="ProxyServlet.html" title="class in org.eclipse.jetty.proxy">ProxyServlet</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="newWriteListener(javax.servlet.http.HttpServletRequest,org.eclipse.jetty.client.api.Response)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>newWriteListener</h4> |
| <pre class="methodSignature">protected <a href="AsyncProxyServlet.StreamWriter.html" title="class in org.eclipse.jetty.proxy">AsyncProxyServlet.StreamWriter</a> newWriteListener​(javax.servlet.http.HttpServletRequest request, |
| <a href="../client/api/Response.html" title="interface in org.eclipse.jetty.client.api">Response</a> proxyResponse)</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/AsyncProxyServlet.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>Field | </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> |