Skip navigation links
A B C D E F G H I J K M N O P R S T U V W X 

A

acceptingSslContext() - Static method in class groovyx.net.http.util.SslUtils
Creates an SSLContext that allows all requests, regardless of certificate issues.
Action(Consumer<Object>, ChainedHttpConfig, String) - Constructor for class groovyx.net.http.JavaHttpBuilder.Action
 
actualAction(Integer) - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedResponse
 
actualAuth() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
actualBody() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
actualCharset() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
actualContentType() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
actualContext(String, Object) - Method in interface groovyx.net.http.ChainedHttpConfig
 
actualCookies(List<HttpCookie>) - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
actualEncoder(String) - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
actualException() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedResponse
 
actualHeaders(Map<String, CharSequence>) - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
actualParser(String) - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedResponse
 
addCookieStore(URI, List<FromServer.Header<?>>) - Method in class groovyx.net.http.HttpBuilder
 
ANY_HOSTNAME - Static variable in class groovyx.net.http.util.SslUtils
A HostnameVerifier that accepts any host name.
ApacheEncoders - Class in groovyx.net.http
Request content encoders specific to the Apache client implementation.
ApacheEncoders() - Constructor for class groovyx.net.http.ApacheEncoders
 
ApacheHttpBuilder - Class in groovyx.net.http
HttpBuilder implementation based on the Apache HttpClient library.
ApacheHttpBuilder(HttpObjectConfig) - Constructor for class groovyx.net.http.ApacheHttpBuilder
Creates a new HttpBuilder based on the Apache HTTP client.
ApacheHttpBuilder.ApacheToServer - Class in groovyx.net.http
 
ApacheToServer(ChainedHttpConfig) - Constructor for class groovyx.net.http.ApacheHttpBuilder.ApacheToServer
 
append(int) - Method in class groovyx.net.http.NativeHandlers.Expanding
 
apply(IN_0, IN_1) - Method in class groovyx.net.http.fn.ClosureBiFunction
 
apply(IN_0) - Method in class groovyx.net.http.fn.ClosureFunction
 
apply(ChainedHttpConfig, FromServer) - Method in class groovyx.net.http.HttpBuilder.ResponseHandlerFunction
 
available() - Method in class groovyx.net.http.CharSequenceInputStream
 

B

BaseHttpConfig(ChainedHttpConfig) - Constructor for class groovyx.net.http.HttpConfigs.BaseHttpConfig
 
BaseRequest(ChainedHttpConfig.ChainedRequest) - Constructor for class groovyx.net.http.HttpConfigs.BaseRequest
 
BaseResponse(ChainedHttpConfig.ChainedResponse) - Constructor for class groovyx.net.http.HttpConfigs.BaseResponse
 
basic(String, String) - Method in interface groovyx.net.http.HttpConfig.Auth
Configures the request to use BASIC authentication with the given username and password.
basic(String, String, boolean) - Method in interface groovyx.net.http.HttpConfig.Auth
Configures the request to use BASIC authentication with the given username and password.
basic(ChainedHttpConfig) - Static method in class groovyx.net.http.HttpConfigs
 
basic(String, String, boolean) - Method in class groovyx.net.http.HttpConfigs.BasicAuth
 
basic(String, String, boolean) - Method in class groovyx.net.http.HttpConfigs.ThreadSafeAuth
 
basic(UriBuilder) - Static method in class groovyx.net.http.UriBuilder
Creates a basic UriBuilder from the provided parent builder.
BasicAuth() - Constructor for class groovyx.net.http.HttpConfigs.BasicAuth
 
BasicHttpConfig(ChainedHttpConfig) - Constructor for class groovyx.net.http.HttpConfigs.BasicHttpConfig
 
BasicRequest(ChainedHttpConfig.ChainedRequest) - Constructor for class groovyx.net.http.HttpConfigs.BasicRequest
 
BasicResponse(ChainedHttpConfig.ChainedResponse) - Constructor for class groovyx.net.http.HttpConfigs.BasicResponse
 
binary(ChainedHttpConfig, ToServer) - Static method in class groovyx.net.http.NativeHandlers.Encoders
Standard encoder for binary types.

C

catalogResolver - Static variable in class groovyx.net.http.NativeHandlers.Parsers
This CatalogResolver is static to avoid the overhead of re-parsing the catalog definition file every time.
ChainedHttpConfig - Interface in groovyx.net.http
 
ChainedHttpConfig.ChainedRequest - Interface in groovyx.net.http
 
ChainedHttpConfig.ChainedResponse - Interface in groovyx.net.http
 
CharSequenceInputStream - Class in groovyx.net.http
 
CharSequenceInputStream(CharSequence, Charset) - Constructor for class groovyx.net.http.CharSequenceInputStream
 
checkNull(Object) - Static method in class groovyx.net.http.NativeHandlers.Encoders
 
checkTypes(Object, Class<?>[]) - Static method in class groovyx.net.http.NativeHandlers.Encoders
 
checkValue(Object) - Static method in class groovyx.net.http.Form
 
classLevel(boolean) - Static method in class groovyx.net.http.HttpConfigs
 
cleanQuotes(String) - Static method in class groovyx.net.http.FromServer.Header
 
clientCustomizer(Consumer<Object>) - Method in interface groovyx.net.http.HttpObjectConfig.Client
A Consumer<Object> may be provided, which will have the internal client implementation reference passed into it to allow further client configuration beyond what it supported directly by HttpBuilder-NG.
close() - Method in class groovyx.net.http.ApacheHttpBuilder
 
close() - Method in class groovyx.net.http.CharSequenceInputStream
 
close() - Method in class groovyx.net.http.JavaHttpBuilder
 
close() - Method in class groovyx.net.http.OkHttpBuilder
 
close() - Method in class groovyx.net.http.ReaderInputStream
 
ClosureBiFunction<IN_0,IN_1,OUT> - Class in groovyx.net.http.fn
Utility BiFunction implementation used to wrap a Groovy Closure in a Java BiFunction interface.
ClosureBiFunction(Closure<OUT>) - Constructor for class groovyx.net.http.fn.ClosureBiFunction
 
ClosureFunction<IN_0,OUT> - Class in groovyx.net.http.fn
Utility Function implementation used to wrap a Groovy Closure in a Java Function interface.
ClosureFunction(Closure<OUT>) - Constructor for class groovyx.net.http.fn.ClosureFunction
 
CombinedMap(String, String) - Constructor for class groovyx.net.http.FromServer.Header.CombinedMap
 
configure(Closure) - Static method in class groovyx.net.http.ApacheHttpBuilder
Creates an HttpBuilder using the ApacheHttpBuilder factory instance configured with the provided configuration closure.
configure(Consumer<HttpObjectConfig>) - Static method in class groovyx.net.http.ApacheHttpBuilder
Creates an HttpBuilder using the ApacheHttpBuilder factory instance configured with the provided configuration function.
configure(Function<HttpObjectConfig, ? extends HttpBuilder>) - Static method in class groovyx.net.http.HttpBuilder
Creates an HttpBuilder with the default configuration using the provided factory function (JavaHttpBuilder or one of the other HTTP client implementation functions.
configure(Closure) - Static method in class groovyx.net.http.HttpBuilder
Creates an HttpBuilder using the JavaHttpBuilder factory instance configured with the provided configuration closure.
configure(Function<HttpObjectConfig, ? extends HttpBuilder>, Closure) - Static method in class groovyx.net.http.HttpBuilder
Creates an HttpBuilder configured with the provided configuration closure, using the defaultFactory as the client factory.
configure(Consumer<HttpObjectConfig>) - Static method in class groovyx.net.http.HttpBuilder
Creates an HttpBuilder using the JavaHttpBuilder factory instance configured with the provided configuration function.
configure(Function<HttpObjectConfig, ? extends HttpBuilder>, Consumer<HttpObjectConfig>) - Static method in class groovyx.net.http.HttpBuilder
Creates an HttpBuilder using the provided client factory function, configured with the provided configuration function.
configure() - Method in class groovyx.net.http.HttpConfigs.BaseHttpConfig
 
configure(Closure) - Static method in class groovyx.net.http.OkHttpBuilder
Creates an HttpBuilder using the OkHttpBuilder factory instance configured with the provided configuration closure.
configure(Consumer<HttpObjectConfig>) - Static method in class groovyx.net.http.OkHttpBuilder
Creates an HttpBuilder using the OkHttpBuilder factory instance configured with the provided configuration function.
consumeContent() - Method in class groovyx.net.http.ApacheHttpBuilder.ApacheToServer
 
content() - Method in class groovyx.net.http.JavaHttpBuilder.Action.JavaToServer
 
ContentTypes - Enum in groovyx.net.http
Collection of Content-Type header values grouped together by their overall type.
context(String, Object, Object) - Method in interface groovyx.net.http.HttpConfig
Registers a context-level content-type specific object.
context(Iterable<String>, Object, Object) - Method in interface groovyx.net.http.HttpConfig
Used to register a content-type-scoped object on the context in the specified content-type scopes.
context(String, Object, Object) - Method in class groovyx.net.http.HttpConfigs.BaseHttpConfig
 
context(String, Object, Object) - Method in class groovyx.net.http.HttpObjectConfigImpl
 
Context(Character) - Constructor for class groovyx.net.http.optional.Csv.Context
 
Context(Character, Character) - Constructor for class groovyx.net.http.optional.Csv.Context
 
cookie(String, String) - Method in interface groovyx.net.http.HttpConfig.Request
The cookie configuration options provide a means of adding HTTP Cookies to the request.
cookie(String, String, Date) - Method in interface groovyx.net.http.HttpConfig.Request
The cookie configuration options provide a means of adding HTTP Cookies to the request.
cookie(String, String, LocalDateTime) - Method in interface groovyx.net.http.HttpConfig.Request
The cookie configuration options provide a means of adding HTTP Cookies to the request.
cookie(String, String, Instant) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
cookie(String, String, Date) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
cookie(String, String, LocalDateTime) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
cookies(List<FromServer.Header<?>>) - Static method in class groovyx.net.http.HttpBuilder
 
cookiesToAdd(HttpObjectConfig.Client, ChainedHttpConfig.ChainedRequest) - Method in class groovyx.net.http.HttpBuilder
 
copyAsString(BufferedInputStream) - Static method in class groovyx.net.http.util.IoUtils
Safely copies the contents of the BufferedInputStream to a String and resets the stream.
CoreEncoders - Class in groovyx.net.http
Generic content encoders for use with all client implementations.
CoreEncoders() - Constructor for class groovyx.net.http.CoreEncoders
 
Csv - Class in groovyx.net.http.optional
Optional CSV encoder/parser implementation based on the [OpenCSV](http://opencsv.sourceforge.net/) library.
Csv() - Constructor for class groovyx.net.http.optional.Csv
 
Csv.Context - Class in groovyx.net.http.optional
 
CsvList(String, String) - Constructor for class groovyx.net.http.FromServer.Header.CsvList
 

D

decode(InputStream, Charset) - Static method in class groovyx.net.http.Form
 
decode(StringBuilder, Charset) - Static method in class groovyx.net.http.Form
 
DEFAULT_CHARSET - Static variable in class groovyx.net.http.NativeHandlers.Parsers
 
DEFAULT_CONTENT_TYPE - Static variable in interface groovyx.net.http.FromServer
 
DEFAULT_CSV - Static variable in class groovyx.net.http.optional.Csv.Context
 
DEFAULT_PORT - Static variable in class groovyx.net.http.UriBuilder
 
DEFAULT_TSV - Static variable in class groovyx.net.http.optional.Csv.Context
 
delete() - Method in class groovyx.net.http.HttpBuilder
Executes a DELETE request on the configured URI.
delete(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an DELETE request on the configured URI, with additional configuration provided by the configuration closure.
delete(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a DELETE request on the configured URI, with additional configuration provided by the configuration function.
delete(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes a DELETE request on the configured URI, with additional configuration provided by the configuration closure.
delete(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a DELETE request on the configured URI, with additional configuration provided by the configuration function.
deleteAsync() - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous DELETE request on the configured URI (asynchronous alias to the delete() method).
deleteAsync(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous DELETE request on the configured URI (an asynchronous alias to the delete(Closure) method), with additional configuration provided by the configuration closure.
deleteAsync(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous DELETE request on the configured URI (asynchronous alias to the delete(Consumer) method), with additional configuration provided by the configuration function.
deleteAsync(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous DELETE request on the configured URI (asynchronous alias to the delete(Class,Closure) method), with additional configuration provided by the configuration closure.
deleteAsync(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous DELETE request on the configured URI (asynchronous alias to the delete(Class,Consumer) method), with additional configuration provided by the configuration function.
digest(String, String) - Method in interface groovyx.net.http.HttpConfig.Auth
Configures the request to use DIGEST authentication with the given username and password.
digest(String, String, boolean) - Method in interface groovyx.net.http.HttpConfig.Auth
Configures the request to use DIGEST authentication with the given information.
digest(String, String, boolean) - Method in class groovyx.net.http.HttpConfigs.BasicAuth
 
digest(String, String, boolean) - Method in class groovyx.net.http.HttpConfigs.ThreadSafeAuth
 
doDelete(ChainedHttpConfig) - Method in class groovyx.net.http.ApacheHttpBuilder
 
doDelete(ChainedHttpConfig) - Method in class groovyx.net.http.HttpBuilder
 
doDelete(ChainedHttpConfig) - Method in class groovyx.net.http.JavaHttpBuilder
 
doDelete(ChainedHttpConfig) - Method in class groovyx.net.http.OkHttpBuilder
 
doGet(ChainedHttpConfig) - Method in class groovyx.net.http.ApacheHttpBuilder
 
doGet(ChainedHttpConfig) - Method in class groovyx.net.http.HttpBuilder
 
doGet(ChainedHttpConfig) - Method in class groovyx.net.http.JavaHttpBuilder
 
doGet(ChainedHttpConfig) - Method in class groovyx.net.http.OkHttpBuilder
 
doHead(ChainedHttpConfig) - Method in class groovyx.net.http.ApacheHttpBuilder
 
doHead(ChainedHttpConfig) - Method in class groovyx.net.http.HttpBuilder
 
doHead(ChainedHttpConfig) - Method in class groovyx.net.http.JavaHttpBuilder
 
doHead(ChainedHttpConfig) - Method in class groovyx.net.http.OkHttpBuilder
 
doOptions(ChainedHttpConfig) - Method in class groovyx.net.http.ApacheHttpBuilder
 
doOptions(ChainedHttpConfig) - Method in class groovyx.net.http.HttpBuilder
 
doOptions(ChainedHttpConfig) - Method in class groovyx.net.http.JavaHttpBuilder
 
doOptions(ChainedHttpConfig) - Method in class groovyx.net.http.OkHttpBuilder
 
doPatch(ChainedHttpConfig) - Method in class groovyx.net.http.ApacheHttpBuilder
 
doPatch(ChainedHttpConfig) - Method in class groovyx.net.http.HttpBuilder
 
doPatch(ChainedHttpConfig) - Method in class groovyx.net.http.JavaHttpBuilder
 
doPatch(ChainedHttpConfig) - Method in class groovyx.net.http.OkHttpBuilder
 
doPost(ChainedHttpConfig) - Method in class groovyx.net.http.ApacheHttpBuilder
 
doPost(ChainedHttpConfig) - Method in class groovyx.net.http.HttpBuilder
 
doPost(ChainedHttpConfig) - Method in class groovyx.net.http.JavaHttpBuilder
 
doPost(ChainedHttpConfig) - Method in class groovyx.net.http.OkHttpBuilder
 
doPut(ChainedHttpConfig) - Method in class groovyx.net.http.ApacheHttpBuilder
 
doPut(ChainedHttpConfig) - Method in class groovyx.net.http.HttpBuilder
 
doPut(ChainedHttpConfig) - Method in class groovyx.net.http.JavaHttpBuilder
 
doPut(ChainedHttpConfig) - Method in class groovyx.net.http.OkHttpBuilder
 
doTrace(ChainedHttpConfig) - Method in class groovyx.net.http.ApacheHttpBuilder
 
doTrace(ChainedHttpConfig) - Method in class groovyx.net.http.HttpBuilder
 
doTrace(ChainedHttpConfig) - Method in class groovyx.net.http.JavaHttpBuilder
 
doTrace(ChainedHttpConfig) - Method in class groovyx.net.http.OkHttpBuilder
 
Download - Class in groovyx.net.http.optional
Helper methods used to assist in downloading remote content.
Download() - Constructor for class groovyx.net.http.optional.Download
 

E

encode(Map<?, ?>, Charset) - Static method in class groovyx.net.http.Form
 
encode(ChainedHttpConfig, ToServer) - Static method in class groovyx.net.http.optional.Csv
Used to encode the request content using the OpenCsv writer.
encode(ChainedHttpConfig, ToServer) - Static method in class groovyx.net.http.optional.Jackson
Used to encode the request content using the Jackson JSON encoder.
encoder(String, BiConsumer<ChainedHttpConfig, ToServer>) - Method in interface groovyx.net.http.HttpConfig.Request
Specifies the request encoder (ToServer instance) to be used when encoding the given content type.
encoder(Iterable<String>, BiConsumer<ChainedHttpConfig, ToServer>) - Method in interface groovyx.net.http.HttpConfig.Request
Specifies the request encoder (ToServer instance) to be used when encoding the given list of content types.
encoder(String) - Method in interface groovyx.net.http.HttpConfig.Request
Retrieves the request encoder (ToServer instance) for the specified content type wrapped in a BiConsumer function.
encoder(String) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
encoder(String, BiConsumer<ChainedHttpConfig, ToServer>) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
encoder(Iterable<String>, BiConsumer<ChainedHttpConfig, ToServer>) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
Encoders() - Constructor for class groovyx.net.http.NativeHandlers.Encoders
 
encoderSupplier - Static variable in class groovyx.net.http.optional.Csv
 
equals(Object) - Method in class groovyx.net.http.FromServer.Header
 
exception(Closure<?>) - Method in interface groovyx.net.http.HttpConfig.Response
Configures the execution of the provided closure to handle exceptions during request/response processing.
exception(Function<Throwable, ?>) - Method in interface groovyx.net.http.HttpConfig.Response
Configures the execution of the provided function to handle exceptions during request/response processing.
exception(Function<Throwable, ?>) - Method in class groovyx.net.http.HttpConfigs.BasicResponse
 
exception(Function<Throwable, ?>) - Method in class groovyx.net.http.HttpConfigs.ThreadSafeResponse
 
exception(Throwable) - Static method in class groovyx.net.http.NativeHandlers
Default exception handler.
execute() - Method in class groovyx.net.http.JavaHttpBuilder.Action
 
Expanding() - Constructor for class groovyx.net.http.NativeHandlers.Expanding
 

F

failure(Closure<?>) - Method in interface groovyx.net.http.HttpConfig.Response
Configures the execution of the provided closure "when" a failure response is received (code >= 400).
failure(BiFunction<FromServer, Object, ?>) - Method in interface groovyx.net.http.HttpConfig.Response
Configures the execution of the provided function "when" a failure response is received (code >= 400).
failure(BiFunction<FromServer, Object, ?>) - Method in class groovyx.net.http.HttpConfigs.BasicResponse
 
failure(BiFunction<FromServer, Object, ?>) - Method in class groovyx.net.http.HttpConfigs.ThreadSafeResponse
 
failure(FromServer, Object) - Static method in class groovyx.net.http.NativeHandlers
Default failure handler.
field(String, String) - Method in class groovyx.net.http.MultipartContent
Configures a field part with the given field name and value.
field(String, String, String) - Method in class groovyx.net.http.MultipartContent
Configures a field part with the given field name and value (of the specified content type).
find(Collection<FromServer.Header<?>>, String) - Static method in class groovyx.net.http.FromServer.Header
Used to find a specific Header by key from a Collection of `Header`s.
findCause(Exception) - Static method in class groovyx.net.http.HttpBuilder
 
findCharset() - Method in interface groovyx.net.http.ChainedHttpConfig
 
findContentType() - Method in interface groovyx.net.http.ChainedHttpConfig
 
findEncoder() - Method in interface groovyx.net.http.ChainedHttpConfig
Used to find the encoder configured to encode the current resolved content-type.
findEncoder(String) - Method in interface groovyx.net.http.ChainedHttpConfig
Used to find the encoder configured to encode the specified content-type.
findParser(String) - Method in interface groovyx.net.http.ChainedHttpConfig
 
finish() - Method in interface groovyx.net.http.FromServer
Performs any client-specific response finishing operations.
finish() - Method in class groovyx.net.http.JavaHttpBuilder.Action.JavaFromServer
 
forCookie(HttpCookie) - Method in class groovyx.net.http.UriBuilder
 
forEach(Consumer<? super String>) - Method in enum groovyx.net.http.ContentTypes
 
Form - Class in groovyx.net.http
 
Form() - Constructor for class groovyx.net.http.Form
 
form(ChainedHttpConfig, ToServer) - Static method in class groovyx.net.http.NativeHandlers.Encoders
Standard encoder for requests with content type 'application/x-www-form-urlencoded'.
form(ChainedHttpConfig, FromServer) - Static method in class groovyx.net.http.NativeHandlers.Parsers
Standard parser for responses with content type 'application/x-www-form-urlencoded'.
FromServer - Interface in groovyx.net.http
Adapter interface used to provide a bridge for response data between the HttpBuilder API and the underlying client implementation.
FromServer.Header<T> - Class in groovyx.net.http
Defines the interface to the HTTP headers contained in the response.
FromServer.Header.CombinedMap - Class in groovyx.net.http
Type representing headers that have values which are parseable as key/value pairs, provided the header hey is included in the key/value map.
FromServer.Header.CsvList - Class in groovyx.net.http
Type representing headers that have values which are comma separated lists.
FromServer.Header.HttpCookies - Class in groovyx.net.http
 
FromServer.Header.HttpDate - Class in groovyx.net.http
Type representing headers that have values which are zoned date time values.
FromServer.Header.MapPairs - Class in groovyx.net.http
Type representing headers that have values which are parseable as key/value pairs.
FromServer.Header.SingleLong - Class in groovyx.net.http
Type representing headers that have values which are parseable as longs.
FromServer.Header.ValueOnly - Class in groovyx.net.http
Type representing headers that are simple key/values, with no parseable structure in the value.
fromValue(String) - Static method in enum groovyx.net.http.ContentTypes
 
full(String) - Static method in class groovyx.net.http.FromServer.Header
Creates a Header from a full header string.

G

get() - Method in class groovyx.net.http.HttpBuilder
Executes a GET request on the configured URI.
get(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes a GET request on the configured URI, with additional configuration provided by the configuration closure.
get(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a GET request on the configured URI, with additional configuration provided by the configuration function.
get(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes a GET request on the configured URI, with additional configuration provided by the configuration closure.
get(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a GET request on the configured URI, with additional configuration provided by the configuration function.
getAddress() - Method in class groovyx.net.http.ProxyInfo
 
getAsync() - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous GET request on the configured URI (asynchronous alias to the get() method.
getAsync(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous GET request on the configured URI (asynchronous alias to the get(Closure) method), with additional configuration provided by the configuration closure.
getAsync(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous GET request on the configured URI (asynchronous alias to get(Consumer)), with additional configuration provided by the configuration function.
getAsync(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes asynchronous GET request on the configured URI (alias for the get(Class, Closure) method), with additional configuration provided by the configuration closure.
getAsync(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes asynchronous GET request on the configured URI (alias for the get(Class, Consumer) method), with additional configuration provided by the configuration function.
getAt(int) - Method in enum groovyx.net.http.ContentTypes
 
getAuth() - Method in interface groovyx.net.http.HttpConfig.Request
Retrieves the authentication information for the request.
getAuth() - Method in class groovyx.net.http.HttpConfigs.BasicRequest
 
getAuth() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeRequest
 
getAuthType() - Method in interface groovyx.net.http.HttpConfig.Auth
Retrieve the authentication type for the request.
getAuthType() - Method in class groovyx.net.http.HttpConfigs.BasicAuth
 
getAuthType() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeAuth
 
getBody() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
getBody() - Method in class groovyx.net.http.HttpConfigs.BasicRequest
 
getBody() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeRequest
 
getBody() - Method in exception groovyx.net.http.HttpException
 
getByCode() - Method in class groovyx.net.http.HttpConfigs.BaseResponse
 
getByCode() - Method in class groovyx.net.http.HttpConfigs.BasicResponse
 
getByCode() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeResponse
 
getChainedConfig() - Method in interface groovyx.net.http.HttpObjectConfig
 
getChainedConfig() - Method in class groovyx.net.http.HttpObjectConfigImpl
 
getChainedRequest() - Method in interface groovyx.net.http.ChainedHttpConfig
 
getChainedRequest() - Method in class groovyx.net.http.HttpConfigs.BasicHttpConfig
 
getChainedRequest() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeHttpConfig
 
getChainedResponse() - Method in interface groovyx.net.http.ChainedHttpConfig
 
getChainedResponse() - Method in class groovyx.net.http.HttpConfigs.BasicHttpConfig
 
getChainedResponse() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeHttpConfig
 
getCharset() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
getCharset() - Method in interface groovyx.net.http.FromServer
Retrieves the value of the charset from the "Content-Type" response header.
getCharset() - Method in class groovyx.net.http.HttpConfigs.BasicRequest
 
getCharset() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeRequest
 
getClient() - Method in interface groovyx.net.http.HttpObjectConfig
Retrieves the client configuration interface implementation.
getClient() - Method in class groovyx.net.http.HttpObjectConfigImpl
 
getClientCustomizer() - Method in interface groovyx.net.http.HttpObjectConfig.Client
Used to retrieve the configured client implementation customizer Consumer, if there is one.
getClientImplementation() - Method in class groovyx.net.http.ApacheHttpBuilder
Retrieves the internal client implementation as an HttpClient instance.
getClientImplementation() - Method in class groovyx.net.http.HttpBuilder
Used to retrieve the instance of the internal client implementation.
getClientImplementation() - Method in class groovyx.net.http.JavaHttpBuilder
The core Java client implementation does not support direct client access.
getClientImplementation() - Method in class groovyx.net.http.OkHttpBuilder
Retrieves the internal client implementation as an OkHttpClient instance.
getClosure() - Method in class groovyx.net.http.fn.ClosureBiFunction
 
getClosure() - Method in class groovyx.net.http.fn.ClosureFunction
 
getContent() - Method in class groovyx.net.http.ApacheHttpBuilder.ApacheToServer
 
getContentEncoding() - Method in class groovyx.net.http.ApacheHttpBuilder.ApacheToServer
 
getContentLength() - Method in class groovyx.net.http.ApacheHttpBuilder.ApacheToServer
 
getContentType() - Method in class groovyx.net.http.ApacheHttpBuilder.ApacheToServer
 
getContentType() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
getContentType() - Method in interface groovyx.net.http.FromServer
Retrieves the value of the "Content-Type" header from the response.
getContentType() - Method in class groovyx.net.http.HttpConfigs.BasicRequest
 
getContentType() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeRequest
 
getContextMap() - Method in interface groovyx.net.http.ChainedHttpConfig
 
getContextMap() - Method in class groovyx.net.http.HttpConfigs.BasicHttpConfig
 
getContextMap() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeHttpConfig
 
getCookieFolder() - Method in interface groovyx.net.http.HttpObjectConfig.Client
Retrieves the location for storing persistent cookies
getCookieManager() - Method in class groovyx.net.http.HttpBuilder
 
getCookies() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
getCookies() - Method in interface groovyx.net.http.FromServer
 
getCookies() - Method in class groovyx.net.http.HttpConfigs.BasicRequest
 
getCookies() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeRequest
 
getCookiesEnabled() - Method in interface groovyx.net.http.HttpObjectConfig.Client
Retrieves whether cookies are enabled or disabled
getCookieStore() - Method in class groovyx.net.http.HttpBuilder
Returns the cookie store used by this builder
getCookieVersion() - Method in interface groovyx.net.http.HttpObjectConfig.Client
Retrieves the supported Cookie version.
getEncoderMap() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
getEncoderMap() - Method in class groovyx.net.http.HttpConfigs.BasicRequest
 
getEncoderMap() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeRequest
 
getException() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedResponse
 
getException() - Method in class groovyx.net.http.HttpConfigs.BasicResponse
 
getException() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeResponse
 
getExecution() - Method in interface groovyx.net.http.HttpObjectConfig
Retrieves the execution configuration interface implementation.
getExecution() - Method in class groovyx.net.http.HttpObjectConfigImpl
 
getExecutor() - Method in class groovyx.net.http.ApacheHttpBuilder
 
getExecutor() - Method in class groovyx.net.http.HttpBuilder
 
getExecutor() - Method in interface groovyx.net.http.HttpObjectConfig.Execution
Retrieves the configured executor.
getExecutor() - Method in class groovyx.net.http.JavaHttpBuilder
 
getExecutor() - Method in class groovyx.net.http.OkHttpBuilder
 
getFailure() - Method in class groovyx.net.http.HttpConfigs.BaseResponse
 
getFailure() - Method in class groovyx.net.http.HttpConfigs.BasicResponse
 
getFailure() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeResponse
 
getFragment() - Method in class groovyx.net.http.UriBuilder
Retrieves the fragment part of the URI.
getHasBody() - Method in interface groovyx.net.http.FromServer
Determines whether or not there is body content in the response.
getHasBody() - Method in class groovyx.net.http.JavaHttpBuilder.Action.JavaFromServer
 
getHeaders() - Method in interface groovyx.net.http.FromServer
Retrieves a List of the response headers as (FromServer.Header objects).
getHeaders() - Method in interface groovyx.net.http.HttpConfig.Request
Used to retrieve the request headers.
getHeaders() - Method in class groovyx.net.http.HttpConfigs.BasicRequest
 
getHeaders() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeRequest
 
getHeaders() - Method in exception groovyx.net.http.HttpException
 
getHeaders() - Method in class groovyx.net.http.JavaHttpBuilder.Action.JavaFromServer
 
getHost() - Method in class groovyx.net.http.UriBuilder
Retrieves the host part of the URI.
getHostnameVerifier() - Method in interface groovyx.net.http.HttpObjectConfig.Execution
Used to retrieve the HostnameVerifier configured for the client.
getInputStream() - Method in interface groovyx.net.http.FromServer
Retrieves the InputStream containing the response content (may have already been processed).
getInputStream() - Method in class groovyx.net.http.JavaHttpBuilder.Action.JavaFromServer
 
getInterceptors() - Method in interface groovyx.net.http.HttpObjectConfig.Execution
Used to retrieve the interceptors configured.
getKey() - Method in class groovyx.net.http.FromServer.Header
Retrieves the header key.
getMaxThreads() - Method in interface groovyx.net.http.HttpObjectConfig.Execution
Retrieves the configured max number of connection threads used by the client.
getMessage() - Method in interface groovyx.net.http.FromServer
Retrieves the response status message.
getMessage() - Method in class groovyx.net.http.JavaHttpBuilder.Action.JavaFromServer
 
getObjectConfig() - Method in class groovyx.net.http.ApacheHttpBuilder
 
getObjectConfig() - Method in class groovyx.net.http.HttpBuilder
 
getObjectConfig() - Method in class groovyx.net.http.JavaHttpBuilder
 
getObjectConfig() - Method in class groovyx.net.http.OkHttpBuilder
 
getParent() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
getParent() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedResponse
 
getParent() - Method in interface groovyx.net.http.ChainedHttpConfig
 
getParent() - Method in class groovyx.net.http.HttpConfigs.BaseHttpConfig
 
getParent() - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
getParent() - Method in class groovyx.net.http.HttpConfigs.BaseResponse
 
getParent() - Method in class groovyx.net.http.HttpObjectConfigImpl
 
getParent() - Method in class groovyx.net.http.UriBuilder
 
getParsed() - Method in class groovyx.net.http.FromServer.Header
Retrieves the parsed representation of the 'value`.
getParsedType() - Method in class groovyx.net.http.FromServer.Header.CombinedMap
Always returns List
getParsedType() - Method in class groovyx.net.http.FromServer.Header.CsvList
 
getParsedType() - Method in class groovyx.net.http.FromServer.Header
Retrieves the type of the parsed representation of the 'value`.
getParsedType() - Method in class groovyx.net.http.FromServer.Header.HttpCookies
 
getParsedType() - Method in class groovyx.net.http.FromServer.Header.HttpDate
 
getParsedType() - Method in class groovyx.net.http.FromServer.Header.MapPairs
Always returns Map
getParsedType() - Method in class groovyx.net.http.FromServer.Header.SingleLong
Always returns Long
getParsedType() - Method in class groovyx.net.http.FromServer.Header.ValueOnly
Always returns String
getParserMap() - Method in class groovyx.net.http.HttpConfigs.BaseResponse
 
getParserMap() - Method in class groovyx.net.http.HttpConfigs.BasicResponse
 
getParserMap() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeResponse
 
getPassword() - Method in interface groovyx.net.http.HttpConfig.Auth
Retrieves the configured password for the request.
getPassword() - Method in class groovyx.net.http.HttpConfigs.BasicAuth
 
getPassword() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeAuth
 
getPasswordAuthentication() - Method in class groovyx.net.http.JavaHttpBuilder.ThreadLocalAuth
 
getPath() - Method in class groovyx.net.http.UriBuilder
Retrieves the path part of the URI.
getPort() - Method in class groovyx.net.http.ProxyInfo
 
getPort() - Method in class groovyx.net.http.UriBuilder
Retrieves the port part of the URI.
getProxy() - Method in class groovyx.net.http.ProxyInfo
 
getProxyInfo() - Method in interface groovyx.net.http.HttpObjectConfig.Execution
 
getQuery() - Method in class groovyx.net.http.UriBuilder
Retrieves the Map of query string parameters for the URI.
getQuoteChar() - Method in class groovyx.net.http.optional.Csv.Context
 
getReader() - Method in interface groovyx.net.http.FromServer
Retrieves a Reader for the response body content (if there is any).
getRequest() - Method in interface groovyx.net.http.HttpConfig
Used to retrieve configuration information about the HTTP request.
getRequest() - Method in class groovyx.net.http.HttpConfigs.BasicHttpConfig
 
getRequest() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeHttpConfig
 
getRequest() - Method in class groovyx.net.http.HttpObjectConfigImpl
 
getResponse() - Method in interface groovyx.net.http.HttpConfig
Used to retrieve configuration information about the HTTP response.
getResponse() - Method in class groovyx.net.http.HttpConfigs.BasicHttpConfig
 
getResponse() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeHttpConfig
 
getResponse() - Method in class groovyx.net.http.HttpObjectConfigImpl
 
getScheme() - Method in class groovyx.net.http.UriBuilder
Retrieves the scheme part of the URI.
getSeparator() - Method in class groovyx.net.http.optional.Csv.Context
 
getSocketAddress() - Method in class groovyx.net.http.ProxyInfo
 
getSslContext() - Method in interface groovyx.net.http.HttpObjectConfig.Execution
Retrieves the SSLContext configured for the underlying HTTP client.
getStatusCode() - Method in interface groovyx.net.http.FromServer
Retrieves the response status code (List of HTTP status code).
getStatusCode() - Method in exception groovyx.net.http.HttpException
 
getStatusCode() - Method in class groovyx.net.http.JavaHttpBuilder.Action.JavaFromServer
 
getSuccess() - Method in class groovyx.net.http.HttpConfigs.BaseResponse
 
getSuccess() - Method in class groovyx.net.http.HttpConfigs.BasicResponse
 
getSuccess() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeResponse
 
getType() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedResponse
 
getType() - Method in class groovyx.net.http.HttpConfigs.BasicResponse
 
getType() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeResponse
 
getUri() - Method in interface groovyx.net.http.FromServer
Retrieves the URI of the original request.
getUri() - Method in interface groovyx.net.http.HttpConfig.Request
Retrieves the UriBuilder for the request, which provides methods for more fine-grained URI specification.
getUri() - Method in class groovyx.net.http.HttpConfigs.BasicRequest
 
getUri() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeRequest
 
getUri() - Method in class groovyx.net.http.JavaHttpBuilder.Action.JavaFromServer
 
getUser() - Method in interface groovyx.net.http.HttpConfig.Auth
Retrieves the configured user for the request.
getUser() - Method in class groovyx.net.http.HttpConfigs.BasicAuth
 
getUser() - Method in class groovyx.net.http.HttpConfigs.ThreadSafeAuth
 
getUseRawValues() - Method in class groovyx.net.http.UriBuilder
 
getUserInfo() - Method in class groovyx.net.http.UriBuilder
Retrieves the user info part of the URI.
getValue() - Method in class groovyx.net.http.FromServer.Header
Retrieves the header value.
getVerb() - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
getVerb() - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
groovyx.net.http - package groovyx.net.http
 
groovyx.net.http.fn - package groovyx.net.http.fn
 
groovyx.net.http.optional - package groovyx.net.http.optional
 
groovyx.net.http.util - package groovyx.net.http.util
 

H

handleException(ChainedHttpConfig.ChainedResponse, Exception) - Method in class groovyx.net.http.HttpBuilder
 
handleRawUpload(ChainedHttpConfig, ToServer) - Static method in class groovyx.net.http.NativeHandlers.Encoders
 
hashCode() - Method in class groovyx.net.http.FromServer.Header
 
hasQuoteChar() - Method in class groovyx.net.http.optional.Csv.Context
 
head() - Method in class groovyx.net.http.HttpBuilder
Executes a HEAD request on the configured URI.
head(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes a HEAD request on the configured URI, with additional configuration provided by the configuration closure.
head(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a HEAD request on the configured URI, with additional configuration provided by the configuration function.
head(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes a HEAD request on the configured URI, with additional configuration provided by the configuration closure.
head(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a HEAD request on the configured URI, with additional configuration provided by the configuration function.
headAsync() - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous HEAD request on the configured URI (asynchronous alias to the head() method.
headAsync(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous HEAD request on the configured URI (asynchronous alias to the head(Closure) method), with additional configuration provided by the configuration closure.
headAsync(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous HEAD request on the configured URI (asynchronous alias to head(Consumer)), with additional configuration provided by the configuration function.
headAsync(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous HEAD request on the configured URI (asynchronous alias to the head(Class,Closure) method), with additional configuration provided by the configuration closure.
headAsync(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous HEAD request on the configured URI (asynchronous alias to head(Class,Consumer)), with additional configuration provided by the configuration function.
Header(String, String) - Constructor for class groovyx.net.http.FromServer.Header
 
Html - Class in groovyx.net.http.optional
Parser and Encoder methods for handling HTML content using the JSoup HTML library.
Html() - Constructor for class groovyx.net.http.optional.Html
 
HttpBuilder - Class in groovyx.net.http
This class is the main entry point into the "HttpBuilder-NG" API.
HttpBuilder(HttpObjectConfig) - Constructor for class groovyx.net.http.HttpBuilder
 
HttpBuilder.ResponseHandlerFunction - Class in groovyx.net.http
 
HttpConfig - Interface in groovyx.net.http
Provides the public interface used for the HttpBuilder shared and per-verb configuration.
HttpConfig.Auth - Interface in groovyx.net.http
Defines the configurable HTTP request authentication properties.
HttpConfig.AuthType - Enum in groovyx.net.http
Defines the allowed values of the HTTP authentication type.
HttpConfig.Request - Interface in groovyx.net.http
Defines the configurable HTTP request properties.
HttpConfig.Response - Interface in groovyx.net.http
Defines the configurable HTTP response properties.
HttpConfig.Status - Enum in groovyx.net.http
Defines the an enumeration of the overall HTTP response status categories.
HttpConfigs - Class in groovyx.net.http
 
HttpConfigs() - Constructor for class groovyx.net.http.HttpConfigs
 
HttpConfigs.BaseHttpConfig - Class in groovyx.net.http
 
HttpConfigs.BaseRequest - Class in groovyx.net.http
 
HttpConfigs.BaseResponse - Class in groovyx.net.http
 
HttpConfigs.BasicAuth - Class in groovyx.net.http
 
HttpConfigs.BasicHttpConfig - Class in groovyx.net.http
 
HttpConfigs.BasicRequest - Class in groovyx.net.http
 
HttpConfigs.BasicResponse - Class in groovyx.net.http
 
HttpConfigs.ThreadSafeAuth - Class in groovyx.net.http
 
HttpConfigs.ThreadSafeHttpConfig - Class in groovyx.net.http
 
HttpConfigs.ThreadSafeRequest - Class in groovyx.net.http
 
HttpConfigs.ThreadSafeResponse - Class in groovyx.net.http
 
HttpCookies(String, String) - Constructor for class groovyx.net.http.FromServer.Header.HttpCookies
 
HttpDate(String, String) - Constructor for class groovyx.net.http.FromServer.Header.HttpDate
 
HttpException - Exception in groovyx.net.http
 
HttpException(FromServer, Object) - Constructor for exception groovyx.net.http.HttpException
 
HttpObjectConfig - Interface in groovyx.net.http
Extension of the HttpConfig interface, which provides additional client-level configuration options.
HttpObjectConfig.Client - Interface in groovyx.net.http
The Client configuration interface allows configuration of client-centric properties.
HttpObjectConfig.Execution - Interface in groovyx.net.http
The Execution configuration interface provides a means of configuring the execution-specific properties of the underlying HTTP client.
HttpObjectConfigImpl - Class in groovyx.net.http
 
HttpObjectConfigImpl() - Constructor for class groovyx.net.http.HttpObjectConfigImpl
 
HttpVerb - Enum in groovyx.net.http
An enumeration of the supported HTTP verbs.

I

ID - Static variable in class groovyx.net.http.optional.Csv.Context
 
ifClassIsLoaded(String) - Static method in class groovyx.net.http.Safe
 
ignoreSslIssues(HttpObjectConfig.Execution) - Static method in class groovyx.net.http.util.SslUtils
Configuration helper used to ignore any SSL certificate-related issues by configuring an SSLContext that allows everything.
interceptor(HttpVerb, BiFunction<ChainedHttpConfig, Function<ChainedHttpConfig, Object>, Object>) - Method in interface groovyx.net.http.HttpObjectConfig.Execution
Configures an interceptor (similar to an Http Servlet filter) which allows operations to be performed before and after a request, even alteration of the data.
interceptor(HttpVerb[], BiFunction<ChainedHttpConfig, Function<ChainedHttpConfig, Object>, Object>) - Method in interface groovyx.net.http.HttpObjectConfig.Execution
Configures an interceptor (similar to an Http Servlet filter) which allows operations to be performed before and after a request, even alteration of the data.
IoUtils - Class in groovyx.net.http.util
Shared IO utility operations.
IoUtils() - Constructor for class groovyx.net.http.util.IoUtils
 
isChunked() - Method in class groovyx.net.http.ApacheHttpBuilder.ApacheToServer
 
isPropertySet(String) - Static method in class groovyx.net.http.util.Misc
 
isRepeatable() - Method in class groovyx.net.http.ApacheHttpBuilder.ApacheToServer
 
isSecure() - Method in class groovyx.net.http.ProxyInfo
 
isStreaming() - Method in class groovyx.net.http.ApacheHttpBuilder.ApacheToServer
 
iterator() - Method in enum groovyx.net.http.ContentTypes
 

J

Jackson - Class in groovyx.net.http.optional
Parser and Encoder methods for handling JSON content using the Jackson JSON library.
Jackson() - Constructor for class groovyx.net.http.optional.Jackson
 
JavaFromServer(URI) - Constructor for class groovyx.net.http.JavaHttpBuilder.Action.JavaFromServer
 
JavaHttpBuilder - Class in groovyx.net.http
HttpBuilder implementation based on the HttpURLConnection class.
JavaHttpBuilder(HttpObjectConfig) - Constructor for class groovyx.net.http.JavaHttpBuilder
 
JavaHttpBuilder.Action - Class in groovyx.net.http
 
JavaHttpBuilder.Action.JavaFromServer - Class in groovyx.net.http
 
JavaHttpBuilder.Action.JavaToServer - Class in groovyx.net.http
 
JavaHttpBuilder.ThreadLocalAuth - Class in groovyx.net.http
 
JavaToServer() - Constructor for class groovyx.net.http.JavaHttpBuilder.Action.JavaToServer
 
json(ChainedHttpConfig, ToServer) - Static method in class groovyx.net.http.NativeHandlers.Encoders
Standard encoder for requests with a json body.
json(ChainedHttpConfig, FromServer) - Static method in class groovyx.net.http.NativeHandlers.Parsers
Standard parser for json responses.
jsoupEncode(ChainedHttpConfig, ToServer) - Static method in class groovyx.net.http.optional.Html
 
jsoupEncoderSupplier - Static variable in class groovyx.net.http.optional.Html
 
jsoupParse(ChainedHttpConfig, FromServer) - Static method in class groovyx.net.http.optional.Html
Method that provides an HTML parser for response configuration (uses JSoup).
jsoupParserSupplier - Static variable in class groovyx.net.http.optional.Html
 

K

key(String) - Static method in class groovyx.net.http.FromServer.Header
 
keyValue(String, String) - Static method in class groovyx.net.http.FromServer.Header
Creates a Header from a given key and value.

M

MapPairs(String, String) - Constructor for class groovyx.net.http.FromServer.Header.MapPairs
 
mapper(HttpConfig, ObjectMapper) - Static method in class groovyx.net.http.optional.Jackson
Used to configure the provided Jackson ObjectMapper in the configuration context for the default JSON content type.
mapper(HttpConfig, ObjectMapper, Iterable<String>) - Static method in class groovyx.net.http.optional.Jackson
Used to configure the provided Jackson ObjectMapper in the configuration context for the specified content type.
Misc - Class in groovyx.net.http.util
 
Misc() - Constructor for class groovyx.net.http.util.Misc
 
multipart(ChainedHttpConfig, ToServer) - Static method in class groovyx.net.http.ApacheEncoders
Encodes multipart/form-data where the body content must be an instance of the MultipartContent class.
multipart(ChainedHttpConfig, ToServer) - Static method in class groovyx.net.http.CoreEncoders
Encodes multipart/form-data where the body content must be an instance of the MultipartContent class.
multipart(Closure) - Static method in class groovyx.net.http.MultipartContent
Configures multipart request content using a Groovy closure (delegated to MultipartContent).
multipart(Consumer<MultipartContent>) - Static method in class groovyx.net.http.MultipartContent
Configures multipart request content using a Consumer which will have an instance of MultipartContent passed into it for configuring the multipart content data.
multipart(ChainedHttpConfig, ToServer) - Static method in class groovyx.net.http.OkHttpEncoders
Encodes multipart/form-data where the body content must be an instance of the MultipartContent class.
MultipartContent - Class in groovyx.net.http
Multipart request content object used to define the multipart data.
MultipartContent() - Constructor for class groovyx.net.http.MultipartContent
 

N

NativeHandlers - Class in groovyx.net.http
 
NativeHandlers() - Constructor for class groovyx.net.http.NativeHandlers
 
NativeHandlers.Encoders - Class in groovyx.net.http
The set of available content encoders.
NativeHandlers.Expanding - Class in groovyx.net.http
 
NativeHandlers.Parsers - Class in groovyx.net.http
The default collection of response content parsers.
neckoParse(ChainedHttpConfig, FromServer) - Static method in class groovyx.net.http.optional.Html
Method that provides an HTML parser for response configuration (uses necko parser).
neckoParserSupplier - Static variable in class groovyx.net.http.optional.Html
 
nonEmptyMap(Map<?, ?>) - Static method in class groovyx.net.http.Traverser
 
notNull(V) - Static method in class groovyx.net.http.Traverser
 
notValue(V) - Static method in class groovyx.net.http.Traverser
 
nullInterceptor(ChainedHttpConfig, Function<ChainedHttpConfig, Object>) - Static method in class groovyx.net.http.HttpObjectConfigImpl
 

O

OkHttpBuilder - Class in groovyx.net.http
HttpBuilder implementation based on the OkHttp client library.
OkHttpBuilder(HttpObjectConfig) - Constructor for class groovyx.net.http.OkHttpBuilder
 
OkHttpEncoders - Class in groovyx.net.http
Request content encoders specific to the OkHttp client implementation.
OkHttpEncoders() - Constructor for class groovyx.net.http.OkHttpEncoders
 
options(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes a OPTIONS request on the configured URI, with additional configuration provided by the configuration closure.
options(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a OPTIONS request on the configured URI, with additional configuration provided by the configuration function.
options() - Method in class groovyx.net.http.HttpBuilder
Executes a OPTIONS request on the configured URI.
options(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes a OPTIONS request on the configured URI, with additional configuration provided by the configuration closure.
options(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a OPTIONS request on the configured URI, with additional configuration provided by the configuration function.
optionsAsync() - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous OPTIONS request on the configured URI (asynchronous alias to the options() method.
optionsAsync(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous OPTIONS request on the configured URI (asynchronous alias to the options(Closure) method), with additional configuration provided by the configuration closure.
optionsAsync(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous OPTIONS request on the configured URI (asynchronous alias to options(Consumer)), with additional configuration provided by the configuration function.
optionsAsync(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous OPTIONS request on the configured URI (asynchronous alias to the options(Class,Closure) method), with additional configuration provided by the configuration closure.
optionsAsync(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous OPTIONS request on the configured URI (asynchronous alias to options(Class,Consumer)), with additional configuration provided by the configuration function.

P

parse() - Method in class groovyx.net.http.FromServer.Header.CombinedMap
 
parse() - Method in class groovyx.net.http.FromServer.Header.CsvList
 
parse() - Method in class groovyx.net.http.FromServer.Header.HttpCookies
 
parse() - Method in class groovyx.net.http.FromServer.Header.HttpDate
Always returns ZonedDateTime
parse(DateTimeFormatter) - Method in class groovyx.net.http.FromServer.Header.HttpDate
Retrieves the ZonedDateTime value of the header using the provided DateTimeFormatter.
parse() - Method in class groovyx.net.http.FromServer.Header.MapPairs
 
parse() - Method in class groovyx.net.http.FromServer.Header
Performs the parse of the value
parse() - Method in class groovyx.net.http.FromServer.Header.SingleLong
 
parse() - Method in class groovyx.net.http.FromServer.Header.ValueOnly
 
parse(ChainedHttpConfig, FromServer) - Static method in class groovyx.net.http.optional.Csv
Used to parse the server response content using the OpenCsv parser.
parse(ChainedHttpConfig, FromServer) - Static method in class groovyx.net.http.optional.Jackson
Used to parse the server response content using the Jackson JSON parser.
parser(String, BiFunction<ChainedHttpConfig, FromServer, Object>) - Method in interface groovyx.net.http.HttpConfig.Response
Used to specify a response parser (FromServer instance) for the specified content type, wrapped in a BiFunction.
parser(Iterable<String>, BiFunction<ChainedHttpConfig, FromServer, Object>) - Method in interface groovyx.net.http.HttpConfig.Response
Used to specify a response parser (FromServer instance) for the specified content types, wrapped in a BiFunction.
parser(String) - Method in interface groovyx.net.http.HttpConfig.Response
Used to retrieve the parser configured for the specified content type.
parser(String) - Method in class groovyx.net.http.HttpConfigs.BaseResponse
 
parser(String, BiFunction<ChainedHttpConfig, FromServer, Object>) - Method in class groovyx.net.http.HttpConfigs.BaseResponse
 
parser(Iterable<String>, BiFunction<ChainedHttpConfig, FromServer, Object>) - Method in class groovyx.net.http.HttpConfigs.BaseResponse
 
Parsers() - Constructor for class groovyx.net.http.NativeHandlers.Parsers
 
parserSupplier - Static variable in class groovyx.net.http.optional.Csv
 
part(String, String) - Method in class groovyx.net.http.MultipartContent
Configures a field part with the given field name and value.
part(String, String, String) - Method in class groovyx.net.http.MultipartContent
Configures a field part with the given field name and value (of the specified content type).
part(String, String, String, Object) - Method in class groovyx.net.http.MultipartContent
Configures a file part with the specified properties.
patch() - Method in class groovyx.net.http.HttpBuilder
Executes a PATCH request on the configured URI.
patch(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes a PATCH request on the configured URI, with additional configuration provided by the configuration closure.
patch(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a PATCH request on the configured URI, with additional configuration provided by the configuration function.
patch(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes a PATCH request on the configured URI, with additional configuration provided by the configuration closure.
patch(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a PATCH request on the configured URI, with additional configuration provided by the configuration function.
patchAsync() - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous PATCH request on the configured URI (asynchronous alias to the patch() method.
patchAsync(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous PATCH request on the configured URI (asynchronous alias to the patch(Closure) method), with additional configuration provided by the configuration closure.
patchAsync(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous PATCH request on the configured URI (asynchronous alias to patch(Consumer)), with additional configuration provided by the configuration function.
patchAsync(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes asynchronous PATCH request on the configured URI (alias for the patch(Class, Closure) method), with additional configuration provided by the configuration closure.
patchAsync(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes asynchronous PATCH request on the configured URI (alias for the patch(Class, Consumer) method), with additional configuration provided by the configuration function.
populateFrom(URI) - Method in class groovyx.net.http.UriBuilder
 
post() - Method in class groovyx.net.http.HttpBuilder
Executes a POST request on the configured URI.
post(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an POST request on the configured URI, with additional configuration provided by the configuration closure.
post(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a POST request on the configured URI, with additional configuration provided by the configuration function.
post(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes a POST request on the configured URI, with additional configuration provided by the configuration closure.
post(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a POST request on the configured URI, with additional configuration provided by the configuration function.
postAsync() - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous POST request on the configured URI (asynchronous alias to the post() method).
postAsync(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous POST request on the configured URI (an asynchronous alias to the post(Closure) method), with additional configuration provided by the configuration closure.
postAsync(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous POST request on the configured URI (asynchronous alias to post(Consumer)), with additional configuration provided by the configuration function.
postAsync(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous POST request on the configured URI (asynchronous alias to the post(Class,Closure) method), with additional configuration provided by the configuration closure.
postAsync(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous POST request on the configured URI (asynchronous alias to put(Class,Consumer)), with additional configuration provided by the configuration function.
proxy(Proxy, boolean) - Method in interface groovyx.net.http.HttpObjectConfig.Execution
Configures proxy information for all requests using this client
proxy(String, int, Proxy.Type, boolean) - Method in interface groovyx.net.http.HttpObjectConfig.Execution
Configures proxy information for all requests using this client
ProxyInfo - Class in groovyx.net.http
 
ProxyInfo(Proxy, boolean) - Constructor for class groovyx.net.http.ProxyInfo
 
ProxyInfo(String, int, Proxy.Type, boolean) - Constructor for class groovyx.net.http.ProxyInfo
 
put() - Method in class groovyx.net.http.HttpBuilder
Executes a PUT request on the configured URI.
put(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an PUT request on the configured URI, with additional configuration provided by the configuration closure.
put(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a PUT request on the configured URI, with additional configuration provided by the configuration function.
put(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes a PUT request on the configured URI, with additional configuration provided by the configuration closure.
put(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a PUT request on the configured URI, with additional configuration provided by the configuration function.
putAsync() - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous PUT request on the configured URI (asynchronous alias to the put() method).
putAsync(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous PUT request on the configured URI (an asynchronous alias to the put(Closure) method), with additional configuration provided by the configuration closure.
putAsync(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous PUT request on the configured URI (asynchronous alias to put(Consumer)), with additional configuration provided by the configuration function.
putAsync(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous PUT request on the configured URI (asynchronous alias to the put(Class,Closure) method), with additional configuration provided by the configuration closure.
putAsync(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous PUT request on the configured URI (asynchronous alias to put(Class,Consumer)), with additional configuration provided by the configuration function.

R

randomString(int) - Static method in class groovyx.net.http.util.Misc
 
read() - Method in class groovyx.net.http.CharSequenceInputStream
 
read(byte[]) - Method in class groovyx.net.http.CharSequenceInputStream
 
read(byte[], int, int) - Method in class groovyx.net.http.CharSequenceInputStream
 
read() - Method in class groovyx.net.http.ReaderInputStream
 
read(byte[]) - Method in class groovyx.net.http.ReaderInputStream
 
read(byte[], int, int) - Method in class groovyx.net.http.ReaderInputStream
 
ReaderInputStream - Class in groovyx.net.http
 
ReaderInputStream(Reader, Charset) - Constructor for class groovyx.net.http.ReaderInputStream
 
readerToStream(Reader, Charset) - Static method in class groovyx.net.http.NativeHandlers.Encoders
 
register(HttpConfig, Supplier<Boolean>, List<String>, Supplier<BiConsumer<ChainedHttpConfig, ToServer>>, Supplier<BiFunction<ChainedHttpConfig, FromServer, Object>>) - Static method in class groovyx.net.http.Safe
 
register(HttpConfig, Supplier<Boolean>, String, Supplier<BiConsumer<ChainedHttpConfig, ToServer>>, Supplier<BiFunction<ChainedHttpConfig, FromServer, Object>>) - Static method in class groovyx.net.http.Safe
 
requestLevel(ChainedHttpConfig) - Static method in class groovyx.net.http.HttpConfigs
 
ResponseHandlerFunction() - Constructor for class groovyx.net.http.HttpBuilder.ResponseHandlerFunction
 
root() - Static method in class groovyx.net.http.HttpConfigs
 
root() - Static method in class groovyx.net.http.UriBuilder
 

S

Safe - Class in groovyx.net.http
 
Safe() - Constructor for class groovyx.net.http.Safe
 
setAccept(String[]) - Method in interface groovyx.net.http.HttpConfig.Request
The accept property allows configuration of the request Accept header, which may be used to specify certain media types which are acceptable for the response.
setAccept(Iterable<String>) - Method in interface groovyx.net.http.HttpConfig.Request
The accept property allows configuration of the request Accept header, which may be used to specify certain media types which are acceptable for the response.
setAccept(String[]) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
setAccept(Iterable<String>) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
setBody(Object) - Method in interface groovyx.net.http.HttpConfig.Request
The body property is used to configure the body content for the request.
setBody(Object) - Method in class groovyx.net.http.HttpConfigs.BasicRequest
 
setBody(Object) - Method in class groovyx.net.http.HttpConfigs.ThreadSafeRequest
 
setCharset(String) - Method in interface groovyx.net.http.HttpConfig.Request
The charset property is used to specify the character set (as a String) used by the request.
setCharset(Charset) - Method in interface groovyx.net.http.HttpConfig.Request
The charset property is used to specify the character set (as a Charset) used by the request.
setCharset(String) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
setCharset(Charset) - Method in class groovyx.net.http.HttpConfigs.BasicRequest
 
setCharset(Charset) - Method in class groovyx.net.http.HttpConfigs.ThreadSafeRequest
 
setContentType(String) - Method in interface groovyx.net.http.HttpConfig.Request
The contentType property is used to specify the Content-Type header value for the request.
setContentType(String) - Method in class groovyx.net.http.HttpConfigs.BasicRequest
 
setContentType(String) - Method in class groovyx.net.http.HttpConfigs.ThreadSafeRequest
 
setCookieFolder(File) - Method in interface groovyx.net.http.HttpObjectConfig.Client
Specifies the location for storing cookies that will persist after your application terminates.
setCookiesEnabled(boolean) - Method in interface groovyx.net.http.HttpObjectConfig.Client
Used to enable or disable cookies.
setCookieVersion(int) - Method in interface groovyx.net.http.HttpObjectConfig.Client
Used to specify the supported Cookie version.
setExecutor(Executor) - Method in interface groovyx.net.http.HttpObjectConfig.Execution
Specifies the executor to be used.
setFragment(String) - Method in class groovyx.net.http.UriBuilder
Sets the fragment part of the URI.
setFull(String) - Method in class groovyx.net.http.UriBuilder
Sets the full URI (all parts) as a String.
setFull(URI) - Method in class groovyx.net.http.UriBuilder
Sets the full URI (all parts) as a URI object.
setHeaders(Map<String, CharSequence>) - Method in interface groovyx.net.http.HttpConfig.Request
The headers property allows the direct specification of the request headers as a Map<String,String>.
setHeaders(Map<String, CharSequence>) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
setHost(String) - Method in class groovyx.net.http.UriBuilder
Sets the host part of the URI.
setHostnameVerifier(HostnameVerifier) - Method in interface groovyx.net.http.HttpObjectConfig.Execution
Specifies the HostnameVerifier to be used by the configured client (related to SSL).
setMaxThreads(int) - Method in interface groovyx.net.http.HttpObjectConfig.Execution
Specifies the maximum number of connection threads to be used by the client.
setPath(GString) - Method in class groovyx.net.http.UriBuilder
Sets the path part of the URI.
setPath(String) - Method in class groovyx.net.http.UriBuilder
Sets the path part of the URI.
setPort(int) - Method in class groovyx.net.http.UriBuilder
Sets the port part of the URI.
setQuery(Map<String, ?>) - Method in class groovyx.net.http.UriBuilder
Sets the query string part of the URI from the provided map.
setRaw(String) - Method in interface groovyx.net.http.HttpConfig.Request
The request.raw is the means of specifying a "raw" URI as the HTTP endpoint for the request, specified as a String.
setRaw(String) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
setScheme(String) - Method in class groovyx.net.http.UriBuilder
Sets the scheme part of the URI.
setSslContext(SSLContext) - Method in interface groovyx.net.http.HttpObjectConfig.Execution
Specifies the SSLContext to be used by the configured client.
setType(Class<?>) - Method in class groovyx.net.http.HttpConfigs.BaseResponse
 
setType(Class<?>) - Method in class groovyx.net.http.HttpConfigs.BasicResponse
 
setType(Class<?>) - Method in class groovyx.net.http.HttpConfigs.ThreadSafeResponse
 
setUri(String) - Method in interface groovyx.net.http.HttpConfig.Request
The request.uri is the URI of the HTTP endpoint for the request, specified as a String in this case.
setUri(URI) - Method in interface groovyx.net.http.HttpConfig.Request
The request.uri is the URI of the HTTP endpoint for the request, specified as a URI in this case.
setUri(URL) - Method in interface groovyx.net.http.HttpConfig.Request
The request.uri is the URI of the HTTP endpoint for the request, specified as a URL in this case.
setUri(String) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
setUri(URI) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
setUri(URL) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
setUseRawValues(boolean) - Method in class groovyx.net.http.UriBuilder
 
setUserInfo(String) - Method in class groovyx.net.http.UriBuilder
Sets the user info part of the URI.
setValue(String) - Method in class groovyx.net.http.FromServer.Header
Unsupported, headers are read-only.
setVerb(HttpVerb) - Method in interface groovyx.net.http.ChainedHttpConfig.ChainedRequest
 
setVerb(HttpVerb) - Method in class groovyx.net.http.HttpConfigs.BaseRequest
 
SingleLong(String, String) - Constructor for class groovyx.net.http.FromServer.Header.SingleLong
 
spliterator() - Method in enum groovyx.net.http.ContentTypes
 
SslUtils - Class in groovyx.net.http.util
SSL helper utilities.
SslUtils() - Constructor for class groovyx.net.http.util.SslUtils
 
streamToBytes(ChainedHttpConfig, FromServer) - Static method in class groovyx.net.http.NativeHandlers.Parsers
Standard parser for raw bytes.
streamToBytes(InputStream) - Static method in class groovyx.net.http.util.IoUtils
Reads all bytes from the stream into a byte array.
streamToBytes(InputStream, boolean) - Static method in class groovyx.net.http.util.IoUtils
 
stringToStream(String, Charset) - Static method in class groovyx.net.http.NativeHandlers.Encoders
 
success(Closure<?>) - Method in interface groovyx.net.http.HttpConfig.Response
Configures the execution of the provided closure "when" a successful response is received (code < 400).
success(BiFunction<FromServer, Object, ?>) - Method in interface groovyx.net.http.HttpConfig.Response
Configures the execution of the provided function when a success response is received (code < 400).
success(BiFunction<FromServer, Object, ?>) - Method in class groovyx.net.http.HttpConfigs.BasicResponse
 
success(BiFunction<FromServer, Object, ?>) - Method in class groovyx.net.http.HttpConfigs.ThreadSafeResponse
 
success(FromServer, Object) - Static method in class groovyx.net.http.NativeHandlers
Default success handler, just returns the passed data, which is the data returned by the invoked parser.

T

text(ChainedHttpConfig, ToServer) - Static method in class groovyx.net.http.NativeHandlers.Encoders
Standard encoder for text types.
textToString(ChainedHttpConfig, FromServer) - Static method in class groovyx.net.http.NativeHandlers.Parsers
Standard parser for text response content.
ThreadLocalAuth() - Constructor for class groovyx.net.http.JavaHttpBuilder.ThreadLocalAuth
 
threadSafe(ChainedHttpConfig) - Static method in class groovyx.net.http.HttpConfigs
 
threadSafe(UriBuilder) - Static method in class groovyx.net.http.UriBuilder
Creates a thread-safe UriBuilder from the provided parent builder.
ThreadSafeAuth() - Constructor for class groovyx.net.http.HttpConfigs.ThreadSafeAuth
 
ThreadSafeAuth(HttpConfigs.BasicAuth) - Constructor for class groovyx.net.http.HttpConfigs.ThreadSafeAuth
 
ThreadSafeHttpConfig(ChainedHttpConfig) - Constructor for class groovyx.net.http.HttpConfigs.ThreadSafeHttpConfig
 
ThreadSafeRequest(ChainedHttpConfig.ChainedRequest) - Constructor for class groovyx.net.http.HttpConfigs.ThreadSafeRequest
 
ThreadSafeResponse(ChainedHttpConfig.ChainedResponse) - Constructor for class groovyx.net.http.HttpConfigs.ThreadSafeResponse
 
tlExpanding - Static variable in class groovyx.net.http.NativeHandlers
 
toCsv(HttpConfig, String, Character, Character) - Static method in class groovyx.net.http.optional.Csv
Used to configure the OpenCsv encoder/parser in the configuration context for the specified content type.
toCsv(HttpConfig, char) - Static method in class groovyx.net.http.optional.Csv
Used to configure the OpenCsv encoder/parser in the configuration context for the text/csv content-type.
toCsv(HttpConfig, char, char) - Static method in class groovyx.net.http.optional.Csv
Used to configure the OpenCsv encoder/parser in the configuration context for the text/csv content-type.
toFile(HttpConfig, File) - Static method in class groovyx.net.http.optional.Download
Downloads the content to a specified file.
toFile(HttpConfig, String, File) - Static method in class groovyx.net.http.optional.Download
Downloads the content to a specified file with the specified content type.
toServer(InputStream) - Method in class groovyx.net.http.ApacheHttpBuilder.ApacheToServer
 
toServer(InputStream) - Method in class groovyx.net.http.JavaHttpBuilder.Action.JavaToServer
 
ToServer - Interface in groovyx.net.http
Adapter interface used to translate request content from the HttpBuilder API to the specific format required by the underlying client implementation.
toServer(InputStream) - Method in interface groovyx.net.http.ToServer
Translates the request content appropriately for the underlying client implementation.
toStream(HttpConfig, OutputStream) - Static method in class groovyx.net.http.optional.Download
Downloads the content into an OutputStream.
toStream(HttpConfig, String, OutputStream) - Static method in class groovyx.net.http.optional.Download
Downloads the content into an OutputStream with the specified content type.
toString() - Method in class groovyx.net.http.FromServer.Header
 
toTempFile(HttpConfig) - Static method in class groovyx.net.http.optional.Download
Downloads the content to a temporary file (*.tmp in the system temp directory).
toTempFile(HttpConfig, String) - Static method in class groovyx.net.http.optional.Download
Downloads the content to a temporary file (*.tmp in the system temp directory) with the specified content type.
toTsv(HttpConfig, char) - Static method in class groovyx.net.http.optional.Csv
Used to configure the OpenCsv encoder/parser in the configuration context for the text/tab-separated-values content type, with a tab as the column separator character.
toURI() - Method in class groovyx.net.http.UriBuilder
Converts the parts of the UriBuilder to the URI object instance.
trace(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes a TRACE request on the configured URI, with additional configuration provided by the configuration closure.
trace(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a TRACE request on the configured URI, with additional configuration provided by the configuration function.
trace() - Method in class groovyx.net.http.HttpBuilder
Executes a TRACE request on the configured URI.
trace(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes a TRACE request on the configured URI, with additional configuration provided by the configuration closure.
trace(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes a TRACE request on the configured URI, with additional configuration provided by the configuration function.
traceAsync() - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous TRACE request on the configured URI (asynchronous alias to the trace() method.
traceAsync(Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous TRACE request on the configured URI (asynchronous alias to the trace(Closure) method), with additional configuration provided by the configuration closure.
traceAsync(Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous TRACE request on the configured URI (asynchronous alias to trace(Consumer)), with additional configuration provided by the configuration function.
traceAsync(Class<T>, Closure) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous TRACE request on the configured URI (asynchronous alias to the trace(Class,Closure) method), with additional configuration provided by the configuration closure.
traceAsync(Class<T>, Consumer<HttpConfig>) - Method in class groovyx.net.http.HttpBuilder
Executes an asynchronous TRACE request on the configured URI (asynchronous alias to trace(Class,Consumer)), with additional configuration provided by the configuration function.
transfer(InputStream, OutputStream, boolean) - Static method in class groovyx.net.http.NativeHandlers.Parsers
Deprecated.
Use the version in IoUtils instead - this one just delegates to it
transfer(InputStream, OutputStream, boolean) - Static method in class groovyx.net.http.util.IoUtils
Transfers the contents of the InputStream into the OutputStream, optionally closing the stream.
TransportingException - Exception in groovyx.net.http
 
TransportingException(String, Throwable) - Constructor for exception groovyx.net.http.TransportingException
 
TransportingException(Throwable) - Constructor for exception groovyx.net.http.TransportingException
 
traverse(T, Function<T, T>, Function<T, V>, Predicate<V>) - Static method in class groovyx.net.http.Traverser
 
Traverser - Class in groovyx.net.http
 
Traverser() - Constructor for class groovyx.net.http.Traverser
 

U

UriBuilder - Class in groovyx.net.http
Provides a simple means of creating a request URI and optionally overriding its parts.
UriBuilder() - Constructor for class groovyx.net.http.UriBuilder
 
use(HttpConfig) - Static method in class groovyx.net.http.optional.Jackson
Configures the client to use the Jackson encoder/decoder for JSON handling, with the default JSON content type.
use(HttpConfig, Iterable<String>) - Static method in class groovyx.net.http.optional.Jackson
Configures the client to use the Jackson encoder/decoder for JSON handling, with the specified JSON content type.

V

value(String) - Static method in class groovyx.net.http.FromServer.Header
 
valueOf(String) - Static method in enum groovyx.net.http.ContentTypes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum groovyx.net.http.HttpConfig.AuthType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum groovyx.net.http.HttpConfig.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum groovyx.net.http.HttpVerb
Returns the enum constant of this type with the specified name.
ValueOnly(String, String) - Constructor for class groovyx.net.http.FromServer.Header.ValueOnly
 
values() - Static method in enum groovyx.net.http.ContentTypes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum groovyx.net.http.HttpConfig.AuthType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum groovyx.net.http.HttpConfig.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum groovyx.net.http.HttpVerb
Returns an array containing the constants of this enum type, in the order they are declared.

W

when(HttpConfig.Status, Closure<?>) - Method in interface groovyx.net.http.HttpConfig.Response
Configures the execution of the provided closure "when" the given status occurs in the response.
when(HttpConfig.Status, BiFunction<FromServer, Object, ?>) - Method in interface groovyx.net.http.HttpConfig.Response
Configures the execution of the provided function "when" the given status occurs in the response.
when(Integer, Closure<?>) - Method in interface groovyx.net.http.HttpConfig.Response
Configures the execution of the provided closure "when" the given status code occurs in the response.
when(Integer, BiFunction<FromServer, Object, ?>) - Method in interface groovyx.net.http.HttpConfig.Response
Configures the execution of the provided function "when" the given status code occurs in the response.
when(String, Closure<?>) - Method in interface groovyx.net.http.HttpConfig.Response
Configures the execution of the provided closure "when" the given status code (as a String) occurs in the response.
when(String, BiFunction<FromServer, Object, ?>) - Method in interface groovyx.net.http.HttpConfig.Response
Configures the execution of the provided function "when" the given status code (as a String) occurs in the response.
when(Integer) - Method in interface groovyx.net.http.HttpConfig.Response
Used to retrieve the "when" function associated with the given status code.
when(String, BiFunction<FromServer, Object, ?>) - Method in class groovyx.net.http.HttpConfigs.BaseResponse
 
when(Integer, BiFunction<FromServer, Object, ?>) - Method in class groovyx.net.http.HttpConfigs.BaseResponse
 
when(HttpConfig.Status, BiFunction<FromServer, Object, ?>) - Method in class groovyx.net.http.HttpConfigs.BaseResponse
 
when(Integer) - Method in class groovyx.net.http.HttpConfigs.BaseResponse
 
with(PasswordAuthentication, Callable<V>) - Static method in class groovyx.net.http.JavaHttpBuilder.ThreadLocalAuth
 
writeTo(OutputStream) - Method in class groovyx.net.http.ApacheHttpBuilder.ApacheToServer
 

X

xml(ChainedHttpConfig, ToServer) - Static method in class groovyx.net.http.NativeHandlers.Encoders
Standard encoder for requests with an xml body.
xml(ChainedHttpConfig, FromServer) - Static method in class groovyx.net.http.NativeHandlers.Parsers
Standard parser for xml responses.
A B C D E F G H I J K M N O P R S T U V W X 
Skip navigation links