public class ControllerEndpointHandlerMapping extends RequestMappingHandlerMapping
@ControllerEndpoint
および @RestControllerEndpoint
アノテーション付きエンドポイントを公開する HandlerMapping
。logger
BEST_MATCHING_HANDLER_ATTRIBUTE, BEST_MATCHING_PATTERN_ATTRIBUTE, MATRIX_VARIABLES_ATTRIBUTE, PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE, URI_TEMPLATE_VARIABLES_ATTRIBUTE
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターと説明 |
---|
ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableControllerEndpoint> endpoints, CorsConfiguration corsConfiguration) 指定されたエンドポイントのマッピングを提供する新しい ControllerEndpointHandlerMapping インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
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, resolveEmbeddedValuesInPatterns, setContentTypeResolver, setEmbeddedValueResolver, setPathPrefixes
getMappingComparator, getMatchingMapping, handleMatch, handleNoMatch
createHandlerMethod, detectHandlerMethods, getCorsConfiguration, getHandlerInternal, getHandlerMethods, handlerMethodsInitialized, lookupHandlerMethod, registerMapping, unregisterMapping
formatMappingName, getCorsProcessor, getHandler, getOrder, getPathPatternParser, setBeanName, setCorsConfigurations, setCorsConfigurationSource, setCorsProcessor, setOrder, setUseCaseSensitiveMatch, setUseTrailingSlashMatch
getApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, isContextRequired, obtainApplicationContext, requiredContextClass, setApplicationContext
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public 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)
AbstractHandlerMethodMapping<RequestMappingInfo>
の registerHandlerMethod
protected CorsConfiguration initCorsConfiguration(ObjectSE handler, MethodSE method, RequestMappingInfo mapping)
RequestMappingHandlerMapping
の initCorsConfiguration
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.