Uses of Enum
io.vertx.core.http.HttpVersion
Packages that use HttpVersion
-
Uses of HttpVersion in io.vertx.core.http
Fields in io.vertx.core.http declared as HttpVersionModifier and TypeFieldDescriptionstatic final HttpVersionHttpClientOptions.DEFAULT_PROTOCOL_VERSIONThe default protocol version = HTTP/1.1static final HttpVersionHttpConnectOptions.DEFAULT_PROTOCOL_VERSIONThe default value for protocol version =nullFields in io.vertx.core.http with type parameters of type HttpVersionModifier and TypeFieldDescriptionstatic final List<HttpVersion> HttpClientOptions.DEFAULT_ALPN_VERSIONSDefault Application-Layer Protocol Negotiation versions = [] (automatic according to protocol version)static final List<HttpVersion> HttpServerOptions.DEFAULT_ALPN_VERSIONSDefault Application-Layer Protocol Negotiation versions = [HTTP/2,HTTP/1.1]static final List<HttpVersion> HttpClientConfig.DEFAULT_SUPPORTED_VERSIONSstatic final Set<HttpVersion> HttpServerConfig.DEFAULT_VERSIONSMethods in io.vertx.core.http that return HttpVersionModifier and TypeMethodDescriptionstatic HttpVersionHttpVersion.fromAlpnName(String id) Provides the version of the given protocolidstatic HttpVersionHttpVersion.fromProtocol(HttpProtocol protocol) Provides the version of the given protocolidHttpClientOptions.getProtocolVersion()Get the protocol version.HttpConnectOptions.getProtocolVersion()HttpConnection.protocolVersion()static HttpVersionReturns the enum constant of this type with the specified name.static HttpVersion[]HttpVersion.values()Returns an array containing the constants of this enum type, in the order they are declared.HttpClientRequest.version()HttpProtocol.version()HttpResponseHead.version()HttpServerRequest.version()Methods in io.vertx.core.http that return types with arguments of type HttpVersionModifier and TypeMethodDescriptionHttpClientOptions.getAlpnVersions()HttpServerOptions.getAlpnVersions()HttpClientConfig.getVersions()HttpServerConfig.getVersions()Methods in io.vertx.core.http with parameters of type HttpVersionModifier and TypeMethodDescriptionstatic MultiMapHttpHeaders.headers(HttpVersion version) HttpClientOptions.setProtocolVersion(HttpVersion protocolVersion) Set the protocol version.HttpConnectOptions.setProtocolVersion(HttpVersion protocolVersion) Set the desired HTTP protocol version for this connection.RequestOptions.setProtocolVersion(HttpVersion protocolVersion) WebSocketConnectOptions.setProtocolVersion(HttpVersion protocolVersion) HttpClientConfig.setVersions(HttpVersion... versions) LikeHttpClientConfig.setVersions(List)using an array.HttpServerConfig.setVersions(HttpVersion... versions) Set the HTTP versions.Method parameters in io.vertx.core.http with type arguments of type HttpVersionModifier and TypeMethodDescriptionHttpClientOptions.setAlpnVersions(List<HttpVersion> alpnVersions) Set the list of protocol versions to provide to the server during the Application-Layer Protocol Negotiation.HttpServerOptions.setAlpnVersions(List<HttpVersion> alpnVersions) Set the list of protocol versions to provide to the server during the Application-Layer Protocol Negotiation.HttpClientConfig.setVersions(List<HttpVersion> versions) Set the list ofHttpVersionsupported by the client, the first element of the list is considered as the default protocol to choose when none is specified at the request level.HttpServerConfig.setVersions(Set<HttpVersion> versions) Set the HTTP versions. -
Uses of HttpVersion in io.vertx.core.spi.observability
Methods in io.vertx.core.spi.observability that return HttpVersion