类 ControllerEndpointHandlerMapping
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.web.reactive.result.method.annotation.RequestMappingHandlerMapping
org.springframework.boot.actuate.endpoint.web.reactive.ControllerEndpointHandlerMapping
- 所有已实现的接口:
Aware
,BeanNameAware
,InitializingBean
,ApplicationContextAware
,EmbeddedValueResolverAware
,Ordered
,HandlerMapping
@Deprecated(since="3.3.5",
forRemoval=true)
public class ControllerEndpointHandlerMapping
extends RequestMappingHandlerMapping
已过时, 待删除: 此 API 元素将从以后的版本中删除。
HandlerMapping
that exposes
@ControllerEndpoint
and
@RestControllerEndpoint
annotated endpoints over Spring WebFlux.- 从以下版本开始:
- 2.0.0
- 作者:
- Phillip Webb
-
字段概要
从类继承的字段 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
-
构造器概要
构造器构造器说明ControllerEndpointHandlerMapping
(EndpointMapping endpointMapping, Collection<ExposableControllerEndpoint> endpoints, CorsConfiguration corsConfiguration) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Create a newControllerEndpointHandlerMapping
instance providing mappings for the specified endpoints.ControllerEndpointHandlerMapping
(EndpointMapping endpointMapping, Collection<ExposableControllerEndpoint> endpoints, CorsConfiguration corsConfiguration, EndpointAccessResolver endpointAccessResolver) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Create a newControllerEndpointHandlerMapping
instance providing mappings for the specified endpoints. -
方法概要
修饰符和类型方法说明protected boolean
hasCorsConfigurationSource
(Object handler) 已过时, 待删除: 此 API 元素将从以后的版本中删除。protected CorsConfiguration
initCorsConfiguration
(Object handler, Method method, RequestMappingInfo mapping) 已过时, 待删除: 此 API 元素将从以后的版本中删除。protected void
已过时, 待删除: 此 API 元素将从以后的版本中删除。protected void
registerHandlerMethod
(Object handler, Method method, RequestMappingInfo mapping) 已过时, 待删除: 此 API 元素将从以后的版本中删除。从类继承的方法 org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping
afterPropertiesSet, createRequestMappingInfo, createRequestMappingInfo, getContentTypeResolver, getCustomMethodCondition, getCustomTypeCondition, getMappingForMethod, getPathPrefixes, isHandler, registerMapping, resolveEmbeddedValuesInPatterns, setContentTypeResolver, setEmbeddedValueResolver, setPathPrefixes
从类继承的方法 org.springframework.web.reactive.result.method.RequestMappingInfoHandlerMapping
getDirectPaths, getHandlerInternal, getMappingComparator, getMatchingMapping, handleMatch, handleNoMatch
从类继承的方法 org.springframework.web.reactive.result.method.AbstractHandlerMethodMapping
createHandlerMethod, detectHandlerMethods, getCorsConfiguration, getHandlerMethods, handlerMethodsInitialized, lookupHandlerMethod, 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
-
构造器详细资料
-
ControllerEndpointHandlerMapping
public ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, Collection<ExposableControllerEndpoint> endpoints, CorsConfiguration corsConfiguration) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Create a newControllerEndpointHandlerMapping
instance providing mappings for the specified endpoints.- 参数:
endpointMapping
- the base mapping for all endpointsendpoints
- the web endpointscorsConfiguration
- the CORS configuration for the endpoints ornull
-
ControllerEndpointHandlerMapping
public ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, Collection<ExposableControllerEndpoint> endpoints, CorsConfiguration corsConfiguration, EndpointAccessResolver endpointAccessResolver) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Create a newControllerEndpointHandlerMapping
instance providing mappings for the specified endpoints.- 参数:
endpointMapping
- the base mapping for all endpointsendpoints
- the web endpointscorsConfiguration
- the CORS configuration for the endpoints ornull
endpointAccessResolver
- resolver for endpoint access
-
-
方法详细资料
-
initHandlerMethods
protected void initHandlerMethods()已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
registerHandlerMethod
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
hasCorsConfigurationSource
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
initCorsConfiguration
protected CorsConfiguration initCorsConfiguration(Object handler, Method method, RequestMappingInfo mapping) 已过时, 待删除: 此 API 元素将从以后的版本中删除。
-
@Endpoint
and@WebEndpoint
support