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
if (responseHandler != null && responseHandler.getUseSynchronousMode()) {
982
-
thrownewIllegalArgumentException("Synchronous ResponseHandler used in AsyncHttpClient. You should create your response handler in a looper thread or use SyncHttpClient instead.");
983
-
}
981
+
if (uriRequest == null) {
982
+
thrownewIllegalArgumentException("HttpUriRequest must not be null");
983
+
}
984
+
985
+
if (responseHandler == null) {
986
+
thrownewIllegalArgumentException("ResponseHandler must not be null");
987
+
}
988
+
989
+
if (responseHandler.getUseSynchronousMode()) {
990
+
thrownewIllegalArgumentException("Synchronous ResponseHandler used in AsyncHttpClient. You should create your response handler in a looper thread or use SyncHttpClient instead.");
0 commit comments