Interface Request<T>

Type Parameters:
T - type of response
All Known Subinterfaces:
ContentRequest, DataCentersRequest, HistoryRequest, LeastRecentlyUpdatedRequest, MarketableRequest, MarketBoardRequest, MostRecentlyUpdatedRequest, TaxRatesRequest, UploaderUploadCountsRequest, UploadHistoryRequest, WorldsRequest, WorldUploadCountsRequest
All Known Implementing Classes:
ContentRequestImpl, DataCentersRequestImpl, HistoryRequestImpl, LeastRecentlyUpdatedRequestImpl, MarketableRequestImpl, MarketBoardRequestImpl, MostRecentlyUpdatedRequestImpl, RequestBuilder, TaxRatesRequestImpl, UploaderUploadCountsRequestImpl, UploadHistoryRequestImpl, WorldsRequestImpl, WorldUploadCountsRequestImpl

public interface Request<T>
A request allowing to retrieve a response
  • Method Summary

    Modifier and Type
    Method
    Description
    Sends the request and handles the response on the current thread
    Queue the request asynchronous.
  • Method Details

    • queue

      Queue the request asynchronous.
      Returns:
      completable future providing the response
    • complete

      T complete()
      Sends the request and handles the response on the current thread
      Returns:
      response