blob: c58ba5b73c09a23b3df1bf296a9e6329eb3b7d32 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.14.1) on Mon Apr 04 09:09:38 CDT 2022 -->
<title>Uses of Class org.eclipse.jetty.http.HttpCompliance (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="Uses of Class org.eclipse.jetty.http.HttpCompliance (Eclipse Jetty API Doc - v10.0.9)";
}
}
catch(err) {
}
//-->
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><a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">Class</a></li>
<li class="navBarCell1Rev">Use</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&nbsp;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>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<h2 title="Uses of Class org.eclipse.jetty.http.HttpCompliance" class="title">Uses of Class<br>org.eclipse.jetty.http.HttpCompliance</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary">
<caption><span>Packages that use <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.client">org.eclipse.jetty.client</a></th>
<td class="colLast">
<div class="block">Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.http">org.eclipse.jetty.http</a></th>
<td class="colLast">
<div class="block">Jetty Http : Tools for Http processing</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.eclipse.jetty.server">org.eclipse.jetty.server</a></th>
<td class="colLast">
<div class="block">Jetty Server : Core Server API</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.client">
<!-- -->
</a>
<h3>Uses of <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a> in <a href="../../client/package-summary.html">org.eclipse.jetty.client</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../client/package-summary.html">org.eclipse.jetty.client</a> that return <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpClient.</span><code><span class="memberNameLink"><a href="../../client/HttpClient.html#getHttpCompliance()">getHttpCompliance</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the http compliance mode for parsing http responses.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../../client/package-summary.html">org.eclipse.jetty.client</a> with parameters of type <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpClient.</span><code><span class="memberNameLink"><a href="../../client/HttpClient.html#setHttpCompliance(org.eclipse.jetty.http.HttpCompliance)">setHttpCompliance</a></span>&#8203;(<a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a>&nbsp;httpCompliance)</code></th>
<td class="colLast">
<div class="block">Sets the http compliance mode for parsing http responses.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.http">
<!-- -->
</a>
<h3>Uses of <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a> in <a href="../package-summary.html">org.eclipse.jetty.http</a></h3>
<table class="useSummary">
<caption><span>Fields in <a href="../package-summary.html">org.eclipse.jetty.http</a> declared as <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpCompliance.</span><code><span class="memberNameLink"><a href="../HttpCompliance.html#LEGACY">LEGACY</a></span></code></th>
<td class="colLast">
<div class="block">A legacy HttpCompliance mode that allows all violations except case-insensitive methods.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpCompliance.</span><code><span class="memberNameLink"><a href="../HttpCompliance.html#RFC2616">RFC2616</a></span></code></th>
<td class="colLast">
<div class="block">The HttpCompliance mode that supports <a href="https://tools.ietf.org/html/rfc2616">RFC 7230</a>
with only the violations that differ from <a href="../HttpCompliance.html#RFC7230"><code>RFC7230</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpCompliance.</span><code><span class="memberNameLink"><a href="../HttpCompliance.html#RFC2616_LEGACY">RFC2616_LEGACY</a></span></code></th>
<td class="colLast">
<div class="block">A legacy HttpCompliance mode that supports <a href="../HttpCompliance.html#RFC2616"><code>RFC2616</code></a>, but that also allows: case-insensitive methods;
colons after field names; <code>Transfer-Encoding</code> with <code>Content-Length</code> fields; and multiple <code>Content-Length</code> values.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpCompliance.</span><code><span class="memberNameLink"><a href="../HttpCompliance.html#RFC7230">RFC7230</a></span></code></th>
<td class="colLast">
<div class="block">The HttpCompliance mode that supports <a href="https://tools.ietf.org/html/rfc7230">RFC 7230</a>
with no known violations.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpCompliance.</span><code><span class="memberNameLink"><a href="../HttpCompliance.html#RFC7230_LEGACY">RFC7230_LEGACY</a></span></code></th>
<td class="colLast">
<div class="block">A legacy HttpCompliance mode that supports <a href="../HttpCompliance.html#RFC7230"><code>RFC7230</code></a>, but with case-insensitive methods allowed.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">org.eclipse.jetty.http</a> that return <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpCompliance.</span><code><span class="memberNameLink"><a href="../HttpCompliance.html#from(java.lang.String)">from</a></span>&#8203;(java.lang.String&nbsp;spec)</code></th>
<td class="colLast">
<div class="block">Create compliance mode from a String description.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpCompliance.</span><code><span class="memberNameLink"><a href="../HttpCompliance.html#valueOf(java.lang.String)">valueOf</a></span>&#8203;(java.lang.String&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Get a known compliance mode by name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpCompliance.</span><code><span class="memberNameLink"><a href="../HttpCompliance.html#with(java.lang.String,org.eclipse.jetty.http.HttpCompliance.Violation...)">with</a></span>&#8203;(java.lang.String&nbsp;name,
<a href="../HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a>...&nbsp;violations)</code></th>
<td class="colLast">
<div class="block">Create a new HttpCompliance mode that includes the passed <a href="../HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http"><code>HttpCompliance.Violation</code></a>s.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpCompliance.</span><code><span class="memberNameLink"><a href="../HttpCompliance.html#without(java.lang.String,org.eclipse.jetty.http.HttpCompliance.Violation...)">without</a></span>&#8203;(java.lang.String&nbsp;name,
<a href="../HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http">HttpCompliance.Violation</a>...&nbsp;violations)</code></th>
<td class="colLast">
<div class="block">Create a new HttpCompliance mode that excludes the passed <a href="../HttpCompliance.Violation.html" title="enum in org.eclipse.jetty.http"><code>HttpCompliance.Violation</code></a>s.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Constructors in <a href="../package-summary.html">org.eclipse.jetty.http</a> with parameters of type <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../HttpParser.html#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.RequestHandler,int,org.eclipse.jetty.http.HttpCompliance)">HttpParser</a></span>&#8203;(<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></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../HttpParser.html#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.RequestHandler,org.eclipse.jetty.http.HttpCompliance)">HttpParser</a></span>&#8203;(<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></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../HttpParser.html#%3Cinit%3E(org.eclipse.jetty.http.HttpParser.ResponseHandler,int,org.eclipse.jetty.http.HttpCompliance)">HttpParser</a></span>&#8203;(<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></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.server">
<!-- -->
</a>
<h3>Uses of <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a> in <a href="../../server/package-summary.html">org.eclipse.jetty.server</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../server/package-summary.html">org.eclipse.jetty.server</a> that return <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpConfiguration.</span><code><span class="memberNameLink"><a href="../../server/HttpConfiguration.html#getHttpCompliance()">getHttpCompliance</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../../server/package-summary.html">org.eclipse.jetty.server</a> with parameters of type <a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../HttpParser.html" title="class in org.eclipse.jetty.http">HttpParser</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpConnection.</span><code><span class="memberNameLink"><a href="../../server/HttpConnection.html#newHttpParser(org.eclipse.jetty.http.HttpCompliance)">newHttpParser</a></span>&#8203;(<a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a>&nbsp;compliance)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpConfiguration.</span><code><span class="memberNameLink"><a href="../../server/HttpConfiguration.html#setHttpCompliance(org.eclipse.jetty.http.HttpCompliance)">setHttpCompliance</a></span>&#8203;(<a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">HttpCompliance</a>&nbsp;httpCompliance)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
</ul>
</li>
</ul>
</div>
</main>
<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><a href="../HttpCompliance.html" title="class in org.eclipse.jetty.http">Class</a></li>
<li class="navBarCell1Rev">Use</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&nbsp;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>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 1995&#x2013;2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>