Uses of Enum
groovyx.net.http.Method
-
Uses of Method in groovyx.net.http
Subclasses with type arguments of type Method in groovyx.net.httpModifier and TypeClassDescriptionenumEnumeration of valid HTTP methods that may be used in arequestcall.Methods in groovyx.net.http that return MethodModifier and TypeMethodDescriptionstatic MethodReturns 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 ObjectHTTPBuilder.doRequest(URI uri, Method method, Object contentType, groovy.lang.Closure configClosure) Create aHTTPBuilder.RequestConfigDelegatefrom 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.