com.sun.jersey.server.impl.uri.rules
Class RootResourceClassesRule
java.lang.Object
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule
- All Implemented Interfaces:
- UriRule
public final class RootResourceClassesRule
- extends Object
- implements UriRule
The rule for accepting the root resource classes.
- Author:
- Paul.Sandoz@Sun.Com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RootResourceClassesRule
public RootResourceClassesRule(Map<PathPattern,UriRule> rulesMap)
accept
public boolean accept(CharSequence path,
Object resource,
UriRuleContext context)
- Description copied from interface:
UriRule
- Accept the rule.
- Specified by:
accept
in interface UriRule
- 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 © 2013 Oracle Corporation. All Rights Reserved.