Uses of Class
groovyx.net.http.HttpResponseException
-
Uses of HttpResponseException in groovyx.net.http
Subclasses of HttpResponseException in groovyx.net.httpModifier and TypeClassDescriptionclass
Thrown when a response body is parsed unsuccessfully.Methods in groovyx.net.http that throw HttpResponseExceptionModifier and TypeMethodDescriptionprotected void
AsyncHTTPBuilder.defaultFailureHandler
(HttpResponseDecorator resp) For 'failure' responses (e.g.protected void
HTTPBuilder.defaultFailureHandler
(HttpResponseDecorator resp) This is the defaultresponse.failure
handler.protected void
RESTClient.defaultFailureHandler
(HttpResponseDecorator resp, Object data) Throws an exception for non-successful HTTP response codes.protected Object
HTTPBuilder.parseResponse
(org.apache.http.HttpResponse resp, Object contentType) Parse the response data based on the given content-type.