public class ResponseExtractor extends java.lang.Object implements HttpResponseAccessor
Constructor and Description |
---|
ResponseExtractor() |
Modifier and Type | Method and Description |
---|---|
void |
access(HttpResponse response)
Processes the raw HTTP response.
|
HttpResponse |
getResponse() |
public void access(HttpResponse response)
HttpResponseAccessor
If the implementation of this method throws a RuntimeException
it will be logged and ignored, i.e. it cannot fail the response
processing.
access
in interface HttpResponseAccessor
response
- representing the raw REST/HTTP responsepublic HttpResponse getResponse()