接口 WebEndpointMappingRegistry
-
public interface WebEndpointMappingRegistryWebEndpointMappingRegistry- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
- 另请参阅:
WebEndpointMapping,SimpleWebEndpointMappingRegistry
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 java.util.Collection<WebEndpointMapping>getWebEndpointMappings()Get all registered instances ofWebEndpointMappingbooleanregister(WebEndpointMapping webEndpointMapping)Registers an instance ofWebEndpointMappingdefault intregister(WebEndpointMapping webEndpointMapping, WebEndpointMapping... others)Registers the instances ofWebEndpointMappingdefault intregister(java.lang.Iterable<WebEndpointMapping> webEndpointMappings)Registers the instances ofWebEndpointMapping
-
-
-
方法详细资料
-
register
boolean register(WebEndpointMapping webEndpointMapping)
Registers an instance ofWebEndpointMapping- 参数:
webEndpointMapping- an instance ofWebEndpointMapping- 返回:
trueif success,falseotherwise
-
register
default int register(WebEndpointMapping webEndpointMapping, WebEndpointMapping... others)
Registers the instances ofWebEndpointMapping- 参数:
webEndpointMapping- an instance ofWebEndpointMappingothers- others ofWebEndpointMapping- 返回:
trueif success,falseotherwise
-
register
default int register(java.lang.Iterable<WebEndpointMapping> webEndpointMappings)
Registers the instances ofWebEndpointMapping- 参数:
webEndpointMappings- the instances ofWebEndpointMapping- 返回:
- the count of the registered instances of
WebEndpointMapping
-
getWebEndpointMappings
@NonNull java.util.Collection<WebEndpointMapping> getWebEndpointMappings()
Get all registered instances ofWebEndpointMapping- 返回:
- non-null
-
-