Uses of Class
com.google.api.pathtemplate.PathTemplate
-
Packages that use PathTemplate Package Description com.google.api.pathtemplate -
-
Uses of PathTemplate in com.google.api.pathtemplate
Methods in com.google.api.pathtemplate that return PathTemplate Modifier and Type Method Description static PathTemplate
PathTemplate. create(String template)
Creates a path template from a string.static PathTemplate
PathTemplate. createWithoutUrlEncoding(String template)
Creates a path template from a string.PathTemplate
PathTemplate. parentTemplate()
Returns a template for the parent of this template.PathTemplate
PathTemplate. subTemplate(String varName)
Returns a path template for the sub-path of the given variable.PathTemplate
TemplatedResourceName. template()
Gets the template associated with this resource name.PathTemplate
PathTemplate. withoutVars()
Returns a template where all variable bindings have been replaced by wildcards, but which is equivalent regards matching to this one.Methods in com.google.api.pathtemplate with parameters of type PathTemplate Modifier and Type Method Description static TemplatedResourceName
TemplatedResourceName. create(PathTemplate template, String path)
Creates a new resource name based on given template and path.static TemplatedResourceName
TemplatedResourceName. create(PathTemplate template, Map<String,String> values)
Creates a new resource name from a template and a value assignment for variables.static TemplatedResourceName
TemplatedResourceName. createFromFullName(PathTemplate template, String path)
Creates a new resource name based on given template and path, where the path contains an endpoint.
-