-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Deprecated()@Documented()@Retention(value = RetentionPolicy.RUNTIME)@Target(value = ElementType.TYPE)@Inherited() public @interface AcraHttpSender
Http sender configuration
-
-
Method Summary
Modifier and Type Method Description abstract Stringuri()The Uri of your own server-side script that will receive reports. abstract StringbasicAuthLogin()you can set here and in basicAuthPassword the credentials for a BASIC HTTP authentication. abstract StringbasicAuthPassword()you can set here and in basicAuthLogin the credentials for a BASIC HTTP authentication. abstract HttpSender.MethodhttpMethod()The HttpSender.Method to be used when posting with uri . abstract intconnectionTimeout()timeout for server connection abstract intsocketTimeout()timeout for socket connection abstract booleandropReportsOnTimeout()allows to prevent resending of timed out reports, possibly relieving server stress, but also reducing received report counts abstract Class<out KeyStoreFactory>keyStoreFactoryClass()A custom class supplying a java.security.KeyStore, which will be used for ssl authentication. abstract StringcertificatePath()a certificate used for ssl authentication abstract intresCertificate()a certificate used for ssl authentication abstract StringcertificateType()type of the certificate used for ssl authentication abstract booleancompress()if the server request should be compressed using gzip abstract Array<TLS>tlsProtocols()Note: Older Android versions do not support all tls versions.This array has to contain at least one option supported on all android versions this runs on!ACRA will automatically remove unsupported versions on older devices. -
-
Method Detail
-
uri
@NonNull() abstract String uri()
The Uri of your own server-side script that will receive reports.
-
basicAuthLogin
@NonNull() abstract String basicAuthLogin()
you can set here and in basicAuthPassword the credentials for a BASIC HTTP authentication.
-
basicAuthPassword
@NonNull() abstract String basicAuthPassword()
you can set here and in basicAuthLogin the credentials for a BASIC HTTP authentication.
-
httpMethod
@NonNull() abstract HttpSender.Method httpMethod()
The HttpSender.Method to be used when posting with uri .
-
connectionTimeout
abstract int connectionTimeout()
timeout for server connection
-
socketTimeout
abstract int socketTimeout()
timeout for socket connection
-
dropReportsOnTimeout
abstract boolean dropReportsOnTimeout()
allows to prevent resending of timed out reports, possibly relieving server stress, but also reducing received report counts
-
keyStoreFactoryClass
@NonNull() abstract Class<out KeyStoreFactory> keyStoreFactoryClass()
A custom class supplying a java.security.KeyStore, which will be used for ssl authentication.A base implementation is available: org.acra.security.BaseKeyStoreFactory
-
certificatePath
@NonNull() abstract String certificatePath()
a certificate used for ssl authentication
-
resCertificate
@RawRes() abstract int resCertificate()
a certificate used for ssl authentication
-
certificateType
@NonNull() abstract String certificateType()
type of the certificate used for ssl authentication
-
compress
abstract boolean compress()
if the server request should be compressed using gzip
-
tlsProtocols
@NonNull() abstract Array<TLS> tlsProtocols()
Note: Older Android versions do not support all tls versions.This array has to contain at least one option supported on all android versions this runs on!ACRA will automatically remove unsupported versions on older devices.
-
-
-
-