Interface ODataRequestListener
public interface ODataRequestListener
Consumer class for the Listener Pattern to monitor and react on OData actions.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
listenOnParsingError
(Exception error) 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
listenOnRequestError
(Exception error) 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
Handler to react on an error during request generation.- Parameters:
error
- The exception reference.
-
listenOnParsingError
Handler to react on an error during response parsing.- Parameters:
error
- The exception reference.
-