com.sun.jersey.server.impl.uri.rules
Class SubLocatorRule
java.lang.Object
com.sun.jersey.server.impl.uri.rules.BaseRule
com.sun.jersey.server.impl.uri.rules.SubLocatorRule
- All Implemented Interfaces:
- UriRule
public final class SubLocatorRule
- extends BaseRule
The rule for accepting a sub-locator method.
- Author:
- Paul.Sandoz@Sun.Com
|
Method Summary |
boolean |
accept(java.lang.CharSequence path,
java.lang.Object resource,
UriRuleContext context)
Accept the rule. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubLocatorRule
public SubLocatorRule(UriTemplate template,
java.util.List<Injectable> is,
java.util.List<ContainerRequestFilter> requestFilters,
java.util.List<ContainerResponseFilter> responseFilters,
DispatchingListener dispatchingListener,
AbstractSubResourceLocator locator)
accept
public boolean accept(java.lang.CharSequence path,
java.lang.Object resource,
UriRuleContext context)
- Description copied from interface:
UriRule
- Accept the rule.
- Parameters:
path - the URI pathresource - the current resource instancecontext - the rule context
- Returns:
- if true then the rule was accepted, if false then the rule was
not accepted.
Copyright © 2014 Oracle Corporation. All Rights Reserved.