|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Registry
Web Scripts Registry
Method Summary | |
---|---|
Match |
findWebScript(String method,
String uri)
Gets a Web Script given an HTTP Method and URI |
Map<String,String> |
getFailures()
Gets all Web Script definitions that failed to register |
Path |
getFamily(String familyPath)
Gets a Web Script Family NOTE: - To get all families, pass / - To get a specific family, pass /{familyName} |
Path |
getLifecycle(String lifecyclePath)
Gets a Lifecycle Family, for example, all deprecated web scripts NOTE: - To get all lifecycles, pass / - To get a specific lifecycle, pass /{lifecycleName} |
Path |
getPackage(String packagePath)
Gets a Web Script Package |
Path |
getUri(String uriPath)
Gets a Web Script URL |
WebScript |
getWebScript(String id)
Gets a Web Script by Id |
Collection<WebScript> |
getWebScripts()
Gets all Web Scripts |
void |
reset()
Resets the Web Script Registry |
Method Detail |
---|
Path getPackage(String packagePath)
packagePath
-
Path getUri(String uriPath)
uriPath
-
Path getFamily(String familyPath)
familyPath
-
Path getLifecycle(String lifecyclePath)
lifecyclePath
-
Collection<WebScript> getWebScripts()
Map<String,String> getFailures()
WebScript getWebScript(String id)
id
- web script id
Match findWebScript(String method, String uri)
method
- http methoduri
- uri
void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |