Class CustomInterceptor
java.lang.Object
org.glassfish.jersey.examples.helloworld.CustomInterceptor
- All Implemented Interfaces:
WriterInterceptor
CDI based JAX-RS interceptor that re-writes the original output
with request ID obtained from another CDI bean.
- Author:
- Jakub Podlesak
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CustomInterceptor
public CustomInterceptor()
-
-
Method Details
-
aroundWriteTo
public void aroundWriteTo(WriterInterceptorContext context) throws IOException, WebApplicationException - Specified by:
aroundWriteToin interfaceWriterInterceptor- Throws:
IOExceptionWebApplicationException
-