com.baidubce.services.moladb
Class MolaDbJsonResponseHandler

java.lang.Object
  extended by com.baidubce.services.moladb.MolaDbJsonResponseHandler
All Implemented Interfaces:
HttpResponseHandler

public class MolaDbJsonResponseHandler
extends Object
implements HttpResponseHandler

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


Constructor Summary
MolaDbJsonResponseHandler()
          The JSON unmarshaller to use when handling the responseContent
 
Method Summary
 boolean handle(BceHttpResponse httpResponse, AbstractBceResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MolaDbJsonResponseHandler

public MolaDbJsonResponseHandler()
The JSON unmarshaller to use when handling the responseContent

Method Detail

handle

public boolean handle(BceHttpResponse httpResponse,
                      AbstractBceResponse response)
               throws Exception
Specified by:
handle in interface HttpResponseHandler
Throws:
Exception


Copyright © 2018. All rights reserved.