类 ControllerEndpointHandlerMapping

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.EmbeddedValueResolverAware, org.springframework.core.Ordered, org.springframework.web.reactive.HandlerMapping

    public class ControllerEndpointHandlerMapping
    extends org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping
    HandlerMapping that exposes @ControllerEndpoint and @RestControllerEndpoint annotated endpoints over Spring WebFlux.
    从以下版本开始:
    2.0.0
    • 字段概要

      • 从类继承的字段 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
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      protected org.springframework.web.cors.CorsConfigurationinitCorsConfiguration​(Object handler, Method method, org.springframework.web.reactive.result.method.RequestMappingInfo mapping) 
      protected voidinitHandlerMethods() 
      protected voidregisterHandlerMethod​(Object handler, Method method, org.springframework.web.reactive.result.method.RequestMappingInfo mapping) 
      • 从类继承的方法 org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping

        afterPropertiesSet, createRequestMappingInfo, getContentTypeResolver, getCustomMethodCondition, getCustomTypeCondition, getMappingForMethod, getPathPrefixes, isHandler, resolveEmbeddedValuesInPatterns, setContentTypeResolver, setEmbeddedValueResolver, setPathPrefixes
      • 从类继承的方法 org.springframework.web.reactive.result.method.RequestMappingInfoHandlerMapping

        getMappingComparator, getMatchingMapping, handleMatch, handleNoMatch
      • 从类继承的方法 org.springframework.web.reactive.result.method.AbstractHandlerMethodMapping

        createHandlerMethod, detectHandlerMethods, getCorsConfiguration, getHandlerInternal, getHandlerMethods, handlerMethodsInitialized, lookupHandlerMethod, 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
    • 方法详细资料

      • initHandlerMethods

        protected void initHandlerMethods()
        覆盖:
        initHandlerMethods 在类中 org.springframework.web.reactive.result.method.AbstractHandlerMethodMapping<org.springframework.web.reactive.result.method.RequestMappingInfo>
      • registerHandlerMethod

        protected void registerHandlerMethod​(Object handler,
                                             Method method,
                                             org.springframework.web.reactive.result.method.RequestMappingInfo mapping)
        覆盖:
        registerHandlerMethod 在类中 org.springframework.web.reactive.result.method.AbstractHandlerMethodMapping<org.springframework.web.reactive.result.method.RequestMappingInfo>
      • initCorsConfiguration

        protected org.springframework.web.cors.CorsConfiguration initCorsConfiguration​(Object handler,
                                                                                       Method method,
                                                                                       org.springframework.web.reactive.result.method.RequestMappingInfo mapping)
        覆盖:
        initCorsConfiguration 在类中 org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping