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 baca1fc commit d144f41Copy full SHA for d144f41
src/com/loopj/android/http/AsyncHttpClient.java
@@ -178,6 +178,15 @@ public HttpClient getHttpClient() {
178
return this.httpClient;
179
}
180
181
+ /**
182
+ * Get the underlying HttpContext instance. This is useful for getting
183
+ * and setting fine-grained settings for requests by accessing the
184
+ * context's attributes such as the CookieStore.
185
+ */
186
+ public HttpContext getHttpContext() {
187
+ return this.httpContext;
188
+ }
189
+
190
/**
191
* Sets an optional CookieStore to use when making requests
192
* @param cookieStore The CookieStore implementation to use, usually an instance of {@link PersistentCookieStore}
0 commit comments