com.baidubce.services.bvw
Class BvwMetadataResponseHandler
java.lang.Object
com.baidubce.services.bvw.BvwMetadataResponseHandler
- All Implemented Interfaces:
- HttpResponseHandler
public class BvwMetadataResponseHandler
- extends Object
- implements HttpResponseHandler
The bvw metadata response handler.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BvwMetadataResponseHandler
public BvwMetadataResponseHandler()
handle
public boolean handle(BceHttpResponse httpResponse,
AbstractBceResponse response)
throws Exception
- Bvw Implementation of HttpResponseHandler. When server return a empty body,
wo should set content-length to 0 and transfer-encoding to null.
- Specified by:
handle in interface HttpResponseHandler
- Parameters:
httpResponse - The http responseresponse - The bce response
- Returns:
- If there is a next handle
- Throws:
Exception - JsonMappingException or JsonParseException
Copyright © 2020. All rights reserved.