Example usage for org.springframework.data.web PageableHandlerMethodArgumentResolver subclass-usage

List of usage examples for org.springframework.data.web PageableHandlerMethodArgumentResolver subclass-usage

Introduction

In this page you can find the example usage for org.springframework.data.web PageableHandlerMethodArgumentResolver subclass-usage.

Usage

From source file com.github.obiteaaron.common.data.web.PageableRequestHandlerMethodArgumentResolver.java

/**
 * Extracts paging information from web requests and thus allows injecting {@link PageableRequest} instances into controller
 * methods. Request properties to be parsed can be configured. Default configuration uses request parameters beginning
 * with {@link #DEFAULT_PAGE_PARAMETER}{@link #DEFAULT_QUALIFIER_DELIMITER}.
 *
 * @author Oliver Gierke

From source file com.epam.ta.reportportal.ws.resolver.PagingHandlerMethodArgumentResolver.java

/**
 * Added to avoid issue with page size == 0 (in this case repository layer tries
 * to retrieve all results from database) and page size greater than 300.
 * 
 * @author Andrei Varabyeu
 *