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