|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.message.internal.ExceptionWrapperInterceptor
public class ExceptionWrapperInterceptor
Interceptor that transforms WebApplicationException to
MessageBodyProcessingException. This should be used on the client. It must have
the lowest priority in order to wrap all other interceptors.
| Nested Class Summary | |
|---|---|
static class |
ExceptionWrapperInterceptor.Module
Module registering the Exception Wrapper Interceptor
(used on the client side). |
| Constructor Summary | |
|---|---|
ExceptionWrapperInterceptor()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
aroundReadFrom(ReaderInterceptorContext context)
|
void |
aroundWriteTo(WriterInterceptorContext context)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionWrapperInterceptor()
| Method Detail |
|---|
public java.lang.Object aroundReadFrom(ReaderInterceptorContext context)
throws java.io.IOException,
WebApplicationException
aroundReadFrom in interface ReaderInterceptorjava.io.IOException
WebApplicationException
public void aroundWriteTo(WriterInterceptorContext context)
throws java.io.IOException,
WebApplicationException
aroundWriteTo in interface WriterInterceptorjava.io.IOException
WebApplicationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||