Class CoreHttpPath
- java.lang.Object
-
- com.couchbase.client.core.endpoint.http.CoreHttpPath
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringformat()static StringformatPath(String template, String... args)static StringformatPath(String template, List<String> args)Map<String,String>getParams()StringgetTemplate()static CoreHttpPathpath(String template)static CoreHttpPathpath(String template, Map<String,String> params)CoreHttpPathplus(CoreHttpPath subpath)Returns a new path built by appending the given subpath to this path.CoreHttpPathplus(String subpath)Returns a new path built by appending the given subpath to this path.CoreHttpPathplus(String subpathTemplate, Map<String,String> subpathParams)Returns a new path built by appending the given subpath template and parameters to this path.StringtoString()
-
-
-
Method Detail
-
path
public static CoreHttpPath path(String template)
-
path
public static CoreHttpPath path(String template, Map<String,String> params)
-
getTemplate
public String getTemplate()
-
format
public String format()
-
plus
public CoreHttpPath plus(String subpath)
Returns a new path built by appending the given subpath to this path.
-
plus
public CoreHttpPath plus(String subpathTemplate, Map<String,String> subpathParams)
Returns a new path built by appending the given subpath template and parameters to this path.
-
plus
public CoreHttpPath plus(CoreHttpPath subpath)
Returns a new path built by appending the given subpath to this path.
-
-