|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UriRuleContext
The context for processing URI rules.
| Method Summary | |
|---|---|
java.lang.Object |
getResource(java.lang.Class resourceClass)
Get the resource instance from a resource class. |
UriRules<UriRule> |
getRules(java.lang.Class resourceClass)
Get the rules for a resource class. |
void |
pushMatch(UriTemplate template,
java.util.List<java.lang.String> names)
Push a match. |
void |
pushResource(java.lang.Object resource)
Push a matching resource. |
void |
pushRightHandPathLength(int rhpathlen)
Push the right hand path length to calculate the entry for the list of matching (ancestor) URI paths. |
| Methods inherited from interface com.sun.jersey.api.core.HttpContext |
|---|
getProperties, getRequest, getResponse, getUriInfo |
| Methods inherited from interface com.sun.jersey.spi.uri.rules.UriMatchResultContext |
|---|
getMatchResult, setMatchResult |
| Method Detail |
|---|
java.lang.Object getResource(java.lang.Class resourceClass)
resourceClass - the resource class
UriRules<UriRule> getRules(java.lang.Class resourceClass)
resourceClass - the resource class that has rules
void pushMatch(UriTemplate template,
java.util.List<java.lang.String> names)
template - the matching URI template.names - the parameter names associated with the capturing group
values.void pushResource(java.lang.Object resource)
resource - the matching resourcevoid pushRightHandPathLength(int rhpathlen)
rhpathlen - the right hand length
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||