com.netease.cloud.services.nos.internal
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 nos.Copyright © 2017. All Rights Reserved.