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 Details

    • ReactiveSortHandlerMethodArgumentResolver

      public ReactiveSortHandlerMethodArgumentResolver()
  • Method Details

    • supportsParameter

      public boolean supportsParameter(org.springframework.core.MethodParameter parameter)
      Specified by:
      supportsParameter in interface org.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 interface org.springframework.web.reactive.result.method.SyncHandlerMethodArgumentResolver