| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.13) on Tue Feb 08 12:41:33 CST 2022 --> |
| <title>HttpChannelOverFCGI (Eclipse Jetty API Doc - v11.0.8)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2022-02-08"> |
| <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="HttpChannelOverFCGI (Eclipse Jetty API Doc - v11.0.8)"; |
| } |
| } |
| 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}; |
| 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/HttpChannelOverFCGI.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.fcgi.server</a></div> |
| <h2 title="Class HttpChannelOverFCGI" class="title">Class HttpChannelOverFCGI</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../server/HttpChannel.html" title="class in org.eclipse.jetty.server">org.eclipse.jetty.server.HttpChannel</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.fcgi.server.HttpChannelOverFCGI</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="../../server/HttpOutput.Interceptor.html" title="interface in org.eclipse.jetty.server">HttpOutput.Interceptor</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">HttpChannelOverFCGI</span> |
| extends <a href="../../server/HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></pre> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.server.HttpChannel"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.eclipse.jetty.server.<a href="../../server/HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></h3> |
| <code><a href="../../server/HttpChannel.Listener.html" title="interface in org.eclipse.jetty.server">HttpChannel.Listener</a>, <a href="../../server/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="../../server/HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></h3> |
| <code><a href="../../server/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.fcgi.server.ServerFCGIConnection,org.eclipse.jetty.server.Connector,org.eclipse.jetty.server.HttpConfiguration,org.eclipse.jetty.io.EndPoint,org.eclipse.jetty.server.HttpTransport)">HttpChannelOverFCGI</a></span>​(<a href="ServerFCGIConnection.html" title="class in org.eclipse.jetty.fcgi.server">ServerFCGIConnection</a> connection, |
| <a href="../../server/Connector.html" title="interface in org.eclipse.jetty.server">Connector</a> connector, |
| <a href="../../server/HttpConfiguration.html" title="class in org.eclipse.jetty.server">HttpConfiguration</a> configuration, |
| <a href="../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> endPoint, |
| <a href="../../server/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>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dispatch()">dispatch</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" 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="i2" 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="i3" 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="i4" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#header(org.eclipse.jetty.http.HttpField)">header</a></span>​(<a href="../../http/HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a> field)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <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="i6" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onCompleted()">onCompleted</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onContent(org.eclipse.jetty.server.HttpInput.Content)">onContent</a></span>​(<a href="../../server/HttpInput.Content.html" title="class in org.eclipse.jetty.server">HttpInput.Content</a> content)</code></th> |
| <td class="colLast"> </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="#onIdleTimeout(java.lang.Throwable)">onIdleTimeout</a></span>​(java.lang.Throwable timeout)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onRequest()">onRequest</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../../server/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="../../server/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="i11" 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> |
| </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="../../server/HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></h3> |
| <code><a href="../../server/HttpChannel.html#abort(java.lang.Throwable)">abort</a>, <a href="../../server/HttpChannel.html#addListener(org.eclipse.jetty.server.HttpChannel.Listener)">addListener</a>, <a href="../../server/HttpChannel.html#addRequestLog(org.eclipse.jetty.server.RequestLog)">addRequestLog</a>, <a href="../../server/HttpChannel.html#checkAndPrepareUpgrade()">checkAndPrepareUpgrade</a>, <a href="../../server/HttpChannel.html#commit(org.eclipse.jetty.http.MetaData.Response)">commit</a>, <a href="../../server/HttpChannel.html#continue100(int)">continue100</a>, <a href="../../server/HttpChannel.html#ensureConsumeAllOrNotPersistent()">ensureConsumeAllOrNotPersistent</a>, <a href="../../server/HttpChannel.html#execute(java.lang.Runnable)">execute</a>, <a href="../../server/HttpChannel.html#formatAddrOrHost(java.lang.String)">formatAddrOrHost</a>, <a href="../../server/HttpChannel.html#getByteBufferPool()">getByteBufferPool</a>, <a href="../../server/HttpChannel.html#getBytesWritten()">getBytesWritten</a>, <a href="../../server/HttpChannel.html#getCommittedMetaData()">getCommittedMetaData</a>, <a href="../../server/HttpChannel.html#getConnection()">getConnection</a>, <a href="../../server/HttpChannel.html#getConnector()">getConnector</a>, <a href="../../server/HttpChannel.html#getEndPoint()">getEndPoint</a>, <a href="../../server/HttpChannel.html#getHttpConfiguration()">getHttpConfiguration</a>, <a href="../../server/HttpChannel.html#getHttpTransport()">getHttpTransport</a>, <a href="../../server/HttpChannel.html#getIdleTimeout()">getIdleTimeout</a>, <a href="../../server/HttpChannel.html#getLocalAddress()">getLocalAddress</a>, <a href="../../server/HttpChannel.html#getLocalName()">getLocalName</a>, <a href="../../server/HttpChannel.html#getLocalPort()">getLocalPort</a>, <a href="../../server/HttpChannel.html#getNextInterceptor()">getNextInterceptor</a>, <a href="../../server/HttpChannel.html#getRemoteAddress()">getRemoteAddress</a>, <a href="../../server/HttpChannel.html#getRequest()">getRequest</a>, <a href="../../server/HttpChannel.html#getRequestLog()">getRequestLog</a>, <a href="../../server/HttpChannel.html#getRequests()">getRequests</a>, <a href="../../server/HttpChannel.html#getResponse()">getResponse</a>, <a href="../../server/HttpChannel.html#getScheduler()">getScheduler</a>, <a href="../../server/HttpChannel.html#getServer()">getServer</a>, <a href="../../server/HttpChannel.html#getServerAuthority()">getServerAuthority</a>, <a href="../../server/HttpChannel.html#getState()">getState</a>, <a href="../../server/HttpChannel.html#getTransientListeners()">getTransientListeners</a>, <a href="../../server/HttpChannel.html#getTunnellingEndPoint()">getTunnellingEndPoint</a>, <a href="../../server/HttpChannel.html#handle()">handle</a>, <a href="../../server/HttpChannel.html#handleException(java.lang.Throwable)">handleException</a>, <a href="../../server/HttpChannel.html#isCommitted()">isCommitted</a>, <a href="../../server/HttpChannel.html#isExpecting100Continue()">isExpecting100Continue</a>, <a href="../../server/HttpChannel.html#isExpecting102Processing()">isExpecting102Processing</a>, <a href="../../server/HttpChannel.html#isPersistent()">isPersistent</a>, <a href="../../server/HttpChannel.html#isRequestCompleted()">isRequestCompleted</a>, <a href="../../server/HttpChannel.html#isResponseCompleted()">isResponseCompleted</a>, <a href="../../server/HttpChannel.html#isSendError()">isSendError</a>, <a href="../../server/HttpChannel.html#isTunnellingSupported()">isTunnellingSupported</a>, <a href="../../server/HttpChannel.html#isUseOutputDirectByteBuffers()">isUseOutputDirectByteBuffers</a>, <a href="../../server/HttpChannel.html#newHttpOutput()">newHttpOutput</a>, <a href="../../server/HttpChannel.html#onBadMessage(org.eclipse.jetty.http.BadMessageException)">onBadMessage</a>, <a href="../../server/HttpChannel.html#onContentComplete()">onContentComplete</a>, <a href="../../server/HttpChannel.html#onRequest(org.eclipse.jetty.http.MetaData.Request)">onRequest</a>, <a href="../../server/HttpChannel.html#onRequestComplete()">onRequestComplete</a>, <a href="../../server/HttpChannel.html#onTrailers(org.eclipse.jetty.http.HttpFields)">onTrailers</a>, <a href="../../server/HttpChannel.html#removeListener(org.eclipse.jetty.server.HttpChannel.Listener)">removeListener</a>, <a href="../../server/HttpChannel.html#resetBuffer()">resetBuffer</a>, <a href="../../server/HttpChannel.html#run()">run</a>, <a href="../../server/HttpChannel.html#sendErrorOrAbort(java.lang.String)">sendErrorOrAbort</a>, <a href="../../server/HttpChannel.html#sendResponse(org.eclipse.jetty.http.MetaData.Response,java.nio.ByteBuffer,boolean)">sendResponse</a>, <a href="../../server/HttpChannel.html#sendResponse(org.eclipse.jetty.http.MetaData.Response,java.nio.ByteBuffer,boolean,org.eclipse.jetty.util.Callback)">sendResponse</a>, <a href="../../server/HttpChannel.html#sendResponseAndComplete()">sendResponseAndComplete</a>, <a href="../../server/HttpChannel.html#setIdleTimeout(long)">setIdleTimeout</a>, <a href="../../server/HttpChannel.html#setRequestLog(org.eclipse.jetty.server.RequestLog)">setRequestLog</a>, <a href="../../server/HttpChannel.html#toString()">toString</a>, <a href="../../server/HttpChannel.html#unwrap(java.lang.Throwable,java.lang.Class...)">unwrap</a>, <a href="../../server/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.fcgi.server.ServerFCGIConnection,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>HttpChannelOverFCGI</h4> |
| <pre>public HttpChannelOverFCGI​(<a href="ServerFCGIConnection.html" title="class in org.eclipse.jetty.fcgi.server">ServerFCGIConnection</a> connection, |
| <a href="../../server/Connector.html" title="interface in org.eclipse.jetty.server">Connector</a> connector, |
| <a href="../../server/HttpConfiguration.html" title="class in org.eclipse.jetty.server">HttpConfiguration</a> configuration, |
| <a href="../../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a> endPoint, |
| <a href="../../server/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="onContent(org.eclipse.jetty.server.HttpInput.Content)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onContent</h4> |
| <pre class="methodSignature">public boolean onContent​(<a href="../../server/HttpInput.Content.html" title="class in org.eclipse.jetty.server">HttpInput.Content</a> content)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../server/HttpChannel.html#onContent(org.eclipse.jetty.server.HttpInput.Content)">onContent</a></code> in class <code><a href="../../server/HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></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="../../server/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="../../server/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, an attempt to produce content must be made; if new content has been |
| produced, true is returned; otherwise <a href="../../server/HttpInput.html#onContentProducible()"><code>HttpInput.onContentProducible()</code></a> is called once some content |
| arrives and <a href="../../server/HttpChannel.html#produceContent()"><code>HttpChannel.produceContent()</code></a> can be called without returning <code>null</code>. |
| If a failure happens, then <a href="../../server/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="../../server/HttpChannel.html#produceContent()"><code>HttpChannel.produceContent()</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../server/HttpChannel.html#needContent()">needContent</a></code> in class <code><a href="../../server/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="../../server/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="../../server/HttpChannel.html#produceContent()">HttpChannel</a></code></span></div> |
| <div class="block">Produce a <a href="../../server/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="../../server/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="../../server/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="../../server/HttpChannel.html#produceContent()">produceContent</a></code> in class <code><a href="../../server/HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a <a href="../../server/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="../../server/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="../../server/HttpChannel.html#failAllContent(java.lang.Throwable)">failAllContent</a></code> in class <code><a href="../../server/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="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="../../server/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="../../server/HttpChannel.html#failed(java.lang.Throwable)">failed</a></code> in class <code><a href="../../server/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="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="../../server/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="../../server/HttpChannel.html#eof()">eof</a></code> in class <code><a href="../../server/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="header(org.eclipse.jetty.http.HttpField)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>header</h4> |
| <pre class="methodSignature">protected void header​(<a href="../../http/HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a> field)</pre> |
| </li> |
| </ul> |
| <a id="onRequest()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onRequest</h4> |
| <pre class="methodSignature">public void onRequest()</pre> |
| </li> |
| </ul> |
| <a id="dispatch()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dispatch</h4> |
| <pre class="methodSignature">protected void dispatch()</pre> |
| </li> |
| </ul> |
| <a id="onIdleTimeout(java.lang.Throwable)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onIdleTimeout</h4> |
| <pre class="methodSignature">public boolean onIdleTimeout​(java.lang.Throwable timeout)</pre> |
| </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="../../server/HttpChannel.html#recycle()">recycle</a></code> in class <code><a href="../../server/HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="onCompleted()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>onCompleted</h4> |
| <pre class="methodSignature">public void onCompleted()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../server/HttpChannel.html#onCompleted()">onCompleted</a></code> in class <code><a href="../../server/HttpChannel.html" title="class in org.eclipse.jetty.server">HttpChannel</a></code></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/HttpChannelOverFCGI.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–2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |