Class Jackson2WebEndpointMappingFactory
- java.lang.Object
-
- io.microsphere.spring.web.metadata.AbstractWebEndpointMappingFactory<java.lang.String>
-
- io.microsphere.spring.web.metadata.Jackson2WebEndpointMappingFactory
-
- All Implemented Interfaces:
WebEndpointMappingFactory<java.lang.String>
public class Jackson2WebEndpointMappingFactory extends AbstractWebEndpointMappingFactory<java.lang.String>
TheWebEndpointMappingFactoryclass 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 Constructor Description Jackson2WebEndpointMappingFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WebEndpointMapping<java.lang.String>doCreate(java.lang.String endpoint)booleansupports(java.lang.String endpoint)Current factory supports the specified endpoint or not-
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
-
-
-
-
Method Detail
-
supports
public boolean supports(java.lang.String endpoint)
Description copied from interface:WebEndpointMappingFactoryCurrent factory supports the specified endpoint or not- Parameters:
endpoint- could be one of these :ServletRegistrationFilterRegistrationorg.springframework.web.servlet.mvc.method.RequestMappingInfoorg.springframework.web.reactive.result.method.RequestMappingInfo
- Returns:
trueif supports,falseotherwise
-
doCreate
protected WebEndpointMapping<java.lang.String> doCreate(java.lang.String endpoint) throws java.lang.Throwable
- Specified by:
doCreatein classAbstractWebEndpointMappingFactory<java.lang.String>- Throws:
java.lang.Throwable
-
-