Package | Description |
---|---|
org.apache.hc.core5.http |
Core HTTP transport component APIs.
|
org.apache.hc.core5.http.config |
Core configuration APIs.
|
org.apache.hc.core5.http.impl.io |
Default implementation of HTTP/1.1 transport based on the classic
(blocking) I/O model.
|
org.apache.hc.core5.http.impl.nio |
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
|
Modifier and Type | Field and Description |
---|---|
static HttpVersion[] |
HttpVersion.ALL
All HTTP versions known to HttpCore.
|
static HttpVersion |
HttpVersion.DEFAULT
HTTP/1.1 is default
|
static HttpVersion |
HttpVersion.HTTP_0_9
HTTP protocol version 0.9
|
static HttpVersion |
HttpVersion.HTTP_1_0
HTTP protocol version 1.0
|
static HttpVersion |
HttpVersion.HTTP_1_1
HTTP protocol version 1.1
|
static HttpVersion |
HttpVersion.HTTP_2 |
static HttpVersion |
HttpVersion.HTTP_2_0
HTTP protocol version 2.0
|
Modifier and Type | Method and Description |
---|---|
static HttpVersion |
HttpVersion.get(int major,
int minor)
Gets a specific instance or creates a new one.
|
Modifier and Type | Method and Description |
---|---|
HttpVersion |
Http1Config.getVersion()
The effective protocol level expressed by the minor version of HTTP/1.x.
|
Modifier and Type | Method and Description |
---|---|
Http1Config.Builder |
Http1Config.Builder.setVersion(HttpVersion version)
Sets the effective HTTP/1.x protocol level (as expressed by the minor version).
|
Modifier and Type | Method and Description |
---|---|
protected HttpVersion |
DefaultHttpRequestWriter.protocolVersion(HttpRequest message)
Determines the HTTP protocol version to be communicated to the opposite
endpoint in the message header.
|
protected HttpVersion |
DefaultHttpResponseWriter.protocolVersion(HttpResponse message)
Determines the HTTP protocol version to be communicated to the opposite
endpoint in the message header.
|
Modifier and Type | Method and Description |
---|---|
protected HttpVersion |
DefaultHttpRequestWriter.protocolVersion(T request)
Determines the HTTP protocol version to be communicated to the opposite
endpoint in the message header.
|
protected HttpVersion |
DefaultHttpResponseWriter.protocolVersion(T request)
Determines the HTTP protocol version to be communicated to the opposite
endpoint in the message header.
|
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.