We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6077c6a commit 1f9a340Copy full SHA for 1f9a340
library/src/main/java/com/loopj/android/http/AsyncHttpClient.java
@@ -338,6 +338,16 @@ public void setThreadPool(ThreadPoolExecutor threadPool) {
338
this.threadPool = threadPool;
339
}
340
341
+ /**
342
+ * Returns the current executor service used. By default,
343
+ * Executors.newFixedThreadPool() is used.
344
+ *
345
+ * @return current executor service used
346
+ */
347
+ public ExecutorService getThreadPool() {
348
+ return threadPool;
349
+ }
350
+
351
/**
352
* Simple interface method, to enable or disable redirects. If you set manually RedirectHandler
353
* on underlying HttpClient, effects of this method will be canceled.
0 commit comments