Uses of Interface
java.net.http.HttpOption
Packages that use HttpOption
-
Uses of HttpOption in java.net.http
Fields in java.net.http declared as HttpOptionModifier and TypeFieldDescriptionstatic final HttpOption<HttpOption.Http3DiscoveryMode> HttpOption.H3_DISCOVERYAn option that can be used to configure how theHttpClientwill select or establish an HTTP/3 connection through which to carry out the request.Methods in java.net.http with parameters of type HttpOptionModifier and TypeMethodDescription<T> Optional<T> HttpRequest.getOption(HttpOption<T> option) Returns the value configured on this request for the given option, if any.default <T> HttpRequest.BuilderHttpRequest.Builder.setOption(HttpOption<T> option, T value) Provides request configuration option hints modeled as key value pairs to help anHttpClientimplementation decide how the request/response exchange should be established or carried out.