| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.11) on Mon Jun 14 16:40:44 EDT 2021 --> |
| <title>HttpChannelOverHttp (Eclipse Jetty API Doc - v10.0.5)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2021-06-14"> |
| <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="HttpChannelOverHttp (Eclipse Jetty API Doc - v10.0.5)"; |
| } |
| } |
| 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}; |
| 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/HttpChannelOverHttp.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.server</a></div> |
| <h2 title="Class HttpChannelOverHttp" class="title">Class HttpChannelOverHttp</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">org.eclipse.jetty.server.HttpChannel</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.server.HttpChannelOverHttp</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code>java.lang.Runnable</code>, <code><a href="../http/ComplianceViolation.Listener.html" title="interface in org.eclipse.jetty.http">ComplianceViolation.Listener</a></code>, <code><a href="../http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code>, <code><a href="../http/HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a></code>, <code><a href="HttpOutput.Interceptor.html" title="interface in org.eclipse.jetty.server">HttpOutput.Interceptor</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">HttpChannelOverHttp</span> |
| extends <a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a> |
| implements <a href="../http/HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a>, <a href="../http/ComplianceViolation.Listener.html" title="interface in org.eclipse.jetty.http">ComplianceViolation.Listener</a></pre> |
| <div class="block">An HttpChannel customized to be transported over the HTTP/1 protocol</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.server.HttpChannel"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.eclipse.jetty.server.<a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></h3> |
| <code><a href="HttpChannel.Listener.html" title="interface in org.eclipse.jetty.server">HttpChannel.Listener</a>, <a href="HttpChannel.TransientListeners.html" title="class in org.eclipse.jetty.server">HttpChannel.TransientListeners</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.server.HttpChannel"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.jetty.server.<a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></h3> |
| <code><a href="HttpChannel.html#NOOP_LISTENER">NOOP_LISTENER</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(org.eclipse.jetty.server.HttpConnection,org.eclipse.jetty.server.Connector,org.eclipse.jetty.server.HttpConfiguration,org.eclipse.jetty.io.EndPoint,org.eclipse.jetty.server.HttpTransport)">HttpChannelOverHttp</a></span>​(<a href="HttpConnection.html" title="class in org.eclipse.jetty.server">HttpConnection</a> httpConnection, |
| <a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a> connector, |
| <a href="HttpConfiguration.html" title="class in org.eclipse.jetty.server">HttpConfiguration</a> config, |
| <a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> endPoint, |
| <a href="HttpTransport.html" title="interface in org.eclipse.jetty.server">HttpTransport</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="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>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#abort(java.lang.Throwable)">abort</a></span>​(java.lang.Throwable failure)</code></th> |
| <td class="colLast"> |
| <div class="block">If a write or similar operation to this channel fails, |
| then this method should be called.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#badMessage(org.eclipse.jetty.http.BadMessageException)">badMessage</a></span>​(<a href="../http/BadMessageException.html" title="class in org.eclipse.jetty.http">BadMessageException</a> failure)</code></th> |
| <td class="colLast"> |
| <div class="block">Called to signal that a bad HTTP message has been received.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkAndPrepareUpgrade()">checkAndPrepareUpgrade</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Checks whether the processing of the request resulted in an upgrade, |
| and if so performs upgrade preparation steps <em>before</em> the upgrade |
| response is sent back to the client.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#content(java.nio.ByteBuffer)">content</a></span>​(java.nio.ByteBuffer buffer)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contentComplete()">contentComplete</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#continue100(int)">continue100</a></span>​(int available)</code></th> |
| <td class="colLast"> |
| <div class="block">If the associated response has the Expect header set to 100 Continue, |
| then accessing the input stream indicates that the handler/servlet |
| is ready for the request body and thus a 100 Continue response is sent.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#earlyEOF()">earlyEOF</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Called to signal that an EOF was received unexpectedly |
| during the parsing of an HTTP message</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#eof()">eof</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Mark the channel's input as EOF.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#failAllContent(java.lang.Throwable)">failAllContent</a></span>​(java.lang.Throwable failure)</code></th> |
| <td class="colLast"> |
| <div class="block">Fail all content that is currently stored within the channel.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#failed(java.lang.Throwable)">failed</a></span>​(java.lang.Throwable x)</code></th> |
| <td class="colLast"> |
| <div class="block">Fail the channel's input.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTunnellingEndPoint()">getTunnellingEndPoint</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleException(java.lang.Throwable)">handleException</a></span>​(java.lang.Throwable x)</code></th> |
| <td class="colLast"> |
| <div class="block">Sends an error 500, performing a special logic to detect whether the request is suspended, |
| to avoid concurrent writes from the application.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#headerComplete()">headerComplete</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isExpecting100Continue()">isExpecting100Continue</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isExpecting102Processing()">isExpecting102Processing</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isTunnellingSupported()">isTunnellingSupported</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <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="i17" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#messageComplete()">messageComplete</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#needContent()">needContent</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Notify the channel that content is needed.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onComplianceViolation(org.eclipse.jetty.http.ComplianceViolation.Mode,org.eclipse.jetty.http.ComplianceViolation,java.lang.String)">onComplianceViolation</a></span>​(<a href="../http/ComplianceViolation.Mode.html" title="interface in org.eclipse.jetty.http">ComplianceViolation.Mode</a> mode, |
| <a href="../http/ComplianceViolation.html" title="interface in org.eclipse.jetty.http">ComplianceViolation</a> violation, |
| java.lang.String details)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parsedHeader(org.eclipse.jetty.http.HttpField)">parsedHeader</a></span>​(<a href="../http/HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a> field)</code></th> |
| <td class="colLast"> |
| <div class="block">This is the method called by parser when an HTTP Header name and value is found</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parsedTrailer(org.eclipse.jetty.http.HttpField)">parsedTrailer</a></span>​(<a href="../http/HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a> field)</code></th> |
| <td class="colLast"> |
| <div class="block">This is the method called by parser when an HTTP Trailer name and value is found</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="HttpInput.Content.html" title="class in org.eclipse.jetty.server">HttpInput.Content</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#produceContent()">produceContent</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Produce a <a href="HttpInput.Content.html" title="class in org.eclipse.jetty.server"><code>HttpInput.Content</code></a> object with data currently stored within the channel.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recycle()">recycle</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#servletUpgrade()">servletUpgrade</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#startRequest(java.lang.String,java.lang.String,org.eclipse.jetty.http.HttpVersion)">startRequest</a></span>​(java.lang.String method, |
| java.lang.String uri, |
| <a href="../http/HttpVersion.html" title="enum in org.eclipse.jetty.http">HttpVersion</a> version)</code></th> |
| <td class="colLast"> |
| <div class="block">This is the method called by parser when the HTTP request line is parsed</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.server.HttpChannel"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.server.<a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></h3> |
| <code><a href="HttpChannel.html#addListener(org.eclipse.jetty.server.HttpChannel.Listener)">addListener</a>, <a href="HttpChannel.html#addRequestLog(org.eclipse.jetty.server.RequestLog)">addRequestLog</a>, <a href="HttpChannel.html#commit(org.eclipse.jetty.http.MetaData.Response)">commit</a>, <a href="HttpChannel.html#ensureConsumeAllOrNotPersistent()">ensureConsumeAllOrNotPersistent</a>, <a href="HttpChannel.html#execute(java.lang.Runnable)">execute</a>, <a href="HttpChannel.html#getByteBufferPool()">getByteBufferPool</a>, <a href="HttpChannel.html#getBytesWritten()">getBytesWritten</a>, <a href="HttpChannel.html#getCommittedMetaData()">getCommittedMetaData</a>, <a href="HttpChannel.html#getConnection()">getConnection</a>, <a href="HttpChannel.html#getConnector()">getConnector</a>, <a href="HttpChannel.html#getEndPoint()">getEndPoint</a>, <a href="HttpChannel.html#getHttpConfiguration()">getHttpConfiguration</a>, <a href="HttpChannel.html#getHttpTransport()">getHttpTransport</a>, <a href="HttpChannel.html#getIdleTimeout()">getIdleTimeout</a>, <a href="HttpChannel.html#getLocalAddress()">getLocalAddress</a>, <a href="HttpChannel.html#getNextInterceptor()">getNextInterceptor</a>, <a href="HttpChannel.html#getRemoteAddress()">getRemoteAddress</a>, <a href="HttpChannel.html#getRequest()">getRequest</a>, <a href="HttpChannel.html#getRequestLog()">getRequestLog</a>, <a href="HttpChannel.html#getRequests()">getRequests</a>, <a href="HttpChannel.html#getResponse()">getResponse</a>, <a href="HttpChannel.html#getScheduler()">getScheduler</a>, <a href="HttpChannel.html#getServer()">getServer</a>, <a href="HttpChannel.html#getState()">getState</a>, <a href="HttpChannel.html#getTransientListeners()">getTransientListeners</a>, <a href="HttpChannel.html#handle()">handle</a>, <a href="HttpChannel.html#isCommitted()">isCommitted</a>, <a href="HttpChannel.html#isPersistent()">isPersistent</a>, <a href="HttpChannel.html#isRequestCompleted()">isRequestCompleted</a>, <a href="HttpChannel.html#isResponseCompleted()">isResponseCompleted</a>, <a href="HttpChannel.html#isSendError()">isSendError</a>, <a href="HttpChannel.html#newHttpOutput()">newHttpOutput</a>, <a href="HttpChannel.html#onBadMessage(org.eclipse.jetty.http.BadMessageException)">onBadMessage</a>, <a href="HttpChannel.html#onCompleted()">onCompleted</a>, <a href="HttpChannel.html#onContent(org.eclipse.jetty.server.HttpInput.Content)">onContent</a>, <a href="HttpChannel.html#onContentComplete()">onContentComplete</a>, <a href="HttpChannel.html#onRequest(org.eclipse.jetty.http.MetaData.Request)">onRequest</a>, <a href="HttpChannel.html#onRequestComplete()">onRequestComplete</a>, <a href="HttpChannel.html#onTrailers(org.eclipse.jetty.http.HttpFields)">onTrailers</a>, <a href="HttpChannel.html#removeListener(org.eclipse.jetty.server.HttpChannel.Listener)">removeListener</a>, <a href="HttpChannel.html#resetBuffer()">resetBuffer</a>, <a href="HttpChannel.html#run()">run</a>, <a href="HttpChannel.html#sendErrorOrAbort(java.lang.String)">sendErrorOrAbort</a>, <a href="HttpChannel.html#sendResponse(org.eclipse.jetty.http.MetaData.Response,java.nio.ByteBuffer,boolean)">sendResponse</a>, <a href="HttpChannel.html#sendResponse(org.eclipse.jetty.http.MetaData.Response,java.nio.ByteBuffer,boolean,org.eclipse.jetty.util.Callback)">sendResponse</a>, <a href="HttpChannel.html#sendResponseAndComplete()">sendResponseAndComplete</a>, <a href="HttpChannel.html#setIdleTimeout(long)">setIdleTimeout</a>, <a href="HttpChannel.html#setRequestLog(org.eclipse.jetty.server.RequestLog)">setRequestLog</a>, <a href="HttpChannel.html#toString()">toString</a>, <a href="HttpChannel.html#unwrap(java.lang.Throwable,java.lang.Class...)">unwrap</a>, <a href="HttpChannel.html#write(java.nio.ByteBuffer,boolean,org.eclipse.jetty.util.Callback)">write</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>(org.eclipse.jetty.server.HttpConnection,org.eclipse.jetty.server.Connector,org.eclipse.jetty.server.HttpConfiguration,org.eclipse.jetty.io.EndPoint,org.eclipse.jetty.server.HttpTransport)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>HttpChannelOverHttp</h4> |
| <pre>public HttpChannelOverHttp​(<a href="HttpConnection.html" title="class in org.eclipse.jetty.server">HttpConnection</a> httpConnection, |
| <a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a> connector, |
| <a href="HttpConfiguration.html" title="class in org.eclipse.jetty.server">HttpConfiguration</a> config, |
| <a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> endPoint, |
| <a href="HttpTransport.html" title="interface in org.eclipse.jetty.server">HttpTransport</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="abort(java.lang.Throwable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>abort</h4> |
| <pre class="methodSignature">public void abort​(java.lang.Throwable failure)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="HttpChannel.html#abort(java.lang.Throwable)">HttpChannel</a></code></span></div> |
| <div class="block">If a write or similar operation to this channel fails, |
| then this method should be called. |
| <p> |
| The standard implementation calls <a href="HttpTransport.html#abort(java.lang.Throwable)"><code>HttpTransport.abort(Throwable)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="HttpChannel.html#abort(java.lang.Throwable)">abort</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>failure</code> - the failure that caused the abort.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="needContent()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>needContent</h4> |
| <pre class="methodSignature">public boolean needContent()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="HttpChannel.html#needContent()">HttpChannel</a></code></span></div> |
| <div class="block">Notify the channel that content is needed. If some content is immediately available, true is returned and |
| <a href="HttpChannel.html#produceContent()"><code>HttpChannel.produceContent()</code></a> has to be called and will return a non-null object. |
| If no content is immediately available, <a href="HttpInput.html#onContentProducible()"><code>HttpInput.onContentProducible()</code></a> is called once some content arrives |
| and <a href="HttpChannel.html#produceContent()"><code>HttpChannel.produceContent()</code></a> can be called without returning null. |
| If a failure happens, then <a href="HttpInput.html#onContentProducible()"><code>HttpInput.onContentProducible()</code></a> will be called and an error content will return the |
| error on the next call to <a href="HttpChannel.html#produceContent()"><code>HttpChannel.produceContent()</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="HttpChannel.html#needContent()">needContent</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if content is immediately available.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="produceContent()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>produceContent</h4> |
| <pre class="methodSignature">public <a href="HttpInput.Content.html" title="class in org.eclipse.jetty.server">HttpInput.Content</a> produceContent()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="HttpChannel.html#produceContent()">HttpChannel</a></code></span></div> |
| <div class="block">Produce a <a href="HttpInput.Content.html" title="class in org.eclipse.jetty.server"><code>HttpInput.Content</code></a> object with data currently stored within the channel. The produced content |
| can be special (meaning calling <a href="HttpInput.Content.html#isSpecial()"><code>HttpInput.Content.isSpecial()</code></a> returns true) if the channel reached a special |
| state, like EOF or an error. |
| Once a special content has been returned, all subsequent calls to this method will always return a special content |
| of the same kind and <a href="HttpChannel.html#needContent()"><code>HttpChannel.needContent()</code></a> will always return true. |
| The returned content is "raw", i.e.: not decoded.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="HttpChannel.html#produceContent()">produceContent</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a <a href="HttpInput.Content.html" title="class in org.eclipse.jetty.server"><code>HttpInput.Content</code></a> object if one is immediately available without blocking, null otherwise.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="failAllContent(java.lang.Throwable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>failAllContent</h4> |
| <pre class="methodSignature">public boolean failAllContent​(java.lang.Throwable failure)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="HttpChannel.html#failAllContent(java.lang.Throwable)">HttpChannel</a></code></span></div> |
| <div class="block">Fail all content that is currently stored within the channel.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="HttpChannel.html#failAllContent(java.lang.Throwable)">failAllContent</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>failure</code> - the failure to fail the content with.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if EOF was reached while failing all content, false otherwise.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="badMessage(org.eclipse.jetty.http.BadMessageException)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>badMessage</h4> |
| <pre class="methodSignature">public void badMessage​(<a href="../http/BadMessageException.html" title="class in org.eclipse.jetty.http">BadMessageException</a> failure)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../http/HttpParser.HttpHandler.html#badMessage(org.eclipse.jetty.http.BadMessageException)">HttpParser.HttpHandler</a></code></span></div> |
| <div class="block">Called to signal that a bad HTTP message has been received.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../http/HttpParser.HttpHandler.html#badMessage(org.eclipse.jetty.http.BadMessageException)">badMessage</a></code> in interface <code><a href="../http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>failure</code> - the failure with the bad message information</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="content(java.nio.ByteBuffer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>content</h4> |
| <pre class="methodSignature">public boolean content​(java.nio.ByteBuffer buffer)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../http/HttpParser.HttpHandler.html#content(java.nio.ByteBuffer)">content</a></code> in interface <code><a href="../http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="contentComplete()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>contentComplete</h4> |
| <pre class="methodSignature">public boolean contentComplete()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../http/HttpParser.HttpHandler.html#contentComplete()">contentComplete</a></code> in interface <code><a href="../http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="continue100(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>continue100</h4> |
| <pre class="methodSignature">public void continue100​(int available) |
| throws java.io.IOException</pre> |
| <div class="block">If the associated response has the Expect header set to 100 Continue, |
| then accessing the input stream indicates that the handler/servlet |
| is ready for the request body and thus a 100 Continue response is sent.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="HttpChannel.html#continue100(int)">continue100</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>available</code> - estimate of the number of bytes that are available</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - if the InputStream cannot be created</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="earlyEOF()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>earlyEOF</h4> |
| <pre class="methodSignature">public void earlyEOF()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../http/HttpParser.HttpHandler.html#earlyEOF()">HttpParser.HttpHandler</a></code></span></div> |
| <div class="block">Called to signal that an EOF was received unexpectedly |
| during the parsing of an HTTP message</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../http/HttpParser.HttpHandler.html#earlyEOF()">earlyEOF</a></code> in interface <code><a href="../http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="eof()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>eof</h4> |
| <pre class="methodSignature">protected boolean eof()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="HttpChannel.html#eof()">HttpChannel</a></code></span></div> |
| <div class="block">Mark the channel's input as EOF.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="HttpChannel.html#eof()">eof</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the channel needs to be rescheduled.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="failed(java.lang.Throwable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>failed</h4> |
| <pre class="methodSignature">public boolean failed​(java.lang.Throwable x)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="HttpChannel.html#failed(java.lang.Throwable)">HttpChannel</a></code></span></div> |
| <div class="block">Fail the channel's input.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="HttpChannel.html#failed(java.lang.Throwable)">failed</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - the failure.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the channel needs to be rescheduled.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getTunnellingEndPoint()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTunnellingEndPoint</h4> |
| <pre class="methodSignature">public <a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> getTunnellingEndPoint()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="HttpChannel.html#getTunnellingEndPoint()">getTunnellingEndPoint</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="headerComplete()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>headerComplete</h4> |
| <pre class="methodSignature">public boolean headerComplete()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../http/HttpParser.HttpHandler.html#headerComplete()">headerComplete</a></code> in interface <code><a href="../http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isExpecting100Continue()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isExpecting100Continue</h4> |
| <pre class="methodSignature">public boolean isExpecting100Continue()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="HttpChannel.html#isExpecting100Continue()">isExpecting100Continue</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isExpecting102Processing()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isExpecting102Processing</h4> |
| <pre class="methodSignature">public boolean isExpecting102Processing()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="HttpChannel.html#isExpecting102Processing()">isExpecting102Processing</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isTunnellingSupported()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isTunnellingSupported</h4> |
| <pre class="methodSignature">public boolean isTunnellingSupported()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="HttpChannel.html#isTunnellingSupported()">isTunnellingSupported</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isUseOutputDirectByteBuffers()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isUseOutputDirectByteBuffers</h4> |
| <pre class="methodSignature">public boolean isUseOutputDirectByteBuffers()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="HttpChannel.html#isUseOutputDirectByteBuffers()">isUseOutputDirectByteBuffers</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="messageComplete()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>messageComplete</h4> |
| <pre class="methodSignature">public boolean messageComplete()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../http/HttpParser.HttpHandler.html#messageComplete()">messageComplete</a></code> in interface <code><a href="../http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onComplianceViolation(org.eclipse.jetty.http.ComplianceViolation.Mode,org.eclipse.jetty.http.ComplianceViolation,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onComplianceViolation</h4> |
| <pre class="methodSignature">public void onComplianceViolation​(<a href="../http/ComplianceViolation.Mode.html" title="interface in org.eclipse.jetty.http">ComplianceViolation.Mode</a> mode, |
| <a href="../http/ComplianceViolation.html" title="interface in org.eclipse.jetty.http">ComplianceViolation</a> violation, |
| java.lang.String details)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../http/ComplianceViolation.Listener.html#onComplianceViolation(org.eclipse.jetty.http.ComplianceViolation.Mode,org.eclipse.jetty.http.ComplianceViolation,java.lang.String)">onComplianceViolation</a></code> in interface <code><a href="../http/ComplianceViolation.Listener.html" title="interface in org.eclipse.jetty.http">ComplianceViolation.Listener</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="parsedHeader(org.eclipse.jetty.http.HttpField)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>parsedHeader</h4> |
| <pre class="methodSignature">public void parsedHeader​(<a href="../http/HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a> field)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../http/HttpParser.HttpHandler.html#parsedHeader(org.eclipse.jetty.http.HttpField)">HttpParser.HttpHandler</a></code></span></div> |
| <div class="block">This is the method called by parser when an HTTP Header name and value is found</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../http/HttpParser.HttpHandler.html#parsedHeader(org.eclipse.jetty.http.HttpField)">parsedHeader</a></code> in interface <code><a href="../http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>field</code> - The field parsed</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="parsedTrailer(org.eclipse.jetty.http.HttpField)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>parsedTrailer</h4> |
| <pre class="methodSignature">public void parsedTrailer​(<a href="../http/HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a> field)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../http/HttpParser.HttpHandler.html#parsedTrailer(org.eclipse.jetty.http.HttpField)">HttpParser.HttpHandler</a></code></span></div> |
| <div class="block">This is the method called by parser when an HTTP Trailer name and value is found</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../http/HttpParser.HttpHandler.html#parsedTrailer(org.eclipse.jetty.http.HttpField)">parsedTrailer</a></code> in interface <code><a href="../http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>field</code> - The field parsed</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="recycle()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>recycle</h4> |
| <pre class="methodSignature">public void recycle()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="HttpChannel.html#recycle()">recycle</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="servletUpgrade()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>servletUpgrade</h4> |
| <pre class="methodSignature">public void servletUpgrade()</pre> |
| </li> |
| </ul> |
| <a id="startRequest(java.lang.String,java.lang.String,org.eclipse.jetty.http.HttpVersion)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>startRequest</h4> |
| <pre class="methodSignature">public void startRequest​(java.lang.String method, |
| java.lang.String uri, |
| <a href="../http/HttpVersion.html" title="enum in org.eclipse.jetty.http">HttpVersion</a> version)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../http/HttpParser.RequestHandler.html#startRequest(java.lang.String,java.lang.String,org.eclipse.jetty.http.HttpVersion)">HttpParser.RequestHandler</a></code></span></div> |
| <div class="block">This is the method called by parser when the HTTP request line is parsed</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../http/HttpParser.RequestHandler.html#startRequest(java.lang.String,java.lang.String,org.eclipse.jetty.http.HttpVersion)">startRequest</a></code> in interface <code><a href="../http/HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>method</code> - The method</dd> |
| <dd><code>uri</code> - The raw bytes of the URI. These are copied into a ByteBuffer that will not be changed until this parser is reset and reused.</dd> |
| <dd><code>version</code> - the http version in use</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="checkAndPrepareUpgrade()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkAndPrepareUpgrade</h4> |
| <pre class="methodSignature">protected boolean checkAndPrepareUpgrade()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="HttpChannel.html#checkAndPrepareUpgrade()">HttpChannel</a></code></span></div> |
| <div class="block"><p>Checks whether the processing of the request resulted in an upgrade, |
| and if so performs upgrade preparation steps <em>before</em> the upgrade |
| response is sent back to the client.</p> |
| <p>This avoids a race where the server is unprepared if the client sends |
| data immediately after having received the upgrade response.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="HttpChannel.html#checkAndPrepareUpgrade()">checkAndPrepareUpgrade</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the channel is not complete and more processing is required, |
| typically because sendError has been called.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="handleException(java.lang.Throwable)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>handleException</h4> |
| <pre class="methodSignature">protected void handleException​(java.lang.Throwable x)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="HttpChannel.html#handleException(java.lang.Throwable)">HttpChannel</a></code></span></div> |
| <div class="block"><p>Sends an error 500, performing a special logic to detect whether the request is suspended, |
| to avoid concurrent writes from the application.</p> |
| <p>It may happen that the application suspends, and then throws an exception, while an application |
| spawned thread writes the response content; in such case, we attempt to commit the error directly |
| bypassing the <a href="handler/ErrorHandler.html" title="class in org.eclipse.jetty.server.handler"><code>ErrorHandler</code></a> mechanisms and the response OutputStream.</p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="HttpChannel.html#handleException(java.lang.Throwable)">handleException</a></code> in class <code><a href="HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - the Throwable that caused the problem</dd> |
| </dl> |
| </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/HttpChannelOverHttp.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> |