Package com.vmware.vapi.core
Interface HttpResponseAccessor
-
- All Known Implementing Classes:
CompositeResponseAccessor
,HeaderExtractor
,ResponseExtractor
,SingleHeaderExtractor
public interface HttpResponseAccessor
Accessor of the raw HTTP response for REST API invocations.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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
access(HttpResponse response)
Processes the raw HTTP response.
-
-
-
Method Detail
-
access
void access(HttpResponse response)
Processes the raw HTTP response.If the implementation of this method throws a
RuntimeException
it will be logged and ignored, i.e. it cannot fail the response processing.- Parameters:
response
- representing the raw REST/HTTP response
-
-