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 RequestRequestBody. back()Get back to the request it's related to.RequestRequestURI. back()Get back to the request it's related to.RequestResponse. back()Get back to the request it's related to.RequestRequest. header(String name, Object value)Set request header.RequestRequest. method(String method)Use this method.RequestRequest. reset(String name)Remove all headers with this name.RequestRequest. through(Wire wire)Send it through a decoratingWire.<T extends Wire>
RequestRequest. through(Class<T> type, Object... args)Send it through a decoratingWire.RequestRequest. timeout(int connect, int read)Use this timeout values.Methods in com.jcabi.http with parameters of type Request Modifier and Type Method Description ResponseWire. 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 classApacheRequestImplementation ofRequest, based on Apache HTTP client.classBaseRequestBase implementation ofRequest.classFakeRequestImplementation ofRequestthat always returns the same response, specified in the constructor.classJdkRequestImplementation ofRequest, based on JDK.Methods in com.jcabi.http.request that return Request Modifier and Type Method Description RequestDefaultResponse. back()RequestApacheRequest. header(String name, Object value)RequestBaseRequest. header(String name, Object value)RequestFakeRequest. header(String name, Object value)RequestJdkRequest. header(String name, Object value)RequestApacheRequest. method(String method)RequestBaseRequest. method(String method)RequestFakeRequest. method(String method)RequestJdkRequest. method(String method)RequestApacheRequest. reset(String name)RequestBaseRequest. reset(String name)RequestFakeRequest. reset(String name)RequestJdkRequest. reset(String name)RequestApacheRequest. through(Wire wire)<T extends Wire>
RequestApacheRequest. through(Class<T> type, Object... args)RequestBaseRequest. through(Wire wre)<T extends Wire>
RequestBaseRequest. through(Class<T> type, Object... args)RequestFakeRequest. through(Wire wire)<T extends Wire>
RequestFakeRequest. through(Class<T> type, Object... args)RequestJdkRequest. through(Wire wire)<T extends Wire>
RequestJdkRequest. through(Class<T> type, Object... args)RequestApacheRequest. timeout(int connect, int read)RequestBaseRequest. timeout(int cnct, int rdd)RequestFakeRequest. timeout(int connect, int read)RequestJdkRequest. 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 RequestRestResponse. follow()Follow LOCATION header.RequestWebLinkingResponse. follow(String rel)Follow link by REL.RequestRestResponse. jump(URI uri)Jump to a new location.RequestXmlResponse. 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 ResponseAbstractHeaderBasedCachingWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)ResponseAutoRedirectingWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)ResponseBasicAuthWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)ResponseCachingWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)ResponseCookieOptimizingWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)ResponseFcWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)ResponseOneMinuteWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)ResponseRetryWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)ResponseTrustedWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)ResponseUserAgentWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)ResponseVerboseWire. send(Request req, String home, String method, Collection<Map.Entry<String,String>> headers, InputStream content, int connect, int read)
-