public class ResponseHeaderHandlerChain<T> extends COSXmlResponseHandler<T>
| Constructor and Description |
|---|
ResponseHeaderHandlerChain(Unmarshaller<T,InputStream> responseUnmarshaller,
HeaderHandler<T>... headerHandlers) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface HttpResponseHandler<CosServiceResponse<T>>handle in class COSXmlResponseHandler<T>response - The HTTP response to handle, as received from an COS service.Exception - If any problems are encountered handling the response.Copyright © 2023. All rights reserved.