Class HandlerMappingWebEndpointMappingFactory<H,M>
- java.lang.Object
-
- io.microsphere.spring.web.metadata.AbstractWebEndpointMappingFactory<io.microsphere.spring.web.metadata.HandlerMetadata<H,M>>
-
- io.microsphere.spring.webflux.metadata.HandlerMappingWebEndpointMappingFactory<H,M>
-
- Type Parameters:
H- the type of handlerM- the type of metadata
- All Implemented Interfaces:
io.microsphere.spring.web.metadata.WebEndpointMappingFactory<io.microsphere.spring.web.metadata.HandlerMetadata<H,M>>
- Direct Known Subclasses:
HandlerMetadataWebEndpointMappingFactory,RequestMappingMetadataWebEndpointMappingFactory
public abstract class HandlerMappingWebEndpointMappingFactory<H,M> extends io.microsphere.spring.web.metadata.AbstractWebEndpointMappingFactory<io.microsphere.spring.web.metadata.HandlerMetadata<H,M>>The abstract classWebEndpointMappingFactoryfor Spring WebFluxHandlerMapping- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
HandlerMapping,AbstractWebEndpointMappingFactory
-
-
Constructor Summary
Constructors Constructor Description HandlerMappingWebEndpointMappingFactory(org.springframework.web.reactive.HandlerMapping handlerMapping)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcontribute(H handler, M metadata, org.springframework.web.reactive.HandlerMapping handlerMapping, io.microsphere.spring.web.metadata.WebEndpointMapping.Builder<H> builder)Contribute theWebEndpointMapping.Builderto create an instance ofWebEndpointMappingprotected io.microsphere.spring.web.metadata.WebEndpointMapping<?>doCreate(io.microsphere.spring.web.metadata.HandlerMetadata<H,M> handlerMetadata)protected HgetHandler(io.microsphere.spring.web.metadata.HandlerMetadata<H,M> handlerMetadata)protected MgetMetadata(io.microsphere.spring.web.metadata.HandlerMetadata<H,M> handlerMetadata)protected abstract java.util.Collection<java.lang.String>getMethods(H handler, M metadata)protected abstract java.util.Collection<java.lang.String>getPatterns(H handler, M metadata)-
Methods inherited from class io.microsphere.spring.web.metadata.AbstractWebEndpointMappingFactory
create
-
-
-
-
Method Detail
-
doCreate
protected final io.microsphere.spring.web.metadata.WebEndpointMapping<?> doCreate(io.microsphere.spring.web.metadata.HandlerMetadata<H,M> handlerMetadata) throws java.lang.Throwable
-
getHandler
protected H getHandler(io.microsphere.spring.web.metadata.HandlerMetadata<H,M> handlerMetadata)
-
getMetadata
protected M getMetadata(io.microsphere.spring.web.metadata.HandlerMetadata<H,M> handlerMetadata)
-
getMethods
@Nonnull protected abstract java.util.Collection<java.lang.String> getMethods(H handler, M metadata)
-
getPatterns
@Nonnull protected abstract java.util.Collection<java.lang.String> getPatterns(H handler, M metadata)
-
-