| 构造器和说明 |
|---|
ProtocolFilterDecorator(Protocol protocol) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> Referer<T> |
decorateRefererFilter(Referer<T> referer,
URL url) |
void |
destroy()
1) exporter destroy
2) referer destroy
|
<T> Exporter<T> |
export(Provider<T> provider,
URL url)
暴露服务
|
protected List<Filter> |
getFilters(URL url,
String key)
获取方式:
1)先获取默认的filter列表;
2)根据filter配置获取新的filters,并和默认的filter列表合并;
3)如果filter配置中有'-'开头的filter name,表示disable某个filter,对应的filter不会装配
|
<T> Referer<T> |
refer(Class<T> clz,
URL url,
URL serviceUrl)
引用服务
|
public ProtocolFilterDecorator(Protocol protocol)
Copyright © 2023. All rights reserved.