| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.14.1) on Mon Apr 04 09:09:38 CDT 2022 --> |
| <title>HttpParser (Eclipse Jetty API Doc - v10.0.9)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2022-04-04"> |
| <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="HttpParser (Eclipse Jetty API Doc - v10.0.9)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10}; |
| 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/HttpParser.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.jetty.http</a></div> |
| <h2 title="Class HttpParser" class="title">Class HttpParser</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.http.HttpParser</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <pre>public class <span class="typeNameLabel">HttpParser</span> |
| extends java.lang.Object</pre> |
| <div class="block">A Parser for 1.0 and 1.1 as defined by RFC7230 |
| <p> |
| This parser parses HTTP client and server messages from buffers |
| passed in the <a href="#parseNext(java.nio.ByteBuffer)"><code>parseNext(ByteBuffer)</code></a> method. The parsed |
| elements of the HTTP message are passed as event calls to the |
| <a href="HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http"><code>HttpParser.HttpHandler</code></a> instance the parser is constructed with. |
| If the passed handler is a <a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http"><code>HttpParser.RequestHandler</code></a> then server side |
| parsing is performed and if it is a <a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http"><code>HttpParser.ResponseHandler</code></a>, then |
| client side parsing is done. |
| </p> |
| <p> |
| The contract of the <a href="HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http"><code>HttpParser.HttpHandler</code></a> API is that if a call returns |
| true then the call to <a href="#parseNext(java.nio.ByteBuffer)"><code>parseNext(ByteBuffer)</code></a> will return as |
| soon as possible also with a true response. Typically this indicates |
| that the parsing has reached a stage where the caller should process |
| the events accumulated by the handler. It is the preferred calling |
| style that handling such as calling a servlet to process a request, |
| should be done after a true return from <a href="#parseNext(java.nio.ByteBuffer)"><code>parseNext(ByteBuffer)</code></a> |
| rather than from within the scope of a call like |
| <a href="HttpParser.HttpHandler.html#messageComplete()"><code>HttpParser.HttpHandler.messageComplete()</code></a> |
| </p> |
| <p> |
| For performance, the parse is heavily dependent on the |
| <a href="../util/Index.html#getBest(java.nio.ByteBuffer,int,int)"><code>Index.getBest(ByteBuffer, int, int)</code></a> method to look ahead in a |
| single pass for both the structure ( : and CRLF ) and semantic (which |
| header and value) of a header. Specifically the static <a href="HttpHeader.html#CACHE"><code>HttpHeader.CACHE</code></a> |
| is used to lookup common combinations of headers and values |
| (eg. "Connection: close"), or just header names (eg. "Connection:" ). |
| For headers who's value is not known statically (eg. Host, COOKIE) then a |
| per parser dynamic Trie of <a href="HttpFields.html" title="interface in org.eclipse.jetty.http"><code>HttpFields</code></a> from previous parsed messages |
| is used to help the parsing of subsequent messages. |
| </p> |
| <p> |
| The parser can work in varying compliance modes: |
| <dl> |
| <dt>RFC7230</dt><dd>(default) Compliance with RFC7230</dd> |
| <dt>RFC2616</dt><dd>Wrapped headers and HTTP/0.9 supported</dd> |
| <dt>LEGACY</dt><dd>Adherence to Servlet Specification requirement for |
| exact case of header names, bypassing the header caches, which are case insensitive, |
| otherwise equivalent to RFC2616</dd> |
| </dl></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="http://tools.ietf.org/html/rfc7230">RFC 7230</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="HttpParser.FieldState.html" title="enum in org.eclipse.jetty.http">HttpParser.FieldState</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="HttpParser.State.html" title="enum in org.eclipse.jetty.http">HttpParser.State</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a><<a href="HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CACHE">CACHE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Cache of common <a href="HttpField.html" title="class in org.eclipse.jetty.http"><code>HttpField</code></a>s including: |
| Common static combinations such as: |
| Connection: close |
| Accept-Encoding: gzip |
| Content-Length: 0 |
| |
| Combinations of Content-Type header for common mime types by common charsets |
| Most common headers with null values so that a lookup will at least |
| determine the header name even if the name:value combination is not cached |
| </div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#INITIAL_URI_LENGTH">INITIAL_URI_LENGTH</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static org.slf4j.Logger</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LOG">LOG</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </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.http.HttpParser.RequestHandler)">HttpParser</a></span>​(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a> handler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.RequestHandler,int)">HttpParser</a></span>​(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a> handler, |
| int maxHeaderBytes)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.RequestHandler,int,org.eclipse.jetty.http.HttpCompliance)">HttpParser</a></span>​(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a> handler, |
| int maxHeaderBytes, |
| <a href="HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a> compliance)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.RequestHandler,org.eclipse.jetty.http.HttpCompliance)">HttpParser</a></span>​(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a> handler, |
| <a href="HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a> compliance)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.ResponseHandler)">HttpParser</a></span>​(<a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a> handler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.ResponseHandler,int)">HttpParser</a></span>​(<a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a> handler, |
| int maxHeaderBytes)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.ResponseHandler,int,org.eclipse.jetty.http.HttpCompliance)">HttpParser</a></span>​(<a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a> handler, |
| int maxHeaderBytes, |
| <a href="HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a> compliance)</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="#atEOF()">atEOF</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Signal that the associated data source is at EOF</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>protected 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="BadMessageException.html" title="class in org.eclipse.jetty.http">BadMessageException</a> x)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#caseInsensitiveHeader(java.lang.String,java.lang.String)">caseInsensitiveHeader</a></span>​(java.lang.String orig, |
| java.lang.String normative)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkViolation(org.eclipse.jetty.http.HttpCompliance.Violation)">checkViolation</a></span>​(<a href="HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a> violation)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#close()">close</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Request that the associated data source be closed</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getContentLength()">getContentLength</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getContentRead()">getContentRead</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a><<a href="HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFieldCache()">getFieldCache</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHandler()">getHandler</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHeaderCacheSize()">getHeaderCacheSize</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHeaderLength()">getHeaderLength</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="HttpParser.State.html" title="enum in org.eclipse.jetty.http">HttpParser.State</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getState()">getState</a></span>()</code></th> |
| <td class="colLast"> </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="#inContentState()">inContentState</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="#inHeaderState()">inHeaderState</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="#isAtEOF()">isAtEOF</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="#isChunking()">isChunking</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="#isClose()">isClose</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="#isClosed()">isClosed</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="#isComplete()">isComplete</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isHeaderCacheCaseSensitive()">isHeaderCacheCaseSensitive</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isIdle()">isIdle</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isStart()">isStart</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isState(org.eclipse.jetty.http.HttpParser.State)">isState</a></span>​(<a href="HttpParser.State.html" title="enum in org.eclipse.jetty.http">HttpParser.State</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isTerminated()">isTerminated</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parseContent(java.nio.ByteBuffer)">parseContent</a></span>​(java.nio.ByteBuffer buffer)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parseFields(java.nio.ByteBuffer)">parseFields</a></span>​(java.nio.ByteBuffer buffer)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parseNext(java.nio.ByteBuffer)">parseNext</a></span>​(java.nio.ByteBuffer buffer)</code></th> |
| <td class="colLast"> |
| <div class="block">Parse until next Event.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reportComplianceViolation(org.eclipse.jetty.http.HttpCompliance.Violation)">reportComplianceViolation</a></span>​(<a href="HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a> violation)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reportComplianceViolation(org.eclipse.jetty.http.HttpCompliance.Violation,java.lang.String)">reportComplianceViolation</a></span>​(<a href="HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a> violation, |
| java.lang.String reason)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reset()">reset</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i30" 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="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHeaderCacheCaseSensitive(boolean)">setHeaderCacheCaseSensitive</a></span>​(boolean headerCacheCaseSensitive)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHeaderCacheSize(int)">setHeaderCacheSize</a></span>​(int headerCacheSize)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHeadResponse(boolean)">setHeadResponse</a></span>​(boolean head)</code></th> |
| <td class="colLast"> |
| <div class="block">Set if a HEAD response is expected</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setResponseStatus(int)">setResponseStatus</a></span>​(int status)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setState(org.eclipse.jetty.http.HttpParser.FieldState)">setState</a></span>​(<a href="HttpParser.FieldState.html" title="enum in org.eclipse.jetty.http">HttpParser.FieldState</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setState(org.eclipse.jetty.http.HttpParser.State)">setState</a></span>​(<a href="HttpParser.State.html" title="enum in org.eclipse.jetty.http">HttpParser.State</a> state)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <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"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="LOG"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>LOG</h4> |
| <pre>public static final org.slf4j.Logger LOG</pre> |
| </li> |
| </ul> |
| <a id="INITIAL_URI_LENGTH"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>INITIAL_URI_LENGTH</h4> |
| <pre>public static final int INITIAL_URI_LENGTH</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.http.HttpParser.INITIAL_URI_LENGTH">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="CACHE"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>CACHE</h4> |
| <pre>public static final <a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a><<a href="HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a>> CACHE</pre> |
| <div class="block">Cache of common <a href="HttpField.html" title="class in org.eclipse.jetty.http"><code>HttpField</code></a>s including: <UL> |
| <LI>Common static combinations such as:<UL> |
| <li>Connection: close |
| <li>Accept-Encoding: gzip |
| <li>Content-Length: 0 |
| </ul> |
| <li>Combinations of Content-Type header for common mime types by common charsets |
| <li>Most common headers with null values so that a lookup will at least |
| determine the header name even if the name:value combination is not cached |
| </ul></div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>(org.eclipse.jetty.http.HttpParser.RequestHandler)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>HttpParser</h4> |
| <pre>public HttpParser​(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a> handler)</pre> |
| </li> |
| </ul> |
| <a id="<init>(org.eclipse.jetty.http.HttpParser.ResponseHandler)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>HttpParser</h4> |
| <pre>public HttpParser​(<a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a> handler)</pre> |
| </li> |
| </ul> |
| <a id="<init>(org.eclipse.jetty.http.HttpParser.RequestHandler,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>HttpParser</h4> |
| <pre>public HttpParser​(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a> handler, |
| int maxHeaderBytes)</pre> |
| </li> |
| </ul> |
| <a id="<init>(org.eclipse.jetty.http.HttpParser.ResponseHandler,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>HttpParser</h4> |
| <pre>public HttpParser​(<a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a> handler, |
| int maxHeaderBytes)</pre> |
| </li> |
| </ul> |
| <a id="<init>(org.eclipse.jetty.http.HttpParser.RequestHandler,org.eclipse.jetty.http.HttpCompliance)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>HttpParser</h4> |
| <pre>public HttpParser​(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a> handler, |
| <a href="HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a> compliance)</pre> |
| </li> |
| </ul> |
| <a id="<init>(org.eclipse.jetty.http.HttpParser.RequestHandler,int,org.eclipse.jetty.http.HttpCompliance)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>HttpParser</h4> |
| <pre>public HttpParser​(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a> handler, |
| int maxHeaderBytes, |
| <a href="HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a> compliance)</pre> |
| </li> |
| </ul> |
| <a id="<init>(org.eclipse.jetty.http.HttpParser.ResponseHandler,int,org.eclipse.jetty.http.HttpCompliance)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>HttpParser</h4> |
| <pre>public HttpParser​(<a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a> handler, |
| int maxHeaderBytes, |
| <a href="HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a> compliance)</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="getHandler()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHandler</h4> |
| <pre class="methodSignature">public <a href="HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a> getHandler()</pre> |
| </li> |
| </ul> |
| <a id="getHeaderCacheSize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHeaderCacheSize</h4> |
| <pre class="methodSignature">public int getHeaderCacheSize()</pre> |
| </li> |
| </ul> |
| <a id="setHeaderCacheSize(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setHeaderCacheSize</h4> |
| <pre class="methodSignature">public void setHeaderCacheSize​(int headerCacheSize)</pre> |
| </li> |
| </ul> |
| <a id="isHeaderCacheCaseSensitive()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isHeaderCacheCaseSensitive</h4> |
| <pre class="methodSignature">public boolean isHeaderCacheCaseSensitive()</pre> |
| </li> |
| </ul> |
| <a id="setHeaderCacheCaseSensitive(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setHeaderCacheCaseSensitive</h4> |
| <pre class="methodSignature">public void setHeaderCacheCaseSensitive​(boolean headerCacheCaseSensitive)</pre> |
| </li> |
| </ul> |
| <a id="checkViolation(org.eclipse.jetty.http.HttpCompliance.Violation)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkViolation</h4> |
| <pre class="methodSignature">protected void checkViolation​(<a href="HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a> violation) |
| throws <a href="BadMessageException.html" title="class in org.eclipse.jetty.http">BadMessageException</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="BadMessageException.html" title="class in org.eclipse.jetty.http">BadMessageException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="reportComplianceViolation(org.eclipse.jetty.http.HttpCompliance.Violation)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reportComplianceViolation</h4> |
| <pre class="methodSignature">protected void reportComplianceViolation​(<a href="HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a> violation)</pre> |
| </li> |
| </ul> |
| <a id="reportComplianceViolation(org.eclipse.jetty.http.HttpCompliance.Violation,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reportComplianceViolation</h4> |
| <pre class="methodSignature">protected void reportComplianceViolation​(<a href="HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a> violation, |
| java.lang.String reason)</pre> |
| </li> |
| </ul> |
| <a id="caseInsensitiveHeader(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caseInsensitiveHeader</h4> |
| <pre class="methodSignature">protected java.lang.String caseInsensitiveHeader​(java.lang.String orig, |
| java.lang.String normative)</pre> |
| </li> |
| </ul> |
| <a id="getContentLength()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentLength</h4> |
| <pre class="methodSignature">public long getContentLength()</pre> |
| </li> |
| </ul> |
| <a id="getContentRead()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContentRead</h4> |
| <pre class="methodSignature">public long getContentRead()</pre> |
| </li> |
| </ul> |
| <a id="getHeaderLength()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHeaderLength</h4> |
| <pre class="methodSignature">public int getHeaderLength()</pre> |
| </li> |
| </ul> |
| <a id="setHeadResponse(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setHeadResponse</h4> |
| <pre class="methodSignature">public void setHeadResponse​(boolean head)</pre> |
| <div class="block">Set if a HEAD response is expected</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>head</code> - true if head response is expected</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setResponseStatus(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setResponseStatus</h4> |
| <pre class="methodSignature">protected void setResponseStatus​(int status)</pre> |
| </li> |
| </ul> |
| <a id="getState()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getState</h4> |
| <pre class="methodSignature">public <a href="HttpParser.State.html" title="enum in org.eclipse.jetty.http">HttpParser.State</a> getState()</pre> |
| </li> |
| </ul> |
| <a id="inContentState()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inContentState</h4> |
| <pre class="methodSignature">public boolean inContentState()</pre> |
| </li> |
| </ul> |
| <a id="inHeaderState()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inHeaderState</h4> |
| <pre class="methodSignature">public boolean inHeaderState()</pre> |
| </li> |
| </ul> |
| <a id="isChunking()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isChunking</h4> |
| <pre class="methodSignature">public boolean isChunking()</pre> |
| </li> |
| </ul> |
| <a id="isStart()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isStart</h4> |
| <pre class="methodSignature">public boolean isStart()</pre> |
| </li> |
| </ul> |
| <a id="isClose()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isClose</h4> |
| <pre class="methodSignature">public boolean isClose()</pre> |
| </li> |
| </ul> |
| <a id="isClosed()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isClosed</h4> |
| <pre class="methodSignature">public boolean isClosed()</pre> |
| </li> |
| </ul> |
| <a id="isIdle()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isIdle</h4> |
| <pre class="methodSignature">public boolean isIdle()</pre> |
| </li> |
| </ul> |
| <a id="isComplete()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isComplete</h4> |
| <pre class="methodSignature">public boolean isComplete()</pre> |
| </li> |
| </ul> |
| <a id="isTerminated()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isTerminated</h4> |
| <pre class="methodSignature">public boolean isTerminated()</pre> |
| </li> |
| </ul> |
| <a id="isState(org.eclipse.jetty.http.HttpParser.State)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isState</h4> |
| <pre class="methodSignature">public boolean isState​(<a href="HttpParser.State.html" title="enum in org.eclipse.jetty.http">HttpParser.State</a> state)</pre> |
| </li> |
| </ul> |
| <a id="parseFields(java.nio.ByteBuffer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>parseFields</h4> |
| <pre class="methodSignature">protected boolean parseFields​(java.nio.ByteBuffer buffer)</pre> |
| </li> |
| </ul> |
| <a id="parseNext(java.nio.ByteBuffer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>parseNext</h4> |
| <pre class="methodSignature">public boolean parseNext​(java.nio.ByteBuffer buffer)</pre> |
| <div class="block">Parse until next Event.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>buffer</code> - the buffer to parse</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if an <a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http"><code>HttpParser.RequestHandler</code></a> method was called and it returned true;</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">protected void badMessage​(<a href="BadMessageException.html" title="class in org.eclipse.jetty.http">BadMessageException</a> x)</pre> |
| </li> |
| </ul> |
| <a id="parseContent(java.nio.ByteBuffer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>parseContent</h4> |
| <pre class="methodSignature">protected boolean parseContent​(java.nio.ByteBuffer buffer)</pre> |
| </li> |
| </ul> |
| <a id="isAtEOF()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAtEOF</h4> |
| <pre class="methodSignature">public boolean isAtEOF()</pre> |
| </li> |
| </ul> |
| <a id="atEOF()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>atEOF</h4> |
| <pre class="methodSignature">public void atEOF()</pre> |
| <div class="block">Signal that the associated data source is at EOF</div> |
| </li> |
| </ul> |
| <a id="close()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre class="methodSignature">public void close()</pre> |
| <div class="block">Request that the associated data source be closed</div> |
| </li> |
| </ul> |
| <a id="reset()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reset</h4> |
| <pre class="methodSignature">public void reset()</pre> |
| </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="setState(org.eclipse.jetty.http.HttpParser.State)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setState</h4> |
| <pre class="methodSignature">protected void setState​(<a href="HttpParser.State.html" title="enum in org.eclipse.jetty.http">HttpParser.State</a> state)</pre> |
| </li> |
| </ul> |
| <a id="setState(org.eclipse.jetty.http.HttpParser.FieldState)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setState</h4> |
| <pre class="methodSignature">protected void setState​(<a href="HttpParser.FieldState.html" title="enum in org.eclipse.jetty.http">HttpParser.FieldState</a> state)</pre> |
| </li> |
| </ul> |
| <a id="getFieldCache()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFieldCache</h4> |
| <pre class="methodSignature">public <a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a><<a href="HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a>> getFieldCache()</pre> |
| </li> |
| </ul> |
| <a id="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre class="methodSignature">public java.lang.String toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>toString</code> in class <code>java.lang.Object</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/HttpParser.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 1995–2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |