|
||||||||||
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.ResourceObjectRule
public final class ResourceObjectRule
The rule for accepting a resource object.
Constructor Summary | |
---|---|
ResourceObjectRule(UriTemplate template,
java.lang.Object resourceObject)
|
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 ResourceObjectRule(UriTemplate template, java.lang.Object resourceObject)
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 |