| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.13) on Tue Feb 08 12:41:33 CST 2022 --> |
| <title>UrlEncoded (Eclipse Jetty API Doc - v11.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="UrlEncoded (Eclipse Jetty API Doc - v11.0.8)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":9,"i1":9,"i2":9,"i3":41,"i4":9,"i5":41,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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/UrlEncoded.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>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </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.util</a></div> |
| <h2 title="Class UrlEncoded" class="title">Class UrlEncoded</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.util.UrlEncoded</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <pre>public class <span class="typeNameLabel">UrlEncoded</span> |
| extends java.lang.Object</pre> |
| <div class="block">Handles coding of MIME "x-www-form-urlencoded". |
| <p> |
| This class handles the encoding and decoding for either |
| the query string of a URL or the _content of a POST HTTP request. |
| </p> |
| <b>Notes</b> |
| <p> |
| The UTF-8 charset is assumed, unless otherwise defined by either |
| passing a parameter or setting the "org.eclipse.jetty.util.UrlEncoding.charset" |
| System property. |
| </p></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>URLEncoder</code></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== 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"> </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.nio.charset.Charset</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ENCODING">ENCODING</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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated 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>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#decode88591To(java.io.InputStream,org.eclipse.jetty.util.MultiMap,int,int)">decode88591To</a></span>​(java.io.InputStream in, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| int maxLength, |
| int maxKeys)</code></th> |
| <td class="colLast"> |
| <div class="block">Decoded parameters to MultiMap, using ISO8859-1 encodings.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#decodeString(java.lang.String)">decodeString</a></span>​(java.lang.String encoded)</code></th> |
| <td class="colLast"> |
| <div class="block">Decode String with % encoding.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#decodeString(java.lang.String,int,int,java.nio.charset.Charset)">decodeString</a></span>​(java.lang.String encoded, |
| int offset, |
| int length, |
| java.nio.charset.Charset charset)</code></th> |
| <td class="colLast"> |
| <div class="block">Decode String with % encoding.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#decodeTo(java.io.InputStream,org.eclipse.jetty.util.MultiMap,java.lang.String,int,int)">decodeTo</a></span>​(java.io.InputStream in, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| java.lang.String charset, |
| int maxLength, |
| int maxKeys)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version.</span> |
| <div class="deprecationComment">use <a href="#decodeTo(java.io.InputStream,org.eclipse.jetty.util.MultiMap,java.nio.charset.Charset,int,int)"><code>decodeTo(InputStream, MultiMap, Charset, int, int)</code></a> instead</div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#decodeTo(java.io.InputStream,org.eclipse.jetty.util.MultiMap,java.nio.charset.Charset,int,int)">decodeTo</a></span>​(java.io.InputStream in, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| java.nio.charset.Charset charset, |
| int maxLength, |
| int maxKeys)</code></th> |
| <td class="colLast"> |
| <div class="block">Decoded parameters to Map.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#decodeTo(java.lang.String,org.eclipse.jetty.util.MultiMap,java.lang.String)">decodeTo</a></span>​(java.lang.String content, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| java.lang.String charset)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version.</span> |
| <div class="deprecationComment">use <a href="#decodeTo(java.lang.String,org.eclipse.jetty.util.MultiMap,java.nio.charset.Charset)"><code>decodeTo(String, MultiMap, Charset)</code></a> instead</div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#decodeTo(java.lang.String,org.eclipse.jetty.util.MultiMap,java.nio.charset.Charset)">decodeTo</a></span>​(java.lang.String content, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| java.nio.charset.Charset charset)</code></th> |
| <td class="colLast"> |
| <div class="block">Decoded parameters to Map.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#decodeTo(java.lang.String,org.eclipse.jetty.util.MultiMap,java.nio.charset.Charset,int)">decodeTo</a></span>​(java.lang.String content, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| java.nio.charset.Charset charset, |
| int maxKeys)</code></th> |
| <td class="colLast"> |
| <div class="block">Decoded parameters to Map.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#decodeUtf16To(java.io.InputStream,org.eclipse.jetty.util.MultiMap,int,int)">decodeUtf16To</a></span>​(java.io.InputStream in, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| int maxLength, |
| int maxKeys)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#decodeUtf8To(java.io.InputStream,org.eclipse.jetty.util.MultiMap,int,int)">decodeUtf8To</a></span>​(java.io.InputStream in, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| int maxLength, |
| int maxKeys)</code></th> |
| <td class="colLast"> |
| <div class="block">Decoded parameters to Map.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#decodeUtf8To(java.lang.String,int,int,org.eclipse.jetty.util.MultiMap)">decodeUtf8To</a></span>​(java.lang.String query, |
| int offset, |
| int length, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map)</code></th> |
| <td class="colLast"> |
| <div class="block">Decoded parameters to Map.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#decodeUtf8To(java.lang.String,org.eclipse.jetty.util.MultiMap)">decodeUtf8To</a></span>​(java.lang.String query, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#encode(org.eclipse.jetty.util.MultiMap,java.nio.charset.Charset,boolean)">encode</a></span>​(<a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| java.nio.charset.Charset charset, |
| boolean equalsForNullValue)</code></th> |
| <td class="colLast"> |
| <div class="block">Encode MultiMap with % encoding.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#encodeString(java.lang.String)">encodeString</a></span>​(java.lang.String string)</code></th> |
| <td class="colLast"> |
| <div class="block">Perform URL encoding.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#encodeString(java.lang.String,java.nio.charset.Charset)">encodeString</a></span>​(java.lang.String string, |
| java.nio.charset.Charset charset)</code></th> |
| <td class="colLast"> |
| <div class="block">Perform URL encoding.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="ENCODING"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ENCODING</h4> |
| <pre>public static final java.nio.charset.Charset ENCODING</pre> |
| </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="encode(org.eclipse.jetty.util.MultiMap,java.nio.charset.Charset,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>encode</h4> |
| <pre class="methodSignature">public static java.lang.String encode​(<a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| java.nio.charset.Charset charset, |
| boolean equalsForNullValue)</pre> |
| <div class="block">Encode MultiMap with % encoding.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>map</code> - the map to encode</dd> |
| <dd><code>charset</code> - the charset to use for encoding (uses default encoding if null)</dd> |
| <dd><code>equalsForNullValue</code> - if True, then an '=' is always used, even |
| for parameters without a value. e.g. <code>"blah?a=&b=&c="</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the MultiMap as a string encoded with % encodings.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="decodeTo(java.lang.String,org.eclipse.jetty.util.MultiMap,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decodeTo</h4> |
| <pre class="methodSignature">@Deprecated(since="10", |
| forRemoval=true) |
| public static void decodeTo​(java.lang.String content, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| java.lang.String charset)</pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version.</span> |
| <div class="deprecationComment">use <a href="#decodeTo(java.lang.String,org.eclipse.jetty.util.MultiMap,java.nio.charset.Charset)"><code>decodeTo(String, MultiMap, Charset)</code></a> instead</div> |
| </div> |
| <div class="block">Decoded parameters to Map.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>content</code> - the string containing the encoded parameters</dd> |
| <dd><code>map</code> - the MultiMap to put parsed query parameters into</dd> |
| <dd><code>charset</code> - the charset to use for decoding</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="decodeTo(java.lang.String,org.eclipse.jetty.util.MultiMap,java.nio.charset.Charset)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decodeTo</h4> |
| <pre class="methodSignature">public static void decodeTo​(java.lang.String content, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| java.nio.charset.Charset charset)</pre> |
| <div class="block">Decoded parameters to Map.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>content</code> - the string containing the encoded parameters</dd> |
| <dd><code>map</code> - the MultiMap to put parsed query parameters into</dd> |
| <dd><code>charset</code> - the charset to use for decoding</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="decodeTo(java.lang.String,org.eclipse.jetty.util.MultiMap,java.nio.charset.Charset,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decodeTo</h4> |
| <pre class="methodSignature">public static void decodeTo​(java.lang.String content, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| java.nio.charset.Charset charset, |
| int maxKeys)</pre> |
| <div class="block">Decoded parameters to Map.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>content</code> - the string containing the encoded parameters</dd> |
| <dd><code>map</code> - the MultiMap to put parsed query parameters into</dd> |
| <dd><code>charset</code> - the charset to use for decoding</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="decodeUtf8To(java.lang.String,org.eclipse.jetty.util.MultiMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decodeUtf8To</h4> |
| <pre class="methodSignature">public static void decodeUtf8To​(java.lang.String query, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map)</pre> |
| </li> |
| </ul> |
| <a id="decodeUtf8To(java.lang.String,int,int,org.eclipse.jetty.util.MultiMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decodeUtf8To</h4> |
| <pre class="methodSignature">public static void decodeUtf8To​(java.lang.String query, |
| int offset, |
| int length, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map)</pre> |
| <div class="block">Decoded parameters to Map.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>query</code> - the string containing the encoded parameters</dd> |
| <dd><code>offset</code> - the offset within raw to decode from</dd> |
| <dd><code>length</code> - the length of the section to decode</dd> |
| <dd><code>map</code> - the <a href="MultiMap.html" title="class in org.eclipse.jetty.util"><code>MultiMap</code></a> to populate</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="decode88591To(java.io.InputStream,org.eclipse.jetty.util.MultiMap,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decode88591To</h4> |
| <pre class="methodSignature">public static void decode88591To​(java.io.InputStream in, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| int maxLength, |
| int maxKeys) |
| throws java.io.IOException</pre> |
| <div class="block">Decoded parameters to MultiMap, using ISO8859-1 encodings.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>in</code> - InputSteam to read</dd> |
| <dd><code>map</code> - MultiMap to add parameters to</dd> |
| <dd><code>maxLength</code> - maximum length of form to read or -1 for no limit</dd> |
| <dd><code>maxKeys</code> - maximum number of keys to read or -1 for no limit</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - if unable to decode the InputStream as ISO8859-1</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="decodeUtf8To(java.io.InputStream,org.eclipse.jetty.util.MultiMap,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decodeUtf8To</h4> |
| <pre class="methodSignature">public static void decodeUtf8To​(java.io.InputStream in, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| int maxLength, |
| int maxKeys) |
| throws java.io.IOException</pre> |
| <div class="block">Decoded parameters to Map.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>in</code> - InputSteam to read</dd> |
| <dd><code>map</code> - MultiMap to add parameters to</dd> |
| <dd><code>maxLength</code> - maximum form length to decode or -1 for no limit</dd> |
| <dd><code>maxKeys</code> - the maximum number of keys to read or -1 for no limit</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - if unable to decode the input stream</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="decodeUtf16To(java.io.InputStream,org.eclipse.jetty.util.MultiMap,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decodeUtf16To</h4> |
| <pre class="methodSignature">public static void decodeUtf16To​(java.io.InputStream in, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| int maxLength, |
| int maxKeys) |
| throws java.io.IOException</pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="decodeTo(java.io.InputStream,org.eclipse.jetty.util.MultiMap,java.lang.String,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decodeTo</h4> |
| <pre class="methodSignature">@Deprecated(since="10", |
| forRemoval=true) |
| public static void decodeTo​(java.io.InputStream in, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| java.lang.String charset, |
| int maxLength, |
| int maxKeys) |
| throws java.io.IOException</pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version.</span> |
| <div class="deprecationComment">use <a href="#decodeTo(java.io.InputStream,org.eclipse.jetty.util.MultiMap,java.nio.charset.Charset,int,int)"><code>decodeTo(InputStream, MultiMap, Charset, int, int)</code></a> instead</div> |
| </div> |
| <div class="block">Decoded parameters to Map.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>in</code> - the stream containing the encoded parameters</dd> |
| <dd><code>map</code> - the MultiMap to decode into</dd> |
| <dd><code>charset</code> - the charset to use for decoding</dd> |
| <dd><code>maxLength</code> - the maximum length of the form to decode or -1 for no limit</dd> |
| <dd><code>maxKeys</code> - the maximum number of keys to decode or -1 for no limit</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - if unable to decode the input stream</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="decodeTo(java.io.InputStream,org.eclipse.jetty.util.MultiMap,java.nio.charset.Charset,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decodeTo</h4> |
| <pre class="methodSignature">public static void decodeTo​(java.io.InputStream in, |
| <a href="MultiMap.html" title="class in org.eclipse.jetty.util">MultiMap</a><java.lang.String> map, |
| java.nio.charset.Charset charset, |
| int maxLength, |
| int maxKeys) |
| throws java.io.IOException</pre> |
| <div class="block">Decoded parameters to Map.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>in</code> - the stream containing the encoded parameters</dd> |
| <dd><code>map</code> - the MultiMap to decode into</dd> |
| <dd><code>charset</code> - the charset to use for decoding</dd> |
| <dd><code>maxLength</code> - the maximum length of the form to decode</dd> |
| <dd><code>maxKeys</code> - the maximum number of keys to decode</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.io.IOException</code> - if unable to decode input stream</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="decodeString(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decodeString</h4> |
| <pre class="methodSignature">public static java.lang.String decodeString​(java.lang.String encoded)</pre> |
| <div class="block">Decode String with % encoding. |
| This method makes the assumption that the majority of calls |
| will need no decoding.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>encoded</code> - the encoded string to decode</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the decoded string</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="decodeString(java.lang.String,int,int,java.nio.charset.Charset)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decodeString</h4> |
| <pre class="methodSignature">public static java.lang.String decodeString​(java.lang.String encoded, |
| int offset, |
| int length, |
| java.nio.charset.Charset charset)</pre> |
| <div class="block">Decode String with % encoding. |
| This method makes the assumption that the majority of calls |
| will need no decoding.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>encoded</code> - the encoded string to decode</dd> |
| <dd><code>offset</code> - the offset in the encoded string to decode from</dd> |
| <dd><code>length</code> - the length of characters in the encoded string to decode</dd> |
| <dd><code>charset</code> - the charset to use for decoding</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the decoded string</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="encodeString(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>encodeString</h4> |
| <pre class="methodSignature">public static java.lang.String encodeString​(java.lang.String string)</pre> |
| <div class="block">Perform URL encoding.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>string</code> - the string to encode</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>encoded string.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="encodeString(java.lang.String,java.nio.charset.Charset)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>encodeString</h4> |
| <pre class="methodSignature">public static java.lang.String encodeString​(java.lang.String string, |
| java.nio.charset.Charset charset)</pre> |
| <div class="block">Perform URL encoding.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>string</code> - the string to encode</dd> |
| <dd><code>charset</code> - the charset to use for encoding</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>encoded string.</dd> |
| </dl> |
| </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/UrlEncoded.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>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </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> |