public class S3RequesterChargedHeaderHandler<T extends S3RequesterChargedResult> extends 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,
HttpResponse response)
Applies one or more headers to the response object given.
|
public void handle(T result, HttpResponse response)
HeaderHandlerhandle in interface HeaderHandler<T extends S3RequesterChargedResult>result - The response object to be returned to the client.response - The HTTP response from s3.