org.ektorp.impl
Class PageResponseHandler<T>
java.lang.Object
org.ektorp.http.StdResponseHandler<Page<T>>
org.ektorp.impl.PageResponseHandler<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- ResponseCallback<Page<T>>
public class PageResponseHandler<T>
- extends StdResponseHandler<Page<T>>
- Author:
- henrik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageResponseHandler
public PageResponseHandler(PageRequest pr,
Class<T> docType,
org.codehaus.jackson.map.ObjectMapper om)
PageResponseHandler
public PageResponseHandler(PageRequest pr,
Class<T> docType,
org.codehaus.jackson.map.ObjectMapper om,
boolean ignoreNotFound)
success
public Page<T> success(HttpResponse hr)
throws Exception
- Description copied from interface:
ResponseCallback
- Called when http response code is < 300
- Specified by:
success
in interface ResponseCallback<Page<T>>
- Overrides:
success
in class StdResponseHandler<Page<T>>
- Throws:
Exception
Copyright © 2011. All Rights Reserved.