All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.acra.util.DefaultHttpsSocketFactoryFactory Maven / Gradle / Ivy

Go to download

Publishes a report of an Android application crash to Google docs (or some other end point).

The newest version!
package org.acra.util;

import android.content.Context;
import org.apache.http.conn.scheme.SocketFactory;
import org.apache.http.conn.ssl.SSLSocketFactory;

/**
 * Default implementation of a HttpSocketFactoryFactory.
 */
public final class DefaultHttpsSocketFactoryFactory implements HttpsSocketFactoryFactory {

    public static final HttpsSocketFactoryFactory INSTANCE = new DefaultHttpsSocketFactoryFactory();

    @Override
    public SocketFactory create(Context context) {
        return new TlsSniSocketFactory();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy