public class ApacheSdkHttpClient extends java.lang.Object implements BaseSdkHttpClient
BaseSdkHttpClient.Callback
DEFAULT_SOCKET_TIMEOUT
Constructor and Description |
---|
ApacheSdkHttpClient() |
Modifier and Type | Method and Description |
---|---|
void |
get(java.lang.String url,
java.util.Map<java.lang.String,java.lang.String> params,
BaseSdkHttpClient.Callback callback,
int timeout) |
org.apache.http.impl.client.DefaultHttpClient |
getHttpClient(int timeoutMs) |
void |
post(java.lang.String url,
java.util.Map<java.lang.String,java.lang.String> params,
BaseSdkHttpClient.Callback callback,
int timeout) |
void |
postFile(java.lang.String url,
java.util.Map<java.lang.String,java.lang.String> params,
BaseSdkHttpClient.Callback callback,
int timeout,
java.io.File file) |
public void post(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> params, BaseSdkHttpClient.Callback callback, int timeout)
post
in interface BaseSdkHttpClient
public void get(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> params, BaseSdkHttpClient.Callback callback, int timeout)
get
in interface BaseSdkHttpClient
public void postFile(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> params, BaseSdkHttpClient.Callback callback, int timeout, java.io.File file)
postFile
in interface BaseSdkHttpClient
public org.apache.http.impl.client.DefaultHttpClient getHttpClient(int timeoutMs)