Class of org.apache.http.impl.client · AbstractHttpClient.java
public abstract class AbstractHttpClient implements HttpClient
Android's legacy HTTP client over the JDK's HttpURLConnection, which keeps the connections, follows the redirects that the redirect handler asks for, and speaks TLS. The client runs its interceptors, its retry handler and its cookie store around each request, as Apache's does.
protected AbstractHttpClient(ClientConnectionManager conman, HttpParams params) sourceprotected abstract HttpParams createHttpParams() sourceprotected abstract ClientConnectionManager createClientConnectionManager() sourcepublic final synchronized HttpParams getParams() sourcepublic synchronized void setParams(HttpParams params) sourcepublic final synchronized ClientConnectionManager getConnectionManager() sourcepublic final synchronized CookieSpecRegistry getCookieSpecs() sourcepublic synchronized void setCookieSpecs(CookieSpecRegistry cookieSpecRegistry) sourcepublic final synchronized CookieStore getCookieStore() sourcepublic synchronized void setCookieStore(CookieStore cookieStore) sourcepublic final synchronized CredentialsProvider getCredentialsProvider() sourcepublic synchronized void setCredentialsProvider(CredentialsProvider credsProvider) sourcepublic final synchronized HttpRequestRetryHandler getHttpRequestRetryHandler() sourcepublic synchronized void setHttpRequestRetryHandler(HttpRequestRetryHandler retryHandler) sourcepublic final synchronized RedirectHandler getRedirectHandler() sourcepublic synchronized void setRedirectHandler(RedirectHandler redirectHandler) sourcepublic synchronized void addRequestInterceptor(HttpRequestInterceptor itcp) sourcepublic synchronized void addRequestInterceptor(HttpRequestInterceptor itcp, int index) sourcepublic synchronized void addResponseInterceptor(HttpResponseInterceptor itcp) sourcepublic synchronized void addResponseInterceptor(HttpResponseInterceptor itcp, int index) sourcepublic synchronized void clearRequestInterceptors() sourcepublic synchronized void clearResponseInterceptors() sourcepublic synchronized int getRequestInterceptorCount() sourcepublic synchronized int getResponseInterceptorCount() sourcepublic final HttpResponse execute(HttpUriRequest request) throws IOException sourcepublic final HttpResponse execute(HttpHost target, HttpRequest request) throws IOException sourcepublic final HttpResponse execute(HttpHost target, HttpRequest request, HttpContext context) throws IOException sourcepublic <T> T execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler) throws IOException sourcepublic <T> T execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler, HttpContext context) throws IOException sourcepublic final HttpResponse execute(HttpUriRequest request, HttpContext context) throws IOException sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.