|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.webscripts.Match
public final class Match
Represents a URI to Web Script match This class is immutable.
Nested Class Summary | |
---|---|
static class |
Match.Kind
Kind of Match |
Constructor Summary | |
---|---|
Match(String templatePath,
Map<String,String> templateVars,
String matchPath)
Construct |
|
Match(String templatePath,
Map<String,String> templateVars,
String matchPath,
WebScript script)
Construct |
Method Summary | |
---|---|
Match.Kind |
getKind()
Gets the kind of Match |
String |
getPath()
Gets the static (i.e. |
String |
getTemplate()
Gets the template request URL that matched the Web Script URL Template |
Map<String,String> |
getTemplateVars()
Gets the template variable substitutions |
WebScript |
getWebScript()
Gets the matching web script |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Match(String templatePath, Map<String,String> templateVars, String matchPath, WebScript script)
templateVars
- script
- public Match(String templatePath, Map<String,String> templateVars, String matchPath)
templatePath
- Method Detail |
---|
public Match.Kind getKind()
public String getTemplate()
public Map<String,String> getTemplateVars()
public String getPath()
public WebScript getWebScript()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |