28.3. PostProcessInterceptors
The
org.jboss.resteasy.spi.interception.PostProcessInterceptor
runs after the JAX-RS method is invoked but before MessageBodyWriter
s are invoked. They can only be used on the server side, and exist to provide symmetry with PreProcessInterceptor
. They are used to set response headers when there is a possibility that no MessageBodyWriter
will be invoked. They do not wrap any object, and are invoked in order, like PreProcessInterceptor
s.
public interface PostProcessInterceptor { void postProcess(ServerResponse response); }