Class PaginatedPostRequest<T>

java.lang.Object
com.eqixiac.equinix.core.http.request.EquinixRequest<T>
com.eqixiac.equinix.core.http.request.PaginatedPostRequest<T>
Type Parameters:
T - the operation's model type

public final class PaginatedPostRequest<T> extends EquinixRequest<T>
Request carrier for POST-based search operations whose paging state lives in the request body (a PaginatedPostBody) rather than in offset/limit query parameters. The paging pipeline advances the body's pagination between pages; because the wire entity is rebuilt from the RequestBody at every dispatch, the advanced offset is re-serialized automatically.
Author:
ianjones
  • Constructor Details

    • PaginatedPostRequest

      public PaginatedPostRequest()
  • Method Details

    • getSearchBody

      public Object getSearchBody()
      Convenience accessor for the live search body: the payload of this request's JSON RequestBody.
      Returns:
      the search body payload, or null when no JSON body is attached