public class PagingRequestArgumentResolver extends Object implements org.springframework.web.reactive.result.method.HandlerMethodArgumentResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
EMPTY_STRING |
static String |
SORT_BY_SEPARATOR |
static String |
SORT_BY_SPLITTER |
| Constructor and Description |
|---|
PagingRequestArgumentResolver() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAt(String[] strings,
int index,
String defaultValue) |
reactor.core.publisher.Mono<Object> |
resolveArgument(org.springframework.core.MethodParameter parameter,
org.springframework.web.reactive.BindingContext bindingContext,
org.springframework.web.server.ServerWebExchange exchange) |
boolean |
supportsParameter(org.springframework.core.MethodParameter parameter) |
Long |
toLong(String value,
Long defaultValue) |
SortBy |
toSortBy(String request,
PagingProperties pagingProperties) |
List<SortBy> |
toSortByList(String request,
PagingProperties pagingProperties) |
public static final String SORT_BY_SEPARATOR
public static final String SORT_BY_SPLITTER
public static final String EMPTY_STRING
public boolean supportsParameter(org.springframework.core.MethodParameter parameter)
supportsParameter in interface org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverpublic reactor.core.publisher.Mono<Object> resolveArgument(org.springframework.core.MethodParameter parameter, org.springframework.web.reactive.BindingContext bindingContext, org.springframework.web.server.ServerWebExchange exchange)
resolveArgument in interface org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverpublic List<SortBy> toSortByList(String request, PagingProperties pagingProperties)
public SortBy toSortBy(String request, PagingProperties pagingProperties)
Copyright © 2021. All rights reserved.