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)
HeaderHandler
handle
in interface HeaderHandler<T extends S3RequesterChargedResult>
result
- The response object to be returned to the client.response
- The HTTP response from s3.Copyright © 2024. All rights reserved.