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

Method Summary
 boolean accept(CharSequence path, Object resource, UriRuleContext context)
          Accept the rule.
 

Method Detail

accept

boolean accept(CharSequence path,
               Object resource,
               UriRuleContext context)
Accept the rule.

Parameters:
path - the URI path
resource - the current resource instance
context - 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.