public class UriTemplate extends Object
| Constructor and Description |
|---|
UriTemplate(String template)
Construct
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Pattern |
getRegex() |
int |
getStaticCharCount() |
String |
getTemplate() |
String[] |
getVariableNames() |
int |
hashCode() |
Map<String,String> |
match(String uri)
Determine if uri is matched by this uri template and return a map of variable
values if it does.
|
String |
toString() |
public UriTemplate(String template)
template - Stringpublic Map<String,String> match(String uri)
uri - uri to matchpublic String getTemplate()
public Pattern getRegex()
public String[] getVariableNames()
public int getStaticCharCount()
Copyright © 2005–2021 Alfresco Software. All rights reserved.