Class | Description |
---|---|
ApacheRequest |
Implementation of
Request ,
based on Apache HTTP client. |
BaseRequest |
Base implementation of
Request . |
Boundary |
Boundary for content-type multipart/form-data.
|
DefaultResponse |
Default implementation of
Response . |
FakeRequest |
Implementation of
Request that always returns the same
response, specified in the constructor. |
JdkRequest |
Implementation of
Request , based on JDK. |
MultipartBodyBuilder |
Byte builder for multipart body.
|
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.
Copyright © 2012–2021 jcabi.com. All rights reserved.