|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.web.PageableArgumentResolver
PageableHandlerMethodArgumentResolver instead.
@Deprecated public class PageableArgumentResolver
Extracts paging information from web requests and thus allows injecting Pageable instances into controller
methods. Request properties to be parsed can be configured. Default configuration uses request properties beginning
with DEFAULT_PREFIXDEFAULT_SEPARATOR.
| Field Summary |
|---|
| Fields inherited from interface org.springframework.web.bind.support.WebArgumentResolver |
|---|
UNRESOLVED |
| Constructor Summary | |
|---|---|
PageableArgumentResolver()
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageableArgumentResolver()
| Method Detail |
|---|
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 set
public Object resolveArgument(MethodParameter methodParameter,
NativeWebRequest webRequest)
resolveArgument in interface WebArgumentResolver
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||