Uses of Class
groovyx.net.http.HttpResponseDecorator
-
-
Uses of HttpResponseDecorator in groovyx.net.http
Methods in groovyx.net.http that return HttpResponseDecorator Modifier and Type Method Description protected HttpResponseDecoratorRESTClient. defaultSuccessHandler(HttpResponseDecorator resp, Object data)Returns anHttpResponseDecorator, which provides simplified access to headers, response code, and parsed response body, as well as the underlyingHttpResponseinstance.HttpResponseDecoratorHttpResponseException. getResponse()HttpResponseDecoratorHttpURLClient. request(Map<String,?> args)Perform a request.Methods in groovyx.net.http with parameters of type HttpResponseDecorator Modifier and Type Method Description protected voidAsyncHTTPBuilder. defaultFailureHandler(HttpResponseDecorator resp)For 'failure' responses (e.g.protected voidHTTPBuilder. defaultFailureHandler(HttpResponseDecorator resp)This is the defaultresponse.failurehandler.protected voidRESTClient. defaultFailureHandler(HttpResponseDecorator resp, Object data)Throws an exception for non-successful HTTP response codes.protected ObjectAsyncHTTPBuilder. defaultSuccessHandler(HttpResponseDecorator resp, Object parsedData)This is the defaultresponse.successhandler.protected ObjectHTTPBuilder. defaultSuccessHandler(HttpResponseDecorator resp, Object parsedData)This is the defaultresponse.successhandler.protected HttpResponseDecoratorRESTClient. defaultSuccessHandler(HttpResponseDecorator resp, Object data)Returns anHttpResponseDecorator, which provides simplified access to headers, response code, and parsed response body, as well as the underlyingHttpResponseinstance.Constructors in groovyx.net.http with parameters of type HttpResponseDecorator Constructor Description HttpResponseException(HttpResponseDecorator resp)ResponseParseException(HttpResponseDecorator response, Throwable cause)
-