Class SmartWebEndpointMappingFactory
- java.lang.Object
-
- io.microsphere.spring.web.metadata.SmartWebEndpointMappingFactory
-
- All Implemented Interfaces:
WebEndpointMappingFactory<java.lang.Object>
public class SmartWebEndpointMappingFactory extends java.lang.Object implements WebEndpointMappingFactory<java.lang.Object>
The smartWebEndpointMappingFactoryclass based on Spring'sWebEndpointMappingFactorySPI- Since:
- 1.0.0
- Author:
- Mercy
-
-
Constructor Summary
Constructors Constructor Description SmartWebEndpointMappingFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<WebEndpointMapping<java.lang.Object>>create(java.lang.Object endpoint)Create the instance ofWebEndpointMapping-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.microsphere.spring.web.metadata.WebEndpointMappingFactory
getSourceType, supports
-
-
-
-
Method Detail
-
create
public java.util.Optional<WebEndpointMapping<java.lang.Object>> create(java.lang.Object endpoint)
Description copied from interface:WebEndpointMappingFactoryCreate the instance ofWebEndpointMapping- Specified by:
createin interfaceWebEndpointMappingFactory<java.lang.Object>- Parameters:
endpoint- could be one of these :ServletRegistrationFilterRegistrationorg.springframework.web.servlet.mvc.method.RequestMappingInfoorg.springframework.web.reactive.result.method.RequestMappingInfo
- Returns:
WebEndpointMappingif present
-
-