Class Pagination.Page

java.lang.Object
io.jenkins.plugins.restlistparam.model.Pagination.Page
Enclosing class:
Pagination

public static final class Pagination.Page extends Object
A fetched page as seen by a strategy.
  • Constructor Details

    • Page

      public Page(okhttp3.HttpUrl endpoint, okhttp3.HttpUrl requestUrl, okhttp3.Headers headers, String body)
      Parameters:
      endpoint - The configured REST endpoint
      requestUrl - The URL that returned this page, after redirects
      headers - The response headers
      body - The raw response body
  • Method Details

    • getEndpoint

      public okhttp3.HttpUrl getEndpoint()
    • getRequestUrl

      public okhttp3.HttpUrl getRequestUrl()
    • getHeaders

      public okhttp3.Headers getHeaders()
    • getBody

      public String getBody()