Uses of Class
org.apache.hc.core5.http.HttpVersion
Packages that use HttpVersion
Package
Description
Core HTTP transport component APIs.
Core configuration APIs.
Default implementation of HTTP/1.1 transport based on the classic
(blocking) I/O model.
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
-
Uses of HttpVersion in org.apache.hc.core5.http
Fields in org.apache.hc.core5.http declared as HttpVersionModifier and TypeFieldDescriptionstatic final HttpVersion[]HttpVersion.ALLAll HTTP versions known to HttpCore.static final HttpVersionHttpVersion.DEFAULTHTTP/1.1 is defaultstatic final HttpVersionHttpVersion.HTTP_0_9HTTP protocol version 0.9static final HttpVersionHttpVersion.HTTP_1_0HTTP protocol version 1.0static final HttpVersionHttpVersion.HTTP_1_1HTTP protocol version 1.1static final HttpVersionHttpVersion.HTTP_2static final HttpVersionHttpVersion.HTTP_2_0HTTP protocol version 2.0Methods in org.apache.hc.core5.http that return HttpVersionModifier and TypeMethodDescriptionstatic HttpVersionHttpVersion.get(int major, int minor) Gets a specific instance or creates a new one. -
Uses of HttpVersion in org.apache.hc.core5.http.config
Methods in org.apache.hc.core5.http.config that return HttpVersionModifier and TypeMethodDescriptionHttp1Config.getVersion()The effective protocol level expressed by the minor version of HTTP/1.x.Methods in org.apache.hc.core5.http.config with parameters of type HttpVersionModifier and TypeMethodDescriptionHttp1Config.Builder.setVersion(HttpVersion version) Sets the effective HTTP/1.x protocol level (as expressed by the minor version). -
Uses of HttpVersion in org.apache.hc.core5.http.impl.io
Methods in org.apache.hc.core5.http.impl.io that return HttpVersionModifier and TypeMethodDescriptionprotected HttpVersionDefaultHttpRequestWriter.protocolVersion(HttpRequest message) Determines the HTTP protocol version to be communicated to the opposite endpoint in the message header.protected HttpVersionDefaultHttpResponseWriter.protocolVersion(HttpResponse message) Determines the HTTP protocol version to be communicated to the opposite endpoint in the message header. -
Uses of HttpVersion in org.apache.hc.core5.http.impl.nio
Methods in org.apache.hc.core5.http.impl.nio that return HttpVersionModifier and TypeMethodDescriptionprotected HttpVersionDefaultHttpRequestWriter.protocolVersion(T request) Determines the HTTP protocol version to be communicated to the opposite endpoint in the message header.protected HttpVersionDefaultHttpResponseWriter.protocolVersion(T request) Determines the HTTP protocol version to be communicated to the opposite endpoint in the message header.