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 |
Request.fetch(InputStream stream)
Execute this request using the content provided by the
InputStream being passed as the request body. |
Response |
Wire.send(Request req,
String home,
String method,
Collection<Map.Entry<String,String>> headers,
InputStream content)
Send request and return response.
|
Modifier and Type | Method and Description |
---|---|
Response |
ApacheRequest.fetch() |
Response |
JdkRequest.fetch() |
Response |
FakeRequest.fetch() |
Response |
ApacheRequest.fetch(InputStream stream) |
Response |
JdkRequest.fetch(InputStream stream) |
Response |
FakeRequest.fetch(InputStream stream) |
Modifier and Type | Class and Description |
---|---|
class |
JsonResponse
JSON response.
|
class |
JsoupResponse
Jsoup response.
|
class |
RestResponse
REST response.
|
class |
WebLinkingResponse
Web Linking response.
|
class |
XmlResponse
XML response.
|
Modifier and Type | Method and Description |
---|---|
RestResponse |
RestResponse.assertThat(org.hamcrest.Matcher<Response> matcher)
Assert using custom matcher.
|
Constructor and Description |
---|
JsonResponse(Response resp)
Public ctor.
|
JsoupResponse(Response resp)
Public ctor.
|
RestResponse(Response resp)
Public ctor.
|
WebLinkingResponse(Response resp)
Public ctor.
|
XmlResponse(Response resp)
Public ctor.
|
Copyright © 2012–2014 jcabi.com. All rights reserved.