public class WebFluxEndpointHandlerMapping extends AbstractWebFluxEndpointHandlerMapping implements org.springframework.beans.factory.InitializingBean
HandlerMapping
that makes web endpoints available over HTTP using
Spring WebFlux.AbstractWebFluxEndpointHandlerMapping.ElasticSchedulerOperationInvoker
Constructor and Description |
---|
WebFluxEndpointHandlerMapping(EndpointMapping endpointMapping,
Collection<EndpointInfo<WebEndpointOperation>> collection,
EndpointMediaTypes endpointMediaTypes)
Creates a new
WebEndpointHandlerMapping that provides mappings for the
operations of the given webEndpoints . |
WebFluxEndpointHandlerMapping(EndpointMapping endpointMapping,
Collection<EndpointInfo<WebEndpointOperation>> webEndpoints,
EndpointMediaTypes endpointMediaTypes,
org.springframework.web.cors.CorsConfiguration corsConfiguration)
Creates a new
WebEndpointHandlerMapping that provides mappings for the
operations of the given webEndpoints . |
Modifier and Type | Method and Description |
---|---|
protected Method |
getLinks() |
protected void |
registerMappingForOperation(WebEndpointOperation operation) |
createRequestMappingInfo, getEndpoints, getMappingForMethod, initCorsConfiguration, initHandlerMethods, isHandler
getMappingComparator, getMatchingMapping, handleMatch, handleNoMatch
afterPropertiesSet, createHandlerMethod, detectHandlerMethods, getCorsConfiguration, getHandlerInternal, getHandlerMethods, handlerMethodsInitialized, lookupHandlerMethod, registerHandlerMethod, registerMapping, unregisterMapping
getCorsProcessor, getHandler, getOrder, getPathPatternParser, setCorsConfigurations, setCorsProcessor, setOrder, setUseCaseSensitiveMatch, setUseTrailingSlashMatch
getApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, isContextRequired, obtainApplicationContext, requiredContextClass, setApplicationContext
public WebFluxEndpointHandlerMapping(EndpointMapping endpointMapping, Collection<EndpointInfo<WebEndpointOperation>> collection, EndpointMediaTypes endpointMediaTypes)
WebEndpointHandlerMapping
that provides mappings for the
operations of the given webEndpoints
.endpointMapping
- the base mapping for all endpointscollection
- the web endpointsendpointMediaTypes
- media types consumed and produced by the endpointspublic WebFluxEndpointHandlerMapping(EndpointMapping endpointMapping, Collection<EndpointInfo<WebEndpointOperation>> webEndpoints, EndpointMediaTypes endpointMediaTypes, org.springframework.web.cors.CorsConfiguration corsConfiguration)
WebEndpointHandlerMapping
that provides mappings for the
operations of the given webEndpoints
.endpointMapping
- the base mapping for all endpointswebEndpoints
- the web endpointsendpointMediaTypes
- media types consumed and produced by the endpointscorsConfiguration
- the CORS configuration for the endpointsprotected Method getLinks()
getLinks
in class AbstractWebFluxEndpointHandlerMapping
protected void registerMappingForOperation(WebEndpointOperation operation)
registerMappingForOperation
in class AbstractWebFluxEndpointHandlerMapping
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.