R
- S
- public interface ProtocolHandlerResultHandler<R extends Response,S extends ProtocolSession> extends ProtocolHandler
ProtocolHandler
which allows to intercept returned Response
's and act on them.
This could be to gather statistics or even replace them.Modifier and Type | Method and Description |
---|---|
Response |
onResponse(ProtocolSession session,
R response,
long executionTime,
ProtocolHandler handler)
Get called when a
Response was returned from the ProtocolHandler |
Response onResponse(ProtocolSession session, R response, long executionTime, ProtocolHandler handler)
Response
was returned from the ProtocolHandler
session
- response
- handler
- Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.