public class ControllerEndpointHandlerMapping extends RequestMappingHandlerMapping
@ControllerEndpoint および @RestControllerEndpoint アノテーション付きエンドポイントを公開する HandlerMapping。loggerBEST_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| コンストラクターと説明 |
|---|
ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableControllerEndpoint> endpoints, CorsConfiguration corsConfiguration) 指定されたエンドポイントのマッピングを提供する新しい ControllerEndpointHandlerMapping インスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected boolean | hasCorsConfigurationSource(ObjectSE handler) |
protected CorsConfiguration | initCorsConfiguration(ObjectSE handler, MethodSE method, RequestMappingInfo mapping) |
protected void | initHandlerMethods() |
protected void | registerHandlerMethod(ObjectSE handler, MethodSE method, RequestMappingInfo mapping) |
afterPropertiesSet, createRequestMappingInfo, getContentTypeResolver, getCustomMethodCondition, getCustomTypeCondition, getMappingForMethod, getPathPrefixes, isHandler, registerMapping, resolveEmbeddedValuesInPatterns, setContentTypeResolver, setEmbeddedValueResolver, setPathPrefixesgetHandlerInternal, getMappingComparator, getMatchingMapping, handleMatch, handleNoMatchcreateHandlerMethod, detectHandlerMethods, getCorsConfiguration, getHandlerMethods, handlerMethodsInitialized, lookupHandlerMethod, unregisterMappingformatMappingName, getCorsProcessor, getHandler, getOrder, getPathPatternParser, setBeanName, setCorsConfigurations, setCorsConfigurationSource, setCorsProcessor, setOrder, setUseCaseSensitiveMatch, setUseTrailingSlashMatchgetApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, isContextRequired, obtainApplicationContext, requiredContextClass, setApplicationContextcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableControllerEndpoint> endpoints, CorsConfiguration corsConfiguration)
ControllerEndpointHandlerMapping インスタンスを作成します。endpointMapping - すべてのエンドポイントのベースマッピング endpoints - Web エンドポイント corsConfiguration - エンドポイントまたは null の CORS 構成 protected void initHandlerMethods()
AbstractHandlerMethodMapping<RequestMappingInfo> の initHandlerMethods protected void registerHandlerMethod(ObjectSE handler, MethodSE method, RequestMappingInfo mapping)
RequestMappingHandlerMapping の registerHandlerMethod protected boolean hasCorsConfigurationSource(ObjectSE handler)
AbstractHandlerMethodMapping<RequestMappingInfo> の hasCorsConfigurationSource protected CorsConfiguration initCorsConfiguration(ObjectSE handler, MethodSE method, RequestMappingInfo mapping)
RequestMappingHandlerMapping の initCorsConfiguration