public class PathTemplate extends Object implements Comparable<PathTemplate>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PathTemplate o) |
static PathTemplate |
create(String path) |
String |
getBase() |
String |
getTemplateString() |
boolean |
matches(String path,
Map<String,String> pathParameters)
Check if the given uri matches the template.
|
String |
toString() |
public static PathTemplate create(String path)
public boolean matches(String path, Map<String,String> pathParameters)
path - The request path, relative to the context rootpathParameters - The path parameters map to fill outpublic int compareTo(PathTemplate o)
compareTo in interface Comparable<PathTemplate>public String getBase()
public String getTemplateString()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.