public interface ResourceFilterFactory
ResourceFilter
instances that match methods of the abstract resource model.
Resource filter factories are registered with the ResourceConfig
using the property ResourceConfig.PROPERTY_RESOURCE_FILTER_FACTORIES.
com.sun.jersey.api.container.filter| Modifier and Type | Method and Description |
|---|---|
java.util.List<ResourceFilter> |
create(AbstractMethod am)
Create a list of
ResourceFilter instance given a method
of the abstract resource model. |
java.util.List<ResourceFilter> create(AbstractMethod am)
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.
am - the abstract method. This may be an instance
of the following: AbstractResourceMethod,
AbstractSubResourceMethod or AbstractSubResourceLocator.Copyright © 2016 Oracle Corporation. All Rights Reserved.