Class PagingRequest

  • All Implemented Interfaces:
    PagingParams

    public class PagingRequest
    extends Object
    implements PagingParams
    JAX-RS based implementation of PagingParams.

    Intended to be used in JAX-RS resource classes with HTTP GET endpoint methods having an argument annotated with BeanParam.

    Example:

     @GET
      public Response page(@BeanParam PagingRequest pagingRequest) {
         // ...
      }
     
    Implementation Note:
    Requires Spring Data Commons and the JAX-RS API to be available at runtime.
    • Constructor Detail

      • PagingRequest

        public PagingRequest()