com.sun.jersey.server.impl.container.filter
Class AnnotationResourceFilterFactory
java.lang.Object
com.sun.jersey.server.impl.container.filter.AnnotationResourceFilterFactory
- All Implemented Interfaces:
- ResourceFilterFactory
public final class AnnotationResourceFilterFactory
- extends Object
- implements ResourceFilterFactory
- Author:
- Paul.Sandoz@Sun.Com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationResourceFilterFactory
public AnnotationResourceFilterFactory(FilterFactory ff)
create
public List<ResourceFilter> create(AbstractMethod am)
- Description copied from interface:
ResourceFilterFactory
- Create a list of
ResourceFilter
instance given a method
of the abstract resource model.
When applying the list of resource filters to a request each resource filter
is applied, in order, from the first to last entry in the list.
When applying the list of resource filters to a response each resource filter
is applied, in reverse order, from the last to first entry in the list.
- Specified by:
create
in interface ResourceFilterFactory
- Parameters:
am
- the abstract method. This may be an instance
of the following: AbstractResourceMethod
,
AbstractSubResourceMethod
or AbstractSubResourceLocator
.
- Returns:
- the list of resource filter, otherwise an empty list or null if
no resource filters are associated with the method.
Copyright © 2013 Oracle Corporation. All Rights Reserved.