public interface HttpResponseAccessor
Implementations can access and store the raw HTTP response or pieces of it for later usage.
This mechanism is only applicable if REST transport is used by the client to access the API.
Modifier and Type | Method and Description |
---|---|
void |
access(HttpResponse response)
Processes the raw HTTP response.
|
void access(HttpResponse response)
If the implementation of this method throws a RuntimeException
it will be logged and ignored, i.e. it cannot fail the response
processing.
response
- representing the raw REST/HTTP response