Package com.jcabi.http.request
Requests.
This package contains implementations of class Request.
The most popular and easy to use it JdkRequest
.
However, in some situations JdkRequest
falls short and
ApacheRequest
should be used instead. For example,
JdkRequest
doesn't support PATCH
HTTP method due to
a bug in HttpURLConnection.
- Since:
- 0.10
-
Class Summary Class Description ApacheRequest Implementation ofRequest
, based on Apache HTTP client.BaseRequest Base implementation ofRequest
.Boundary Boundary for content-type multipart/form-data.DefaultResponse Default implementation ofResponse
.FakeRequest Implementation ofRequest
that always returns the same response, specified in the constructor.JdkRequest Implementation ofRequest
, based on JDK.MultipartBodyBuilder Byte builder for multipart body.