protected abstract class AbstractClient.AbstractClientAsyncResponseInterceptor extends AbstractPhaseInterceptor<Message>
Modifier and Type | Method and Description |
---|---|
protected void |
closeAsyncResponseIfPossible(javax.ws.rs.core.Response r,
Message outMessage,
JaxrsClientCallback<?> cb) |
protected abstract void |
doHandleAsyncResponse(Message message,
javax.ws.rs.core.Response r,
JaxrsClientCallback<?> cb) |
protected void |
handleAsyncFault(Message message) |
void |
handleFault(Message message)
Called for all interceptors (in reverse order) on which handleMessage
had been successfully invoked, when normal execution of the chain was
aborted for some reason.
|
void |
handleMessage(Message message)
Intercepts a message.
|
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore
public void handleMessage(Message message) throws Fault
Interceptor
Fault
public void handleFault(Message message)
Interceptor
handleFault
in interface Interceptor<Message>
handleFault
in class AbstractPhaseInterceptor<Message>
protected abstract void doHandleAsyncResponse(Message message, javax.ws.rs.core.Response r, JaxrsClientCallback<?> cb)
protected void closeAsyncResponseIfPossible(javax.ws.rs.core.Response r, Message outMessage, JaxrsClientCallback<?> cb)
protected void handleAsyncFault(Message message)
Apache CXF