Interface ODataRequestListener


public interface ODataRequestListener
Consumer class for the Listener Pattern to monitor and react on OData actions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Handler to react on an error during response parsing.
    void
    listenOnRequest(org.apache.http.client.methods.HttpRequestBase request)
    Handler to react before execution of an HTTP request.
    void
    Handler to react on an error during request generation.
  • Method Details

    • listenOnRequest

      void listenOnRequest(@Nonnull org.apache.http.client.methods.HttpRequestBase request)
      Handler to react before execution of an HTTP request.
      Parameters:
      request - The HTTP request.
    • listenOnRequestError

      void listenOnRequestError(@Nonnull Exception error)
      Handler to react on an error during request generation.
      Parameters:
      error - The exception reference.
    • listenOnParsingError

      void listenOnParsingError(@Nonnull Exception error)
      Handler to react on an error during response parsing.
      Parameters:
      error - The exception reference.