Interface ODataRequestListener
public interface ODataRequestListener
Consumer class for the Listener Pattern to monitor and react on OData actions.
-
Method Summary
Modifier and TypeMethodDescriptionvoidlistenOnParsingError(Exception error) Handler to react on an error during response parsing.voidlistenOnRequest(org.apache.http.client.methods.HttpRequestBase request) Handler to react before execution of an HTTP request.voidlistenOnRequestError(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.
-