Uses of Class
jdk.incubator.http.HttpClient.Version
-
Packages that use HttpClient.Version Package Description jdk.incubator.http High level HTTP and WebSocket API -
-
Uses of HttpClient.Version in jdk.incubator.http
Methods in jdk.incubator.http that return HttpClient.Version Modifier and Type Method Description static HttpClient.VersionHttpClient.Version. valueOf(String name)Returns the enum constant of this type with the specified name.static HttpClient.Version[]HttpClient.Version. values()Returns an array containing the constants of this enum type, in the order they are declared.abstract HttpClient.VersionHttpClient. version()Returns the HTTP protocol version requested for this client.abstract HttpClient.VersionHttpResponse. version()Returns the HTTP protocol version that was used for this response.Methods in jdk.incubator.http that return types with arguments of type HttpClient.Version Modifier and Type Method Description abstract Optional<HttpClient.Version>HttpRequest. version()Returns anOptionalcontaining the HTTP protocol version that will be requested for thisHttpRequest.Methods in jdk.incubator.http with parameters of type HttpClient.Version Modifier and Type Method Description abstract HttpClient.BuilderHttpClient.Builder. version(HttpClient.Version version)Requests a specific HTTP protocol version where possible.abstract HttpRequest.BuilderHttpRequest.Builder. version(HttpClient.Version version)Sets the preferredHttpClient.Versionfor this request.
-