Deprecated
for removal since 6.1.
ClientHttpRequest implementation based on OkHttp 3.x.
Created via the OkHttp3ClientHttpRequestFactory.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final okhttp3. | |
| private final HttpMethod | |
| private final URI |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected ClientHttpResponse | executeInternal(HttpHeaders
the HTTP headers headers, StreamingHttpOutputMessage.the HTTP body, may be bodynull if no body was setImplements abstract org. Abstract template method that writes the given headers and content to the HTTP request. |
| public HttpMethod | getMethod()
Implements org. Return the HTTP method of the request. |
| public URI | getURI()
Implements org. Return the URI of the request (including a query string if any, but only if it is well-formed for a URI representation). |
| client | back to summary |
|---|---|
| private final okhttp3. | |
| method | back to summary |
|---|---|
| private final HttpMethod method | |
| uri | back to summary |
|---|---|
| private final URI uri | |
| OkHttp3ClientHttpRequest | back to summary |
|---|---|
| public OkHttp3ClientHttpRequest(okhttp3. | |
| executeInternal | back to summary |
|---|---|
| protected ClientHttpResponse executeInternal(HttpHeaders headers, StreamingHttpOutputMessage. Implements abstract org. Doc from org. Abstract template method that writes the given headers and content to the HTTP request.
| |
| getMethod | back to summary |
|---|---|
| public HttpMethod getMethod() Implements org. Doc from org. Return the HTTP method of the request.
| |
| getURI | back to summary |
|---|---|
| public URI getURI() Implements org. Doc from org. Return the URI of the request (including a query string if any, but only if it is well-formed for a URI representation). | |
| Modifier and Type | Field and Description |
|---|---|
| private final StreamingHttpOutputMessage. | |
| private final HttpHeaders |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public okhttp3. | |
| public boolean | |
| public void |
| body | back to summary |
|---|---|
| private final StreamingHttpOutputMessage. | |
| headers | back to summary |
|---|---|
| private final HttpHeaders headers | |
| BodyRequestBody | back to summary |
|---|---|
| public BodyRequestBody(HttpHeaders headers, StreamingHttpOutputMessage. | |
| contentLength | back to summary |
|---|---|
public long contentLength()
| |
| contentType | back to summary |
|---|---|
| public okhttp3. | |
| isOneShot | back to summary |
|---|---|
public boolean isOneShot()
| |
| writeTo | back to summary |
|---|---|
public void writeTo(okio.
| |