org.ektorp.impl
Class BulkOperationResponseHandler

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

public class BulkOperationResponseHandler
extends StdResponseHandler<List<DocumentOperationResult>>

Author:
henrik lundgren

Constructor Summary
BulkOperationResponseHandler(Collection<?> objects, org.codehaus.jackson.map.ObjectMapper om)
           
BulkOperationResponseHandler(org.codehaus.jackson.map.ObjectMapper om)
           
 
Method Summary
 List<DocumentOperationResult> success(HttpResponse hr)
          Called when http response code is < 300
 
Methods inherited from class org.ektorp.http.StdResponseHandler
createDbAccessException, error
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkOperationResponseHandler

public BulkOperationResponseHandler(org.codehaus.jackson.map.ObjectMapper om)

BulkOperationResponseHandler

public BulkOperationResponseHandler(Collection<?> objects,
                                    org.codehaus.jackson.map.ObjectMapper om)
Method Detail

success

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

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


Copyright © 2011. All Rights Reserved.