类 AbstractWebEndpointMappingFactory<E>
- java.lang.Object
-
- io.microsphere.spring.web.metadata.AbstractWebEndpointMappingFactory<E>
-
- 所有已实现的接口:
WebEndpointMappingFactory<E>
public abstract class AbstractWebEndpointMappingFactory<E> extends java.lang.Object implements WebEndpointMappingFactory<E>
Abstract class forWebEndpointMappingFactory
- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
- 另请参阅:
WebEndpointMappingFactory
-
-
构造器概要
构造器 构造器 说明 AbstractWebEndpointMappingFactory()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 java.util.Optional<WebEndpointMapping<E>>
create(E endpoint)
Create the instance ofWebEndpointMapping
protected abstract WebEndpointMapping<?>
doCreate(E endpoint)
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 io.microsphere.spring.web.metadata.WebEndpointMappingFactory
getSourceType, supports
-
-
-
-
方法详细资料
-
create
public final java.util.Optional<WebEndpointMapping<E>> create(E endpoint)
从接口复制的说明:WebEndpointMappingFactory
Create the instance ofWebEndpointMapping
- 指定者:
create
在接口中WebEndpointMappingFactory<E>
- 参数:
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
-
doCreate
@Nullable protected abstract WebEndpointMapping<?> doCreate(E endpoint) throws java.lang.Throwable
- 抛出:
java.lang.Throwable
-
-