com.baidubce.services.tablestorage
Class TableStorageJsonResponseHandler

java.lang.Object
  extended by com.baidubce.services.tablestorage.TableStorageJsonResponseHandler
All Implemented Interfaces:
HttpResponseHandler

public class TableStorageJsonResponseHandler
extends Object
implements HttpResponseHandler

TableStorage Implementation of HttpResponseHandler. Relies on a Json unmarshaller for handling the responseContent.


Constructor Summary
TableStorageJsonResponseHandler()
          Constructs a TableStorage response handler
 
Method Summary
 boolean handle(BceHttpResponse httpResponse, AbstractBceResponse response)
          Handle these responses returned by TableStorage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableStorageJsonResponseHandler

public TableStorageJsonResponseHandler()
Constructs a TableStorage response handler

Method Detail

handle

public boolean handle(BceHttpResponse httpResponse,
                      AbstractBceResponse response)
               throws Exception
Handle these responses returned by TableStorage.

Specified by:
handle in interface HttpResponseHandler
Parameters:
httpResponse - http response returned by TableStorage.
response - abstract bce response returned by TableStorage.
Returns:
return whether the response has been handled well.
Throws:
Exception


Copyright © 2020. All rights reserved.