Uses of Class
org.apache.hc.core5.net.URIBuilder
Packages that use URIBuilder
-
Uses of URIBuilder in org.apache.hc.core5.net
Methods in org.apache.hc.core5.net that return URIBuilderModifier and TypeMethodDescriptionURIBuilder.addParameter
(String param, String value) Adds parameter to URI query.URIBuilder.addParameter
(NameValuePair nameValuePair) Adds parameter to URI query.URIBuilder.addParameters
(List<NameValuePair> nameValuePairs) Adds URI query parameters.URIBuilder.appendPath
(String path) Appends path to URI.URIBuilder.appendPathSegments
(String... pathSegments) Appends segments URI path.URIBuilder.appendPathSegments
(List<String> pathSegments) Appends segments to URI path.URIBuilder.clearParameters()
Clears URI query parameters.static URIBuilder
URIBuilder.localhost()
Creates a new builder for the hostInetAddress.getLocalHost()
.static URIBuilder
URIBuilder.loopbackAddress()
Creates a new builder for the hostInetAddress.getLoopbackAddress()
.URIBuilder.normalizeSyntax()
Normalizes syntax of URI components if the URI is considered non-opaque (the path component has a root): characters of scheme and host components are converted to lower case dot segments of the path component are removed if the path has a root percent encoding of all components is normalizedURIBuilder.removeParameter
(String param) Removes parameter of URI query if set.URIBuilder.removeQuery()
Removes URI query.URIBuilder.setAuthority
(NamedEndpoint authority) Sets the authority.URIBuilder.setAuthority
(URIAuthority authority) Sets the authority.URIBuilder.setCharset
(Charset charset) Sets the Charset.URIBuilder.setCustomQuery
(String query) Sets custom URI query.URIBuilder.setFragment
(String fragment) Sets URI fragment.Sets URI host.URIBuilder.setHost
(InetAddress host) Sets URI host.URIBuilder.setHttpHost
(HttpHost httpHost) Sets the scheme, host name, and port.URIBuilder.setParameter
(String param, String value) Sets parameter of URI query overriding existing value if set.URIBuilder.setParameters
(List<NameValuePair> nameValuePairs) Sets URI query parameters.URIBuilder.setParameters
(NameValuePair... nameValuePairs) Sets URI query parameters.Sets URI path.URIBuilder.setPathSegments
(String... pathSegments) Sets URI path.URIBuilder.setPathSegments
(List<String> pathSegments) Sets URI path.URIBuilder.setPathSegmentsRootless
(String... pathSegments) Sets rootless URI path (the first segment does not start with a /).URIBuilder.setPathSegmentsRootless
(List<String> pathSegments) Sets rootless URI path (the first segment does not start with a /).URIBuilder.setPort
(int port) Sets URI port.Sets URI scheme.URIBuilder.setSchemeSpecificPart
(String schemeSpecificPart) Sets the URI scheme specific part.URIBuilder.setSchemeSpecificPart
(String schemeSpecificPart, List<NameValuePair> nvps) Sets the URI scheme specific part and append a list of NameValuePair to this part.URIBuilder.setSchemeSpecificPart
(String schemeSpecificPart, NameValuePair... nvps) Sets the URI scheme specific part and append a variable arguments list of NameValuePair instance(s) to this part.URIBuilder.setUserInfo
(String userInfo) Sets URI user info.URIBuilder.setUserInfo
(String username, String password) Deprecated.
URI
s has been deprecated and is strongly discouraged.