|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
as
operator, to allow type
conversion.
ThreadPoolExecutor
.ExecutorService
instance for
running submitted requests.
default host
.
success
and
failure
status codes.
Accept
header
to the outgoing request.HttpEntity
instance that encapsulates the request data.
response.failure
handler.
response.success
handler.
response.success
handler.
HttpResponseDecorator
, which provides simplified
access to headers, response code, and parsed response body, as well as
the underlying HttpResponse
instance.
Callable
instance to the job pool, which in turn will
call HTTPBuilder.doRequest(RequestConfigDelegate)
in an asynchronous
thread.
HTTPBuilder.RequestConfigDelegate
from the given arguments, execute the
config closure, then pass the delegate to HTTPBuilder.doRequest(RequestConfigDelegate)
,
which actually executes the request.
request
methods delegate to this method.
Accept
header
value, i.e.
AuthConfig
handler used to configure common
authentication mechanism.
InflaterInputStream
which wraps the original entity's
content stream
GZIPInputStream
which wraps the original entity's
content stream
ContentEncoding.Type.DEFLATE
encoding string which is
added to the Accept-Encoding
header by the base class.
ContentEncoding.Type.GZIP
encoding string which is
added to the Accept-Encoding
header by the base class.
HttpContext
that will be used for this request.
GZIPEncoding
and DeflateEncoding
handler to the registry.
URI.getFragment()
HTTPBuilder instance
).
HttpResponseDecorator.HeadersDecorator
, which provides a more Groovy API for
accessing response headers.
URI.getHost()
URIBuilder.setPath(String)
method! URIBuilder.setPath()
will resolve a relative path, whereas this method will always return the
full, absolute path.
URI.getPort()
HTTPBuilder.RequestConfigDelegate.contentType
.
uri
param.
URI.getUserInfo()
null
default URI.
HTTPBuilder.request(Object, Method, Object, Closure)
'config'
closure argument.HttpResponse
, which allows for
simplified header access, as well as carrying the auto-parsed response data.HttpResponseDecorator.getHeaders()
.HTTPBuilder
, but
uses HttpURLConnection
for I/O so that it is compatible
with Google App Engine.ThreadSafeClientConnManager
, and this class' ThreadPoolExecutor.
Accept
header based on the contentType
property.
HttpURLClient.setFollowRedirects(boolean)
success
or failure
).
request
call.EncoderRegistry.getAt(Object)
to allow property-style access.
EncoderRegistry.putAt(Object, Closure)
to allow property-style access.
ParserRegistry.getAt(Object)
to allow property-style access.
ParserRegistry.putAt(Object, Closure)
to allow property-style access.
configClosure
.
HTTPBuilder.HTTPBuilder(Object)
HTTPBuilder.HTTPBuilder(Object, Object)
AuthConfig
implementation to handle
authorization.
Accept
header automatically based on the contentType
property.
content-encoding
types in responses.
Accept
content-type that will be used for parsing
the response.
HttpContext
that will be used for this request.
content-type
s.
content-type
s
-1
to unset the port.
toString()
method produces a valid URI string.
uri
param.
null
if the URI
should have no user information.
DeflateEncoding.InflaterEntity
.
GZIPEncoding.GZIPDecompressingEntity
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |