Class AbstractWebEndpointMappingFactory<E>
java.lang.Object
io.microsphere.spring.web.metadata.AbstractWebEndpointMappingFactory<E>
- All Implemented Interfaces:
WebEndpointMappingFactory<E>
- Direct Known Subclasses:
Jackson2WebEndpointMappingFactory,RegistrationWebEndpointMappingFactory,SmartWebEndpointMappingFactory
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 ofWebEndpointMappingprotected abstract WebEndpointMapping<?>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:WebEndpointMappingFactoryCreate the instance ofWebEndpointMapping- Specified by:
createin interfaceWebEndpointMappingFactory<E>- Parameters:
endpoint- could be one of these :ServletRegistrationFilterRegistrationorg.springframework.web.servlet.mvc.method.RequestMappingInfoorg.springframework.web.reactive.result.method.RequestMappingInfo
- Returns:
WebEndpointMappingif present
-
doCreate
- Throws:
Throwable
-