T
- public class EmbeddedDocViewResponseHandler<T> extends StdResponseHandler<List<T>>
Constructor and Description |
---|
EmbeddedDocViewResponseHandler(Class<T> docType,
com.fasterxml.jackson.databind.ObjectMapper om) |
EmbeddedDocViewResponseHandler(Class<T> docType,
com.fasterxml.jackson.databind.ObjectMapper om,
boolean ignoreNotFound) |
Modifier and Type | Method and Description |
---|---|
List<T> |
success(HttpResponse hr)
Called when http response code is < 300
|
createDbAccessException, error
public EmbeddedDocViewResponseHandler(Class<T> docType, com.fasterxml.jackson.databind.ObjectMapper om)
public List<T> success(HttpResponse hr) throws Exception
ResponseCallback
success
in interface ResponseCallback<List<T>>
success
in class StdResponseHandler<List<T>>
Exception
Copyright © 2013. All Rights Reserved.