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<WebOperation>> collection,
EndpointMediaTypes endpointMediaTypes)
Creates a new
WebEndpointHandlerMapping that provides mappings for the
operations of the given webEndpoints. |
WebFluxEndpointHandlerMapping(EndpointMapping endpointMapping,
Collection<EndpointInfo<WebOperation>> 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(WebOperation operation) |
createRequestMappingInfo, getEndpoints, getMappingForMethod, initCorsConfiguration, initHandlerMethods, isHandlergetMappingComparator, getMatchingMapping, handleMatch, handleNoMatchafterPropertiesSet, createHandlerMethod, detectHandlerMethods, getCorsConfiguration, getHandlerInternal, getHandlerMethods, handlerMethodsInitialized, lookupHandlerMethod, registerHandlerMethod, registerMapping, unregisterMappinggetCorsProcessor, getHandler, getOrder, getPathPatternParser, setCorsConfigurations, setCorsProcessor, setOrder, setUseCaseSensitiveMatch, setUseTrailingSlashMatchgetApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, isContextRequired, obtainApplicationContext, requiredContextClass, setApplicationContextpublic WebFluxEndpointHandlerMapping(EndpointMapping endpointMapping, Collection<EndpointInfo<WebOperation>> 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<WebOperation>> 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 AbstractWebFluxEndpointHandlerMappingprotected void registerMappingForOperation(WebOperation operation)
registerMappingForOperation in class AbstractWebFluxEndpointHandlerMappingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.