public class SingleClientImpl extends AbstractHttpClient31
allowRedirects, httpClient, userAgent
DEFAULT_REQUEST_CHARSET, httpConfigTemplate, httpTemplateManager
DEFAULT_BEAN_NAME
Constructor and Description |
---|
SingleClientImpl() |
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, initProxy
getCharset, getHttpTemplateManager, getInterceptorList, getUrl, setHttpTemplateManager, updateHttpConfigTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHttpTemplateManager, getInterceptorList
public void close() throws IOException
IOException
public Response execute(Request request)
ClientInterface
protected org.apache.commons.httpclient.HttpClient buildHttpClient()
AbstractHttpClient31
buildHttpClient
in class AbstractHttpClient31
public boolean allowMultiton()
ClientInterface
Copyright © 2006–2018 TinyGroup. All rights reserved.