javax.ws.rs.ext.MessageBodyWriter#writeTo.
Providers implementing WriterInterceptor contract must be either programmatically
registered in a JAX-RS runtime or must be annotated with
@Provider annotation to be automatically discovered
by the JAX-RS runtime during a provider scanning phase.
Message body interceptor instances may also be discovered and
bound dynamically to particular resource methods.
MessageBodyWriter
| Modifier and Type | Method and Description |
|---|---|
| public void | aroundWriteTo(WriterInterceptorContext
invocation context. context)Interceptor method wrapping calls to |
| aroundWriteTo | back to summary |
|---|---|
| public void aroundWriteTo(WriterInterceptorContext context) throws IOException, WebApplicationException Interceptor method wrapping calls to
| |