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