public class SslHttpClient
extends khandroid.ext.apache.http.impl.client.DefaultHttpClient
| Modifier and Type | Field and Description |
|---|---|
private static int |
HTTP_DEFAULT_HTTPS_PORT |
private static int |
HTTP_DEFAULT_PORT |
private static java.lang.String |
HTTP_SCHEME |
private static java.lang.String |
HTTP_SSL_SCHEME |
private int |
mHttpsPort |
private java.io.InputStream |
mKeyStore |
private java.lang.String |
mKeyStorePassword |
| Constructor and Description |
|---|
SslHttpClient(khandroid.ext.apache.http.conn.ClientConnectionManager conman,
khandroid.ext.apache.http.params.HttpParams params,
java.io.InputStream keyStore,
java.lang.String keyStorePassword) |
SslHttpClient(khandroid.ext.apache.http.conn.ClientConnectionManager conman,
java.io.InputStream keyStore,
java.lang.String keyStorePassword) |
SslHttpClient(khandroid.ext.apache.http.params.HttpParams params,
java.io.InputStream keyStore,
java.lang.String keyStorePassword) |
SslHttpClient(java.io.InputStream keyStore,
java.lang.String keyStorePassword) |
SslHttpClient(java.io.InputStream keyStore,
java.lang.String keyStorePassword,
int httpPort) |
| Modifier and Type | Method and Description |
|---|---|
private static khandroid.ext.apache.http.params.HttpParams |
checkForInvalidParams(khandroid.ext.apache.http.params.HttpParams params) |
protected khandroid.ext.apache.http.conn.ClientConnectionManager |
createClientConnectionManager() |
void |
setHttpsPort(int httpsPort) |
createHttpParams, createHttpProcessor, setDefaultHttpParamsaddRequestInterceptor, addRequestInterceptor, addResponseInterceptor, addResponseInterceptor, clearRequestInterceptors, clearResponseInterceptors, createAuthSchemeRegistry, createClientRequestDirector, createClientRequestDirector, createClientRequestDirector, createConnectionKeepAliveStrategy, createConnectionReuseStrategy, createCookieSpecRegistry, createCookieStore, createCredentialsProvider, createHttpContext, createHttpRequestRetryHandler, createHttpRoutePlanner, createProxyAuthenticationHandler, createProxyAuthenticationStrategy, createRedirectHandler, createRequestExecutor, createTargetAuthenticationHandler, createTargetAuthenticationStrategy, createUserTokenHandler, determineParams, execute, execute, execute, execute, execute, execute, execute, execute, getAuthSchemes, getBackoffManager, getConnectionBackoffStrategy, getConnectionKeepAliveStrategy, getConnectionManager, getConnectionReuseStrategy, getCookieSpecs, getCookieStore, getCredentialsProvider, getHttpProcessor, getHttpRequestRetryHandler, getParams, getProxyAuthenticationHandler, getProxyAuthenticationStrategy, getRedirectHandler, getRedirectStrategy, getRequestExecutor, getRequestInterceptor, getRequestInterceptorCount, getResponseInterceptor, getResponseInterceptorCount, getRoutePlanner, getTargetAuthenticationHandler, getTargetAuthenticationStrategy, getUserTokenHandler, removeRequestInterceptorByClass, removeResponseInterceptorByClass, setAuthSchemes, setBackoffManager, setConnectionBackoffStrategy, setCookieSpecs, setCookieStore, setCredentialsProvider, setHttpRequestRetryHandler, setKeepAliveStrategy, setParams, setProxyAuthenticationHandler, setProxyAuthenticationStrategy, setRedirectHandler, setRedirectStrategy, setReuseStrategy, setRoutePlanner, setTargetAuthenticationHandler, setTargetAuthenticationStrategy, setUserTokenHandlerprivate static final int HTTP_DEFAULT_PORT
private static final java.lang.String HTTP_SCHEME
private static final int HTTP_DEFAULT_HTTPS_PORT
private static final java.lang.String HTTP_SSL_SCHEME
private java.io.InputStream mKeyStore
private java.lang.String mKeyStorePassword
private int mHttpsPort
public SslHttpClient(java.io.InputStream keyStore,
java.lang.String keyStorePassword)
public SslHttpClient(java.io.InputStream keyStore,
java.lang.String keyStorePassword,
int httpPort)
public SslHttpClient(khandroid.ext.apache.http.conn.ClientConnectionManager conman,
java.io.InputStream keyStore,
java.lang.String keyStorePassword)
public SslHttpClient(khandroid.ext.apache.http.conn.ClientConnectionManager conman,
khandroid.ext.apache.http.params.HttpParams params,
java.io.InputStream keyStore,
java.lang.String keyStorePassword)
public SslHttpClient(khandroid.ext.apache.http.params.HttpParams params,
java.io.InputStream keyStore,
java.lang.String keyStorePassword)
private static khandroid.ext.apache.http.params.HttpParams checkForInvalidParams(khandroid.ext.apache.http.params.HttpParams params)
protected khandroid.ext.apache.http.conn.ClientConnectionManager createClientConnectionManager()
createClientConnectionManager in class khandroid.ext.apache.http.impl.client.AbstractHttpClientpublic void setHttpsPort(int httpsPort)