类 com.baidu.sapi2.http.RequestParams
的使用

使用 RequestParams 的软件包
com.baidu.sapi2.http   
 

com.baidu.sapi2.httpRequestParams 的使用
 

参数类型为 RequestParamscom.baidu.sapi2.http 中的方法
 String SyncHttpClient.delete(String url, RequestParams params)
           
 void SyncHttpClient.delete(String url, RequestParams queryParams, AsyncHttpResponseHandler responseHandler)
           
 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.
 String SyncHttpClient.get(String url, RequestParams params)
           
 void AsyncHttpClient.get(String url, RequestParams params, AsyncHttpResponseHandler responseHandler)
          Perform a HTTP GET request with parameters.
static String AsyncHttpClient.getUrlWithQueryString(String url, RequestParams params)
           
 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, RequestParams params, AsyncHttpResponseHandler responseHandler)
          Perform a HTTP POST request and track the Android Context which initiated the request.
 String SyncHttpClient.post(String url, RequestParams params)
           
 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, RequestParams params, AsyncHttpResponseHandler responseHandler)
          Perform a HTTP PUT request and track the Android Context which initiated the request.
 String SyncHttpClient.put(String url, RequestParams params)
           
 void AsyncHttpClient.put(String url, RequestParams params, AsyncHttpResponseHandler responseHandler)
          Perform a HTTP PUT request with parameters.
 



Copyright © 2013. All Rights Reserved.