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