Interface WebEndpointMappingRegistry
-
- All Known Implementing Classes:
FilteringWebEndpointMappingRegistry
,SimpleWebEndpointMappingRegistry
public interface WebEndpointMappingRegistry
WebEndpointMapping
Registry- 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 ofWebEndpointMapping
boolean
register(WebEndpointMapping webEndpointMapping)
Registers an instance ofWebEndpointMapping
default int
register(WebEndpointMapping webEndpointMapping, WebEndpointMapping... others)
Registers the instances ofWebEndpointMapping
default int
register(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:
true
if success,false
otherwise
-
register
default int register(WebEndpointMapping webEndpointMapping, WebEndpointMapping... others)
Registers the instances ofWebEndpointMapping
- Parameters:
webEndpointMapping
- an instance ofWebEndpointMapping
others
- others ofWebEndpointMapping
- Returns:
true
if success,false
otherwise
-
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
-
-