| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_92) on Thu Jun 07 14:26:31 EDT 2018 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>HttpReceiverOverHTTP (Jetty :: Project 9.3.24.v20180605 API)</title> |
| <meta name="date" content="2018-06-07"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="HttpReceiverOverHTTP (Jetty :: Project 9.3.24.v20180605 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"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}; |
| 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"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/HttpReceiverOverHTTP.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"> |
| <li><a href="../../../../../org/eclipse/jetty/client/http/HttpDestinationOverHTTP.html" title="class in org.eclipse.jetty.client.http"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/jetty/client/http/HttpSenderOverHTTP.html" title="class in org.eclipse.jetty.client.http"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html" target="_top">Frames</a></li> |
| <li><a href="HttpReceiverOverHTTP.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></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> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#fields.inherited.from.class.org.eclipse.jetty.client.HttpReceiver">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 name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.jetty.client.http</div> |
| <h2 title="Class HttpReceiverOverHTTP" class="title">Class HttpReceiverOverHTTP</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client">org.eclipse.jetty.client.HttpReceiver</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.client.http.HttpReceiverOverHTTP</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a>, <a href="../../../../../org/eclipse/jetty/http/HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">HttpReceiverOverHTTP</span> |
| extends <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client">HttpReceiver</a> |
| implements <a href="../../../../../org/eclipse/jetty/http/HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a></pre> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.eclipse.jetty.client.HttpReceiver"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.jetty.client.<a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client">HttpReceiver</a></h3> |
| <code><a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#LOG">LOG</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#HttpReceiverOverHTTP-org.eclipse.jetty.client.http.HttpChannelOverHTTP-">HttpReceiverOverHTTP</a></span>(<a href="../../../../../org/eclipse/jetty/client/http/HttpChannelOverHTTP.html" title="class in org.eclipse.jetty.client.http">HttpChannelOverHTTP</a> channel)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <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="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#badMessage-int-java.lang.String-">badMessage</a></span>(int status, |
| java.lang.String reason)</code> |
| <div class="block">Called to signal that a bad HTTP message has been received.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#content-java.nio.ByteBuffer-">content</a></span>(java.nio.ByteBuffer buffer)</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#contentComplete--">contentComplete</a></span>()</code> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#dispose--">dispose</a></span>()</code> |
| <div class="block">Disposes this <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client"><code>HttpReceiver</code></a> state.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#earlyEOF--">earlyEOF</a></span>()</code> |
| <div class="block">Called to signal that an EOF was received unexpectedly |
| during the parsing of a HTTP message</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#fillInterested--">fillInterested</a></span>()</code> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#getHeaderCacheSize--">getHeaderCacheSize</a></span>()</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/jetty/client/http/HttpChannelOverHTTP.html" title="class in org.eclipse.jetty.client.http">HttpChannelOverHTTP</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#getHttpChannel--">getHttpChannel</a></span>()</code> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>protected java.nio.ByteBuffer</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#getResponseBuffer--">getResponseBuffer</a></span>()</code> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#headerComplete--">headerComplete</a></span>()</code> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#isShutdown--">isShutdown</a></span>()</code> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#messageComplete--">messageComplete</a></span>()</code> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#parsedHeader-org.eclipse.jetty.http.HttpField-">parsedHeader</a></span>(<a href="../../../../../org/eclipse/jetty/http/HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a> field)</code> |
| <div class="block">This is the method called by parser when a HTTP Header name and value is found</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#receive--">receive</a></span>()</code> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#reset--">reset</a></span>()</code> |
| <div class="block">Resets this <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client"><code>HttpReceiver</code></a> state.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#startResponse-org.eclipse.jetty.http.HttpVersion-int-java.lang.String-">startResponse</a></span>(<a href="../../../../../org/eclipse/jetty/http/HttpVersion.html" title="enum in org.eclipse.jetty.http">HttpVersion</a> version, |
| int status, |
| java.lang.String reason)</code> |
| <div class="block">This is the method called by parser when the HTTP request line is parsed</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html#toString--">toString</a></span>()</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.jetty.client.HttpReceiver"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.jetty.client.<a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client">HttpReceiver</a></h3> |
| <code><a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#abort-org.eclipse.jetty.client.HttpExchange-java.lang.Throwable-">abort</a>, <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#getHttpDestination--">getHttpDestination</a>, <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#getHttpExchange--">getHttpExchange</a>, <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#responseBegin-org.eclipse.jetty.client.HttpExchange-">responseBegin</a>, <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#responseContent-org.eclipse.jetty.client.HttpExchange-java.nio.ByteBuffer-org.eclipse.jetty.util.Callback-">responseContent</a>, <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#responseFailure-java.lang.Throwable-">responseFailure</a>, <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#responseHeader-org.eclipse.jetty.client.HttpExchange-org.eclipse.jetty.http.HttpField-">responseHeader</a>, <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#responseHeaders-org.eclipse.jetty.client.HttpExchange-">responseHeaders</a>, <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#responseSuccess-org.eclipse.jetty.client.HttpExchange-">responseSuccess</a>, <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#storeCookie-java.net.URI-org.eclipse.jetty.http.HttpField-">storeCookie</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="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> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="HttpReceiverOverHTTP-org.eclipse.jetty.client.http.HttpChannelOverHTTP-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>HttpReceiverOverHTTP</h4> |
| <pre>public HttpReceiverOverHTTP(<a href="../../../../../org/eclipse/jetty/client/http/HttpChannelOverHTTP.html" title="class in org.eclipse.jetty.client.http">HttpChannelOverHTTP</a> channel)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getHttpChannel--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHttpChannel</h4> |
| <pre>public <a href="../../../../../org/eclipse/jetty/client/http/HttpChannelOverHTTP.html" title="class in org.eclipse.jetty.client.http">HttpChannelOverHTTP</a> getHttpChannel()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#getHttpChannel--">getHttpChannel</a></code> in class <code><a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client">HttpReceiver</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getResponseBuffer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getResponseBuffer</h4> |
| <pre>protected java.nio.ByteBuffer getResponseBuffer()</pre> |
| </li> |
| </ul> |
| <a name="receive--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>receive</h4> |
| <pre>public void receive()</pre> |
| </li> |
| </ul> |
| <a name="fillInterested--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fillInterested</h4> |
| <pre>protected void fillInterested()</pre> |
| </li> |
| </ul> |
| <a name="isShutdown--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isShutdown</h4> |
| <pre>protected boolean isShutdown()</pre> |
| </li> |
| </ul> |
| <a name="getHeaderCacheSize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHeaderCacheSize</h4> |
| <pre>public int getHeaderCacheSize()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html#getHeaderCacheSize--">getHeaderCacheSize</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the size in bytes of the per parser header cache</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="startResponse-org.eclipse.jetty.http.HttpVersion-int-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>startResponse</h4> |
| <pre>public boolean startResponse(<a href="../../../../../org/eclipse/jetty/http/HttpVersion.html" title="enum in org.eclipse.jetty.http">HttpVersion</a> version, |
| int status, |
| java.lang.String reason)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/eclipse/jetty/http/HttpParser.ResponseHandler.html#startResponse-org.eclipse.jetty.http.HttpVersion-int-java.lang.String-">HttpParser.ResponseHandler</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="../../../../../org/eclipse/jetty/http/HttpParser.ResponseHandler.html#startResponse-org.eclipse.jetty.http.HttpVersion-int-java.lang.String-">startResponse</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/http/HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>version</code> - the http version in use</dd> |
| <dd><code>status</code> - the response status</dd> |
| <dd><code>reason</code> - the response reason phrase</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if handling parsing should return</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="parsedHeader-org.eclipse.jetty.http.HttpField-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>parsedHeader</h4> |
| <pre>public void parsedHeader(<a href="../../../../../org/eclipse/jetty/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="../../../../../org/eclipse/jetty/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 a HTTP Header name and value is found</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html#parsedHeader-org.eclipse.jetty.http.HttpField-">parsedHeader</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/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 name="headerComplete--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>headerComplete</h4> |
| <pre>public boolean headerComplete()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html#headerComplete--">headerComplete</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="content-java.nio.ByteBuffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>content</h4> |
| <pre>public boolean content(java.nio.ByteBuffer buffer)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html#content-java.nio.ByteBuffer-">content</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="contentComplete--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>contentComplete</h4> |
| <pre>public boolean contentComplete()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html#contentComplete--">contentComplete</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="messageComplete--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>messageComplete</h4> |
| <pre>public boolean messageComplete()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html#messageComplete--">messageComplete</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="earlyEOF--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>earlyEOF</h4> |
| <pre>public void earlyEOF()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/eclipse/jetty/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 a HTTP message</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html#earlyEOF--">earlyEOF</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="badMessage-int-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>badMessage</h4> |
| <pre>public void badMessage(int status, |
| java.lang.String reason)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html#badMessage-int-java.lang.String-">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="../../../../../org/eclipse/jetty/http/HttpParser.HttpHandler.html#badMessage-int-java.lang.String-">badMessage</a></code> in interface <code><a href="../../../../../org/eclipse/jetty/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>status</code> - The bad status to send</dd> |
| <dd><code>reason</code> - The textual reason for badness</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="reset--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reset</h4> |
| <pre>protected void reset()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#reset--">HttpReceiver</a></code></span></div> |
| <div class="block">Resets this <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client"><code>HttpReceiver</code></a> state. |
| <p> |
| Subclasses should override (but remember to call <code>super</code>) to reset their own state. |
| <p> |
| Either this method or <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#dispose--"><code>HttpReceiver.dispose()</code></a> is called.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#reset--">reset</a></code> in class <code><a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client">HttpReceiver</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dispose--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dispose</h4> |
| <pre>protected void dispose()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#dispose--">HttpReceiver</a></code></span></div> |
| <div class="block">Disposes this <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client"><code>HttpReceiver</code></a> state. |
| <p> |
| Subclasses should override (but remember to call <code>super</code>) to dispose their own state. |
| <p> |
| Either this method or <a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#reset--"><code>HttpReceiver.reset()</code></a> is called.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#dispose--">dispose</a></code> in class <code><a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client">HttpReceiver</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public java.lang.String toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html#toString--">toString</a></code> in class <code><a href="../../../../../org/eclipse/jetty/client/HttpReceiver.html" title="class in org.eclipse.jetty.client">HttpReceiver</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/HttpReceiverOverHTTP.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"> |
| <li><a href="../../../../../org/eclipse/jetty/client/http/HttpDestinationOverHTTP.html" title="class in org.eclipse.jetty.client.http"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/jetty/client/http/HttpSenderOverHTTP.html" title="class in org.eclipse.jetty.client.http"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/jetty/client/http/HttpReceiverOverHTTP.html" target="_top">Frames</a></li> |
| <li><a href="HttpReceiverOverHTTP.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.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> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#fields.inherited.from.class.org.eclipse.jetty.client.HttpReceiver">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 name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 1995–2018 <a href="http://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </body> |
| </html> |