public class WebFluxEndpointHandlerMapping extends AbstractWebFluxEndpointHandlerMapping implements org.springframework.beans.factory.InitializingBean
HandlerMapping that makes web endpoints available over HTTP using
Spring WebFlux.AbstractWebFluxEndpointHandlerMapping.ElasticSchedulerInvoker, AbstractWebFluxEndpointHandlerMapping.ReactiveWebOperation| Constructor and Description |
|---|
WebFluxEndpointHandlerMapping(EndpointMapping endpointMapping,
Collection<ExposableWebEndpoint> endpoints,
EndpointMediaTypes endpointMediaTypes,
org.springframework.web.cors.CorsConfiguration corsConfiguration,
EndpointLinksResolver linksResolver)
Creates a new
WebFluxEndpointHandlerMapping instance that provides mappings
for the given endpoints. |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Map<String,Link>> |
links(org.springframework.web.server.ServerWebExchange exchange) |
getEndpoints, getMappingForMethod, initCorsConfiguration, initHandlerMethods, isHandler, wrapReactiveWebOperationgetMappingComparator, 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<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, org.springframework.web.cors.CorsConfiguration corsConfiguration, EndpointLinksResolver linksResolver)
WebFluxEndpointHandlerMapping instance that provides mappings
for the given endpoints.endpointMapping - the base mapping for all endpointsendpoints - the web endpointsendpointMediaTypes - media types consumed and produced by the endpointscorsConfiguration - the CORS configuration for the endpoints or nulllinksResolver - resolver for determining links to available endpointsCopyright © 2019 Pivotal Software, Inc.. All rights reserved.