| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.13) on Tue Feb 08 12:40:05 CST 2022 --> |
| <title>HttpURI (Eclipse Jetty API Doc - v10.0.8)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2022-02-08"> |
| <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="HttpURI (Eclipse Jetty API Doc - v10.0.8)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":6,"i1":6,"i2":1,"i3":1,"i4":1,"i5":1,"i6":1,"i7":1,"i8":1,"i9":1,"i10":1,"i11":1,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":18,"i25":18,"i26":18,"i27":18,"i28":18,"i29":6,"i30":18,"i31":6,"i32":6,"i33":6,"i34":6,"i35":18}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/HttpURI.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.jetty.http</a></div> |
| <h2 title="Interface HttpURI" class="title">Interface HttpURI</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><code><a href="HttpURI.Immutable.html" title="class in org.eclipse.jetty.http">HttpURI.Immutable</a></code>, <code><a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public interface <span class="typeNameLabel">HttpURI</span></pre> |
| <div class="block">Http URI. |
| |
| Both <a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http"><code>HttpURI.Mutable</code></a> and <a href="HttpURI.Immutable.html" title="class in org.eclipse.jetty.http"><code>HttpURI.Immutable</code></a> implementations are available |
| via the static methods such as <a href="#build()"><code>build()</code></a> and <a href="#from(java.lang.String)"><code>from(String)</code></a>. |
| |
| A URI such as |
| <code>http://user@host:port/path;param1/%2e/info;param2?query#fragment</code> |
| is split into the following optional elements:<ul> |
| <li><a href="#getScheme()"><code>getScheme()</code></a> - http:</li> |
| <li><a href="#getAuthority()"><code>getAuthority()</code></a> - //name@host:port</li> |
| <li><a href="#getHost()"><code>getHost()</code></a> - host</li> |
| <li><a href="#getPort()"><code>getPort()</code></a> - port</li> |
| <li><a href="#getPath()"><code>getPath()</code></a> - /path;param1/%2e/info;param2</li> |
| <li><a href="#getDecodedPath()"><code>getDecodedPath()</code></a> - /path/info</li> |
| <li><a href="#getParam()"><code>getParam()</code></a> - param2</li> |
| <li><a href="#getQuery()"><code>getQuery()</code></a> - query</li> |
| <li><a href="#getFragment()"><code>getFragment()</code></a> - fragment</li> |
| </ul> |
| <p>The path part of the URI is provided in both raw form (<a href="#getPath()"><code>getPath()</code></a>) and |
| decoded form (<a href="#getDecodedPath()"><code>getDecodedPath()</code></a>), which has: path parameters removed, |
| percent encoded characters expanded and relative segments resolved. This approach |
| is somewhat contrary to <a href="https://tools.ietf.org/html/rfc3986#section-3.3">RFC3986</a> |
| which no longer defines path parameters (removed after |
| <a href="https://tools.ietf.org/html/rfc2396#section-3.3">RFC2396</a>) and specifies |
| that relative segment normalization should take place before percent encoded character |
| expansion. A literal interpretation of the RFC can result in URI paths with ambiguities |
| when viewed as strings. For example, a URI of <code>/foo%2f..%2fbar</code> is technically a single |
| segment of "/foo/../bar", but could easily be misinterpreted as 3 segments resolving to "/bar" |
| by a file system. |
| </p> |
| <p> |
| Thus this class avoid and/or detects such ambiguities. Furthermore, by decoding characters and |
| removing parameters before relative path normalization, ambiguous paths will be resolved in such |
| a way to be non-standard-but-non-ambiguous to down stream interpretation of the decoded path string. |
| The violations are recorded and available by API such as <a href="#hasAmbiguousSegment()"><code>hasAmbiguousSegment()</code></a> so that requests |
| containing them may be rejected in case the non-standard-but-non-ambiguous interpretations |
| are not satisfactory for a given compliance configuration. |
| </p> |
| <p> |
| Implementations that wish to process ambiguous URI paths must configure the compliance modes |
| to accept them and then perform their own decoding of <a href="#getPath()"><code>getPath()</code></a>. |
| </p> |
| <p> |
| If there are multiple path parameters, only the last one is returned by <a href="#getParam()"><code>getParam()</code></a>. |
| </p></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Interface</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="HttpURI.Immutable.html" title="class in org.eclipse.jetty.http">HttpURI.Immutable</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="HttpURI.Immutable.html" title="class in org.eclipse.jetty.http">HttpURI.Immutable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asImmutable()">asImmutable</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asString()">asString</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static <a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build()">build</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static <a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build(java.lang.String)">build</a></span>​(java.lang.String uri)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static <a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build(java.net.URI)">build</a></span>​(java.net.URI uri)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static <a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build(org.eclipse.jetty.http.HttpURI)">build</a></span>​(<a href="HttpURI.html" title="interface in org.eclipse.jetty.http">HttpURI</a> uri)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static <a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build(org.eclipse.jetty.http.HttpURI,java.lang.String)">build</a></span>​(<a href="HttpURI.html" title="interface in org.eclipse.jetty.http">HttpURI</a> uri, |
| java.lang.String pathQuery)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static <a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#build(org.eclipse.jetty.http.HttpURI,java.lang.String,java.lang.String,java.lang.String)">build</a></span>​(<a href="HttpURI.html" title="interface in org.eclipse.jetty.http">HttpURI</a> uri, |
| java.lang.String path, |
| java.lang.String param, |
| java.lang.String query)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static <a href="HttpURI.Immutable.html" title="class in org.eclipse.jetty.http">HttpURI.Immutable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#from(java.lang.String)">from</a></span>​(java.lang.String uri)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static <a href="HttpURI.Immutable.html" title="class in org.eclipse.jetty.http">HttpURI.Immutable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#from(java.lang.String,java.lang.String)">from</a></span>​(java.lang.String method, |
| java.lang.String uri)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>static <a href="HttpURI.Immutable.html" title="class in org.eclipse.jetty.http">HttpURI.Immutable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#from(java.lang.String,java.lang.String,int,java.lang.String)">from</a></span>​(java.lang.String scheme, |
| java.lang.String host, |
| int port, |
| java.lang.String pathQuery)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static <a href="HttpURI.Immutable.html" title="class in org.eclipse.jetty.http">HttpURI.Immutable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#from(java.net.URI)">from</a></span>​(java.net.URI uri)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAuthority()">getAuthority</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDecodedPath()">getDecodedPath</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFragment()">getFragment</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHost()">getHost</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getParam()">getParam</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get a URI path parameter.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPath()">getPath</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPathQuery()">getPathQuery</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPort()">getPort</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getQuery()">getQuery</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getScheme()">getScheme</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUser()">getUser</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>java.util.Collection<<a href="UriCompliance.Violation.html" title="enum in org.eclipse.jetty.http">UriCompliance.Violation</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getViolations()">getViolations</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasAmbiguousEmptySegment()">hasAmbiguousEmptySegment</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasAmbiguousEncoding()">hasAmbiguousEncoding</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasAmbiguousParameter()">hasAmbiguousParameter</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasAmbiguousSegment()">hasAmbiguousSegment</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasAmbiguousSeparator()">hasAmbiguousSeparator</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasAuthority()">hasAuthority</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasUtf16Encoding()">hasUtf16Encoding</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasViolation(org.eclipse.jetty.http.UriCompliance.Violation)">hasViolation</a></span>​(<a href="UriCompliance.Violation.html" title="enum in org.eclipse.jetty.http">UriCompliance.Violation</a> violation)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasViolations()">hasViolations</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAbsolute()">isAbsolute</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAmbiguous()">isAmbiguous</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>default java.net.URI</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toURI()">toURI</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="build()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>build</h4> |
| <pre class="methodSignature">static <a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a> build()</pre> |
| </li> |
| </ul> |
| <a id="build(org.eclipse.jetty.http.HttpURI)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>build</h4> |
| <pre class="methodSignature">static <a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a> build​(<a href="HttpURI.html" title="interface in org.eclipse.jetty.http">HttpURI</a> uri)</pre> |
| </li> |
| </ul> |
| <a id="build(org.eclipse.jetty.http.HttpURI,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>build</h4> |
| <pre class="methodSignature">static <a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a> build​(<a href="HttpURI.html" title="interface in org.eclipse.jetty.http">HttpURI</a> uri, |
| java.lang.String pathQuery)</pre> |
| </li> |
| </ul> |
| <a id="build(org.eclipse.jetty.http.HttpURI,java.lang.String,java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>build</h4> |
| <pre class="methodSignature">static <a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a> build​(<a href="HttpURI.html" title="interface in org.eclipse.jetty.http">HttpURI</a> uri, |
| java.lang.String path, |
| java.lang.String param, |
| java.lang.String query)</pre> |
| </li> |
| </ul> |
| <a id="build(java.net.URI)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>build</h4> |
| <pre class="methodSignature">static <a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a> build​(java.net.URI uri)</pre> |
| </li> |
| </ul> |
| <a id="build(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>build</h4> |
| <pre class="methodSignature">static <a href="HttpURI.Mutable.html" title="class in org.eclipse.jetty.http">HttpURI.Mutable</a> build​(java.lang.String uri)</pre> |
| </li> |
| </ul> |
| <a id="from(java.net.URI)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>from</h4> |
| <pre class="methodSignature">static <a href="HttpURI.Immutable.html" title="class in org.eclipse.jetty.http">HttpURI.Immutable</a> from​(java.net.URI uri)</pre> |
| </li> |
| </ul> |
| <a id="from(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>from</h4> |
| <pre class="methodSignature">static <a href="HttpURI.Immutable.html" title="class in org.eclipse.jetty.http">HttpURI.Immutable</a> from​(java.lang.String uri)</pre> |
| </li> |
| </ul> |
| <a id="from(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>from</h4> |
| <pre class="methodSignature">static <a href="HttpURI.Immutable.html" title="class in org.eclipse.jetty.http">HttpURI.Immutable</a> from​(java.lang.String method, |
| java.lang.String uri)</pre> |
| </li> |
| </ul> |
| <a id="from(java.lang.String,java.lang.String,int,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>from</h4> |
| <pre class="methodSignature">static <a href="HttpURI.Immutable.html" title="class in org.eclipse.jetty.http">HttpURI.Immutable</a> from​(java.lang.String scheme, |
| java.lang.String host, |
| int port, |
| java.lang.String pathQuery)</pre> |
| </li> |
| </ul> |
| <a id="asImmutable()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asImmutable</h4> |
| <pre class="methodSignature"><a href="HttpURI.Immutable.html" title="class in org.eclipse.jetty.http">HttpURI.Immutable</a> asImmutable()</pre> |
| </li> |
| </ul> |
| <a id="asString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asString</h4> |
| <pre class="methodSignature">java.lang.String asString()</pre> |
| </li> |
| </ul> |
| <a id="getAuthority()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAuthority</h4> |
| <pre class="methodSignature">java.lang.String getAuthority()</pre> |
| </li> |
| </ul> |
| <a id="getDecodedPath()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDecodedPath</h4> |
| <pre class="methodSignature">java.lang.String getDecodedPath()</pre> |
| </li> |
| </ul> |
| <a id="getFragment()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFragment</h4> |
| <pre class="methodSignature">java.lang.String getFragment()</pre> |
| </li> |
| </ul> |
| <a id="getHost()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHost</h4> |
| <pre class="methodSignature">java.lang.String getHost()</pre> |
| </li> |
| </ul> |
| <a id="getParam()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getParam</h4> |
| <pre class="methodSignature">java.lang.String getParam()</pre> |
| <div class="block">Get a URI path parameter. Multiple and in segment parameters are ignored and only |
| the last trailing parameter is returned.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The last path parameter or null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getPath()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPath</h4> |
| <pre class="methodSignature">java.lang.String getPath()</pre> |
| </li> |
| </ul> |
| <a id="getPathQuery()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPathQuery</h4> |
| <pre class="methodSignature">java.lang.String getPathQuery()</pre> |
| </li> |
| </ul> |
| <a id="getPort()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPort</h4> |
| <pre class="methodSignature">int getPort()</pre> |
| </li> |
| </ul> |
| <a id="getQuery()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQuery</h4> |
| <pre class="methodSignature">java.lang.String getQuery()</pre> |
| </li> |
| </ul> |
| <a id="getScheme()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getScheme</h4> |
| <pre class="methodSignature">java.lang.String getScheme()</pre> |
| </li> |
| </ul> |
| <a id="getUser()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUser</h4> |
| <pre class="methodSignature">java.lang.String getUser()</pre> |
| </li> |
| </ul> |
| <a id="hasAuthority()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasAuthority</h4> |
| <pre class="methodSignature">boolean hasAuthority()</pre> |
| </li> |
| </ul> |
| <a id="isAbsolute()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAbsolute</h4> |
| <pre class="methodSignature">boolean isAbsolute()</pre> |
| </li> |
| </ul> |
| <a id="isAmbiguous()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAmbiguous</h4> |
| <pre class="methodSignature">boolean isAmbiguous()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if the URI has any ambiguous <a href="UriCompliance.Violation.html" title="enum in org.eclipse.jetty.http"><code>UriCompliance.Violation</code></a>s.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hasViolations()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasViolations</h4> |
| <pre class="methodSignature">boolean hasViolations()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if the URI has any <a href="UriCompliance.Violation.html" title="enum in org.eclipse.jetty.http"><code>UriCompliance.Violation</code></a>s.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hasViolation(org.eclipse.jetty.http.UriCompliance.Violation)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasViolation</h4> |
| <pre class="methodSignature">boolean hasViolation​(<a href="UriCompliance.Violation.html" title="enum in org.eclipse.jetty.http">UriCompliance.Violation</a> violation)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>violation</code> - the violation to check.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the URI has the passed violation.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getViolations()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getViolations</h4> |
| <pre class="methodSignature">java.util.Collection<<a href="UriCompliance.Violation.html" title="enum in org.eclipse.jetty.http">UriCompliance.Violation</a>> getViolations()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Set of violations in the URI.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hasAmbiguousSegment()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasAmbiguousSegment</h4> |
| <pre class="methodSignature">default boolean hasAmbiguousSegment()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if the URI has a possibly ambiguous segment like '..;' or '%2e%2e'</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hasAmbiguousEmptySegment()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasAmbiguousEmptySegment</h4> |
| <pre class="methodSignature">default boolean hasAmbiguousEmptySegment()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if the URI empty segment that is ambiguous like '//' or '/;param/'.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hasAmbiguousSeparator()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasAmbiguousSeparator</h4> |
| <pre class="methodSignature">default boolean hasAmbiguousSeparator()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if the URI has a possibly ambiguous separator of %2f</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hasAmbiguousParameter()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasAmbiguousParameter</h4> |
| <pre class="methodSignature">default boolean hasAmbiguousParameter()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if the URI has a possibly ambiguous path parameter like '..;'</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hasAmbiguousEncoding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasAmbiguousEncoding</h4> |
| <pre class="methodSignature">default boolean hasAmbiguousEncoding()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if the URI has an encoded '%' character.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="hasUtf16Encoding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasUtf16Encoding</h4> |
| <pre class="methodSignature">default boolean hasUtf16Encoding()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if the URI has UTF16 '%u' encodings.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="toURI()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>toURI</h4> |
| <pre class="methodSignature">default java.net.URI toURI()</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/HttpURI.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 1995–2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |