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>
TheWebEndpointMappingFactory
class based on Jackson2 for JSON- Since:
- 1.0.0
- Author:
- Mercy
-
-
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)
boolean
supports(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: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
protected WebEndpointMapping<java.lang.String> doCreate(java.lang.String endpoint) throws java.lang.Throwable
- Specified by:
doCreate
in classAbstractWebEndpointMappingFactory<java.lang.String>
- Throws:
java.lang.Throwable
-
-