public class ResponseHeaderHandlerChain<T> extends COSXmlResponseHandler<T>
| 构造器和说明 |
|---|
ResponseHeaderHandlerChain(Unmarshaller<T,InputStream> responseUnmarshaller,
HeaderHandler<T>... headerHandlers) |
| 限定符和类型 | 方法和说明 |
|---|---|
CosServiceResponse<T> |
handle(CosHttpResponse response)
Accepts an HTTP response object, and returns an object of type T.
|
getResponseHeadersneedsConnectionLeftOpen, parseResponseMetadata, populateObjectMetadatapublic ResponseHeaderHandlerChain(Unmarshaller<T,InputStream> responseUnmarshaller, HeaderHandler<T>... headerHandlers)
public CosServiceResponse<T> handle(CosHttpResponse response) throws Exception
HttpResponseHandlerhandle 在接口中 HttpResponseHandler<CosServiceResponse<T>>handle 在类中 COSXmlResponseHandler<T>response - The HTTP response to handle, as received from an COS service.Exception - If any problems are encountered handling the response.Copyright © 2020. All rights reserved.