blob: 6d4f8dc8532533d1fdeeb691ae188f32f58c1a67 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.11) on Mon Jun 14 16:40:44 EDT 2021 -->
<title>Uses of Class org.eclipse.jetty.http.UriCompliance (Eclipse Jetty API Doc - v10.0.5)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-06-14">
<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.UriCompliance (Eclipse Jetty API Doc - v10.0.5)";
}
}
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="../UriCompliance.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.UriCompliance" class="title">Uses of Class<br>org.eclipse.jetty.http.UriCompliance</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary">
<caption><span>Packages that use <a href="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</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.http">org.eclipse.jetty.http</a></th>
<td class="colLast">
<div class="block">Jetty Http : Tools for Http processing</div>
</td>
</tr>
<tr class="rowColor">
<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.http">
<!-- -->
</a>
<h3>Uses of <a href="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</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="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</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="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UriCompliance.</span><code><span class="memberNameLink"><a href="../UriCompliance.html#DEFAULT">DEFAULT</a></span></code></th>
<td class="colLast">
<div class="block">The default compliance mode that extends RFC3986 compliance with additional violations to avoid most ambiguous URIs.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UriCompliance.</span><code><span class="memberNameLink"><a href="../UriCompliance.html#LEGACY">LEGACY</a></span></code></th>
<td class="colLast">
<div class="block">LEGACY compliance mode that models Jetty-9.4 behavior by allowing <a href="../UriCompliance.Violation.html#AMBIGUOUS_PATH_SEGMENT"><code>UriCompliance.Violation.AMBIGUOUS_PATH_SEGMENT</code></a>,
<a href="../UriCompliance.Violation.html#AMBIGUOUS_EMPTY_SEGMENT"><code>UriCompliance.Violation.AMBIGUOUS_EMPTY_SEGMENT</code></a>, <a href="../UriCompliance.Violation.html#AMBIGUOUS_PATH_SEPARATOR"><code>UriCompliance.Violation.AMBIGUOUS_PATH_SEPARATOR</code></a> and <a href="../UriCompliance.Violation.html#AMBIGUOUS_PATH_ENCODING"><code>UriCompliance.Violation.AMBIGUOUS_PATH_ENCODING</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UriCompliance.</span><code><span class="memberNameLink"><a href="../UriCompliance.html#RFC3986">RFC3986</a></span></code></th>
<td class="colLast">
<div class="block">Compliance mode that exactly follows RFC3986, including allowing all additional ambiguous URI Violations,
except <a href="../UriCompliance.Violation.html#NON_CANONICAL_AMBIGUOUS_PATHS"><code>UriCompliance.Violation.NON_CANONICAL_AMBIGUOUS_PATHS</code></a>, thus ambiguous paths are canonicalized for safety.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UriCompliance.</span><code><span class="memberNameLink"><a href="../UriCompliance.html#SAFE">SAFE</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">equivalent to DEFAULT</div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UriCompliance.</span><code><span class="memberNameLink"><a href="../UriCompliance.html#STRICT">STRICT</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">equivalent to RFC3986</div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UriCompliance.</span><code><span class="memberNameLink"><a href="../UriCompliance.html#UNSAFE">UNSAFE</a></span></code></th>
<td class="colLast">
<div class="block">Compliance mode that allows all URI Violations, including allowing ambiguous paths in non canonicalized form.</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="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</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="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UriCompliance.</span><code><span class="memberNameLink"><a href="../UriCompliance.html#from(java.lang.String)">from</a></span>&#8203;(java.lang.String&nbsp;spec)</code></th>
<td class="colLast">
<div class="block">Create compliance set from string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UriCompliance.</span><code><span class="memberNameLink"><a href="../UriCompliance.html#from(java.util.Set)">from</a></span>&#8203;(java.util.Set&lt;<a href="../UriCompliance.Violation.html" title="enum in org.eclipse.jetty.http">UriCompliance.Violation</a>&gt;&nbsp;violations)</code></th>
<td class="colLast">
<div class="block">Create compliance set from a set of allowed Violations.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UriCompliance.</span><code><span class="memberNameLink"><a href="../UriCompliance.html#valueOf(java.lang.String)">valueOf</a></span>&#8203;(java.lang.String&nbsp;name)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UriCompliance.</span><code><span class="memberNameLink"><a href="../UriCompliance.html#with(java.lang.String,org.eclipse.jetty.http.UriCompliance.Violation...)">with</a></span>&#8203;(java.lang.String&nbsp;name,
<a href="../UriCompliance.Violation.html" title="enum in org.eclipse.jetty.http">UriCompliance.Violation</a>...&nbsp;violations)</code></th>
<td class="colLast">
<div class="block">Create a new UriCompliance mode that includes the passed <a href="../UriCompliance.Violation.html" title="enum in org.eclipse.jetty.http"><code>UriCompliance.Violation</code></a>s.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">UriCompliance.</span><code><span class="memberNameLink"><a href="../UriCompliance.html#without(java.lang.String,org.eclipse.jetty.http.UriCompliance.Violation...)">without</a></span>&#8203;(java.lang.String&nbsp;name,
<a href="../UriCompliance.Violation.html" title="enum in org.eclipse.jetty.http">UriCompliance.Violation</a>...&nbsp;violations)</code></th>
<td class="colLast">
<div class="block">Create a new UriCompliance mode that excludes the passed <a href="../UriCompliance.Violation.html" title="enum in org.eclipse.jetty.http"><code>UriCompliance.Violation</code></a>s.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.eclipse.jetty.server">
<!-- -->
</a>
<h3>Uses of <a href="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</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="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</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="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">HttpConfiguration.</span><code><span class="memberNameLink"><a href="../../server/HttpConfiguration.html#getUriCompliance()">getUriCompliance</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="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</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">HttpConfiguration.</span><code><span class="memberNameLink"><a href="../../server/HttpConfiguration.html#setUriCompliance(org.eclipse.jetty.http.UriCompliance)">setUriCompliance</a></span>&#8203;(<a href="../UriCompliance.html" title="class in org.eclipse.jetty.http">UriCompliance</a>&nbsp;uriCompliance)</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="../UriCompliance.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;2021 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>