public abstract class AbstractClientInterface extends Object implements ClientInterface
Modifier and Type | Field and Description |
---|---|
protected static Charset |
DEFAULT_REQUEST_CHARSET |
protected HttpConfigTemplate |
httpConfigTemplate |
protected HttpTemplateManager |
httpTemplateManager |
DEFAULT_BEAN_NAME
Constructor and Description |
---|
AbstractClientInterface() |
Modifier and Type | Method and Description |
---|---|
protected Charset |
getCharset(Request request) |
HttpTemplateManager |
getHttpTemplateManager()
获得HTTP通讯配置模板管理器
|
List<RequestInterceptor> |
getInterceptorList()
获取客户端配置的请求拦截器
|
protected String |
getUrl(Request request)
得到带参数的URL
|
void |
setHttpTemplateManager(HttpTemplateManager manager) |
protected void |
updateHttpConfigTemplate(Context context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowMultiton, execute, init
protected static final Charset DEFAULT_REQUEST_CHARSET
protected HttpConfigTemplate httpConfigTemplate
protected HttpTemplateManager httpTemplateManager
public HttpTemplateManager getHttpTemplateManager()
ClientInterface
getHttpTemplateManager
in interface ClientInterface
public void setHttpTemplateManager(HttpTemplateManager manager)
protected void updateHttpConfigTemplate(Context context)
public List<RequestInterceptor> getInterceptorList()
ClientInterface
getInterceptorList
in interface ClientInterface
Copyright © 2006–2018 TinyGroup. All rights reserved.