|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.webscripts.PrefixTemplateUriIndex
public class PrefixTemplateUriIndex
Uri index supporting simple URI templates where matching is performed on static prefix of the URI. e.g. /a/{b} is matched on /a Note: this index was used until Alfresco v3.0
Constructor Summary | |
---|---|
PrefixTemplateUriIndex()
|
Method Summary | |
---|---|
void |
clear()
Clear the index |
Match |
findWebScript(String method,
String uri)
Gets a Web Script given an HTTP Method and URI |
int |
getSize()
Gets size of index (i.e. |
void |
registerUri(WebScript script,
String uri)
Register a URI with a Web Script |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrefixTemplateUriIndex()
Method Detail |
---|
public void clear()
UriIndex
clear
in interface UriIndex
public int getSize()
UriIndex
getSize
in interface UriIndex
public void registerUri(WebScript script, String uri)
UriIndex
registerUri
in interface UriIndex
public Match findWebScript(String method, String uri)
UriIndex
findWebScript
in interface UriIndex
method
- http methoduri
- uri
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |