public interface PageableArgumentResolver
extends org.springframework.web.method.support.HandlerMethodArgumentResolver
Pageable
object from a NativeWebRequest
for a particular
MethodParameter
. A PageableArgumentResolver
can either resolve Pageable
itself or wrap
another PageableArgumentResolver
to post-process Pageable
. Pageable
resolution yields either
in a Pageable
object or null if Pageable
cannot be resolved.HandlerMethodArgumentResolver
Modifier and Type | Method and Description |
---|---|
Pageable |
resolveArgument(org.springframework.core.MethodParameter parameter,
org.springframework.web.method.support.ModelAndViewContainer mavContainer,
org.springframework.web.context.request.NativeWebRequest webRequest,
org.springframework.web.bind.support.WebDataBinderFactory binderFactory)
Resolves a
Pageable method parameter into an argument value from a given request. |
Pageable resolveArgument(org.springframework.core.MethodParameter parameter, org.springframework.web.method.support.ModelAndViewContainer mavContainer, org.springframework.web.context.request.NativeWebRequest webRequest, org.springframework.web.bind.support.WebDataBinderFactory binderFactory)
Pageable
method parameter into an argument value from a given request.resolveArgument
in interface org.springframework.web.method.support.HandlerMethodArgumentResolver
parameter
- the method parameter to resolve. This parameter must have previously been passed to
HandlerMethodArgumentResolver.supportsParameter(org.springframework.core.MethodParameter)
which must have returned true
.mavContainer
- the ModelAndViewContainer for the current requestwebRequest
- the current requestbinderFactory
- a factory for creating WebDataBinder
instancesnull
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.