public class MultiClientImpl extends AbstractHttpClient31
allowRedirects, httpClient, userAgentDEFAULT_REQUEST_CHARSET, httpConfigTemplate, httpTemplateManagerDEFAULT_BEAN_NAME| Constructor and Description |
|---|
MultiClientImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowMultiton()
允许多例共享通讯资源
|
protected org.apache.commons.httpclient.HttpClient |
buildHttpClient()
由不同的实现决定
|
void |
close() |
Response |
execute(Request request)
执行请求,得到响应
|
dealBodyElement, dealCookies, dealHeaders, dealHttpMethod, init, initCertifiable, initHttpClient, initKeyCert, initParams, initPasswordCert, initProxygetCharset, getHttpTemplateManager, getInterceptorList, getUrl, setHttpTemplateManager, updateHttpConfigTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHttpTemplateManager, getInterceptorListpublic void close()
throws IOException
IOExceptionpublic Response execute(Request request)
ClientInterfaceprotected org.apache.commons.httpclient.HttpClient buildHttpClient()
AbstractHttpClient31buildHttpClient in class AbstractHttpClient31public boolean allowMultiton()
ClientInterfaceCopyright © 2006–2018 TinyGroup. All rights reserved.