com.sun.jersey.spi.uri.rules
Interface UriRule
- All Known Implementing Classes:
- BaseRule, HttpMethodRule, ResourceClassRule, ResourceObjectRule, RightHandPathRule, RootResourceClassesRule, SubLocatorRule, TerminatingRule, ViewableRule
public interface UriRule
A URI rule that can accept a URI path.
- Author:
- Paul.Sandoz@Sun.Com
accept
boolean accept(CharSequence path,
Object resource,
UriRuleContext context)
- 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 © 2013 Oracle Corporation. All Rights Reserved.