Interface WebEndpointMappingFactory<E>
- Type Parameters:
E- the type of endpoint
- All Known Implementing Classes:
AbstractWebEndpointMappingFactory,FilterRegistrationWebEndpointMappingFactory,Jackson2WebEndpointMappingFactory,RegistrationWebEndpointMappingFactory,ServletRegistrationWebEndpointMappingFactory,SmartWebEndpointMappingFactory
public interface WebEndpointMappingFactory<E>
The factory interface for
WebEndpointMapping- Since:
- 1.0.0
- Author:
- Mercy
-
Method Summary
Modifier and TypeMethodDescriptionCreate the instance ofWebEndpointMappingGet the type of sourcedefault booleanCurrent factory supports the specified endpoint or not
-
Method Details
-
supports
Current factory supports the specified endpoint or not- Parameters:
endpoint- could be one of these :ServletRegistrationFilterRegistrationorg.springframework.web.servlet.mvc.method.RequestMappingInfoorg.springframework.web.reactive.result.method.RequestMappingInfo
- Returns:
trueif supports,falseotherwise
-
create
Create the instance ofWebEndpointMapping- Parameters:
endpoint- could be one of these :ServletRegistrationFilterRegistrationorg.springframework.web.servlet.mvc.method.RequestMappingInfoorg.springframework.web.reactive.result.method.RequestMappingInfo
- Returns:
WebEndpointMappingif present
-
getSourceType
Get the type of source- Returns:
- the type of source
-