You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: connectors/jnh-connector/src/main/java/org/glassfish/jersey/jnh/connector/JavaNetHttpClientProperties.java
+11
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,17 @@ public class JavaNetHttpClientProperties {
85
85
publicstaticfinalStringDISABLE_COOKIES =
86
86
"jersey.config.jnh.client.disableCookies";
87
87
88
+
/**
89
+
* HTTP version - if null or instance of HttpClient.Version.HTTP_1_1 the version will be set to HTTP_1_1
90
+
* if version is HttpClient.Version.HTTP_2 the client will attempt to perform each request using HTTP_2 protocol
91
+
* but if not supported by server, the protocol will be still HTTP_1_1
0 commit comments