public abstract class AbstractHttpClient31 extends AbstractClientInterface implements ClientInterface
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
allowRedirects |
protected org.apache.commons.httpclient.HttpClient |
httpClient |
protected String |
userAgent |
DEFAULT_REQUEST_CHARSET, httpConfigTemplate, httpTemplateManagerDEFAULT_BEAN_NAME| 构造器和说明 |
|---|
AbstractHttpClient31() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract org.apache.commons.httpclient.HttpClient |
buildHttpClient()
由不同的实现决定
|
protected void |
dealBodyElement(org.apache.commons.httpclient.HttpMethodBase method,
Charset requestCharset,
List<BodyElement> bodyElements) |
protected void |
dealCookies(org.apache.commons.httpclient.HttpMethodBase method,
org.apache.commons.httpclient.HttpState state,
List<Cookie> cookies) |
protected void |
dealHeaders(org.apache.commons.httpclient.HttpMethodBase method,
List<Header> headers) |
protected org.apache.commons.httpclient.HttpMethodBase |
dealHttpMethod(Request request) |
void |
init(org.tinygroup.context.Context context) |
protected void |
initCertifiable(Certifiable cert,
org.apache.commons.httpclient.HttpClient client) |
protected org.apache.commons.httpclient.HttpClient |
initHttpClient(org.tinygroup.context.Context context) |
protected void |
initKeyCert(KeyCert cert) |
protected void |
initParams(org.tinygroup.context.Context context,
org.apache.commons.httpclient.HttpClient client) |
protected void |
initPasswordCert(PasswordCert cert,
org.apache.commons.httpclient.HttpClient client) |
protected void |
initProxy(Proxy proxy,
org.apache.commons.httpclient.HttpClient client) |
getCharset, getHttpTemplateManager, getInterceptorList, getUrl, setHttpTemplateManager, updateHttpConfigTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowMultiton, execute, getHttpTemplateManager, getInterceptorListprotected org.apache.commons.httpclient.HttpClient httpClient
protected boolean allowRedirects
protected String userAgent
public void init(org.tinygroup.context.Context context)
init 在接口中 ClientInterfaceprotected org.apache.commons.httpclient.HttpClient initHttpClient(org.tinygroup.context.Context context)
protected abstract org.apache.commons.httpclient.HttpClient buildHttpClient()
protected void initParams(org.tinygroup.context.Context context,
org.apache.commons.httpclient.HttpClient client)
protected void initProxy(Proxy proxy, org.apache.commons.httpclient.HttpClient client)
protected void initCertifiable(Certifiable cert, org.apache.commons.httpclient.HttpClient client)
protected void initKeyCert(KeyCert cert)
protected void initPasswordCert(PasswordCert cert, org.apache.commons.httpclient.HttpClient client)
protected org.apache.commons.httpclient.HttpMethodBase dealHttpMethod(Request request)
protected void dealHeaders(org.apache.commons.httpclient.HttpMethodBase method,
List<Header> headers)
protected void dealCookies(org.apache.commons.httpclient.HttpMethodBase method,
org.apache.commons.httpclient.HttpState state,
List<Cookie> cookies)
protected void dealBodyElement(org.apache.commons.httpclient.HttpMethodBase method,
Charset requestCharset,
List<BodyElement> bodyElements)
Copyright © 2006–2018 TinyGroup. All rights reserved.