Uses of Class
groovyx.net.http.HttpResponseDecorator
-
-
Uses of HttpResponseDecorator in groovyx.net.http
Fields in groovyx.net.http declared as HttpResponseDecorator Modifier and Type Field Description (package private) HttpResponseDecoratorHttpResponseException. responseMethods in groovyx.net.http that return HttpResponseDecorator Modifier and Type Method Description protected HttpResponseDecoratorRESTClient. defaultSuccessHandler(HttpResponseDecorator resp, java.lang.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(java.util.Map<java.lang.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, java.lang.Object data)Throws an exception for non-successful HTTP response codes.protected java.lang.ObjectAsyncHTTPBuilder. defaultSuccessHandler(HttpResponseDecorator resp, java.lang.Object parsedData)This is the defaultresponse.successhandler.protected java.lang.ObjectHTTPBuilder. defaultSuccessHandler(HttpResponseDecorator resp, java.lang.Object parsedData)This is the defaultresponse.successhandler.protected HttpResponseDecoratorRESTClient. defaultSuccessHandler(HttpResponseDecorator resp, java.lang.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, java.lang.Throwable cause)
-