Package | Description |
---|---|
com.jcabi.http |
RESTful client, for tests (but not only).
|
com.jcabi.http.request |
Requests.
|
com.jcabi.http.response |
Responses.
|
com.jcabi.http.wire |
Wires.
|
Modifier and Type | Method and Description |
---|---|
Response |
Request.fetch()
Execute it with a specified HTTP method.
|
Response |
Wire.send(Request req,
String home,
String method,
Collection<Map.Entry<String,String>> headers,
byte[] content)
Send request and return response.
|
Modifier and Type | Method and Description |
---|---|
Response |
ApacheRequest.fetch() |
Response |
FakeRequest.fetch() |
Response |
JdkRequest.fetch() |
Modifier and Type | Class and Description |
---|---|
class |
JsonResponse
JSON response.
|
class |
RestResponse
REST response.
|
class |
WebLinkingResponse
Web Linking response.
|
class |
XmlResponse
XML response.
|
Modifier and Type | Method and Description |
---|---|
RestResponse |
RestResponse.assertThat(Matcher<Response> matcher)
Assert using custom matcher.
|
Constructor and Description |
---|
JsonResponse(Response resp)
Public ctor.
|
RestResponse(Response resp)
Public ctor.
|
WebLinkingResponse(Response resp)
Public ctor.
|
XmlResponse(Response resp)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
Response |
CachingWire.get(Request req,
String home,
Collection<Map.Entry<String,String>> headers,
byte[] content)
Fetch GET request and cache it.
|
Response |
BasicAuthWire.send(Request req,
String home,
String method,
Collection<Map.Entry<String,String>> headers,
byte[] content)
Send request and return response.
|
Response |
CachingWire.send(Request req,
String home,
String method,
Collection<Map.Entry<String,String>> headers,
byte[] content)
Send request and return response.
|
Response |
CookieOptimizingWire.send(Request req,
String home,
String method,
Collection<Map.Entry<String,String>> headers,
byte[] content)
Send request and return response.
|
Response |
OneMinuteWire.send(Request req,
String home,
String method,
Collection<Map.Entry<String,String>> headers,
byte[] content)
Send request and return response.
|
Response |
RetryWire.send(Request req,
String home,
String method,
Collection<Map.Entry<String,String>> headers,
byte[] content)
Send request and return response.
|
Response |
UserAgentWire.send(Request req,
String home,
String method,
Collection<Map.Entry<String,String>> headers,
byte[] content)
Send request and return response.
|
Response |
VerboseWire.send(Request req,
String home,
String method,
Collection<Map.Entry<String,String>> headers,
byte[] content)
Send request and return response.
|
Copyright © 2012–2014 jcabi.com. All rights reserved.