public class NullPagingStrategy extends Object implements PagingStrategy
PagingStrategy which simply passes throw the results.| Modifier and Type | Field and Description |
|---|---|
static NullPagingStrategy |
INSTANCE |
| Modifier | Constructor and Description |
|---|---|
private |
NullPagingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
PaginationInfo |
getPaginationInfo()
Returns the
PaginationInfo for the current request. |
Object |
process(Object results,
RouteContext routeContext)
Process allows for manipulating the result of an endpoint target method invocation.
|
public static final NullPagingStrategy INSTANCE
public Object process(Object results, RouteContext routeContext)
PagingStrategyprocess in interface PagingStrategyresults - the result returned from the target endpoint method.routeContext - the RouteContext.Object Either the unchanged result or a modified result depending on the underlying implementation.public PaginationInfo getPaginationInfo()
PagingStrategyPaginationInfo for the current request.getPaginationInfo in interface PagingStrategyPaginationInfo for the current request.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.