org.ektorp.impl
Class DocIdResponseHandler

java.lang.Object
  extended by org.ektorp.http.StdResponseHandler<List<String>>
      extended by org.ektorp.impl.DocIdResponseHandler
All Implemented Interfaces:
ResponseCallback<List<String>>

public class DocIdResponseHandler
extends StdResponseHandler<List<String>>

Author:
henrik lundgren

Constructor Summary
DocIdResponseHandler(com.fasterxml.jackson.databind.ObjectMapper om)
           
 
Method Summary
 List<String> success(HttpResponse hr)
          Called when http response code is < 300
 
Methods inherited from class org.ektorp.http.StdResponseHandler
checkResponseBodyOkAndReturnDefaultValue, createDbAccessException, error, responseBodyAsNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocIdResponseHandler

public DocIdResponseHandler(com.fasterxml.jackson.databind.ObjectMapper om)
Method Detail

success

public List<String> success(HttpResponse hr)
                     throws Exception
Description copied from interface: ResponseCallback
Called when http response code is < 300

Specified by:
success in interface ResponseCallback<List<String>>
Overrides:
success in class StdResponseHandler<List<String>>
Throws:
Exception


Copyright © 2017. All rights reserved.