com.netease.cloud.services.nos.internal.HeaderHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nos-sdk-java-publiccloud Show documentation
Show all versions of nos-sdk-java-publiccloud Show documentation
nos java sdk to the Central Repository
The newest version!
package com.netease.cloud.services.nos.internal;
import com.netease.cloud.http.HttpResponse;
/**
* Assistant response handler that can pull an HTTP header out of the response
* and apply it to a response object.
*/
public interface HeaderHandler {
/**
* Applies one or more headers to the response object given.
*
* @param result
* The response object to be returned to the client.
* @param response
* The HTTP response from nos.
*/
public void handle(T result, HttpResponse response);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy