readme doc

This commit is contained in:
AriaLyy
2017-04-05 16:46:35 +08:00
parent 6f24f76fdb
commit b6b32e266c
7 changed files with 25 additions and 21 deletions

View File

@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion 9
targetSdkVersion 23
versionCode 85
versionName "2.3.7"
versionCode 100
versionName "3.0.0"
}
buildTypes {
release {

View File

@ -58,7 +58,7 @@ public class DownloadTarget extends AbsTarget<DownloadEntity, DownloadTaskEntity
/**
* 给url请求添加头部
*
* @param headers Map<Key, Value>
* @param headers key为http头部的keyValue为http头对应的配置
*/
public DownloadTarget addHeaders(Map<String, String> headers) {
super._addHeaders(headers);

View File

@ -97,8 +97,6 @@ public class AbsTarget<ENTITY extends IEntity, TASK_ENTITY extends ITaskEntity>
/**
* 给url请求添加头部
*
* @param headers Map<Key, Value>
*/
protected void _addHeaders(Map<String, String> headers) {
if (headers != null && headers.size() > 0) {

View File

@ -72,7 +72,7 @@ public class UploadTarget extends AbsTarget<UploadEntity, UploadTaskEntity> {
/**
* 设置上传文件类型
*
* @param contentType <code>"multipart/form-data"<code/>
* @param contentType tipmultipart/form-data
*/
public UploadTarget setContentType(String contentType) {
taskEntity.contentType = contentType;
@ -93,7 +93,7 @@ public class UploadTarget extends AbsTarget<UploadEntity, UploadTaskEntity> {
/**
* 给url请求添加头部
*
* @param headers Map<Key, Value>
* @param headers key为http头部的keyValue为http头对应的配置
*/
public UploadTarget addHeaders(Map<String, String> headers) {
super._addHeaders(headers);

View File

@ -131,9 +131,9 @@ public class CheckUtil {
/**
* 检测下载实体是否合法
* 合法(true)
*
* @param entity 下载实体
* @return 合法(true)
*/
public static void checkDownloadTaskEntity(DownloadEntity entity) {
if (entity == null) {