Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
HTTPBuilder.doRequest(URI uri,
Method method,
Object contentType,
groovy.lang.Closure configClosure)
Create a
HTTPBuilder.RequestConfigDelegate from the given arguments, execute the
config closure, then pass the delegate to HTTPBuilder.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 the
configClosure . |
Copyright © 2008–2018. All rights reserved.