Package org.jclouds.http
Class Uris.UriBuilder
java.lang.Object
org.jclouds.http.Uris.UriBuilder
- Enclosing class:
Uris
Mutable URI builder that can be in level 1 RFC6570 template form.
ex.
https://api.github.com/repos/{user}
-
Method Summary
Modifier and TypeMethodDescriptionappendPath(String path) build()replaceQuery(com.google.common.collect.Multimap<String, ?> parameters) replaceQuery(String name, Iterable<?> values) replaceQuery(String name, String... values) replaceQuery(Map<String, ?> parameters) skipPathEncoding(Iterable<Character> skipPathEncoding) override default of/ : ; =toString()returns template expression without url encoding
-
Method Details
-
skipPathEncoding
override default of/ : ; =- Parameters:
scheme- scheme to set or replace
-
scheme
- Parameters:
scheme- scheme to set or replace
-
host
- Parameters:
host- host to set or replace- Returns:
- replaced value
-
path
-
appendPath
-
query
-
clearQuery
-
query
-
addQuery
-
addQuery
-
addQuery
-
replaceQuery
-
replaceQuery
-
replaceQuery
-
replaceQuery
-
build
-
build
-
build
- Throws:
IllegalArgumentException- if there's a problem parsing the URI
-
toString
returns template expression without url encoding
-