Interface WebEndpointMappingRegistry
-
- All Known Implementing Classes:
FilteringWebEndpointMappingRegistry,SimpleWebEndpointMappingRegistry
public interface WebEndpointMappingRegistryWebEndpointMappingRegistry- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
WebEndpointMapping,SimpleWebEndpointMappingRegistry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description 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
-
-
-
Method Detail
-
register
boolean register(WebEndpointMapping webEndpointMapping)
Registers an instance ofWebEndpointMapping- Parameters:
webEndpointMapping- an instance ofWebEndpointMapping- Returns:
trueif success,falseotherwise
-
register
default int register(WebEndpointMapping webEndpointMapping, WebEndpointMapping... others)
Registers the instances ofWebEndpointMapping- Parameters:
webEndpointMapping- an instance ofWebEndpointMappingothers- others ofWebEndpointMapping- Returns:
trueif success,falseotherwise
-
register
default int register(java.lang.Iterable<WebEndpointMapping> webEndpointMappings)
Registers the instances ofWebEndpointMapping- Parameters:
webEndpointMappings- the instances ofWebEndpointMapping- Returns:
- the count of the registered instances of
WebEndpointMapping
-
getWebEndpointMappings
@Nonnull java.util.Collection<WebEndpointMapping> getWebEndpointMappings()
Get all registered instances ofWebEndpointMapping- Returns:
- non-null
-
-