T - public class EmbeddedDocViewResponseHandler<T> extends StdResponseHandler<List<T>>
| Constructor and Description |
|---|
EmbeddedDocViewResponseHandler(Class<T> docType,
org.codehaus.jackson.map.ObjectMapper om) |
EmbeddedDocViewResponseHandler(Class<T> docType,
org.codehaus.jackson.map.ObjectMapper om,
boolean ignoreNotFound) |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
success(HttpResponse hr)
Called when http response code is < 300
|
createDbAccessException, errorpublic EmbeddedDocViewResponseHandler(Class<T> docType, org.codehaus.jackson.map.ObjectMapper om)
public List<T> success(HttpResponse hr) throws Exception
ResponseCallbacksuccess in interface ResponseCallback<List<T>>success in class StdResponseHandler<List<T>>ExceptionCopyright © 2012. All Rights Reserved.