|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jersey.server.impl.template.ViewableRule
public class ViewableRule
A viewable rule that defers the request to a template. If a template is not available then the rule is not accepted.
| Constructor Summary | |
|---|---|
ViewableRule(java.util.List<QualitySourceMediaType> priorityMediaTypes,
java.util.List<ContainerRequestFilter> requestFilters,
java.util.List<ContainerResponseFilter> responseFilters)
|
|
| 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 |
| Constructor Detail |
|---|
public ViewableRule(java.util.List<QualitySourceMediaType> priorityMediaTypes,
java.util.List<ContainerRequestFilter> requestFilters,
java.util.List<ContainerResponseFilter> responseFilters)
| Method Detail |
|---|
public final boolean accept(java.lang.CharSequence path,
java.lang.Object resource,
UriRuleContext context)
UriRule
accept in interface UriRulepath - 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 | |||||||||