com.baidubce.services.bvw
Class BvwErrorResponseHandler

java.lang.Object
  extended by com.baidubce.services.bvw.BvwErrorResponseHandler
All Implemented Interfaces:
HttpResponseHandler

public class BvwErrorResponseHandler
extends Object
implements HttpResponseHandler

HTTP error response handler for Baidu BCE responses.


Constructor Summary
BvwErrorResponseHandler()
           
 
Method Summary
 boolean handle(BceHttpResponse httpResponse, AbstractBceResponse response)
          Bvw Implementation of HttpResponseHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BvwErrorResponseHandler

public BvwErrorResponseHandler()
Method Detail

handle

public boolean handle(BceHttpResponse httpResponse,
                      AbstractBceResponse response)
               throws Exception
Bvw Implementation of HttpResponseHandler.

Specified by:
handle in interface HttpResponseHandler
Parameters:
httpResponse - The http response
response - The bce response
Returns:
If there is a next handle
Throws:
Exception - JsonMappingException or JsonParseException


Copyright © 2020. All rights reserved.