@Priority(value=10)
@Singleton
public class MappableExceptionWrapperInterceptor
extends java.lang.Object
implements javax.ws.rs.ext.ReaderInterceptor, javax.ws.rs.ext.WriterInterceptor
| Modifier and Type | Class and Description |
|---|---|
static class |
MappableExceptionWrapperInterceptor.Binder
Binder registering the
Exception Wrapper Interceptor
(used on the client side). |
| Constructor and Description |
|---|
MappableExceptionWrapperInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) |
void |
aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context) |
public java.lang.Object aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context)
throws java.io.IOException,
javax.ws.rs.WebApplicationException
aroundReadFrom in interface javax.ws.rs.ext.ReaderInterceptorjava.io.IOExceptionjavax.ws.rs.WebApplicationExceptionpublic void aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context)
throws java.io.IOException,
javax.ws.rs.WebApplicationException
aroundWriteTo in interface javax.ws.rs.ext.WriterInterceptorjava.io.IOExceptionjavax.ws.rs.WebApplicationException