Uses of Enum
groovyx.net.http.Method
-
Uses of Method in groovyx.net.http
Methods in groovyx.net.http that return MethodModifier and TypeMethodDescriptionstatic Method
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 MethodModifier and TypeMethodDescriptionprotected 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.Make an HTTP request to the default URI, and parse using the default content-type.Make an HTTP request using the default URI, with the given method, content-type, and configuration.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
.