You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
907 lines
50 KiB
907 lines
50 KiB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_80) on Wed Nov 30 19:45:04 CET 2022 -->
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>URIBuilder (Apache HttpComponents Client 4.5.14 API)</title>
|
|
<meta name="date" content="2022-11-30">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="URIBuilder (Apache HttpComponents Client 4.5.14 API)";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/URIBuilder.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">
|
|
<li><a href="../../../../../org/apache/http/client/utils/Rfc3492Idn.html" title="class in org.apache.http.client.utils"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../../org/apache/http/client/utils/URIUtils.html" title="class in org.apache.http.client.utils"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../index.html?org/apache/http/client/utils/URIBuilder.html" target="_top">Frames</a></li>
|
|
<li><a href="URIBuilder.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></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>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">org.apache.http.client.utils</div>
|
|
<h2 title="Class URIBuilder" class="title">Class URIBuilder</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>org.apache.http.client.utils.URIBuilder</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="strong">URIBuilder</span>
|
|
extends <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
|
<div class="block">Builder for <a href="https://docs.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net"><code>URI</code></a> instances.</div>
|
|
<dl><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.2</dd></dl>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#URIBuilder()">URIBuilder</a></strong>()</code>
|
|
<div class="block">Constructs an empty instance.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#URIBuilder(java.lang.String)">URIBuilder</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string)</code>
|
|
<div class="block">Construct an instance from the string which must be a valid URI.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#URIBuilder(java.lang.String,%20java.nio.charset.Charset)">URIBuilder</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string,
|
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a> charset)</code>
|
|
<div class="block">Construct an instance from the string which must be a valid URI.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#URIBuilder(java.net.URI)">URIBuilder</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> uri)</code>
|
|
<div class="block">Construct an instance from the provided URI.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#URIBuilder(java.net.URI,%20java.nio.charset.Charset)">URIBuilder</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> uri,
|
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a> charset)</code>
|
|
<div class="block">Construct an instance from the provided URI.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#addParameter(java.lang.String,%20java.lang.String)">addParameter</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> param,
|
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</code>
|
|
<div class="block">Adds parameter to URI query.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#addParameters(java.util.List)">addParameters</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.http.NameValuePair> nvps)</code>
|
|
<div class="block">Adds URI query parameters.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#build()">build</a></strong>()</code>
|
|
<div class="block">Builds a <a href="https://docs.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net"><code>URI</code></a> instance.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#clearParameters()">clearParameters</a></strong>()</code>
|
|
<div class="block">Clears URI query parameters.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#getCharset()">getCharset</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#getFragment()">getFragment</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#getHost()">getHost</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#getPath()">getPath</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#getPathSegments()">getPathSegments</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#getPort()">getPort</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.http.NameValuePair></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#getQueryParams()">getQueryParams</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#getScheme()">getScheme</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#getUserInfo()">getUserInfo</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#isAbsolute()">isAbsolute</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#isOpaque()">isOpaque</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#isPathEmpty()">isPathEmpty</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#isQueryEmpty()">isQueryEmpty</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#removeQuery()">removeQuery</a></strong>()</code>
|
|
<div class="block">Removes URI query.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setCharset(java.nio.charset.Charset)">setCharset</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a> charset)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setCustomQuery(java.lang.String)">setCustomQuery</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> query)</code>
|
|
<div class="block">Sets custom URI query.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setFragment(java.lang.String)">setFragment</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fragment)</code>
|
|
<div class="block">Sets URI fragment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setHost(java.lang.String)">setHost</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> host)</code>
|
|
<div class="block">Sets URI host.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setParameter(java.lang.String,%20java.lang.String)">setParameter</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> param,
|
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</code>
|
|
<div class="block">Sets parameter of URI query overriding existing value if set.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setParameters(java.util.List)">setParameters</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.http.NameValuePair> nvps)</code>
|
|
<div class="block">Sets URI query parameters.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setParameters(org.apache.http.NameValuePair...)">setParameters</a></strong>(org.apache.http.NameValuePair... nvps)</code>
|
|
<div class="block">Sets URI query parameters.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setPath(java.lang.String)">setPath</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code>
|
|
<div class="block">Sets URI path.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setPathSegments(java.util.List)">setPathSegments</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> pathSegments)</code>
|
|
<div class="block">Sets URI path.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setPathSegments(java.lang.String...)">setPathSegments</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... pathSegments)</code>
|
|
<div class="block">Sets URI path.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setPort(int)">setPort</a></strong>(int port)</code>
|
|
<div class="block">Sets URI port.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setQuery(java.lang.String)">setQuery</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> query)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>(4.3) use <a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setParameters(java.util.List)"><code>setParameters(List)</code></a> or <a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setParameters(org.apache.http.NameValuePair...)"><code>setParameters(NameValuePair...)</code></a></i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setScheme(java.lang.String)">setScheme</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> scheme)</code>
|
|
<div class="block">Sets URI scheme.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setUserInfo(java.lang.String)">setUserInfo</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userInfo)</code>
|
|
<div class="block">Sets URI user info.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setUserInfo(java.lang.String,%20java.lang.String)">setUserInfo</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> username,
|
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> password)</code>
|
|
<div class="block">Sets URI user info as a combination of username and password.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/client/utils/URIBuilder.html#toString()">toString</a></strong>()</code> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="URIBuilder()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>URIBuilder</h4>
|
|
<pre>public URIBuilder()</pre>
|
|
<div class="block">Constructs an empty instance.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="URIBuilder(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>URIBuilder</h4>
|
|
<pre>public URIBuilder(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string)
|
|
throws <a href="https://docs.oracle.com/javase/6/docs/api/java/net/URISyntaxException.html?is-external=true" title="class or interface in java.net">URISyntaxException</a></pre>
|
|
<div class="block">Construct an instance from the string which must be a valid URI.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>string</code> - a valid URI in string form</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/6/docs/api/java/net/URISyntaxException.html?is-external=true" title="class or interface in java.net">URISyntaxException</a></code> - if the input is not a valid URI</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="URIBuilder(java.net.URI)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>URIBuilder</h4>
|
|
<pre>public URIBuilder(<a href="https://docs.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> uri)</pre>
|
|
<div class="block">Construct an instance from the provided URI.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>uri</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="URIBuilder(java.lang.String, java.nio.charset.Charset)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>URIBuilder</h4>
|
|
<pre>public URIBuilder(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string,
|
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a> charset)
|
|
throws <a href="https://docs.oracle.com/javase/6/docs/api/java/net/URISyntaxException.html?is-external=true" title="class or interface in java.net">URISyntaxException</a></pre>
|
|
<div class="block">Construct an instance from the string which must be a valid URI.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>string</code> - a valid URI in string form</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/6/docs/api/java/net/URISyntaxException.html?is-external=true" title="class or interface in java.net">URISyntaxException</a></code> - if the input is not a valid URI</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="URIBuilder(java.net.URI, java.nio.charset.Charset)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>URIBuilder</h4>
|
|
<pre>public URIBuilder(<a href="https://docs.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> uri,
|
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a> charset)</pre>
|
|
<div class="block">Construct an instance from the provided URI.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>uri</code> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="setCharset(java.nio.charset.Charset)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCharset</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setCharset(<a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a> charset)</pre>
|
|
<dl><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.4</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCharset()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCharset</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a> getCharset()</pre>
|
|
<dl><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.4</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="build()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>build</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> build()
|
|
throws <a href="https://docs.oracle.com/javase/6/docs/api/java/net/URISyntaxException.html?is-external=true" title="class or interface in java.net">URISyntaxException</a></pre>
|
|
<div class="block">Builds a <a href="https://docs.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net"><code>URI</code></a> instance.</div>
|
|
<dl><dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/6/docs/api/java/net/URISyntaxException.html?is-external=true" title="class or interface in java.net">URISyntaxException</a></code></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setScheme(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setScheme</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setScheme(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> scheme)</pre>
|
|
<div class="block">Sets URI scheme.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setUserInfo(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setUserInfo</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setUserInfo(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userInfo)</pre>
|
|
<div class="block">Sets URI user info. The value is expected to be unescaped and may contain non ASCII
|
|
characters.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setUserInfo(java.lang.String, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setUserInfo</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setUserInfo(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> username,
|
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> password)</pre>
|
|
<div class="block">Sets URI user info as a combination of username and password. These values are expected to
|
|
be unescaped and may contain non ASCII characters.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setHost(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setHost</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setHost(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> host)</pre>
|
|
<div class="block">Sets URI host.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setPort(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPort</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setPort(int port)</pre>
|
|
<div class="block">Sets URI port.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setPath(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPath</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setPath(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre>
|
|
<div class="block">Sets URI path. The value is expected to be unescaped and may contain non ASCII characters.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>this.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setPathSegments(java.lang.String...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPathSegments</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setPathSegments(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... pathSegments)</pre>
|
|
<div class="block">Sets URI path. The value is expected to be unescaped and may contain non ASCII characters.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>this.</dd><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.5.8</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setPathSegments(java.util.List)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPathSegments</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setPathSegments(<a href="https://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> pathSegments)</pre>
|
|
<div class="block">Sets URI path. The value is expected to be unescaped and may contain non ASCII characters.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>this.</dd><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.5.8</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="removeQuery()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeQuery</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> removeQuery()</pre>
|
|
<div class="block">Removes URI query.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="setQuery(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setQuery</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setQuery(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> query)</pre>
|
|
<div class="block"><span class="strong">Deprecated.</span> <i>(4.3) use <a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setParameters(java.util.List)"><code>setParameters(List)</code></a> or <a href="../../../../../org/apache/http/client/utils/URIBuilder.html#setParameters(org.apache.http.NameValuePair...)"><code>setParameters(NameValuePair...)</code></a></i></div>
|
|
<div class="block">Sets URI query.
|
|
<p>
|
|
The value is expected to be encoded form data.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/http/client/utils/URLEncodedUtils.html#parse(java.net.URI,%20java.lang.String)"><code>URLEncodedUtils.parse(java.net.URI, java.lang.String)</code></a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setParameters(java.util.List)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setParameters</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setParameters(<a href="https://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.http.NameValuePair> nvps)</pre>
|
|
<div class="block">Sets URI query parameters. The parameter name / values are expected to be unescaped
|
|
and may contain non ASCII characters.
|
|
<p>
|
|
Please note query parameters and custom query component are mutually exclusive. This method
|
|
will remove custom query if present.
|
|
</p></div>
|
|
<dl><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.3</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addParameters(java.util.List)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addParameters</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> addParameters(<a href="https://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.http.NameValuePair> nvps)</pre>
|
|
<div class="block">Adds URI query parameters. The parameter name / values are expected to be unescaped
|
|
and may contain non ASCII characters.
|
|
<p>
|
|
Please note query parameters and custom query component are mutually exclusive. This method
|
|
will remove custom query if present.
|
|
</p></div>
|
|
<dl><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.3</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setParameters(org.apache.http.NameValuePair...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setParameters</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setParameters(org.apache.http.NameValuePair... nvps)</pre>
|
|
<div class="block">Sets URI query parameters. The parameter name / values are expected to be unescaped
|
|
and may contain non ASCII characters.
|
|
<p>
|
|
Please note query parameters and custom query component are mutually exclusive. This method
|
|
will remove custom query if present.
|
|
</p></div>
|
|
<dl><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.3</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addParameter(java.lang.String, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addParameter</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> addParameter(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> param,
|
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</pre>
|
|
<div class="block">Adds parameter to URI query. The parameter name and value are expected to be unescaped
|
|
and may contain non ASCII characters.
|
|
<p>
|
|
Please note query parameters and custom query component are mutually exclusive. This method
|
|
will remove custom query if present.
|
|
</p></div>
|
|
</li>
|
|
</ul>
|
|
<a name="setParameter(java.lang.String, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setParameter</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setParameter(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> param,
|
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</pre>
|
|
<div class="block">Sets parameter of URI query overriding existing value if set. The parameter name and value
|
|
are expected to be unescaped and may contain non ASCII characters.
|
|
<p>
|
|
Please note query parameters and custom query component are mutually exclusive. This method
|
|
will remove custom query if present.
|
|
</p></div>
|
|
</li>
|
|
</ul>
|
|
<a name="clearParameters()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>clearParameters</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> clearParameters()</pre>
|
|
<div class="block">Clears URI query parameters.</div>
|
|
<dl><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.3</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCustomQuery(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCustomQuery</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setCustomQuery(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> query)</pre>
|
|
<div class="block">Sets custom URI query. The value is expected to be unescaped and may contain non ASCII
|
|
characters.
|
|
<p>
|
|
Please note query parameters and custom query component are mutually exclusive. This method
|
|
will remove query parameters if present.
|
|
</p></div>
|
|
<dl><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.3</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setFragment(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setFragment</h4>
|
|
<pre>public <a href="../../../../../org/apache/http/client/utils/URIBuilder.html" title="class in org.apache.http.client.utils">URIBuilder</a> setFragment(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fragment)</pre>
|
|
<div class="block">Sets URI fragment. The value is expected to be unescaped and may contain non ASCII
|
|
characters.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isAbsolute()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAbsolute</h4>
|
|
<pre>public boolean isAbsolute()</pre>
|
|
<dl><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.3</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isOpaque()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isOpaque</h4>
|
|
<pre>public boolean isOpaque()</pre>
|
|
<dl><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.3</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getScheme()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getScheme</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getScheme()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getUserInfo()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getUserInfo</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getUserInfo()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getHost()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getHost</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getHost()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getPort()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPort</h4>
|
|
<pre>public int getPort()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isPathEmpty()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isPathEmpty</h4>
|
|
<pre>public boolean isPathEmpty()</pre>
|
|
<dl><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.5.8</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPathSegments()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPathSegments</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getPathSegments()</pre>
|
|
<dl><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.5.8</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPath()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPath</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getPath()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isQueryEmpty()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isQueryEmpty</h4>
|
|
<pre>public boolean isQueryEmpty()</pre>
|
|
<dl><dt><span class="strong">Since:</span></dt>
|
|
<dd>4.5.8</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getQueryParams()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getQueryParams</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.http.NameValuePair> getQueryParams()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getFragment()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getFragment</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getFragment()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="toString()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>toString</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/URIBuilder.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">
|
|
<li><a href="../../../../../org/apache/http/client/utils/Rfc3492Idn.html" title="class in org.apache.http.client.utils"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../../org/apache/http/client/utils/URIUtils.html" title="class in org.apache.http.client.utils"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../index.html?org/apache/http/client/utils/URIBuilder.html" target="_top">Frames</a></li>
|
|
<li><a href="URIBuilder.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../../allclasses-noframe.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>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small>Copyright © 1999–2022 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
|
|
</body>
|
|
</html>
|