|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResponseListener
Method Summary | |
---|---|
void |
onError(long id,
java.lang.Throwable ex)
Called when exception is thrown during dispatching and not mapped via ExceptionMapper. |
void |
onMappedException(long id,
java.lang.Throwable exception,
ExceptionMapper mapper)
Called when Jersey has finalized response and handles it back to container. |
void |
onResponse(long id,
ContainerResponse response)
Called when Jersey has finalized response and handles it back to container. |
Method Detail |
---|
void onError(long id, java.lang.Throwable ex)
id
- Context ID.ex
- thrown exception.void onResponse(long id, ContainerResponse response)
id
- Context ID.response
- response instance. It MUST NOT be modified.void onMappedException(long id, java.lang.Throwable exception, ExceptionMapper mapper)
id
- Context ID.exception
- thrown exception.mapper
- ExceptionMapper
used for processing that particular exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |