T
- class type.public class S3RequesterChargedHeaderHandler<T extends S3RequesterChargedResult> extends java.lang.Object implements HeaderHandler<T>
Headers.REQUESTER_CHARGED_HEADER
header
out of the response. This header is required for requests with
Headers.REQUESTER_PAYS_HEADER
header.Constructor and Description |
---|
S3RequesterChargedHeaderHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(T result,
com.amazonaws.http.HttpResponse response)
Applies one or more headers to the response object given.
|
public void handle(T result, com.amazonaws.http.HttpResponse response)
HeaderHandler
handle
in interface HeaderHandler<T extends S3RequesterChargedResult>
result
- The response object to be returned to the client.response
- The HTTP response from s3.