@Stability.Internal public class CoreHttpPath extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
format() |
static String |
formatPath(String template,
List<String> args) |
static String |
formatPath(String template,
String... args) |
Map<String,String> |
getParams() |
String |
getTemplate() |
static CoreHttpPath |
path(String template) |
static CoreHttpPath |
path(String template,
Map<String,String> params) |
CoreHttpPath |
plus(CoreHttpPath subpath)
Returns a new path built by appending the given subpath to this path.
|
CoreHttpPath |
plus(String subpath)
Returns a new path built by appending the given subpath to this path.
|
CoreHttpPath |
plus(String subpathTemplate,
Map<String,String> subpathParams)
Returns a new path built by appending the given subpath template
and parameters to this path.
|
String |
toString() |
public static CoreHttpPath path(String template)
public static CoreHttpPath path(String template, Map<String,String> params)
public String getTemplate()
public String format()
public CoreHttpPath plus(String subpath)
public CoreHttpPath plus(String subpathTemplate, Map<String,String> subpathParams)
public CoreHttpPath plus(CoreHttpPath subpath)
Copyright © 2024 Couchbase, Inc.. All rights reserved.