Package com.couchbase.client.core.util
Class UrlQueryStringBuilder
java.lang.Object
com.couchbase.client.core.util.UrlQueryStringBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddIfNotNull
(String name, String value) build()
static UrlQueryStringBuilder
create()
Returns a new instance that performs URL-encoding on parameter names as well as values.static UrlQueryStringBuilder
Returns a new instance that assumes none of the parameter names need URL-encoding.setIfNotNull
(String name, String value) toString()
static String
-
Method Details
-
createForUrlSafeNames
Returns a new instance that assumes none of the parameter names need URL-encoding. -
create
Returns a new instance that performs URL-encoding on parameter names as well as values. -
set
-
setIfNotNull
-
set
-
set
-
set
-
add
-
addIfNotNull
-
add
-
add
-
add
-
build
-
urlEncode
-
toString
-