Class ReactivePageableHandlerMethodArgumentResolver

java.lang.Object
org.springframework.data.web.PageableHandlerMethodArgumentResolverSupport
org.springframework.data.web.ReactivePageableHandlerMethodArgumentResolver
All Implemented Interfaces:
org.springframework.web.reactive.result.method.HandlerMethodArgumentResolver, org.springframework.web.reactive.result.method.SyncHandlerMethodArgumentResolver

public class ReactivePageableHandlerMethodArgumentResolver extends PageableHandlerMethodArgumentResolverSupport implements org.springframework.web.reactive.result.method.SyncHandlerMethodArgumentResolver
Extracts paging information from web requests and thus allows injecting Pageable instances into WebFlux controller methods. Request properties to be parsed can be configured. Default configuration uses request parameters beginning with PageableHandlerMethodArgumentResolverSupport.DEFAULT_PAGE_PARAMETERPageableHandlerMethodArgumentResolverSupport.DEFAULT_QUALIFIER_DELIMITER.
Since:
2.2
Author:
Mark Paluch
  • Constructor Details

  • 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 Pageable 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