|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jersey.server.impl.uri.rules.BaseRule
com.sun.jersey.server.impl.uri.rules.ResourceClassRule
public final class ResourceClassRule
The rule for accepting a resource class.
Constructor Summary | |
---|---|
ResourceClassRule(UriTemplate template,
java.lang.Class resourceClass)
|
Method Summary | |
---|---|
boolean |
accept(java.lang.CharSequence path,
java.lang.Object resource,
UriRuleContext context)
Accept the rule. |
Methods inherited from class com.sun.jersey.server.impl.uri.rules.BaseRule |
---|
getTemplate, pushMatch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceClassRule(UriTemplate template, java.lang.Class resourceClass)
Method Detail |
---|
public boolean accept(java.lang.CharSequence path, java.lang.Object resource, UriRuleContext context)
UriRule
path
- the URI pathresource
- the current resource instancecontext
- the rule context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |