public class UriBuilder
extends org.apache.http.client.utils.URIBuilder
| Constructor and Description |
|---|
UriBuilder() |
UriBuilder(String string) |
UriBuilder(URI uri) |
UriBuilder(org.apache.http.client.utils.URIBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
static UriBuilder |
fromUri(String uri) |
UriBuilder |
path(String path)
Appends a path to the current one
|
UriBuilder |
queryParam(String param,
String value)
Wrapper to addParameter()
|
org.apache.http.client.utils.URIBuilder |
setPath(String path) |
addParameter, addParameters, build, clearParameters, getCharset, getFragment, getHost, getPath, getPort, getQueryParams, getScheme, getUserInfo, isAbsolute, isOpaque, removeQuery, setCharset, setCustomQuery, setFragment, setHost, setParameter, setParameters, setParameters, setPort, setQuery, setScheme, setUserInfo, setUserInfo, toStringpublic UriBuilder()
public UriBuilder(String string) throws URISyntaxException
URISyntaxExceptionpublic UriBuilder(URI uri)
public UriBuilder(org.apache.http.client.utils.URIBuilder builder)
throws URISyntaxException
URISyntaxExceptionpublic static UriBuilder fromUri(String uri) throws URISyntaxException
URISyntaxExceptionpublic UriBuilder path(String path) throws URISyntaxException
path - URISyntaxExceptionpublic org.apache.http.client.utils.URIBuilder setPath(String path)
setPath in class org.apache.http.client.utils.URIBuilderpublic UriBuilder queryParam(String param, String value) throws URISyntaxException
param - value - URISyntaxExceptionCopyright © 2018 Redlink GmbH. All rights reserved.