Package | Description |
---|---|
com.jcabi.http |
RESTful client, for tests (but not only).
|
com.jcabi.http.request |
Requests.
|
com.jcabi.http.wire |
Wires.
|
Modifier and Type | Method and Description |
---|---|
<T extends Wire> |
Request.through(Class<T> type,
Object... args)
Send it through a decorating
Wire . |
Modifier and Type | Method and Description |
---|---|
Request |
Request.through(Wire wire)
Send it through a decorating
Wire . |
Modifier and Type | Method and Description |
---|---|
<T extends Wire> |
JdkRequest.through(Class<T> type,
Object... args) |
<T extends Wire> |
FakeRequest.through(Class<T> type,
Object... args) |
<T extends Wire> |
BaseRequest.through(Class<T> type,
Object... args) |
<T extends Wire> |
ApacheRequest.through(Class<T> type,
Object... args) |
Modifier and Type | Method and Description |
---|---|
Request |
JdkRequest.through(Wire wire) |
Request |
FakeRequest.through(Wire wire) |
Request |
BaseRequest.through(Wire wre) |
Request |
ApacheRequest.through(Wire wire) |
Constructor and Description |
---|
BaseRequest(Wire wre,
String uri)
Public ctor.
|
BaseRequest(Wire wre,
String uri,
Iterable<Map.Entry<String,String>> headers,
String method,
byte[] body)
Public ctor.
|
BaseRequest(Wire wre,
String uri,
Iterable<Map.Entry<String,String>> headers,
String method,
byte[] body,
int cnct,
int rdd)
Public ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHeaderBasedCachingWire
This is the base class to handle http responses with 304 state.
|
class |
AutoRedirectingWire
Auto Redirecting Wire.
|
class |
BasicAuthWire
Wire with HTTP basic authentication based on user info of URI.
|
class |
CachingWire
Wire that caches GET requests.
|
class |
CookieOptimizingWire
Wire that compresses cookies before sending.
|
class |
ETagCachingWire
Wire that caches requests with ETags.
|
class |
FcWire
Wire that caches GET requests.
|
class |
LastModifiedCachingWire
Wire that caches requests based on Last-Modified
and If-Modified-Since headers.
|
class |
OneMinuteWire
Wire that throws an
IOException if a request takes longer
than a minute. |
class |
RetryWire
Wire that retries a few times before giving up and throwing exception.
|
class |
TrustedWire
Wire that ignores SSL PKIX verifications.
|
class |
UserAgentWire
Wire with default user agent.
|
class |
VerboseWire
Verbose wire.
|
Constructor and Description |
---|
AutoRedirectingWire(Wire wire)
Public ctor.
|
AutoRedirectingWire(Wire wire,
int retries)
Public ctor.
|
BasicAuthWire(Wire wire)
Public ctor.
|
CachingWire(Wire wire)
Public ctor.
|
CachingWire(Wire wire,
com.google.common.cache.LoadingCache<Callable<Response>,Response> storage)
Public ctor.
|
CachingWire(Wire wire,
String flsh)
Public ctor.
|
CachingWire(Wire wire,
String flsh,
com.google.common.cache.LoadingCache<Callable<Response>,Response> storage)
Public ctor.
|
CookieOptimizingWire(Wire wire)
Public ctor.
|
ETagCachingWire(Wire wire)
Public ctor.
|
FcWire(Wire wire)
Public ctor.
|
FcWire(Wire wire,
String flsh)
Public ctor.
|
FcWire(Wire wire,
String flsh,
com.jcabi.http.wire.FcCache fcc)
Public ctor.
|
FcWire(Wire wire,
String flsh,
String path)
Public ctor.
|
LastModifiedCachingWire(Wire origin)
Public ctor.
|
OneMinuteWire(Wire wire)
Public ctor.
|
RetryWire(Wire wire)
Public ctor.
|
TrustedWire(Wire wire)
Public ctor.
|
UserAgentWire(Wire wire)
Public ctor.
|
VerboseWire(Wire wire)
Public ctor.
|
Copyright © 2012–2021 jcabi.com. All rights reserved.