public class ReactivePageableHandlerMethodArgumentResolver extends PageableHandlerMethodArgumentResolverSupport implements SyncHandlerMethodArgumentResolver
Pageable
instances into WebFlux
controller methods. Request properties to be parsed can be configured. Default configuration uses request parameters
beginning with PageableHandlerMethodArgumentResolverSupport.DEFAULT_PAGE_PARAMETER
PageableHandlerMethodArgumentResolverSupport.DEFAULT_QUALIFIER_DELIMITER
.Constructor and Description |
---|
ReactivePageableHandlerMethodArgumentResolver()
Constructs an instance of this resolved with a default
ReactiveSortHandlerMethodArgumentResolver . |
ReactivePageableHandlerMethodArgumentResolver(ReactiveSortHandlerMethodArgumentResolver sortResolver)
Constructs an instance of this resolver with the specified
SortArgumentResolver . |
Modifier and Type | Method and Description |
---|---|
Pageable |
resolveArgumentValue(MethodParameter parameter,
BindingContext bindingContext,
ServerWebExchange exchange) |
boolean |
supportsParameter(MethodParameter parameter) |
getMaxPageSize, getPageable, getPageParameterName, getParameterNameToUse, getSizeParameterName, isFallbackPageable, isOneIndexedParameters, setFallbackPageable, setMaxPageSize, setOneIndexedParameters, setPageParameterName, setPrefix, setQualifierDelimiter, setSizeParameterName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolveArgument
public ReactivePageableHandlerMethodArgumentResolver()
ReactiveSortHandlerMethodArgumentResolver
.public ReactivePageableHandlerMethodArgumentResolver(ReactiveSortHandlerMethodArgumentResolver sortResolver)
SortArgumentResolver
.sortResolver
- the sort resolver to use.public boolean supportsParameter(MethodParameter parameter)
supportsParameter
in interface HandlerMethodArgumentResolver
@NonNull public Pageable resolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)
resolveArgumentValue
in interface SyncHandlerMethodArgumentResolver
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.