Class | Description |
---|---|
ApacheRequest |
Implementation of
Request ,
based on Apache HTTP client. |
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. |
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–2017 jcabi.com. All rights reserved.