Class PageableRequestParameterResolver

    • Constructor Detail

      • PageableRequestParameterResolver

        public PageableRequestParameterResolver()
    • Method Detail

      • withPageNumberRequestParamName

        public PageableRequestParameterResolver withPageNumberRequestParamName​(String pageNumberRequestParamName)
        With page number request param name.
        Parameters:
        pageNumberRequestParamName - the page number request param name
        Returns:
        the pageable request parameter resolver
      • withPageSizeRequestParamName

        public PageableRequestParameterResolver withPageSizeRequestParamName​(String pageSizeRequestParamName)
        With page size request param name.
        Parameters:
        pageSizeRequestParamName - the page size request param name
        Returns:
        the pageable request parameter resolver
      • getRequestParameters

        protected org.springframework.util.MultiValueMap<String,​Object> getRequestParameters​(org.springframework.data.domain.Pageable pageable)
        Gets request parameters.
        Parameters:
        pageable - the pageable
        Returns:
        the request parameters