Uses of Class
jdk.incubator.http.HttpClient.Version
-
Packages that use HttpClient.Version 软件包 描述 jdk.incubator.http 高级HTTP和WebSocket API -
-
Uses of HttpClient.Version in jdk.incubator.http
Methods in jdk.incubator.http that return HttpClient.Version Modifier and Type 方法 描述 static HttpClient.Version
HttpClient.Version. valueOf(String name)
以指定的名称返回此类型的枚举常量。static HttpClient.Version[]
HttpClient.Version. values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。abstract HttpClient.Version
HttpClient. version()
返回此客户端请求的HTTP协议版本。abstract HttpClient.Version
HttpResponse. version()
返回用于此响应的HTTP协议版本。Methods in jdk.incubator.http that return types with arguments of type HttpClient.Version Modifier and Type 方法 描述 abstract Optional<HttpClient.Version>
HttpRequest. version()
返回一个Optional
其中包含将要为此HttpRequest
请求的HTTP协议版本。Methods in jdk.incubator.http with parameters of type HttpClient.Version Modifier and Type 方法 描述 abstract HttpClient.Builder
HttpClient.Builder. version(HttpClient.Version version)
在可能的情况下请求特定的HTTP协议版本。abstract HttpRequest.Builder
HttpRequest.Builder. version(HttpClient.Version version)
设置此请求的首选HttpClient.Version
。
-