| Package | Description |
|---|---|
| cn.trinea.android.common.dao | |
| cn.trinea.android.common.dao.impl | |
| cn.trinea.android.common.entity | |
| cn.trinea.android.common.service | |
| cn.trinea.android.common.util |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
HttpCacheDao.getHttpResponse(java.lang.String url)
get HttpResponse by url
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,HttpResponse> |
HttpCacheDao.getHttpResponsesByType(int type)
get HttpResponses by type
|
| Modifier and Type | Method and Description |
|---|---|
long |
HttpCacheDao.insertHttpResponse(HttpResponse httpResponse)
insert HttpResponse
|
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
HttpCacheDaoImpl.getHttpResponse(java.lang.String url) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,HttpResponse> |
HttpCacheDaoImpl.getHttpResponsesByType(int type) |
| Modifier and Type | Method and Description |
|---|---|
long |
HttpCacheDaoImpl.insertHttpResponse(HttpResponse httpResponse) |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
HttpResponse.setInCache(boolean isInCache)
set isInCache, this is a client mark, whethero is in client cache
|
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
HttpCache.httpGet(HttpRequest request)
http get
Attentions:
Don't call this on the ui thread, it may costs some times.
|
HttpResponse |
HttpCache.httpGet(java.lang.String url)
http get
Attentions:
Don't call this on the ui thread, it may costs some times.
|
HttpResponse |
HttpCache.httpGetString(HttpRequest httpRequest)
http get
Attentions:
Don't call this on the ui thread, it may costs some times.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpResponse |
HttpUtils.httpGet(HttpRequest request)
http get synchronous
use gzip compression default
use bufferedReader to improve the reading speed
|
static HttpResponse |
HttpUtils.httpGet(java.lang.String httpUrl)
http get synchronous
|
static HttpResponse |
HttpUtils.httpPost(HttpRequest request)
http post
use gzip compression default
use bufferedReader to improve the reading speed
|
static HttpResponse |
HttpUtils.httpPost(java.lang.String httpUrl)
http post
|