public class COSObjectResponseHandler extends AbstractCosResponseHandler<COSObject>
| 构造器和说明 |
|---|
COSObjectResponseHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
CosServiceResponse<COSObject> |
handle(CosHttpResponse response)
Accepts an HTTP response object, and returns an object of type T.
|
boolean |
needsConnectionLeftOpen()
The majority of COS response handlers read the complete response while handling it, and don't
need to manually manage the underlying HTTP connection.
|
parseResponseMetadata, populateObjectMetadatapublic CosServiceResponse<COSObject> handle(CosHttpResponse response) throws Exception
HttpResponseHandlerresponse - The HTTP response to handle, as received from an COS service.Exception - If any problems are encountered handling the response.public boolean needsConnectionLeftOpen()
AbstractCosResponseHandlerneedsConnectionLeftOpen 在接口中 HttpResponseHandler<CosServiceResponse<COSObject>>needsConnectionLeftOpen 在类中 AbstractCosResponseHandler<COSObject>Copyright © 2022. All rights reserved.