类 WebFluxEndpointHandlerMapping
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.reactive.handler.AbstractHandlerMapping
org.springframework.web.reactive.result.method.AbstractHandlerMethodMapping<RequestMappingInfo>
org.springframework.web.reactive.result.method.RequestMappingInfoHandlerMapping
org.springframework.boot.actuate.endpoint.web.reactive.AbstractWebFluxEndpointHandlerMapping
org.springframework.boot.actuate.endpoint.web.reactive.WebFluxEndpointHandlerMapping
- 所有已实现的接口:
Aware,BeanNameAware,InitializingBean,ApplicationContextAware,Ordered,HandlerMapping
@ImportRuntimeHints(org.springframework.boot.actuate.endpoint.web.reactive.WebFluxEndpointHandlerMapping.WebFluxEndpointHandlerMappingRuntimeHints.class)
public class WebFluxEndpointHandlerMapping
extends AbstractWebFluxEndpointHandlerMapping
implements InitializingBean
A custom
HandlerMapping that makes web endpoints available over HTTP using
Spring WebFlux.- 从以下版本开始:
- 2.0.0
- 作者:
- Andy Wilkinson, Phillip Webb, Brian Clozel
-
嵌套类概要
从类继承的嵌套类/接口 org.springframework.boot.actuate.endpoint.web.reactive.AbstractWebFluxEndpointHandlerMapping
AbstractWebFluxEndpointHandlerMapping.ElasticSchedulerInvoker, AbstractWebFluxEndpointHandlerMapping.ExceptionCapturingInvoker, AbstractWebFluxEndpointHandlerMapping.LinksHandler, AbstractWebFluxEndpointHandlerMapping.ReactiveWebOperation -
字段概要
从类继承的字段 org.springframework.web.reactive.handler.AbstractHandlerMapping
mappingsLogger从类继承的字段 org.springframework.context.support.ApplicationObjectSupport
logger从接口继承的字段 org.springframework.web.reactive.HandlerMapping
BEST_MATCHING_HANDLER_ATTRIBUTE, BEST_MATCHING_PATTERN_ATTRIBUTE, MATRIX_VARIABLES_ATTRIBUTE, PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE, URI_TEMPLATE_VARIABLES_ATTRIBUTE从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器构造器说明WebFluxEndpointHandlerMapping(EndpointMapping endpointMapping, Collection<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, CorsConfiguration corsConfiguration, EndpointLinksResolver linksResolver, boolean shouldRegisterLinksMapping) Creates a newWebFluxEndpointHandlerMappinginstance that provides mappings for the given endpoints. -
方法概要
修饰符和类型方法说明Return the Handler providing actuator links at the root endpoint.从类继承的方法 org.springframework.boot.actuate.endpoint.web.reactive.AbstractWebFluxEndpointHandlerMapping
createHandlerMethod, getEndpoints, getMappingForMethod, hasCorsConfigurationSource, initCorsConfiguration, initHandlerMethods, isHandler, registerReadMapping, wrapReactiveWebOperation从类继承的方法 org.springframework.web.reactive.result.method.RequestMappingInfoHandlerMapping
getDirectPaths, getHandlerInternal, getMappingComparator, getMatchingMapping, handleMatch, handleNoMatch从类继承的方法 org.springframework.web.reactive.result.method.AbstractHandlerMethodMapping
afterPropertiesSet, detectHandlerMethods, getCorsConfiguration, getHandlerMethods, handlerMethodsInitialized, lookupHandlerMethod, registerHandlerMethod, registerMapping, unregisterMapping从类继承的方法 org.springframework.web.reactive.handler.AbstractHandlerMapping
formatMappingName, getCorsProcessor, getHandler, getOrder, getPathPatternParser, setBeanName, setCorsConfigurations, setCorsConfigurationSource, setCorsProcessor, setOrder, setUseCaseSensitiveMatch, setUseTrailingSlashMatch从类继承的方法 org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, isContextRequired, obtainApplicationContext, requiredContextClass, setApplicationContext从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.beans.factory.InitializingBean
afterPropertiesSet
-
构造器详细资料
-
WebFluxEndpointHandlerMapping
public WebFluxEndpointHandlerMapping(EndpointMapping endpointMapping, Collection<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, CorsConfiguration corsConfiguration, EndpointLinksResolver linksResolver, boolean shouldRegisterLinksMapping) Creates a newWebFluxEndpointHandlerMappinginstance 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 ornulllinksResolver- resolver for determining links to available endpointsshouldRegisterLinksMapping- whether the links endpoint should be registered
-
-
方法详细资料
-
getLinksHandler
Return the Handler providing actuator links at the root endpoint.- 指定者:
getLinksHandler在类中AbstractWebFluxEndpointHandlerMapping- 返回:
- the links handler
-