Package org.jclouds.http
Class Uris.UriBuilder
- java.lang.Object
-
- org.jclouds.http.Uris.UriBuilder
-
-
Method Summary
-
-
-
Method Detail
-
skipPathEncoding
public Uris.UriBuilder skipPathEncoding(Iterable<Character> skipPathEncoding)
override default of/ : ; =
- Parameters:
scheme
- scheme to set or replace
-
scheme
public Uris.UriBuilder scheme(String scheme)
- Parameters:
scheme
- scheme to set or replace
-
host
public Uris.UriBuilder host(String host)
- Parameters:
host
- host to set or replace- Returns:
- replaced value
-
path
public Uris.UriBuilder path(@Nullable String path)
-
appendPath
public Uris.UriBuilder appendPath(String path)
-
query
public Uris.UriBuilder query(@Nullable String queryLine)
-
clearQuery
public Uris.UriBuilder clearQuery()
-
query
public Uris.UriBuilder query(com.google.common.collect.Multimap<String,?> parameters)
-
addQuery
public Uris.UriBuilder addQuery(String name, Iterable<?> values)
-
addQuery
public Uris.UriBuilder addQuery(String name, String... values)
-
addQuery
public Uris.UriBuilder addQuery(com.google.common.collect.Multimap<String,?> parameters)
-
replaceQuery
public Uris.UriBuilder replaceQuery(String name, Iterable<?> values)
-
replaceQuery
public Uris.UriBuilder replaceQuery(String name, String... values)
-
replaceQuery
public Uris.UriBuilder replaceQuery(Map<String,?> parameters)
-
replaceQuery
public Uris.UriBuilder replaceQuery(com.google.common.collect.Multimap<String,?> parameters)
-
build
public URI build()
-
build
public URI build(Map<String,?> variables)
- Throws:
IllegalArgumentException
- if there's a problem parsing the URI
-
-