Class BasePaginatedQuery<T>

    • Field Detail

      • linkPattern

        protected static java.util.regex.Pattern linkPattern
        internal
      • urlPattern

        protected static java.util.regex.Pattern urlPattern
    • Constructor Detail

      • BasePaginatedQuery

        public BasePaginatedQuery​(Http http,
                                  java.lang.String path,
                                  Param[] headers,
                                  Param[] params,
                                  HttpCore.BodyHandler<T> bodyHandler)
        Construct a PaginatedQuery
        Parameters:
        http - the http instance
        path - the path of the resource being queried
        headers - headers to pass into the first and all relative queries
        params - params to pass into the initial query
        bodyHandler - handler to parse response bodies for first and all relative queries
      • BasePaginatedQuery

        public BasePaginatedQuery​(Http http,
                                  java.lang.String path,
                                  Param[] headers,
                                  Param[] params,
                                  HttpCore.RequestBody requestBody,
                                  HttpCore.BodyHandler<T> bodyHandler)
        Construct a PaginatedQuery
        Parameters:
        http - the http instance
        path - the path of the resource being queried
        headers - headers to pass into the first and all relative queries
        params - params to pass into the initial query
        bodyHandler - handler to parse response bodies for first and all relative queries