Interface ODataRequestExecutable

All Known Implementing Classes:
ODataRequestAction, ODataRequestBatch, ODataRequestCount, ODataRequestCreate, ODataRequestDelete, ODataRequestFunction, ODataRequestGeneric, ODataRequestRead, ODataRequestReadByKey, ODataRequestUpdate

public interface ODataRequestExecutable
General interface for executable OData Requests.
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(org.apache.http.client.HttpClient httpClient)
    Execute the OData request with the provided HttpClient reference.
  • Method Details

    • execute

      @Nonnull ODataRequestResult execute(@Nonnull org.apache.http.client.HttpClient httpClient)
      Execute the OData request with the provided HttpClient reference.
      Parameters:
      httpClient - The HttpClient.
      Returns:
      An OData request result.
      Throws:
      ODataRequestException - When the OData request could not be sent.
      ODataConnectionException - When the HTTP connection cannot be established.
      ODataResponseException - When the response code infers an unhealthy state, i.e. when >= 400
      ODataServiceErrorException - When the response contains an OData error message according to specification.