Uses of Interface
com.jcabi.http.Request
-
Packages that use Request 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 Request in com.jcabi.http
Methods in com.jcabi.http that return Request Modifier and Type Method Description Request
RequestBody. back()
Get back to the request it's related to.Request
RequestURI. back()
Get back to the request it's related to.Request
Response. back()
Get back to the request it's related to.Request
Request. header(String name, Object value)
Set request header.Request
Request. method(String method)
Use this method.Request
Request. reset(String name)
Remove all headers with this name.Request
Request. through(Wire wire)
Send it through a decoratingWire
.<T extends Wire>
RequestRequest. through(Class<T> type, Object... args)
Send it through a decoratingWire
.Request
Request. timeout(int connect, int read)
Use this timeout values.Methods in com.jcabi.http with parameters of type Request Modifier and Type Method Description 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 Request in com.jcabi.http.request
Classes in com.jcabi.http.request that implement Request Modifier and Type Class Description class
ApacheRequest
Implementation ofRequest
, based on Apache HTTP client.class
BaseRequest
Base implementation ofRequest
.class
FakeRequest
Implementation ofRequest
that always returns the same response, specified in the constructor.class
JdkRequest
Implementation ofRequest
, based on JDK.Methods in com.jcabi.http.request that return Request Modifier and Type Method Description Request
DefaultResponse. back()
Request
ApacheRequest. header(String name, Object value)
Request
BaseRequest. header(String name, Object value)
Request
FakeRequest. header(String name, Object value)
Request
JdkRequest. header(String name, Object value)
Request
ApacheRequest. method(String method)
Request
BaseRequest. method(String method)
Request
FakeRequest. method(String method)
Request
JdkRequest. method(String method)
Request
ApacheRequest. reset(String name)
Request
BaseRequest. reset(String name)
Request
FakeRequest. reset(String name)
Request
JdkRequest. reset(String name)
Request
ApacheRequest. through(Wire wire)
<T extends Wire>
RequestApacheRequest. through(Class<T> type, Object... args)
Request
BaseRequest. through(Wire wre)
<T extends Wire>
RequestBaseRequest. through(Class<T> type, Object... args)
Request
FakeRequest. through(Wire wire)
<T extends Wire>
RequestFakeRequest. through(Class<T> type, Object... args)
Request
JdkRequest. through(Wire wire)
<T extends Wire>
RequestJdkRequest. through(Class<T> type, Object... args)
Request
ApacheRequest. timeout(int connect, int read)
Request
BaseRequest. timeout(int cnct, int rdd)
Request
FakeRequest. timeout(int connect, int read)
Request
JdkRequest. timeout(int connect, int read)
Constructors in com.jcabi.http.request with parameters of type Request Constructor Description DefaultResponse(Request request, int status, String reason, com.jcabi.immutable.Array<Map.Entry<String,String>> headers, byte[] body)
Public ctor. -
Uses of Request in com.jcabi.http.response
Methods in com.jcabi.http.response that return Request Modifier and Type Method Description Request
RestResponse. follow()
Follow LOCATION header.Request
WebLinkingResponse. follow(String rel)
Follow link by REL.Request
RestResponse. jump(URI uri)
Jump to a new location.Request
XmlResponse. rel(String query)
Follow XML link. -
Uses of Request in com.jcabi.http.wire
Methods in com.jcabi.http.wire with parameters of type Request 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)
-