PageableHandlerMethodArgumentResolver
instead.@Deprecated public class PageableArgumentResolver extends Object implements WebArgumentResolver
Pageable
instances into controller
methods. Request properties to be parsed can be configured. Default configuration uses request properties beginning
with DEFAULT_PREFIX
DEFAULT_SEPARATOR
.UNRESOLVED
Constructor and Description |
---|
PageableArgumentResolver()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
resolveArgument(MethodParameter methodParameter,
NativeWebRequest webRequest)
Deprecated.
|
void |
setFallbackPageable(Pageable fallbackPageable)
Deprecated.
Setter to configure a fallback instance of
Pageable that is being used to back missing parameters. |
void |
setPrefix(String prefix)
Deprecated.
Setter to configure the prefix of request parameters to be used to retrieve paging information.
|
void |
setSeparator(String separator)
Deprecated.
Setter to configure the separator between prefix and actual property value.
|
public void setFallbackPageable(Pageable fallbackPageable)
Pageable
that is being used to back missing parameters. Defaults
to DEFAULT_PAGE_REQUEST
.fallbackPageable
- the fallbackPageable to setpublic void setPrefix(String prefix)
DEFAULT_PREFIX
.prefix
- the prefix to setpublic void setSeparator(String separator)
DEFAULT_SEPARATOR
.separator
- the separator to setpublic Object resolveArgument(MethodParameter methodParameter, NativeWebRequest webRequest)
resolveArgument
in interface WebArgumentResolver
Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.