public class WebFluxEndpointHandlerMapping extends AbstractWebFluxEndpointHandlerMapping implements InitializingBean
HandlerMapping that makes web endpoints available over HTTP using
Spring WebFlux.AbstractWebFluxEndpointHandlerMapping.ElasticSchedulerInvoker, AbstractWebFluxEndpointHandlerMapping.LinksHandler, AbstractWebFluxEndpointHandlerMapping.ReactiveWebOperationmappingsLoggerloggerBEST_MATCHING_HANDLER_ATTRIBUTE, BEST_MATCHING_PATTERN_ATTRIBUTE, MATRIX_VARIABLES_ATTRIBUTE, PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE, URI_TEMPLATE_VARIABLES_ATTRIBUTEHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
WebFluxEndpointHandlerMapping(EndpointMapping endpointMapping,
Collection<ExposableWebEndpoint> endpoints,
EndpointMediaTypes endpointMediaTypes,
CorsConfiguration corsConfiguration,
EndpointLinksResolver linksResolver,
boolean shouldRegisterLinksMapping)
Creates a new
WebFluxEndpointHandlerMapping instance that provides mappings
for the given endpoints. |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractWebFluxEndpointHandlerMapping.LinksHandler |
getLinksHandler()
Return the Handler providing actuator links at the root endpoint.
|
createHandlerMethod, getEndpoints, getMappingForMethod, hasCorsConfigurationSource, initCorsConfiguration, initHandlerMethods, isHandler, registerReadMapping, wrapReactiveWebOperationgetDirectPaths, getHandlerInternal, getMappingComparator, getMatchingMapping, handleMatch, handleNoMatchafterPropertiesSet, detectHandlerMethods, getCorsConfiguration, getHandlerMethods, handlerMethodsInitialized, lookupHandlerMethod, registerHandlerMethod, registerMapping, unregisterMappingformatMappingName, getCorsProcessor, getHandler, getOrder, getPathPatternParser, setBeanName, setCorsConfigurations, setCorsConfigurationSource, setCorsProcessor, setOrder, setUseCaseSensitiveMatch, setUseTrailingSlashMatchgetApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, isContextRequired, obtainApplicationContext, requiredContextClass, setApplicationContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterPropertiesSetpublic WebFluxEndpointHandlerMapping(EndpointMapping endpointMapping, Collection<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, CorsConfiguration corsConfiguration, EndpointLinksResolver linksResolver, boolean shouldRegisterLinksMapping)
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 endpointsshouldRegisterLinksMapping - whether the links endpoint should be registeredprotected AbstractWebFluxEndpointHandlerMapping.LinksHandler getLinksHandler()
AbstractWebFluxEndpointHandlerMappinggetLinksHandler in class AbstractWebFluxEndpointHandlerMapping