public class ObjectExpirationHeaderHandler<T extends ObjectExpirationResult> extends Object implements HeaderHandler<T>
Constructor and Description |
---|
ObjectExpirationHeaderHandler() |
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 ObjectExpirationResult>
result
- The response object to be returned to the client.response
- The HTTP response from s3.Copyright © 2022. All rights reserved.