A B C D E F G H I L M N O P R S T U V W 

A

ACCEPT_ENC_HDR - Static variable in class groovyx.net.http.ContentEncoding
 
addCatalog(URL) - Static method in class groovyx.net.http.ParserRegistry
Add a new XML catalog definiton to the static XML resolver catalog.
addHeader(Header) - Method in class groovyx.net.http.HttpResponseDecorator
 
addHeader(String, String) - Method in class groovyx.net.http.HttpResponseDecorator
 
addQueryParam(NameValuePair) - Method in class groovyx.net.http.URIBuilder
 
addQueryParam(String, Object) - Method in class groovyx.net.http.URIBuilder
This will append a query parameter to the existing query string.
addQueryParams(List<NameValuePair>) - Method in class groovyx.net.http.URIBuilder
 
addQueryParams(Map<?, ?>) - Method in class groovyx.net.http.URIBuilder
Add these parameters to the URIBuilder's existing query string.
asType(Class<?>) - Method in class groovyx.net.http.URIBuilder
Implementation of Groovy's as operator, to allow type conversion.
AsyncHTTPBuilder - Class in groovyx.net.http
This implementation makes all requests asynchronous by submitting jobs to a ThreadPoolExecutor.
AsyncHTTPBuilder(Map<String, ?>) - Constructor for class groovyx.net.http.AsyncHTTPBuilder
Accepts the following named parameters: threadPoolCustom ExecutorService instance for running submitted requests.
auth - Variable in class groovyx.net.http.HTTPBuilder
 
AuthConfig - Class in groovyx.net.http
Encapsulates all configuration related to HTTP authentication methods.
AuthConfig(HTTPBuilder) - Constructor for class groovyx.net.http.AuthConfig
 
autoAcceptHeader - Variable in class groovyx.net.http.HTTPBuilder
 
availableEncoders - Variable in class groovyx.net.http.ContentEncodingRegistry
 

B

base - Variable in class groovyx.net.http.URIBuilder
 
basic(String, String) - Method in class groovyx.net.http.AuthConfig
Set authentication credentials to be used for the current default host.
basic(String, int, String, String) - Method in class groovyx.net.http.AuthConfig
Set authentication credentials to be used for the given host and port.
buildDefaultEncoderMap() - Method in class groovyx.net.http.EncoderRegistry
Returns a map of default encoders.
buildDefaultParserMap() - Method in class groovyx.net.http.ParserRegistry
Returns a map of default parsers.
buildDefaultResponseHandlers() - Method in class groovyx.net.http.HTTPBuilder
Creates default response handlers for success and failure status codes.
builder - Variable in class groovyx.net.http.AuthConfig
 

C

catalogResolver - Static variable in class groovyx.net.http.ParserRegistry
This CatalogResolver is static to avoid the overhead of re-parsing the catalog definition file every time.
certificate(String, String) - Method in class groovyx.net.http.AuthConfig
Sets a certificate to be used for SSL authentication.
clone() - Method in class groovyx.net.http.URIBuilder
Create a copy of this URIBuilder instance.
closeExpiredConnections() - Method in class groovyx.net.http.thirdparty.GAEConnectionManager
 
closeIdleConnections(long, TimeUnit) - Method in class groovyx.net.http.thirdparty.GAEConnectionManager
 
containsHeader(String) - Method in class groovyx.net.http.HttpResponseDecorator
 
CONTENT_ENC_HDR - Static variable in class groovyx.net.http.ContentEncoding
 
ContentEncoding - Class in groovyx.net.http
Base class for handing content-encoding.
ContentEncoding() - Constructor for class groovyx.net.http.ContentEncoding
 
ContentEncoding.RequestInterceptor - Class in groovyx.net.http
Request interceptor that adds the correct Accept header to the outgoing request.
ContentEncoding.RequestInterceptor() - Constructor for class groovyx.net.http.ContentEncoding.RequestInterceptor
 
ContentEncoding.ResponseInterceptor - Class in groovyx.net.http
Response interceptor that filters the response stream to decode the compressed content before it is passed on to the parser.
ContentEncoding.ResponseInterceptor() - Constructor for class groovyx.net.http.ContentEncoding.ResponseInterceptor
 
ContentEncoding.Type - Enum in groovyx.net.http
Enumeration of common content-encodings.
contentEncodingHandler - Variable in class groovyx.net.http.HTTPBuilder
 
ContentEncodingRegistry - Class in groovyx.net.http
Keeps track of available content-encoding handlers.
ContentEncodingRegistry() - Constructor for class groovyx.net.http.ContentEncodingRegistry
 
ContentType - Enum in groovyx.net.http
Enumeration of common IANA content-types.
convertToURI(Object) - Static method in class groovyx.net.http.URIBuilder
Utility method to convert a number of type to a URI instance.
createClient(HttpParams) - Method in class groovyx.net.http.HTTPBuilder
Override this method in a subclass to customize creation of the HttpClient instance.
createEntity(Object, String) - Method in class groovyx.net.http.EncoderRegistry
Helper method used by encoder methods to create an HttpEntity instance that encapsulates the request data.

D

DEFAULT_CHARSET - Static variable in class groovyx.net.http.ParserRegistry
The default charset to use when no charset is given in the Content-Type header of a response.
DEFAULT_PARSER - Variable in class groovyx.net.http.ParserRegistry
The default parser used for unregistered content-types.
DEFAULT_POOL_SIZE - Static variable in class groovyx.net.http.AsyncHTTPBuilder
Default pool size is one is not supplied in the constructor.
defaultContentType - Variable in class groovyx.net.http.HTTPBuilder
 
defaultFailureHandler(HttpResponseDecorator) - Method in class groovyx.net.http.AsyncHTTPBuilder
For 'failure' responses (e.g.
defaultFailureHandler(HttpResponseDecorator) - Method in class groovyx.net.http.HTTPBuilder
This is the default response.failure handler.
defaultFailureHandler(HttpResponseDecorator, Object) - Method in class groovyx.net.http.RESTClient
Throws an exception for non-successful HTTP response codes.
defaultRequestContentType - Variable in class groovyx.net.http.HTTPBuilder
 
defaultRequestHeaders - Variable in class groovyx.net.http.HTTPBuilder
 
defaultResponseHandlers - Variable in class groovyx.net.http.HTTPBuilder
 
defaultSuccessHandler(HttpResponseDecorator, Object) - Method in class groovyx.net.http.AsyncHTTPBuilder
This is the default response.success handler.
defaultSuccessHandler(HttpResponseDecorator, Object) - Method in class groovyx.net.http.HTTPBuilder
This is the default response.success handler.
defaultSuccessHandler(HttpResponseDecorator, Object) - Method in class groovyx.net.http.RESTClient
Returns an HttpResponseDecorator, which provides simplified access to headers, response code, and parsed response body, as well as the underlying HttpResponse instance.
defaultURI - Variable in class groovyx.net.http.HTTPBuilder
 
DeflateEncoding - Class in groovyx.net.http
Content encoding used to handle Deflate responses.
DeflateEncoding() - Constructor for class groovyx.net.http.DeflateEncoding
 
delegate - Variable in class groovyx.net.http.HttpContextDecorator
 
delete(Map<String, ?>) - Method in class groovyx.net.http.RESTClient
Perform a DELETE request.
doRequest(HTTPBuilder.RequestConfigDelegate) - Method in class groovyx.net.http.AsyncHTTPBuilder
Submits a Callable instance to the job pool, which in turn will call HTTPBuilder.doRequest(RequestConfigDelegate) in an asynchronous thread.
doRequest(URI, Method, Object, Closure) - Method in class groovyx.net.http.HTTPBuilder
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.
doRequest(HTTPBuilder.RequestConfigDelegate) - Method in class groovyx.net.http.HTTPBuilder
All request methods delegate to this method.

E

encodeBody() - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
 
encodeForm(Map<?, ?>) - Method in class groovyx.net.http.EncoderRegistry
Set the request body as a url-encoded list of parameters.
encodeForm(Map<?, ?>, Object) - Method in class groovyx.net.http.EncoderRegistry
 
encodeForm(String, Object) - Method in class groovyx.net.http.EncoderRegistry
Accepts a String as a url-encoded form post.
encodeJSON(Object, Object) - Method in class groovyx.net.http.EncoderRegistry
Accepts a Collection or a JavaBean object which is converted to JSON.
EncoderRegistry - Class in groovyx.net.http
This class handles creation of the request body (i.e.
EncoderRegistry() - Constructor for class groovyx.net.http.EncoderRegistry
 
encoders - Variable in class groovyx.net.http.HTTPBuilder
 
encodeStream(Object, Object) - Method in class groovyx.net.http.EncoderRegistry
Default request encoder for a binary stream.
encodeText(Object, Object) - Method in class groovyx.net.http.EncoderRegistry
Default handler used for a plain text content-type.
encodeXML(Object, Object) - Method in class groovyx.net.http.EncoderRegistry
Encode the content as XML.
equals(Object) - Method in class groovyx.net.http.URIBuilder
Determine if this URIBuilder is equal to another URIBuilder instance.

F

finalize() - Method in class groovyx.net.http.AsyncHTTPBuilder
find(int) - Static method in enum groovyx.net.http.Status
Find the Status value that matches the given status code.
findResponseHandler(int) - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Get the proper response handler for the response code.

G

GAEConnectionManager - Class in groovyx.net.http.thirdparty
 
GAEConnectionManager() - Constructor for class groovyx.net.http.thirdparty.GAEConnectionManager
 
get(Map<String, ?>) - Method in class groovyx.net.http.HTTPBuilder
Convenience method to perform an HTTP GET.
get(Map<String, ?>, Closure) - Method in class groovyx.net.http.HTTPBuilder
Convenience method to perform an HTTP GET.
get(Map<String, ?>) - Method in class groovyx.net.http.RESTClient
Convenience method to perform an HTTP GET request.
getAcceptHeader() - Method in enum groovyx.net.http.ContentType
Builds a string to be used as an HTTP Accept header value, i.e.
getAllHeaders() - Method in class groovyx.net.http.HttpResponseDecorator
 
getAt(Object) - Method in class groovyx.net.http.EncoderRegistry
Retrieve a encoder for the given content-type.
getAt(String) - Method in class groovyx.net.http.HttpContextDecorator
Groovy support for the index [] operator
getAt(String) - Method in class groovyx.net.http.HttpResponseDecorator.HeadersDecorator
Access the named header value, using bracket form.
getAt(Object) - Method in class groovyx.net.http.ParserRegistry
Retrieve a parser for the given response content-type string.
getAttribute(String) - Method in class groovyx.net.http.HttpContextDecorator
 
getAuth() - Method in class groovyx.net.http.HTTPBuilder
Used to access the AuthConfig handler used to configure common authentication mechanism.
getCatalogResolver() - Static method in class groovyx.net.http.ParserRegistry
Access the default catalog used by all HTTPBuilder instances.
getCause() - Method in exception groovyx.net.http.ResponseParseException
 
getCharset(HttpResponse) - Static method in class groovyx.net.http.ParserRegistry
Helper method to get the charset from the response.
getClient() - Method in class groovyx.net.http.HTTPBuilder
Return the underlying HTTPClient that is used to handle HTTP requests.
getContentEncoding() - Method in class groovyx.net.http.ContentEncoding
 
getContentEncoding() - Method in class groovyx.net.http.DeflateEncoding
Returns the ContentEncoding.Type.DEFLATE encoding string which is added to the Accept-Encoding header by the base class.
getContentEncoding() - Method in class groovyx.net.http.GZIPEncoding
Returns the ContentEncoding.Type.GZIP encoding string which is added to the Accept-Encoding header by the base class.
getContentType() - Method in class groovyx.net.http.HTTPBuilder
 
getContentType() - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Get the content-type of any data sent in the request body and the expected response content-type.
getContentType() - Method in class groovyx.net.http.HttpResponseDecorator
Get the content-type for this response.
getContentType() - Method in class groovyx.net.http.HttpURLClient
Get the default content-type used for parsing response data.
getContentType(HttpResponse) - Static method in class groovyx.net.http.ParserRegistry
Helper method to get the content-type string from the response (no charset).
getContentTypeStrings() - Method in enum groovyx.net.http.ContentType
 
getContext() - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Get the HttpContext that will be used for this request.
getContext() - Method in class groovyx.net.http.HttpResponseDecorator
Get the execution context used during this request
getData() - Method in class groovyx.net.http.HttpResponseDecorator
Return the parsed data from this response body.
getDefaultEncoders() - Method in class groovyx.net.http.ContentEncodingRegistry
This implementation adds a GZIPEncoding and DeflateEncoding handler to the registry.
getDefaultParser() - Method in class groovyx.net.http.ParserRegistry
Get the default parser used for unregistered content-types.
getEncoder() - Method in class groovyx.net.http.HTTPBuilder
Retrieve the map of registered request content-type encoders.
getEncoders() - Method in class groovyx.net.http.HttpURLClient
Get the encoder registry used by this instance, which can be used to directly modify the request serialization behavior.
getEntity() - Method in class groovyx.net.http.HttpResponseDecorator
 
getFirstHeader(String) - Method in class groovyx.net.http.HttpResponseDecorator
 
getFragment() - Method in class groovyx.net.http.URIBuilder
getHandler() - Method in class groovyx.net.http.HTTPBuilder
Retrieve the map of response code handlers.
getHeaders() - Method in class groovyx.net.http.HTTPBuilder
Get the map of default headers that will be added to all requests.
getHeaders() - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Get request headers (including any default headers set on this HTTPBuilder instance).
getHeaders() - Method in class groovyx.net.http.HttpResponseDecorator
Return a HttpResponseDecorator.HeadersDecorator, which provides a more Groovy API for accessing response headers.
getHeaders(String) - Method in class groovyx.net.http.HttpResponseDecorator
 
getHeaders() - Method in class groovyx.net.http.HttpURLClient
Retrieve the default headers that will be sent in each request.
getHost() - Method in class groovyx.net.http.URIBuilder
getLastHeader(String) - Method in class groovyx.net.http.HttpResponseDecorator
 
getLocale() - Method in class groovyx.net.http.HttpResponseDecorator
 
getParams() - Method in class groovyx.net.http.HttpResponseDecorator
 
getParser() - Method in class groovyx.net.http.HTTPBuilder
Retrieve the map of registered response content-type parsers.
getParsers() - Method in class groovyx.net.http.HttpURLClient
Retrieve the parser registry used by this instance, which can be used to directly modify the parsing behavior.
getPath() - Method in class groovyx.net.http.URIBuilder
Note that this property is not necessarily reflexive with the URIBuilder.setPath(String) method! URIBuilder.setPath() will resolve a relative path, whereas this method will always return the full, absolute path.
getPort() - Method in class groovyx.net.http.URIBuilder
getProtocolVersion() - Method in class groovyx.net.http.HttpResponseDecorator
 
getQuery() - Method in class groovyx.net.http.URIBuilder
Get the query string as a map for convenience.
getQueryNVP() - Method in class groovyx.net.http.URIBuilder
 
getRequest() - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Directly access the Apache HttpClient instance that will be used to execute this request.
getRequestContentType() - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
The request content-type, if different from the HTTPBuilder.RequestConfigDelegate.contentType.
getRequestContentType() - Method in class groovyx.net.http.HttpURLClient
Get the default content-type used to serialize the request data.
getRequestInterceptor() - Method in class groovyx.net.http.ContentEncoding
 
getRequestType() - Method in enum groovyx.net.http.Method
Get the HttpRequest class that represents this request type.
getResponse() - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Access the response handler map to set response parsing logic.
getResponse() - Method in exception groovyx.net.http.HttpResponseException
 
getResponseInterceptor() - Method in class groovyx.net.http.ContentEncoding
 
getScheme() - Method in class groovyx.net.http.URIBuilder
Get the scheme for this URI.
getSchemeRegistry() - Method in class groovyx.net.http.thirdparty.GAEConnectionManager
 
getStatus() - Method in class groovyx.net.http.HttpResponseDecorator
Get the response status code.
getStatusLine() - Method in class groovyx.net.http.HttpResponseDecorator
 
getThreadExecutor() - Method in class groovyx.net.http.AsyncHTTPBuilder
Access the underlying threadpool to adjust things like job timeouts.
getTimeout() - Method in class groovyx.net.http.AsyncHTTPBuilder
Get the timeout in for establishing an HTTP connection.
getUri() - Method in class groovyx.net.http.HTTPBuilder
Get the default URI used for requests that do not explicitly take a uri param.
getUri() - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Use this object to manipulate parts of the request URI, like query params and request path.
getUrl() - Method in class groovyx.net.http.HttpURLClient
The default URL for this request.
getUserInfo() - Method in class groovyx.net.http.URIBuilder
groovyx.net.http - package groovyx.net.http
HTTPBuilder provides a simple Groovy API for HTTP and REST client operations.
groovyx.net.http.thirdparty - package groovyx.net.http.thirdparty
 
GZIPEncoding - Class in groovyx.net.http
Content encoding used to handle GZIP responses.
GZIPEncoding() - Constructor for class groovyx.net.http.GZIPEncoding
 

H

hasEncoding(HttpResponse, String) - Method in class groovyx.net.http.ContentEncoding.ResponseInterceptor
 
hasQueryParam(String) - Method in class groovyx.net.http.URIBuilder
Indicates if the given parameter is already part of this URI's query string.
head(Map<String, ?>) - Method in class groovyx.net.http.RESTClient
Perform a HEAD request, often used to check preconditions before sending a large PUT or POST request.
headerIterator() - Method in class groovyx.net.http.HttpResponseDecorator
 
headerIterator(String) - Method in class groovyx.net.http.HttpResponseDecorator
 
HTTPBuilder - Class in groovyx.net.http
Groovy DSL for easily making HTTP requests, and handling request and response data.
HTTPBuilder() - Constructor for class groovyx.net.http.HTTPBuilder
Creates a new instance with a null default URI.
HTTPBuilder(Object) - Constructor for class groovyx.net.http.HTTPBuilder
Give a default URI to be used for all request methods that don't explicitly take a URI parameter.
HTTPBuilder(Object, Object) - Constructor for class groovyx.net.http.HTTPBuilder
Give a default URI to be used for all request methods that don't explicitly take a URI parameter, and a default content-type to be used for request encoding and response parsing.
HTTPBuilder.RequestConfigDelegate - Class in groovyx.net.http
Encloses all properties and method calls used within the HTTPBuilder.request(Object, Method, Object, Closure) 'config' closure argument.
HTTPBuilder.RequestConfigDelegate(HttpRequestBase, Object, Map<?, ?>, Map<?, Closure>) - Constructor for class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
 
HTTPBuilder.RequestConfigDelegate(Map<String, ?>, HttpRequestBase, Closure) - Constructor for class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
 
HttpContextDecorator - Class in groovyx.net.http
HttpContext stores many transient properties of an HTTP request.
HttpContextDecorator() - Constructor for class groovyx.net.http.HttpContextDecorator
 
HttpContextDecorator(HttpContext) - Constructor for class groovyx.net.http.HttpContextDecorator
 
HttpResponseDecorator - Class in groovyx.net.http
This class is a wrapper for HttpResponse, which allows for simplified header access, as well as carrying the auto-parsed response data.
HttpResponseDecorator(HttpResponse, Object) - Constructor for class groovyx.net.http.HttpResponseDecorator
 
HttpResponseDecorator(HttpResponse, HttpContextDecorator, Object) - Constructor for class groovyx.net.http.HttpResponseDecorator
 
HttpResponseDecorator.HeadersDecorator - Class in groovyx.net.http
This class is returned by HttpResponseDecorator.getHeaders().
HttpResponseDecorator.HeadersDecorator() - Constructor for class groovyx.net.http.HttpResponseDecorator.HeadersDecorator
 
HttpResponseException - Exception in groovyx.net.http
Wraps an error response in an exception for flow control purposes.
HttpResponseException(HttpResponseDecorator) - Constructor for exception groovyx.net.http.HttpResponseException
 
HttpURLClient - Class in groovyx.net.http
This class provides a simplified API similar to HTTPBuilder, but uses HttpURLConnection for I/O so that it is compatible with Google App Engine.
HttpURLClient() - Constructor for class groovyx.net.http.HttpURLClient
 

I

ignoreSSLIssues() - Method in class groovyx.net.http.HTTPBuilder
Ignores certificate issues for SSL connections.
initThreadPools(int, ExecutorService) - Method in class groovyx.net.http.AsyncHTTPBuilder
Initializes threading parameters for the HTTPClient's ThreadSafeClientConnManager, and this class' ThreadPoolExecutor.
isAutoAcceptHeader() - Method in class groovyx.net.http.HTTPBuilder
Indicates whether or not this client should automatically send an Accept header based on the contentType property.
isFollowRedirects() - Method in class groovyx.net.http.HttpURLClient
isSuccess() - Method in class groovyx.net.http.HttpResponseDecorator
Quickly determine if the request resulted in an error code.
iterator() - Method in class groovyx.net.http.EncoderRegistry
Iterate over the entire parser map
iterator() - Method in class groovyx.net.http.HttpResponseDecorator.HeadersDecorator
Used to allow Groovy iteration methods over the response headers.
iterator() - Method in class groovyx.net.http.ParserRegistry
Iterate over the entire parser map

L

log - Variable in class groovyx.net.http.HTTPBuilder
 
log - Variable in class groovyx.net.http.HttpURLClient
Logger instance defined for use by sub-classes
log - Static variable in class groovyx.net.http.ParserRegistry
 

M

matches(int) - Method in enum groovyx.net.http.Status
Returns true if the numeric code matches the represented status (either success or failure).
Method - Enum in groovyx.net.http
Enumeration of valid HTTP methods that may be used in a request call.

N

ntlm(String, String, String, String) - Method in class groovyx.net.http.AuthConfig
Set NTLM authentication credentials to be used for the current default host.
ntlm(String, int, String, String, String, String) - Method in class groovyx.net.http.AuthConfig
Set NTLM authentication credentials to be used for the given host and port.

O

oauth(String, String, String, String) - Method in class groovyx.net.http.AuthConfig
OAuth sign all requests.
oauth - Variable in class groovyx.net.http.HttpURLClient
 
options(Map<String, ?>) - Method in class groovyx.net.http.RESTClient
Perform an OPTIONS request.

P

parseForm(HttpResponse) - Method in class groovyx.net.http.ParserRegistry
Default parser used to decode a URL-encoded response.
parseHTML(HttpResponse) - Method in class groovyx.net.http.ParserRegistry
Parse an HTML document by passing it through the NekoHTML parser.
parseJSON(HttpResponse) - Method in class groovyx.net.http.ParserRegistry
Default parser used to decode a JSON response.
parseResponse(HttpResponse, Object) - Method in class groovyx.net.http.HTTPBuilder
Parse the response data based on the given content-type.
ParserRegistry - Class in groovyx.net.http
Keeps track of response parsers for each content type.
ParserRegistry() - Constructor for class groovyx.net.http.ParserRegistry
 
parsers - Variable in class groovyx.net.http.HTTPBuilder
 
parseStream(HttpResponse) - Method in class groovyx.net.http.ParserRegistry
Default parser used for binary data.
parseText(HttpResponse) - Method in class groovyx.net.http.ParserRegistry
Default parser used to handle plain text data.
parseXML(HttpResponse) - Method in class groovyx.net.http.ParserRegistry
Default parser used to decode an XML response.
patch(Map<String, ?>) - Method in class groovyx.net.http.RESTClient
Convenience method to perform a PATCH request.
post(Map<String, ?>) - Method in class groovyx.net.http.HTTPBuilder
Convenience method to perform an HTTP POST.
post(Map<String, ?>, Closure) - Method in class groovyx.net.http.HTTPBuilder
Convenience method to perform an HTTP form POST.
post(Map<String, ?>) - Method in class groovyx.net.http.RESTClient
Convenience method to perform a POST request.
process(HttpRequest, HttpContext) - Method in class groovyx.net.http.ContentEncoding.RequestInterceptor
 
process(HttpResponse, HttpContext) - Method in class groovyx.net.http.ContentEncoding.ResponseInterceptor
 
propertyMissing(Object) - Method in class groovyx.net.http.EncoderRegistry
Alias for EncoderRegistry.getAt(Object) to allow property-style access.
propertyMissing(Object, Closure) - Method in class groovyx.net.http.EncoderRegistry
Alias for EncoderRegistry.putAt(Object, Closure) to allow property-style access.
propertyMissing(String) - Method in class groovyx.net.http.HttpResponseDecorator.HeadersDecorator
Allow property-style access to header values.
propertyMissing(Object) - Method in class groovyx.net.http.ParserRegistry
Alias for ParserRegistry.getAt(Object) to allow property-style access.
propertyMissing(Object, Closure) - Method in class groovyx.net.http.ParserRegistry
Alias for ParserRegistry.putAt(Object, Closure) to allow property-style access.
put(Map<String, ?>) - Method in class groovyx.net.http.RESTClient
Convenience method to perform a PUT request.
putAt(Object, Closure) - Method in class groovyx.net.http.EncoderRegistry
Register a new encoder for the given content type.
putAt(Object, Closure) - Method in class groovyx.net.http.ParserRegistry
Register a new parser for the given content-type.

R

releaseConnection(ManagedClientConnection, long, TimeUnit) - Method in class groovyx.net.http.thirdparty.GAEConnectionManager
 
removeAttribute(String) - Method in class groovyx.net.http.HttpContextDecorator
 
removeHeader(Header) - Method in class groovyx.net.http.HttpResponseDecorator
 
removeHeaders(String) - Method in class groovyx.net.http.HttpResponseDecorator
 
removeQueryParam(String) - Method in class groovyx.net.http.URIBuilder
Remove the given query parameter from this URI's query string.
request(Method, Closure) - Method in class groovyx.net.http.HTTPBuilder
Make an HTTP request to the default URI, and parse using the default content-type.
request(Method, Object, Closure) - Method in class groovyx.net.http.HTTPBuilder
Make an HTTP request using the default URI, with the given method, content-type, and configuration.
request(Object, Method, Object, Closure) - Method in class groovyx.net.http.HTTPBuilder
Make a request for the given HTTP method and content-type, with additional options configured in the configClosure.
request(Map<String, ?>) - Method in class groovyx.net.http.HttpURLClient
Perform a request.
requestConnection(HttpRoute, Object) - Method in class groovyx.net.http.thirdparty.GAEConnectionManager
 
ResponseParseException - Exception in groovyx.net.http
Thrown when a response body is parsed unsuccessfully.
ResponseParseException(HttpResponseDecorator, Throwable) - Constructor for exception groovyx.net.http.ResponseParseException
 
RESTClient - Class in groovyx.net.http
Extension to HTTPBuilder that basically attempts to provide a slightly more REST-ful face on top of HTTPBuilder.
RESTClient() - Constructor for class groovyx.net.http.RESTClient
Constructor.
RESTClient(Object) - Constructor for class groovyx.net.http.RESTClient
RESTClient(Object, Object) - Constructor for class groovyx.net.http.RESTClient

S

send(Object, Object) - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Convenience method to set a request content-type at the same time the request body is set.
setAt(String, Object) - Method in class groovyx.net.http.HttpContextDecorator
Groovy support for the index [] operator
setAttribute(String, Object) - Method in class groovyx.net.http.HttpContextDecorator
 
setAuthConfig(AuthConfig) - Method in class groovyx.net.http.HTTPBuilder
Set an alternative AuthConfig implementation to handle authorization.
setAutoAcceptHeader(boolean) - Method in class groovyx.net.http.HTTPBuilder
Indicate whether or not this cliernt should send an Accept header automatically based on the contentType property.
setBasicAuth(Object, Object) - Method in class groovyx.net.http.HttpURLClient
Set basic user and password authorization to be used for every request.
setBody(Object) - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Set the request body.
setCharset(String) - Method in class groovyx.net.http.EncoderRegistry
Set the charset used in the content-type header of all requests that send textual data.
setClient(HttpClient) - Method in class groovyx.net.http.HTTPBuilder
 
setContentEncoding(Object...) - Method in class groovyx.net.http.HTTPBuilder
Set acceptable request and response content-encodings.
setContentEncodingRegistry(ContentEncodingRegistry) - Method in class groovyx.net.http.HTTPBuilder
Set a custom registry used to handle different content-encoding types in responses.
setContentType(Object) - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Set the content-type used for any data in the request body, as well as the Accept content-type that will be used for parsing the response.
setContentType(Object) - Method in class groovyx.net.http.HTTPBuilder
Set the default content type that will be used to select the appropriate request encoder and response parser.
setContentType(Object) - Method in class groovyx.net.http.HttpURLClient
Set the default content-type used to control response parsing and request serialization behavior.
setContext(HttpContext) - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Set the HttpContext that will be used for this request.
setDefaultCharset(String) - Static method in class groovyx.net.http.ParserRegistry
Set the charset to use for parsing character streams when no charset is given in the Content-Type header.
setDefaultParser(Closure) - Method in class groovyx.net.http.ParserRegistry
Set the default parser used for unregistered content-types.
setEncoderRegistry(EncoderRegistry) - Method in class groovyx.net.http.HTTPBuilder
Set a custom registry used to handle different request content-types.
setEncoders(EncoderRegistry) - Method in class groovyx.net.http.HttpURLClient
 
setEntity(HttpEntity) - Method in class groovyx.net.http.HttpResponseDecorator
 
setFollowRedirects(boolean) - Method in class groovyx.net.http.HttpURLClient
Control whether this instance should automatically follow redirect responses.
setFragment(String) - Method in class groovyx.net.http.URIBuilder
The document fragment, without a preceeding '#'.
setHeader(Header) - Method in class groovyx.net.http.HttpResponseDecorator
 
setHeader(String, String) - Method in class groovyx.net.http.HttpResponseDecorator
 
setHeaders(Map<?, ?>) - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Set request headers.
setHeaders(Map<?, ?>) - Method in class groovyx.net.http.HTTPBuilder
Set the default headers to add to all requests made by this builder instance.
setHeaders(Header[]) - Method in class groovyx.net.http.HttpResponseDecorator
 
setHeaders(Map<?, ?>) - Method in class groovyx.net.http.HttpURLClient
Set default headers to be sent with every request.
setHost(String) - Method in class groovyx.net.http.URIBuilder
Set the host portion of this URI.
setLocale(Locale) - Method in class groovyx.net.http.HttpResponseDecorator
 
setOAuth(Object, Object, Object, Object) - Method in class groovyx.net.http.HttpURLClient
Sign all outbound requests with the given OAuth keys and tokens.
setParams(HttpParams) - Method in class groovyx.net.http.HttpResponseDecorator
 
setParserRegistry(ParserRegistry) - Method in class groovyx.net.http.HTTPBuilder
Set a custom registry used to handle different response content-types
setParsers(ParserRegistry) - Method in class groovyx.net.http.HttpURLClient
 
setPath(String) - Method in class groovyx.net.http.URIBuilder
Set the path component of this URI.
setPort(int) - Method in class groovyx.net.http.URIBuilder
Set the port for this URI, or -1 to unset the port.
setPropertiesFromMap(Map<String, ?>) - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Valid arguments: uriEither a URI, URL, or object whose toString() method produces a valid URI string.
setProxy(String, int, String) - Method in class groovyx.net.http.HTTPBuilder
Set the default HTTP proxy to be used for all requests.
setQuery(Map<?, ?>) - Method in class groovyx.net.http.URIBuilder
Set the query portion of the URI.
setQueryNVP(List<NameValuePair>) - Method in class groovyx.net.http.URIBuilder
 
setRawQuery(String) - Method in class groovyx.net.http.URIBuilder
Set the raw, already-escaped query string.
setReasonPhrase(String) - Method in class groovyx.net.http.HttpResponseDecorator
 
setRequestContentType(Object) - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Assign a different content-type for the request than is expected for the response.
setRequestContentType(Object) - Method in class groovyx.net.http.HttpURLClient
Set the default content-type used to control request body serialization.
setScheme(String) - Method in class groovyx.net.http.URIBuilder
Set the URI scheme, AKA the 'protocol.' e.g.
setStatusCode(int) - Method in class groovyx.net.http.HttpResponseDecorator
 
setStatusLine(StatusLine) - Method in class groovyx.net.http.HttpResponseDecorator
 
setStatusLine(ProtocolVersion, int) - Method in class groovyx.net.http.HttpResponseDecorator
 
setStatusLine(ProtocolVersion, int, String) - Method in class groovyx.net.http.HttpResponseDecorator
 
setTimeout(int) - Method in class groovyx.net.http.AsyncHTTPBuilder
This timeout is used for both the time to wait for an established connection, and the time to wait for data.
setUri(Object) - Method in class groovyx.net.http.HTTPBuilder.RequestConfigDelegate
Set the entire URI to be used for this request.
setUri(Object) - Method in class groovyx.net.http.HTTPBuilder
Set the default URI used for requests that do not explicitly take a uri param.
setUrl(Object) - Method in class groovyx.net.http.HttpURLClient
Set the default request URL.
setUserInfo(String) - Method in class groovyx.net.http.URIBuilder
Set the userInfo portion of the URI, or null if the URI should have no user information.
shutdown() - Method in class groovyx.net.http.AsyncHTTPBuilder
Release any system resources held by this instance.
shutdown() - Method in class groovyx.net.http.HTTPBuilder
Release any system resources held by this instance.
shutdown() - Method in class groovyx.net.http.thirdparty.GAEConnectionManager
 
Status - Enum in groovyx.net.http
Mapping of HTTP response codes to a constant 'success' or 'failure' value.

T

threadPool - Variable in class groovyx.net.http.AsyncHTTPBuilder
 
toString() - Method in enum groovyx.net.http.ContentEncoding.Type
Prints the value as it should appear in an HTTP header
toString() - Method in enum groovyx.net.http.ContentType
 
toString() - Method in enum groovyx.net.http.Status
 
toString() - Method in class groovyx.net.http.URIBuilder
Print this builder's URI representation.
toURI() - Method in class groovyx.net.http.URIBuilder
Convenience method to convert this object to a URI instance.
toURL() - Method in class groovyx.net.http.URIBuilder
Convenience method to convert this object to a URL instance.

U

update(String, String, String, int, String, String, String) - Method in class groovyx.net.http.URIBuilder
 
URIBuilder - Class in groovyx.net.http
This class implements a mutable URI.
URIBuilder(String) - Constructor for class groovyx.net.http.URIBuilder
 
URIBuilder(URL) - Constructor for class groovyx.net.http.URIBuilder
 
URIBuilder(URI) - Constructor for class groovyx.net.http.URIBuilder
 

V

valueOf(String) - Static method in enum groovyx.net.http.ContentEncoding.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum groovyx.net.http.ContentType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum groovyx.net.http.Method
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum groovyx.net.http.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum groovyx.net.http.ContentEncoding.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum groovyx.net.http.ContentType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum groovyx.net.http.Method
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum groovyx.net.http.Status
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrapResponseEntity(HttpEntity) - Method in class groovyx.net.http.ContentEncoding
 
wrapResponseEntity(HttpEntity) - Method in class groovyx.net.http.DeflateEncoding
Wraps the raw entity in a InflaterEntity.
wrapResponseEntity(HttpEntity) - Method in class groovyx.net.http.GZIPEncoding
Wraps the raw entity in a GZIPDecompressingEntity.
A B C D E F G H I L M N O P R S T U V W 

Copyright © 2008–2014. All rights reserved.