Class RestResponseEvent

All Implemented Interfaces:
ActionAccessor<HttpStatusCode>, SourceAccessor<RestServer>, ActionEvent<HttpStatusCode, RestServer>, Event<RestServer>, HeaderFieldsAccessor<ResponseHeaderFields>, HttpBodyAccessor, HttpInputStreamAccessor, HttpResponse, HttpStatusCodeAccessor, LocalAddressAccessor, RemoteAddressAccessor, UrlAccessor

public class RestResponseEvent extends RestResponse implements ActionEvent<HttpStatusCode, RestServer>
Defines a RestResponseEvent being the response as consumed by a RestResponseHandler's RestResponseConsumer. Usually you will use RestRequestClient.onResponse(HttpMethod, String, RestResponseConsumer) or the like for registering a RestResponseConsumer to the RestClient (HttpRestClient).