Class AbstractWebEndpointMappingFactory<E>
java.lang.Object
io.microsphere.spring.web.metadata.AbstractWebEndpointMappingFactory<E>
- All Implemented Interfaces:
WebEndpointMappingFactory<E>
- Direct Known Subclasses:
Jackson2WebEndpointMappingFactory
,RegistrationWebEndpointMappingFactory
public abstract class AbstractWebEndpointMappingFactory<E>
extends Object
implements WebEndpointMappingFactory<E>
Abstract class for
WebEndpointMappingFactory
- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Optional<WebEndpointMapping<E>>
Create the instance ofWebEndpointMapping
protected abstract WebEndpointMapping<?>
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
-
Field Details
-
logger
protected final io.microsphere.logging.Logger logger
-
-
Constructor Details
-
AbstractWebEndpointMappingFactory
public AbstractWebEndpointMappingFactory()
-
-
Method Details
-
create
Description copied from interface:WebEndpointMappingFactory
Create the instance ofWebEndpointMapping
- Specified by:
create
in interfaceWebEndpointMappingFactory<E>
- Parameters:
endpoint
- could be one of these :ServletRegistration
FilterRegistration
org.springframework.web.servlet.mvc.method.RequestMappingInfo
org.springframework.web.reactive.result.method.RequestMappingInfo
- Returns:
WebEndpointMapping
if present
-
doCreate
- Throws:
Throwable
-