public class BinaryHttpRequest extends BaseHttpRequest<android.net.Uri>
Constructor and Description |
---|
BinaryHttpRequest(ACRAConfiguration config,
android.content.Context context,
HttpSender.Method method,
java.lang.String login,
java.lang.String password,
int connectionTimeOut,
int socketTimeOut,
java.util.Map<java.lang.String,java.lang.String> headers) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
asBytes(android.net.Uri content) |
protected java.lang.String |
getContentType(android.content.Context context,
android.net.Uri uri) |
configureHeaders, configureHttps, configureTimeouts, createConnection, handleResponse, send, writeContent
public BinaryHttpRequest(@NonNull ACRAConfiguration config, @NonNull android.content.Context context, @NonNull HttpSender.Method method, @Nullable java.lang.String login, @Nullable java.lang.String password, int connectionTimeOut, int socketTimeOut, @Nullable java.util.Map<java.lang.String,java.lang.String> headers)
protected java.lang.String getContentType(@NonNull android.content.Context context, @NonNull android.net.Uri uri)
getContentType
in class BaseHttpRequest<android.net.Uri>
protected byte[] asBytes(android.net.Uri content) throws java.io.IOException
asBytes
in class BaseHttpRequest<android.net.Uri>
java.io.IOException