|
||||||||||
上一个 下一个 | 框架 无框架 |
使用 AsyncHttpResponseHandler 的软件包 | |
---|---|
com.baidu.sapi2.http |
com.baidu.sapi2.http 中 AsyncHttpResponseHandler 的使用 |
---|
com.baidu.sapi2.http 中 AsyncHttpResponseHandler 的子类 | |
---|---|
class |
BinaryHttpResponseHandler
Used to intercept and handle the responses from requests made using AsyncHttpClient . |
class |
JsonHttpResponseHandler
Used to intercept and handle the responses from requests made using AsyncHttpClient , with automatic parsing into a JSONObject or
JSONArray . |
参数类型为 AsyncHttpResponseHandler 的 com.baidu.sapi2.http 中的方法 | |
---|---|
void |
AsyncHttpClient.delete(android.content.Context context,
String url,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP DELETE request. |
void |
AsyncHttpClient.delete(android.content.Context context,
String url,
org.apache.http.Header[] headers,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP DELETE request. |
void |
AsyncHttpClient.delete(String url,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP DELETE request. |
void |
SyncHttpClient.delete(String url,
RequestParams queryParams,
AsyncHttpResponseHandler responseHandler)
|
void |
AsyncHttpClient.get(android.content.Context context,
String url,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP GET request without any parameters and track the Android Context which initiated the request. |
void |
AsyncHttpClient.get(android.content.Context context,
String url,
org.apache.http.Header[] headers,
RequestParams params,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP GET request and track the Android Context which initiated the request with customized headers |
void |
AsyncHttpClient.get(android.content.Context context,
String url,
RequestParams params,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP GET request and track the Android Context which initiated the request. |
void |
AsyncHttpClient.get(String url,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP GET request, without any parameters. |
void |
AsyncHttpClient.get(String url,
RequestParams params,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP GET request with parameters. |
void |
AsyncHttpClient.post(android.content.Context context,
String url,
org.apache.http.Header[] headers,
org.apache.http.HttpEntity entity,
String contentType,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP POST request and track the Android Context which initiated the request. |
void |
AsyncHttpClient.post(android.content.Context context,
String url,
org.apache.http.Header[] headers,
RequestParams params,
String contentType,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP POST request and track the Android Context which initiated the request. |
void |
AsyncHttpClient.post(android.content.Context context,
String url,
org.apache.http.HttpEntity entity,
String contentType,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP POST request and track the Android Context which initiated the request. |
void |
AsyncHttpClient.post(android.content.Context context,
String url,
RequestParams params,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP POST request and track the Android Context which initiated the request. |
void |
AsyncHttpClient.post(String url,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP POST request, without any parameters. |
void |
AsyncHttpClient.post(String url,
RequestParams params,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP POST request with parameters. |
void |
AsyncHttpClient.put(android.content.Context context,
String url,
org.apache.http.Header[] headers,
org.apache.http.HttpEntity entity,
String contentType,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP PUT request and track the Android Context which initiated the request. |
void |
AsyncHttpClient.put(android.content.Context context,
String url,
org.apache.http.HttpEntity entity,
String contentType,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP PUT request and track the Android Context which initiated the request. |
void |
AsyncHttpClient.put(android.content.Context context,
String url,
RequestParams params,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP PUT request and track the Android Context which initiated the request. |
void |
AsyncHttpClient.put(String url,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP PUT request, without any parameters. |
void |
AsyncHttpClient.put(String url,
RequestParams params,
AsyncHttpResponseHandler responseHandler)
Perform a HTTP PUT request with parameters. |
protected void |
SyncHttpClient.sendRequest(org.apache.http.impl.client.DefaultHttpClient client,
org.apache.http.protocol.HttpContext httpContext,
org.apache.http.client.methods.HttpUriRequest uriRequest,
String contentType,
AsyncHttpResponseHandler responseHandler,
android.content.Context context)
|
protected void |
AsyncHttpClient.sendRequest(org.apache.http.impl.client.DefaultHttpClient client,
org.apache.http.protocol.HttpContext httpContext,
org.apache.http.client.methods.HttpUriRequest uriRequest,
String contentType,
AsyncHttpResponseHandler responseHandler,
android.content.Context context)
|
|
||||||||||
上一个 下一个 | 框架 无框架 |