Uses of Interface
com.jcabi.http.Response
-
Packages that use Response 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. -
-
Uses of Response in com.jcabi.http
Methods in com.jcabi.http with type parameters of type Response Modifier and Type Method Description <T extends Response>
TResponse. as(Class<T> type)
Convert it to another type, by encapsulation.Methods in com.jcabi.http that return Response Modifier and Type Method Description Response
Request. fetch()
Execute it with a specified HTTP method.Response
Request. fetch(InputStream stream)
Execute this request using the content provided by theInputStream
being passed as the request body.Response
Wire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)
Send request and return response. -
Uses of Response in com.jcabi.http.request
Classes in com.jcabi.http.request that implement Response Modifier and Type Class Description class
DefaultResponse
Default implementation ofResponse
.Methods in com.jcabi.http.request with type parameters of type Response Modifier and Type Method Description <T extends Response>
TDefaultResponse. as(Class<T> type)
Methods in com.jcabi.http.request that return Response Modifier and Type Method Description Response
ApacheRequest. fetch()
Response
ApacheRequest. fetch(InputStream stream)
Response
BaseRequest. fetch()
Response
BaseRequest. fetch(InputStream stream)
Response
FakeRequest. fetch()
Response
FakeRequest. fetch(InputStream stream)
Response
JdkRequest. fetch()
Response
JdkRequest. fetch(InputStream stream)
-
Uses of Response in com.jcabi.http.response
Classes in com.jcabi.http.response that implement Response Modifier and Type Class Description class
JacksonResponse
A JSON response provided by the Jackson Project.class
JsonResponse
JSON response.class
JsoupResponse
Jsoup response.class
RestResponse
REST response.class
WebLinkingResponse
Web Linking response.class
XmlResponse
XML response.Method parameters in com.jcabi.http.response with type arguments of type Response Modifier and Type Method Description RestResponse
RestResponse. assertThat(org.hamcrest.Matcher<Response> matcher)
Assert using custom matcher.Constructors in com.jcabi.http.response with parameters of type Response Constructor Description JacksonResponse(Response resp)
Ctor.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. -
Uses of Response in com.jcabi.http.wire
Methods in com.jcabi.http.wire that return Response Modifier and Type Method Description Response
AbstractHeaderBasedCachingWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)
Response
AutoRedirectingWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)
Response
BasicAuthWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)
Response
CachingWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)
Response
CookieOptimizingWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)
Response
FcWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)
Response
OneMinuteWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)
Response
RetryWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)
Response
TrustedWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)
Response
UserAgentWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)
Response
VerboseWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)
Constructor parameters in com.jcabi.http.wire with type arguments of type Response Constructor Description CachingWire(Wire wire, com.google.common.cache.LoadingCache<Callable<Response>,Response> storage)
Public ctor.CachingWire(Wire wire, com.google.common.cache.LoadingCache<Callable<Response>,Response> storage)
Public ctor.CachingWire(Wire wire, String flsh, com.google.common.cache.LoadingCache<Callable<Response>,Response> storage)
Public ctor.CachingWire(Wire wire, String flsh, com.google.common.cache.LoadingCache<Callable<Response>,Response> storage)
Public ctor.
-