IRequestHandler
public final class TimestampFormatRequestHandler extends RequestHandler
Constructor | Description |
---|---|
TimestampFormatRequestHandler() |
Modifier and Type | Method | Description |
---|---|---|
void |
afterError(SdkHttpFullRequest request,
Response<?> response,
Exception e) |
Runs any additional processing logic on a request after it has failed.
|
void |
afterResponse(SdkHttpFullRequest request,
Response<?> response) |
Runs any additional processing logic on the specified request (after is has been executed by
the client runtime).
|
SdkHttpFullRequest |
beforeRequest(SdkHttpFullRequest request) |
Runs any additional processing logic on the specified request (before it is executed by the
client runtime).
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
beforeMarshalling, beforeUnmarshalling
public SdkHttpFullRequest beforeRequest(SdkHttpFullRequest request)
IRequestHandler
beforeRequest
in interface IRequestHandler
beforeRequest
in class RequestHandler
request
- The low level request being processed.public void afterResponse(SdkHttpFullRequest request, Response<?> response)
IRequestHandler
afterResponse
in interface IRequestHandler
afterResponse
in class RequestHandler
request
- The low level request being processed.response
- The response generated from the specified request.public void afterError(SdkHttpFullRequest request, Response<?> response, Exception e)
IRequestHandler
afterError
in interface IRequestHandler
afterError
in class RequestHandler
request
- The request that generated an error.response
- the response or null if the failure occurred before the response is made availablee
- The error that resulted from executing the request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.