blob: 72a9cc62f9a25ccd555b83dbcb5d09d1627b0e12 [file] [log] [blame]
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) on Thu Sep 15 14:12:07 CDT 2022 -->
<title>HttpParser (Eclipse Jetty API Doc - v10.0.12)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-09-15">
<meta name="description" content="declaration: package: org.eclipse.jetty.http, class: HttpParser">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
var pathtoroot = "../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">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#class">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li><a href="#nested-class-summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li><a href="#field-detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li>
</ul>
</div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.eclipse.jetty.http</a></div>
<h1 title="Class HttpParser" class="title">Class HttpParser</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance">org.eclipse.jetty.http.HttpParser</div>
</div>
<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">HttpParser</span>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div>
<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 class="notes">
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="http://tools.ietf.org/html/rfc7230">RFC 7230</a></li>
</ul>
</dd>
</dl>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<li>
<section class="nested-class-summary" id="nested-class-summary">
<h2>Nested Class Summary</h2>
<div class="caption"><span>Nested Classes</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Class</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>static enum&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="HttpParser.FieldState.html" class="type-name-link" title="enum in org.eclipse.jetty.http">HttpParser.FieldState</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>static interface&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="HttpParser.HttpHandler.html" class="type-name-link" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>static interface&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="HttpParser.RequestHandler.html" class="type-name-link" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>static interface&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="HttpParser.ResponseHandler.html" class="type-name-link" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>static enum&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="HttpParser.State.html" class="type-name-link" title="enum in org.eclipse.jetty.http">HttpParser.State</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<!-- =========== FIELD SUMMARY =========== -->
<li>
<section class="field-summary" id="field-summary">
<h2>Field Summary</h2>
<div class="caption"><span>Fields</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>static final <a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a>&lt;<a href="HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a>&gt;</code></div>
<div class="col-second even-row-color"><code><a href="#CACHE" class="member-name-link">CACHE</a></code></div>
<div class="col-last even-row-color">
<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>
</div>
<div class="col-first odd-row-color"><code>static final int</code></div>
<div class="col-second odd-row-color"><code><a href="#INITIAL_URI_LENGTH" class="member-name-link">INITIAL_URI_LENGTH</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>static final org.slf4j.Logger</code></div>
<div class="col-second even-row-color"><code><a href="#LOG" class="member-name-link">LOG</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.RequestHandler)" class="member-name-link">HttpParser</a><wbr>(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a>&nbsp;handler)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.RequestHandler,int)" class="member-name-link">HttpParser</a><wbr>(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a>&nbsp;handler,
int&nbsp;maxHeaderBytes)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.RequestHandler,int,org.eclipse.jetty.http.HttpCompliance)" class="member-name-link">HttpParser</a><wbr>(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a>&nbsp;handler,
int&nbsp;maxHeaderBytes,
<a href="HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a>&nbsp;compliance)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.RequestHandler,org.eclipse.jetty.http.HttpCompliance)" class="member-name-link">HttpParser</a><wbr>(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a>&nbsp;handler,
<a href="HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a>&nbsp;compliance)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.ResponseHandler)" class="member-name-link">HttpParser</a><wbr>(<a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a>&nbsp;handler)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.ResponseHandler,int)" class="member-name-link">HttpParser</a><wbr>(<a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a>&nbsp;handler,
int&nbsp;maxHeaderBytes)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.ResponseHandler,int,org.eclipse.jetty.http.HttpCompliance)" class="member-name-link">HttpParser</a><wbr>(<a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a>&nbsp;handler,
int&nbsp;maxHeaderBytes,
<a href="HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a>&nbsp;compliance)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#atEOF()" class="member-name-link">atEOF</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Signal that the associated data source is at EOF</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#badMessage(org.eclipse.jetty.http.BadMessageException)" class="member-name-link">badMessage</a><wbr>(<a href="BadMessageException.html" title="class in org.eclipse.jetty.http">BadMessageException</a>&nbsp;x)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#caseInsensitiveHeader(java.lang.String,java.lang.String)" class="member-name-link">caseInsensitiveHeader</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;orig,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;normative)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#checkViolation(org.eclipse.jetty.http.HttpCompliance.Violation)" class="member-name-link">checkViolation</a><wbr>(<a href="HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a>&nbsp;violation)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#close()" class="member-name-link">close</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Request that the associated data source be closed</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getContentLength()" class="member-name-link">getContentLength</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getContentRead()" class="member-name-link">getContentRead</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a>&lt;<a href="HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFieldCache()" class="member-name-link">getFieldCache</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getHandler()" class="member-name-link">getHandler</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getHeaderCacheSize()" class="member-name-link">getHeaderCacheSize</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getHeaderLength()" class="member-name-link">getHeaderLength</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="HttpParser.State.html" title="enum in org.eclipse.jetty.http">HttpParser.State</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getState()" class="member-name-link">getState</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#inContentState()" class="member-name-link">inContentState</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#inHeaderState()" class="member-name-link">inHeaderState</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isAtEOF()" class="member-name-link">isAtEOF</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isChunking()" class="member-name-link">isChunking</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isClose()" class="member-name-link">isClose</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isClosed()" class="member-name-link">isClosed</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isComplete()" class="member-name-link">isComplete</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isHeaderCacheCaseSensitive()" class="member-name-link">isHeaderCacheCaseSensitive</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isIdle()" class="member-name-link">isIdle</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isStart()" class="member-name-link">isStart</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isState(org.eclipse.jetty.http.HttpParser.State)" class="member-name-link">isState</a><wbr>(<a href="HttpParser.State.html" title="enum in org.eclipse.jetty.http">HttpParser.State</a>&nbsp;state)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isTerminated()" class="member-name-link">isTerminated</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#parseContent(java.nio.ByteBuffer)" class="member-name-link">parseContent</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>&nbsp;buffer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#parseFields(java.nio.ByteBuffer)" class="member-name-link">parseFields</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>&nbsp;buffer)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#parseNext(java.nio.ByteBuffer)" class="member-name-link">parseNext</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>&nbsp;buffer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Parse until next Event.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#reportComplianceViolation(org.eclipse.jetty.http.HttpCompliance.Violation)" class="member-name-link">reportComplianceViolation</a><wbr>(<a href="HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a>&nbsp;violation)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#reportComplianceViolation(org.eclipse.jetty.http.HttpCompliance.Violation,java.lang.String)" class="member-name-link">reportComplianceViolation</a><wbr>(<a href="HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a>&nbsp;violation,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;reason)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#reset()" class="member-name-link">reset</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#servletUpgrade()" class="member-name-link">servletUpgrade</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setHeaderCacheCaseSensitive(boolean)" class="member-name-link">setHeaderCacheCaseSensitive</a><wbr>(boolean&nbsp;headerCacheCaseSensitive)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setHeaderCacheSize(int)" class="member-name-link">setHeaderCacheSize</a><wbr>(int&nbsp;headerCacheSize)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setHeadResponse(boolean)" class="member-name-link">setHeadResponse</a><wbr>(boolean&nbsp;head)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Set if a HEAD response is expected</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setResponseStatus(int)" class="member-name-link">setResponseStatus</a><wbr>(int&nbsp;status)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setState(org.eclipse.jetty.http.HttpParser.FieldState)" class="member-name-link">setState</a><wbr>(<a href="HttpParser.FieldState.html" title="enum in org.eclipse.jetty.http">HttpParser.FieldState</a>&nbsp;state)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setState(org.eclipse.jetty.http.HttpParser.State)" class="member-name-link">setState</a><wbr>(<a href="HttpParser.State.html" title="enum in org.eclipse.jetty.http">HttpParser.State</a>&nbsp;state)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toString()" class="member-name-link">toString</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<section class="field-details" id="field-detail">
<h2>Field Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="LOG">
<h3>LOG</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">org.slf4j.Logger</span>&nbsp;<span class="element-name">LOG</span></div>
</section>
</li>
<li>
<section class="detail" id="INITIAL_URI_LENGTH">
<h3>INITIAL_URI_LENGTH</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">INITIAL_URI_LENGTH</span></div>
<dl class="notes">
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="../../../../constant-values.html#org.eclipse.jetty.http.HttpParser.INITIAL_URI_LENGTH">Constant Field Values</a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="CACHE">
<h3>CACHE</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a>&lt;<a href="HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a>&gt;</span>&nbsp;<span class="element-name">CACHE</span></div>
<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>
</section>
</li>
</ul>
</section>
</li>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li>
<section class="constructor-details" id="constructor-detail">
<h2>Constructor Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;(org.eclipse.jetty.http.HttpParser.RequestHandler)">
<h3>HttpParser</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">HttpParser</span><wbr><span class="parameters">(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a>&nbsp;handler)</span></div>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(org.eclipse.jetty.http.HttpParser.ResponseHandler)">
<h3>HttpParser</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">HttpParser</span><wbr><span class="parameters">(<a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a>&nbsp;handler)</span></div>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(org.eclipse.jetty.http.HttpParser.RequestHandler,int)">
<h3>HttpParser</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">HttpParser</span><wbr><span class="parameters">(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a>&nbsp;handler,
int&nbsp;maxHeaderBytes)</span></div>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(org.eclipse.jetty.http.HttpParser.ResponseHandler,int)">
<h3>HttpParser</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">HttpParser</span><wbr><span class="parameters">(<a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a>&nbsp;handler,
int&nbsp;maxHeaderBytes)</span></div>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(org.eclipse.jetty.http.HttpParser.RequestHandler,org.eclipse.jetty.http.HttpCompliance)">
<h3>HttpParser</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">HttpParser</span><wbr><span class="parameters">(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a>&nbsp;handler,
<a href="HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a>&nbsp;compliance)</span></div>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(org.eclipse.jetty.http.HttpParser.RequestHandler,int,org.eclipse.jetty.http.HttpCompliance)">
<h3>HttpParser</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">HttpParser</span><wbr><span class="parameters">(<a href="HttpParser.RequestHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.RequestHandler</a>&nbsp;handler,
int&nbsp;maxHeaderBytes,
<a href="HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a>&nbsp;compliance)</span></div>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(org.eclipse.jetty.http.HttpParser.ResponseHandler,int,org.eclipse.jetty.http.HttpCompliance)">
<h3>HttpParser</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">HttpParser</span><wbr><span class="parameters">(<a href="HttpParser.ResponseHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.ResponseHandler</a>&nbsp;handler,
int&nbsp;maxHeaderBytes,
<a href="HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a>&nbsp;compliance)</span></div>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="getHandler()">
<h3>getHandler</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="HttpParser.HttpHandler.html" title="interface in org.eclipse.jetty.http">HttpParser.HttpHandler</a></span>&nbsp;<span class="element-name">getHandler</span>()</div>
</section>
</li>
<li>
<section class="detail" id="getHeaderCacheSize()">
<h3>getHeaderCacheSize</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getHeaderCacheSize</span>()</div>
</section>
</li>
<li>
<section class="detail" id="setHeaderCacheSize(int)">
<h3>setHeaderCacheSize</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setHeaderCacheSize</span><wbr><span class="parameters">(int&nbsp;headerCacheSize)</span></div>
</section>
</li>
<li>
<section class="detail" id="isHeaderCacheCaseSensitive()">
<h3>isHeaderCacheCaseSensitive</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isHeaderCacheCaseSensitive</span>()</div>
</section>
</li>
<li>
<section class="detail" id="setHeaderCacheCaseSensitive(boolean)">
<h3>setHeaderCacheCaseSensitive</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setHeaderCacheCaseSensitive</span><wbr><span class="parameters">(boolean&nbsp;headerCacheCaseSensitive)</span></div>
</section>
</li>
<li>
<section class="detail" id="checkViolation(org.eclipse.jetty.http.HttpCompliance.Violation)">
<h3>checkViolation</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">checkViolation</span><wbr><span class="parameters">(<a href="HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a>&nbsp;violation)</span>
throws <span class="exceptions"><a href="BadMessageException.html" title="class in org.eclipse.jetty.http">BadMessageException</a></span></div>
<dl class="notes">
<dt>Throws:</dt>
<dd><code><a href="BadMessageException.html" title="class in org.eclipse.jetty.http">BadMessageException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="reportComplianceViolation(org.eclipse.jetty.http.HttpCompliance.Violation)">
<h3>reportComplianceViolation</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">reportComplianceViolation</span><wbr><span class="parameters">(<a href="HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a>&nbsp;violation)</span></div>
</section>
</li>
<li>
<section class="detail" id="reportComplianceViolation(org.eclipse.jetty.http.HttpCompliance.Violation,java.lang.String)">
<h3>reportComplianceViolation</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">reportComplianceViolation</span><wbr><span class="parameters">(<a href="HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a>&nbsp;violation,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;reason)</span></div>
</section>
</li>
<li>
<section class="detail" id="caseInsensitiveHeader(java.lang.String,java.lang.String)">
<h3>caseInsensitiveHeader</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">caseInsensitiveHeader</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;orig,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;normative)</span></div>
</section>
</li>
<li>
<section class="detail" id="getContentLength()">
<h3>getContentLength</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">getContentLength</span>()</div>
</section>
</li>
<li>
<section class="detail" id="getContentRead()">
<h3>getContentRead</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">getContentRead</span>()</div>
</section>
</li>
<li>
<section class="detail" id="getHeaderLength()">
<h3>getHeaderLength</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getHeaderLength</span>()</div>
</section>
</li>
<li>
<section class="detail" id="setHeadResponse(boolean)">
<h3>setHeadResponse</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setHeadResponse</span><wbr><span class="parameters">(boolean&nbsp;head)</span></div>
<div class="block">Set if a HEAD response is expected</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>head</code> - true if head response is expected</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setResponseStatus(int)">
<h3>setResponseStatus</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setResponseStatus</span><wbr><span class="parameters">(int&nbsp;status)</span></div>
</section>
</li>
<li>
<section class="detail" id="getState()">
<h3>getState</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="HttpParser.State.html" title="enum in org.eclipse.jetty.http">HttpParser.State</a></span>&nbsp;<span class="element-name">getState</span>()</div>
</section>
</li>
<li>
<section class="detail" id="inContentState()">
<h3>inContentState</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">inContentState</span>()</div>
</section>
</li>
<li>
<section class="detail" id="inHeaderState()">
<h3>inHeaderState</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">inHeaderState</span>()</div>
</section>
</li>
<li>
<section class="detail" id="isChunking()">
<h3>isChunking</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isChunking</span>()</div>
</section>
</li>
<li>
<section class="detail" id="isStart()">
<h3>isStart</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isStart</span>()</div>
</section>
</li>
<li>
<section class="detail" id="isClose()">
<h3>isClose</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isClose</span>()</div>
</section>
</li>
<li>
<section class="detail" id="isClosed()">
<h3>isClosed</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isClosed</span>()</div>
</section>
</li>
<li>
<section class="detail" id="isIdle()">
<h3>isIdle</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isIdle</span>()</div>
</section>
</li>
<li>
<section class="detail" id="isComplete()">
<h3>isComplete</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isComplete</span>()</div>
</section>
</li>
<li>
<section class="detail" id="isTerminated()">
<h3>isTerminated</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isTerminated</span>()</div>
</section>
</li>
<li>
<section class="detail" id="isState(org.eclipse.jetty.http.HttpParser.State)">
<h3>isState</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isState</span><wbr><span class="parameters">(<a href="HttpParser.State.html" title="enum in org.eclipse.jetty.http">HttpParser.State</a>&nbsp;state)</span></div>
</section>
</li>
<li>
<section class="detail" id="parseFields(java.nio.ByteBuffer)">
<h3>parseFields</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">parseFields</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>&nbsp;buffer)</span></div>
</section>
</li>
<li>
<section class="detail" id="parseNext(java.nio.ByteBuffer)">
<h3>parseNext</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">parseNext</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>&nbsp;buffer)</span></div>
<div class="block">Parse until next Event.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>buffer</code> - the buffer to parse</dd>
<dt>Returns:</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>
</section>
</li>
<li>
<section class="detail" id="badMessage(org.eclipse.jetty.http.BadMessageException)">
<h3>badMessage</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">badMessage</span><wbr><span class="parameters">(<a href="BadMessageException.html" title="class in org.eclipse.jetty.http">BadMessageException</a>&nbsp;x)</span></div>
</section>
</li>
<li>
<section class="detail" id="parseContent(java.nio.ByteBuffer)">
<h3>parseContent</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">parseContent</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a>&nbsp;buffer)</span></div>
</section>
</li>
<li>
<section class="detail" id="isAtEOF()">
<h3>isAtEOF</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isAtEOF</span>()</div>
</section>
</li>
<li>
<section class="detail" id="atEOF()">
<h3>atEOF</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">atEOF</span>()</div>
<div class="block">Signal that the associated data source is at EOF</div>
</section>
</li>
<li>
<section class="detail" id="close()">
<h3>close</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">close</span>()</div>
<div class="block">Request that the associated data source be closed</div>
</section>
</li>
<li>
<section class="detail" id="reset()">
<h3>reset</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">reset</span>()</div>
</section>
</li>
<li>
<section class="detail" id="servletUpgrade()">
<h3>servletUpgrade</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">servletUpgrade</span>()</div>
</section>
</li>
<li>
<section class="detail" id="setState(org.eclipse.jetty.http.HttpParser.State)">
<h3>setState</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setState</span><wbr><span class="parameters">(<a href="HttpParser.State.html" title="enum in org.eclipse.jetty.http">HttpParser.State</a>&nbsp;state)</span></div>
</section>
</li>
<li>
<section class="detail" id="setState(org.eclipse.jetty.http.HttpParser.FieldState)">
<h3>setState</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setState</span><wbr><span class="parameters">(<a href="HttpParser.FieldState.html" title="enum in org.eclipse.jetty.http">HttpParser.FieldState</a>&nbsp;state)</span></div>
</section>
</li>
<li>
<section class="detail" id="getFieldCache()">
<h3>getFieldCache</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../util/Index.html" title="interface in org.eclipse.jetty.util">Index</a>&lt;<a href="HttpField.html" title="class in org.eclipse.jetty.http">HttpField</a>&gt;</span>&nbsp;<span class="element-name">getFieldCache</span>()</div>
</section>
</li>
<li>
<section class="detail" id="toString()">
<h3>toString</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">toString</span>()</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small>Copyright &#169; 1995&#x2013;2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>