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 |
---|---|
<T extends Wire> |
ApacheRequest.through(Class<T> type,
Object... args) |
<T extends Wire> |
JdkRequest.through(Class<T> type,
Object... args) |
<T extends Wire> |
FakeRequest.through(Class<T> type,
Object... args) |
Modifier and Type | Class and Description |
---|---|
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 (for five minutes).
|
class |
CookieOptimizingWire
Wire that compresses cookies before sending.
|
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 |
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,
String flsh)
Public ctor.
|
CookieOptimizingWire(Wire wire)
Public ctor.
|
OneMinuteWire(Wire wire)
Public ctor.
|
RetryWire(Wire wire)
Public ctor.
|
UserAgentWire(Wire wire)
Public ctor.
|
VerboseWire(Wire wire)
Public ctor.
|
Copyright © 2012–2014 jcabi.com. All rights reserved.