Package org.springframework.data.web
Class ReactiveSortHandlerMethodArgumentResolver
java.lang.Object
org.springframework.data.web.SortHandlerMethodArgumentResolverSupport
org.springframework.data.web.ReactiveSortHandlerMethodArgumentResolver
- All Implemented Interfaces:
org.springframework.web.reactive.result.method.HandlerMethodArgumentResolver
,org.springframework.web.reactive.result.method.SyncHandlerMethodArgumentResolver
public class ReactiveSortHandlerMethodArgumentResolver
extends SortHandlerMethodArgumentResolverSupport
implements org.springframework.web.reactive.result.method.SyncHandlerMethodArgumentResolver
Reactive
HandlerMethodArgumentResolver
to create Sort
instances from query string parameters or
SortDefault
annotations.- Since:
- 2.2
- Author:
- Mark Paluch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveArgumentValue
(org.springframework.core.MethodParameter parameter, org.springframework.web.reactive.BindingContext bindingContext, org.springframework.web.server.ServerWebExchange exchange) boolean
supportsParameter
(org.springframework.core.MethodParameter parameter) Methods inherited from class org.springframework.data.web.SortHandlerMethodArgumentResolverSupport
foldIntoExpressions, getDefaultFromAnnotationOrFallback, getPropertyDelimiter, getSortParameter, legacyFoldExpressions, setFallbackSort, setPropertyDelimiter, setQualifierDelimiter, setSortParameter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.reactive.result.method.SyncHandlerMethodArgumentResolver
resolveArgument
-
Constructor Details
-
ReactiveSortHandlerMethodArgumentResolver
public ReactiveSortHandlerMethodArgumentResolver()
-
-
Method Details
-
supportsParameter
public boolean supportsParameter(org.springframework.core.MethodParameter parameter) - Specified by:
supportsParameter
in interfaceorg.springframework.web.reactive.result.method.HandlerMethodArgumentResolver
-
resolveArgumentValue
@NonNull public Sort resolveArgumentValue(org.springframework.core.MethodParameter parameter, org.springframework.web.reactive.BindingContext bindingContext, org.springframework.web.server.ServerWebExchange exchange) - Specified by:
resolveArgumentValue
in interfaceorg.springframework.web.reactive.result.method.SyncHandlerMethodArgumentResolver
-