Interface WebEndpointMappingRegistry
- All Known Implementing Classes:
FilteringWebEndpointMappingRegistry
,SimpleWebEndpointMappingRegistry
public interface WebEndpointMappingRegistry
WebEndpointMapping
Registry- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet 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
(Iterable<WebEndpointMapping> webEndpointMappings) Registers the instances ofWebEndpointMapping
-
Method Details
-
register
Registers an instance ofWebEndpointMapping
- Parameters:
webEndpointMapping
- an instance ofWebEndpointMapping
- Returns:
true
if success,false
otherwise
-
register
Registers the instances ofWebEndpointMapping
- Parameters:
webEndpointMapping
- an instance ofWebEndpointMapping
others
- others ofWebEndpointMapping
- Returns:
true
if success,false
otherwise
-
register
Registers the instances ofWebEndpointMapping
- Parameters:
webEndpointMappings
- the instances ofWebEndpointMapping
- Returns:
- the count of the registered instances of
WebEndpointMapping
-
getWebEndpointMappings
Get all registered instances ofWebEndpointMapping
- Returns:
- non-null
-