org.glassfish.jersey.process.internal
Class ResponseFilterResponder
java.lang.Object
org.glassfish.jersey.process.internal.ResponseFilterResponder
- All Implemented Interfaces:
- com.google.common.base.Function<Response,Response>
public class ResponseFilterResponder
- extends java.lang.Object
- implements com.google.common.base.Function<Response,Response>
- Author:
- Pavel Bucek (pavel.bucek at oracle.com), Santiago Pericas-Geertsen (santiago.pericasgeertsen at oracle.com)
|
Field Summary |
protected org.glassfish.hk2.Factory<org.glassfish.jersey.process.internal.JerseyFilterContext> |
filterContextFactory
|
|
Method Summary |
Response |
apply(Response data)
|
protected java.util.List<T> |
getFilters(java.lang.Class<T> filterContract)
Get the filter providers for the specific filter contract, sorted by their
binding priority. |
protected java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Get the immutable bag of request-scoped configuration properties. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
equals |
filterContextFactory
protected org.glassfish.hk2.Factory<org.glassfish.jersey.process.internal.JerseyFilterContext> filterContextFactory
ResponseFilterResponder
public ResponseFilterResponder()
apply
public Response apply(Response data)
- Specified by:
apply in interface com.google.common.base.Function<Response,Response>
getFilters
protected final java.util.List<T> getFilters(java.lang.Class<T> filterContract)
- Get the filter providers for the specific filter contract, sorted by their
binding priority. The filter ordering is determined
by the order defined in this instance.
- Parameters:
filterContract - filter contract.
- Returns:
- sorted list of filter contract providers.
getProperties
protected final java.util.Map<java.lang.String,java.lang.Object> getProperties()
- Get the immutable bag of request-scoped configuration properties.
- Returns:
- immutable property map.
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.