Uses of Class
groovyx.net.http.Method
-
-
Uses of Method in groovyx.net.http
Methods in groovyx.net.http that return Method Modifier and Type Method Description static Method
Method. valueOf(String name)
Returns the enum constant of this type with the specified name.static Method[]
Method. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in groovyx.net.http with parameters of type Method Modifier and Type Method Description protected Object
HTTPBuilder. doRequest(URI uri, Method method, Object contentType, groovy.lang.Closure configClosure)
Create aHTTPBuilder.RequestConfigDelegate
from the given arguments, execute the config closure, then pass the delegate toHTTPBuilder.doRequest(RequestConfigDelegate)
, which actually executes the request.Object
HTTPBuilder. request(Method method, groovy.lang.Closure configClosure)
Make an HTTP request to the default URI, and parse using the default content-type.Object
HTTPBuilder. request(Method method, Object contentType, groovy.lang.Closure configClosure)
Make an HTTP request using the default URI, with the given method, content-type, and configuration.Object
HTTPBuilder. request(Object uri, Method method, Object contentType, groovy.lang.Closure configClosure)
Make a request for the given HTTP method and content-type, with additional options configured in theconfigClosure
.
-