blob: 33ee274d627c56d0e042baad33daf4daf9d8d9a6 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.11) on Fri Oct 01 11:33:56 CDT 2021 -->
<title>HttpCompliance (Jetty :: Project 9.4.44.v20210927 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-10-01">
<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="HttpCompliance (Jetty :: Project 9.4.44.v20210927 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":9,"i1":9,"i2":10,"i3":9,"i4":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static 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 = false;
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/HttpCompliance.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&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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</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">&nbsp;</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>&nbsp;<a href="package-summary.html">org.eclipse.jetty.http</a></div>
<h2 title="Enum HttpCompliance" class="title">Enum HttpCompliance</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Enum&lt;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a>&gt;</li>
<li>
<ul class="inheritance">
<li>org.eclipse.jetty.http.HttpCompliance</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>java.io.Serializable</code>, <code>java.lang.Comparable&lt;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a>&gt;</code></dd>
</dl>
<hr>
<pre>public enum <span class="typeNameLabel">HttpCompliance</span>
extends java.lang.Enum&lt;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a>&gt;</pre>
<div class="block">HTTP compliance modes for Jetty HTTP parsing and handling.
A Compliance mode consists of a set of <a href="HttpComplianceSection.html" title="enum in org.eclipse.jetty.http"><code>HttpComplianceSection</code></a>s which are applied
when the mode is enabled.
<p>
Currently the set of modes is an enum and cannot be dynamically extended, but future major releases may convert this
to a class. To modify modes there are four custom modes that can be modified by setting the property
<code>org.eclipse.jetty.http.HttpCompliance.CUSTOMn</code> (where 'n' is '0', '1', '2' or '3'), to a comma separated
list of sections. The list should start with one of the following strings:<dl>
<dt>0</dt><dd>No <a href="HttpComplianceSection.html" title="enum in org.eclipse.jetty.http"><code>HttpComplianceSection</code></a>s</dd>
<dt>*</dt><dd>All <a href="HttpComplianceSection.html" title="enum in org.eclipse.jetty.http"><code>HttpComplianceSection</code></a>s</dd>
<dt>RFC2616</dt><dd>The set of <a href="HttpComplianceSection.html" title="enum in org.eclipse.jetty.http"><code>HttpComplianceSection</code></a>s application to https://tools.ietf.org/html/rfc2616,
but not https://tools.ietf.org/html/rfc7230</dd>
<dt>RFC7230</dt><dd>The set of <a href="HttpComplianceSection.html" title="enum in org.eclipse.jetty.http"><code>HttpComplianceSection</code></a>s application to https://tools.ietf.org/html/rfc7230</dd>
</dl>
The remainder of the list can contain then names of <a href="HttpComplianceSection.html" title="enum in org.eclipse.jetty.http"><code>HttpComplianceSection</code></a>s to include them in the mode, or prefixed
with a '-' to exclude thm from the mode. Note that Jetty's modes may have some historic minor differences from the strict
RFC compliance, for example the <code>RFC2616_LEGACY</code> HttpCompliance is defined as
<code>RFC2616,-FIELD_COLON,-METHOD_CASE_SENSITIVE</code>.
<p>
Note also that the <code>EnumSet</code> return by <a href="#sections()"><code>sections()</code></a> is mutable, so that modes may
be altered in code and will affect all usages of the mode.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Enum Constant</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#CUSTOM0">CUSTOM0</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#CUSTOM1">CUSTOM1</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#CUSTOM2">CUSTOM2</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#CUSTOM3">CUSTOM3</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#LEGACY">LEGACY</a></span></code></th>
<td class="colLast">
<div class="block">A Legacy compliance mode to match jetty's behavior prior to RFC2616 and RFC7230.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#RFC2616">RFC2616</a></span></code></th>
<td class="colLast">
<div class="block">The strict RFC2616 support mode</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#RFC2616_LEGACY">RFC2616_LEGACY</a></span></code></th>
<td class="colLast">
<div class="block">The legacy RFC2616 support, which excludes
<a href="HttpComplianceSection.html#METHOD_CASE_SENSITIVE"><code>HttpComplianceSection.METHOD_CASE_SENSITIVE</code></a>,
<a href="HttpComplianceSection.html#FIELD_COLON"><code>HttpComplianceSection.FIELD_COLON</code></a>,
<a href="HttpComplianceSection.html#TRANSFER_ENCODING_WITH_CONTENT_LENGTH"><code>HttpComplianceSection.TRANSFER_ENCODING_WITH_CONTENT_LENGTH</code></a>,
<a href="HttpComplianceSection.html#MULTIPLE_CONTENT_LENGTHS"><code>HttpComplianceSection.MULTIPLE_CONTENT_LENGTHS</code></a>,
<a href="HttpComplianceSection.html#NO_AMBIGUOUS_PATH_SEGMENTS"><code>HttpComplianceSection.NO_AMBIGUOUS_PATH_SEGMENTS</code></a> and
<a href="HttpComplianceSection.html#NO_AMBIGUOUS_PATH_SEPARATORS"><code>HttpComplianceSection.NO_AMBIGUOUS_PATH_SEPARATORS</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#RFC7230">RFC7230</a></span></code></th>
<td class="colLast">
<div class="block">The RFC7230 support mode</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#RFC7230_LEGACY">RFC7230_LEGACY</a></span></code></th>
<td class="colLast">
<div class="block">Jetty's legacy RFC7230 support, which excludes
<a href="HttpComplianceSection.html#METHOD_CASE_SENSITIVE"><code>HttpComplianceSection.METHOD_CASE_SENSITIVE</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#RFC7230_NO_AMBIGUOUS_URIS">RFC7230_NO_AMBIGUOUS_URIS</a></span></code></th>
<td class="colLast">
<div class="block">The RFC7230 support mode with no ambiguous URIs</div>
</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">&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>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#VIOLATIONS_ATTR">VIOLATIONS_ATTR</a></span></code></th>
<td class="colLast">&nbsp;</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">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkUriCompliance(org.eclipse.jetty.http.HttpCompliance,org.eclipse.jetty.http.HttpURI)">checkUriCompliance</a></span>&#8203;(<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a>&nbsp;compliance,
<a href="HttpURI.html" title="class in org.eclipse.jetty.http">HttpURI</a>&nbsp;uri)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#requiredCompliance(org.eclipse.jetty.http.HttpComplianceSection)">requiredCompliance</a></span>&#8203;(<a href="HttpComplianceSection.html" title="enum in org.eclipse.jetty.http">HttpComplianceSection</a>&nbsp;section)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.EnumSet&lt;<a href="HttpComplianceSection.html" title="enum in org.eclipse.jetty.http">HttpComplianceSection</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sections()">sections</a></span>()</code></th>
<td class="colLast">
<div class="block">Get the set of <a href="HttpComplianceSection.html" title="enum in org.eclipse.jetty.http"><code>HttpComplianceSection</code></a>s supported by this compliance mode.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#valueOf(java.lang.String)">valueOf</a></span>&#8203;(java.lang.String&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#values()">values</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a id="LEGACY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LEGACY</h4>
<pre>public static final&nbsp;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a> LEGACY</pre>
<div class="block">A Legacy compliance mode to match jetty's behavior prior to RFC2616 and RFC7230.</div>
</li>
</ul>
<a id="RFC2616_LEGACY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RFC2616_LEGACY</h4>
<pre>public static final&nbsp;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a> RFC2616_LEGACY</pre>
<div class="block">The legacy RFC2616 support, which excludes
<a href="HttpComplianceSection.html#METHOD_CASE_SENSITIVE"><code>HttpComplianceSection.METHOD_CASE_SENSITIVE</code></a>,
<a href="HttpComplianceSection.html#FIELD_COLON"><code>HttpComplianceSection.FIELD_COLON</code></a>,
<a href="HttpComplianceSection.html#TRANSFER_ENCODING_WITH_CONTENT_LENGTH"><code>HttpComplianceSection.TRANSFER_ENCODING_WITH_CONTENT_LENGTH</code></a>,
<a href="HttpComplianceSection.html#MULTIPLE_CONTENT_LENGTHS"><code>HttpComplianceSection.MULTIPLE_CONTENT_LENGTHS</code></a>,
<a href="HttpComplianceSection.html#NO_AMBIGUOUS_PATH_SEGMENTS"><code>HttpComplianceSection.NO_AMBIGUOUS_PATH_SEGMENTS</code></a> and
<a href="HttpComplianceSection.html#NO_AMBIGUOUS_PATH_SEPARATORS"><code>HttpComplianceSection.NO_AMBIGUOUS_PATH_SEPARATORS</code></a>.</div>
</li>
</ul>
<a id="RFC2616">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RFC2616</h4>
<pre>public static final&nbsp;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a> RFC2616</pre>
<div class="block">The strict RFC2616 support mode</div>
</li>
</ul>
<a id="RFC7230_LEGACY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RFC7230_LEGACY</h4>
<pre>public static final&nbsp;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a> RFC7230_LEGACY</pre>
<div class="block">Jetty's legacy RFC7230 support, which excludes
<a href="HttpComplianceSection.html#METHOD_CASE_SENSITIVE"><code>HttpComplianceSection.METHOD_CASE_SENSITIVE</code></a>.</div>
</li>
</ul>
<a id="RFC7230">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RFC7230</h4>
<pre>public static final&nbsp;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a> RFC7230</pre>
<div class="block">The RFC7230 support mode</div>
</li>
</ul>
<a id="RFC7230_NO_AMBIGUOUS_URIS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RFC7230_NO_AMBIGUOUS_URIS</h4>
<pre>public static final&nbsp;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a> RFC7230_NO_AMBIGUOUS_URIS</pre>
<div class="block">The RFC7230 support mode with no ambiguous URIs</div>
</li>
</ul>
<a id="CUSTOM0">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CUSTOM0</h4>
<pre>@Deprecated
public static final&nbsp;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a> CUSTOM0</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Custom compliance mode that can be defined with System property <code>org.eclipse.jetty.http.HttpCompliance.CUSTOM0</code></div>
</li>
</ul>
<a id="CUSTOM1">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CUSTOM1</h4>
<pre>@Deprecated
public static final&nbsp;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a> CUSTOM1</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Custom compliance mode that can be defined with System property <code>org.eclipse.jetty.http.HttpCompliance.CUSTOM1</code></div>
</li>
</ul>
<a id="CUSTOM2">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CUSTOM2</h4>
<pre>@Deprecated
public static final&nbsp;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a> CUSTOM2</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Custom compliance mode that can be defined with System property <code>org.eclipse.jetty.http.HttpCompliance.CUSTOM2</code></div>
</li>
</ul>
<a id="CUSTOM3">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>CUSTOM3</h4>
<pre>@Deprecated
public static final&nbsp;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a> CUSTOM3</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Custom compliance mode that can be defined with System property <code>org.eclipse.jetty.http.HttpCompliance.CUSTOM3</code></div>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="VIOLATIONS_ATTR">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>VIOLATIONS_ATTR</h4>
<pre>public static final&nbsp;java.lang.String VIOLATIONS_ATTR</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.eclipse.jetty.http.HttpCompliance.VIOLATIONS_ATTR">Constant Field Values</a></dd>
</dl>
</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="values()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre class="methodSignature">public static&nbsp;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a>[]&nbsp;values()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (HttpCompliance c : HttpCompliance.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a id="valueOf(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre class="methodSignature">public static&nbsp;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a>&nbsp;valueOf&#8203;(java.lang.String&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
<a id="requiredCompliance(org.eclipse.jetty.http.HttpComplianceSection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requiredCompliance</h4>
<pre class="methodSignature">public static&nbsp;<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a>&nbsp;requiredCompliance&#8203;(<a href="HttpComplianceSection.html" title="enum in org.eclipse.jetty.http">HttpComplianceSection</a>&nbsp;section)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>section</code> - The section to query</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The minimum compliance required to enable the section.</dd>
</dl>
</li>
</ul>
<a id="sections()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sections</h4>
<pre class="methodSignature">public&nbsp;java.util.EnumSet&lt;<a href="HttpComplianceSection.html" title="enum in org.eclipse.jetty.http">HttpComplianceSection</a>&gt;&nbsp;sections()</pre>
<div class="block">Get the set of <a href="HttpComplianceSection.html" title="enum in org.eclipse.jetty.http"><code>HttpComplianceSection</code></a>s supported by this compliance mode. This set
is mutable, so it can be modified. Any modification will affect all usages of the mode
within the same <code>ClassLoader</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The set of <a href="HttpComplianceSection.html" title="enum in org.eclipse.jetty.http"><code>HttpComplianceSection</code></a>s supported by this compliance mode.</dd>
</dl>
</li>
</ul>
<a id="checkUriCompliance(org.eclipse.jetty.http.HttpCompliance,org.eclipse.jetty.http.HttpURI)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>checkUriCompliance</h4>
<pre class="methodSignature">public static&nbsp;java.lang.String&nbsp;checkUriCompliance&#8203;(<a href="HttpCompliance.html" title="enum in org.eclipse.jetty.http">HttpCompliance</a>&nbsp;compliance,
<a href="HttpURI.html" title="class in org.eclipse.jetty.http">HttpURI</a>&nbsp;uri)</pre>
</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/HttpCompliance.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&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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</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 &#169; 1995&#x2013;2021 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>