Uses of Enum Class
java.net.http.HttpClient.Version
Packages that use HttpClient.Version
-
Uses of HttpClient.Version in java.net.http
Subclasses with type arguments of type HttpClient.Version in java.net.httpMethods in java.net.http that return HttpClient.VersionModifier and TypeMethodDescriptionstatic HttpClient.VersionReturns the enum constant of this class with the specified name.static HttpClient.Version[]HttpClient.Version.values()Returns an array containing the constants of this enum class, in the order they are declared.abstract HttpClient.VersionHttpClient.version()Returns the preferred HTTP protocol version for this client.HttpResponse.ResponseInfo.version()Provides the response protocol version.HttpResponse.version()Returns the HTTP protocol version that was used for this response.final HttpClient.VersionStreamLimitException.version()Returns the protocol version for which the exception was raised.Methods in java.net.http that return types with arguments of type HttpClient.VersionModifier and TypeMethodDescriptionabstract Optional<HttpClient.Version> HttpRequest.version()Returns anOptionalcontaining the HTTP protocol version that will be requested for thisHttpRequest.Methods in java.net.http with parameters of type HttpClient.VersionModifier and TypeMethodDescriptionHttpClient.Builder.version(HttpClient.Version version) Sets the default preferred HTTP protocol version for requests issued by this client.HttpRequest.Builder.version(HttpClient.Version version) Sets the preferredHttpClient.Versionfor this request.Constructors in java.net.http with parameters of type HttpClient.VersionModifierConstructorDescriptionStreamLimitException(HttpClient.Version version, String message) Creates a newStreamLimitException