public interface Olingo4ResponseHandler<T>
Modifier and Type | Method and Description |
---|---|
void |
onCanceled()
Handle Olingo4 request cancellation.
|
void |
onException(Exception ex)
Handle exception raised from Olingo4 request.
|
void |
onResponse(T response,
Map<String,String> responseHeaders)
Handle response data on successful completion of Olingo4 request.
|
void onResponse(T response, Map<String,String> responseHeaders)
response
- response data from Olingo4, may be NULL for Olingo4
operations with no response data.responseHeaders
- the response HTTP headers received from the
endpoint.void onException(Exception ex)
ex
- exception from Olingo4 request. May be an instance of
ODataException
or
some other exception, such as IOException
void onCanceled()
Apache Camel