public final class SDKInfoHandler extends RequestHandler2
| Constructor and Description |
|---|
SDKInfoHandler(SDKInfo sdkInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterError(Request<?> arg0,
Response<?> arg1,
java.lang.Exception arg2)
Runs any additional processing logic on a request after it has failed.
|
void |
afterResponse(Request<?> arg0,
Response<?> arg1)
Runs any additional processing logic on the specified request (after is
has been executed by the client runtime).
|
void |
beforeRequest(Request<?> request)
Runs any additional processing logic on the specified request (before it
is executed by the client runtime).
|
adaptpublic SDKInfoHandler(SDKInfo sdkInfo)
public void afterError(Request<?> arg0, Response<?> arg1, java.lang.Exception arg2)
RequestHandler2afterError in class RequestHandler2arg0 - The request that generated an error.arg1 - the response or null if the failure occurred before the
response is made availablearg2 - The error that resulted from executing the request.public void afterResponse(Request<?> arg0, Response<?> arg1)
RequestHandler2afterResponse in class RequestHandler2arg0 - The low level request being processed.arg1 - The response generated from the specified request.public void beforeRequest(Request<?> request)
RequestHandler2beforeRequest in class RequestHandler2request - The low level request being processed.