Example usage for org.apache.http.impl.client DefaultHttpClient subclass-usage

List of usage examples for org.apache.http.impl.client DefaultHttpClient subclass-usage

Introduction

In this page you can find the example usage for org.apache.http.impl.client DefaultHttpClient subclass-usage.

Usage

From source file org.openjira.jira.utils.ConnectionClient.java

public class ConnectionClient extends DefaultHttpClient {
    public ConnectionClient(Credentials cred) {
        super();
        if (cred != null)
            setCredentials(cred);
        HttpConnectionParams.setConnectionTimeout(this.getParams(), 15000);

From source file com.github.volley_examples.toolbox.SslHttpClient.java

public class SslHttpClient extends DefaultHttpClient {
    private static final int HTTP_DEFAULT_PORT = 80;

    private static final String HTTP_SCHEME = "http";

    private static final int HTTP_DEFAULT_HTTPS_PORT = 443;

From source file com.android.providers.downloads.ui.network.SslHttpClient.java

public class SslHttpClient extends DefaultHttpClient {
    private static final int HTTP_DEFAULT_PORT = 80;

    private static final String HTTP_SCHEME = "http";

    private static final int HTTP_DEFAULT_HTTPS_PORT = 443;

From source file org.pixmob.feedme.net.SSLEnabledHttpClient.java

/**
 * Internal {@link HttpClient} implementation accepting all SSL certificates.
 * With API level 7, the class <code>AndroidHttpClient</code> is not available,
 * and the default {@link HttpClient} implementation does not accept untrusted
 * SSL certificates. This class provides a way for silently accepting these SSL
 * certificates.

From source file org.ale.scanner.zotero.web.HttpsClient.java

public class HttpsClient extends DefaultHttpClient {

    public static String USER_AGENT = "ScannerForZotero/1.0.1 Android/" + Build.VERSION.RELEASE;

    private static HttpsClient mInstance;

From source file org.pixmob.appengine.client.SSLEnabledHttpClient.java

/**
 * Internal {@link HttpClient} implementation accepting all SSL certificates.
 * With API level 7, the class <code>AndroidHttpClient</code> is not available,
 * and the default {@link HttpClient} implementation does not accept untrusted
 * SSL certificates. This class provides a way for silently accepting these SSL
 * certificates.

From source file edu.cwru.apo.TrustAPOHttpClient.java

public class TrustAPOHttpClient extends DefaultHttpClient {

    final Context context;

    public TrustAPOHttpClient(Context context) {
        this.context = context;

From source file ee.vvk.ivotingverification.util.CustomHttpsClient.java

public class CustomHttpsClient extends DefaultHttpClient {

    private static final String TAG = CustomHttpsClient.class.getSimpleName();
    final Context context;

    public CustomHttpsClient(Context context) {

From source file com.phonty.improved.PhontyHttpClient.java

public class PhontyHttpClient extends DefaultHttpClient {
    final Context context;

    public PhontyHttpClient(ClientConnectionManager cm, BasicHttpParams params, Context context) {
        super.createHttpParams();
        super.createClientConnectionManager();

From source file net.openwatch.acluaz.http.AZHttpClient.java

/**
 * HttpClient that verifies SSL certs against those bundled in /res/raw
 * Thanks http://blog.antoine.li/2010/10/22/android-trusting-ssl-certificates/
 *
 */
public class AZHttpClient extends DefaultHttpClient {