public class LoggingUploader
extends java.lang.Thread
Modifier and Type | Class and Description |
---|---|
protected static class |
com.localytics.android.UploadThread.UploadType |
Modifier and Type | Method and Description |
---|---|
protected static javax.net.ssl.SSLSocketFactory |
getSSLSocketFactory(Logger logger) |
protected void |
retrieveHttpResponse(java.io.InputStream input)
Retrieves the HTTP response body as a string and trigger onUploadResponded
|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public void run()
run
in interface java.lang.Runnable
protected void retrieveHttpResponse(@NonNull java.io.InputStream input) throws java.io.IOException
input
- InputStream from which the HTTP response body can be fetched. Cannot be null.java.io.IOException
@Nullable protected static javax.net.ssl.SSLSocketFactory getSSLSocketFactory(Logger logger)