Java Code Examples for com.lidroid.xutils.http.HttpHandler#State

The following examples show how to use com.lidroid.xutils.http.HttpHandler#State . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DownloadInfo.java    From AndroidAppCodeFramework with Apache License 2.0 4 votes vote down vote up
public HttpHandler.State getState() {
    return state;
}
 
Example 2
Source File: DownloadInfo.java    From AndroidAppCodeFramework with Apache License 2.0 4 votes vote down vote up
public void setState(HttpHandler.State state) {
    this.state = state;
}
 
Example 3
Source File: DownloadManager.java    From AndroidAppCodeFramework with Apache License 2.0 4 votes vote down vote up
@Override
public HttpHandler.State getFiledValue(Cursor cursor, int index) {
    return HttpHandler.State.valueOf(cursor.getInt(index));
}
 
Example 4
Source File: DownloadManager.java    From AndroidAppCodeFramework with Apache License 2.0 4 votes vote down vote up
@Override
public HttpHandler.State getFiledValue(String fieldStringValue) {
    if (fieldStringValue == null) return null;
    return HttpHandler.State.valueOf(fieldStringValue);
}
 
Example 5
Source File: DownloadManager.java    From AndroidAppCodeFramework with Apache License 2.0 4 votes vote down vote up
@Override
public Object fieldValue2ColumnValue(HttpHandler.State fieldValue) {
    return fieldValue.value();
}
 
Example 6
Source File: DownloadInfo.java    From AndroidAppCodeFramework with Apache License 2.0 4 votes vote down vote up
public HttpHandler.State getState() {
    return state;
}
 
Example 7
Source File: DownloadInfo.java    From AndroidAppCodeFramework with Apache License 2.0 4 votes vote down vote up
public void setState(HttpHandler.State state) {
    this.state = state;
}
 
Example 8
Source File: DownloadManager.java    From AndroidAppCodeFramework with Apache License 2.0 4 votes vote down vote up
@Override
public HttpHandler.State getFiledValue(Cursor cursor, int index) {
    return HttpHandler.State.valueOf(cursor.getInt(index));
}
 
Example 9
Source File: DownloadManager.java    From AndroidAppCodeFramework with Apache License 2.0 4 votes vote down vote up
@Override
public HttpHandler.State getFiledValue(String fieldStringValue) {
    if (fieldStringValue == null) return null;
    return HttpHandler.State.valueOf(fieldStringValue);
}
 
Example 10
Source File: DownloadManager.java    From AndroidAppCodeFramework with Apache License 2.0 4 votes vote down vote up
@Override
public Object fieldValue2ColumnValue(HttpHandler.State fieldValue) {
    return fieldValue.value();
}