类 SmartWebEndpointMappingFactory
- java.lang.Object
-
- io.microsphere.spring.web.metadata.SmartWebEndpointMappingFactory
-
- 所有已实现的接口:
WebEndpointMappingFactory<java.lang.Object>
public class SmartWebEndpointMappingFactory extends java.lang.Object implements WebEndpointMappingFactory<java.lang.Object>
The smartWebEndpointMappingFactory
class based on Spring'sWebEndpointMappingFactory
SPI- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
-
-
构造器概要
构造器 构造器 说明 SmartWebEndpointMappingFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.util.Optional<WebEndpointMapping<java.lang.Object>>
create(java.lang.Object endpoint)
Create the instance ofWebEndpointMapping
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 io.microsphere.spring.web.metadata.WebEndpointMappingFactory
getSourceType, supports
-
-
-
-
方法详细资料
-
create
public java.util.Optional<WebEndpointMapping<java.lang.Object>> create(java.lang.Object endpoint)
从接口复制的说明:WebEndpointMappingFactory
Create the instance ofWebEndpointMapping
- 指定者:
create
在接口中WebEndpointMappingFactory<java.lang.Object>
- 参数:
endpoint
- could be one of these :ServletRegistration
FilterRegistration
org.springframework.web.servlet.mvc.method.RequestMappingInfo
org.springframework.web.reactive.result.method.RequestMappingInfo
- 返回:
WebEndpointMapping
if present
-
-