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
thrownewRuntimeException("Cannot setHttpAsyncClient after having previously set, or after default already initialized.");
54
+
thrownewRuntimeException("Cannot setHttpAsyncClient after having previously set, or after default already initialized from earlier call to getHttpAsyncClient.");
55
55
}
56
56
}
57
57
}
@@ -61,7 +61,7 @@ public static void setConnectionRequestTimeout(int timeout) {
61
61
if (HttpClientManager.httpAsyncClient == null) {
62
62
connectionRequestTimeout = timeout;
63
63
} else {
64
-
thrownewRuntimeException("Set timeout preference only before initializeHttpAsyncClient.");
64
+
thrownewRuntimeException("Cannot setConnectionRequestTimeout after previously setting httpAsyncClient, or after default already initialized from earlier call to getHttpAsyncClient.");
65
65
}
66
66
}
67
67
@@ -70,7 +70,7 @@ public static void setConnectTimeout(int timeout) {
70
70
if (HttpClientManager.httpAsyncClient == null) {
71
71
connectionTimeout = timeout;
72
72
} else {
73
-
thrownewRuntimeException("Set timeout preference only before initializeHttpAsyncClient.");
73
+
thrownewRuntimeException("Cannot setConnectTimeout after previously setting httpAsyncClient, or after default already initialized from earlier call to getHttpAsyncClient.");
74
74
}
75
75
}
76
76
@@ -80,7 +80,7 @@ public static void setSocketTimeout(int timeout) {
80
80
if (HttpClientManager.httpAsyncClient == null) {
81
81
socketTimeout = timeout;
82
82
} else {
83
-
thrownewRuntimeException("Set timeout preference only before initializeHttpAsyncClient.");
83
+
thrownewRuntimeException("Cannot setSocketTimeout after previously setting httpAsyncClient, or after default already initialized from earlier call to getHttpAsyncClient.");
0 commit comments