Class Jackson2WebEndpointMappingFactory
java.lang.Object
io.microsphere.spring.web.metadata.AbstractWebEndpointMappingFactory<String>
io.microsphere.spring.web.metadata.Jackson2WebEndpointMappingFactory
- All Implemented Interfaces:
WebEndpointMappingFactory<String>
The
WebEndpointMappingFactory
class based on Jackson2 for JSON- Since:
- 1.0.0
- Author:
- Mercy
-
Field Summary
Fields inherited from class io.microsphere.spring.web.metadata.AbstractWebEndpointMappingFactory
logger
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.microsphere.spring.web.metadata.AbstractWebEndpointMappingFactory
create
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
-
Constructor Details
-
Jackson2WebEndpointMappingFactory
public Jackson2WebEndpointMappingFactory()
-
-
Method Details
-
supports
Description copied from interface:WebEndpointMappingFactory
Current factory supports the specified endpoint or not- Parameters:
endpoint
- could be one of these :ServletRegistration
FilterRegistration
org.springframework.web.servlet.mvc.method.RequestMappingInfo
org.springframework.web.reactive.result.method.RequestMappingInfo
- Returns:
true
if supports,false
otherwise
-
doCreate
- Specified by:
doCreate
in classAbstractWebEndpointMappingFactory<String>
- Throws:
Throwable
-