クラス ControllerEndpointHandlerMapping
java.lang.ObjectSE
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.handler.AbstractHandlerMapping
org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<RequestMappingInfo>
org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
org.springframework.boot.actuate.endpoint.web.servlet.ControllerEndpointHandlerMapping
- 実装されたすべてのインターフェース:
Aware
、BeanNameAware
、InitializingBean
、ApplicationContextAware
、EmbeddedValueResolverAware
、Ordered
、ServletContextAware
、MatchableHandlerMapping
、HandlerMapping
Spring MVC を介して
@ControllerEndpoint
および @RestControllerEndpoint
アノテーション付きエンドポイントを公開する HandlerMapping
。- 導入:
- 2.0.0
- 作成者:
- Phillip Webb
フィールドサマリー
クラス org.springframework.web.servlet.handler.AbstractHandlerMapping から継承されたフィールド
mappingsLogger
クラス org.springframework.context.support.ApplicationObjectSupport から継承されたフィールド
logger
インターフェース org.springframework.web.servlet.HandlerMapping から継承されたフィールド
BEST_MATCHING_HANDLER_ATTRIBUTE, BEST_MATCHING_PATTERN_ATTRIBUTE, INTROSPECT_TYPE_LEVEL_MAPPING, LOOKUP_PATH, 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, CollectionSE<ExposableControllerEndpoint> endpoints, CorsConfiguration corsConfiguration) 指定されたエンドポイントのマッピングを提供する新しいControllerEndpointHandlerMapping
インスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明protected void
extendInterceptors
(ListSE<ObjectSE> interceptors) protected boolean
hasCorsConfigurationSource
(ObjectSE handler) protected CorsConfiguration
initCorsConfiguration
(ObjectSE handler, MethodSE method, RequestMappingInfo mapping) protected void
protected void
registerHandlerMethod
(ObjectSE handler, MethodSE method, RequestMappingInfo mapping) クラス org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping から継承されたメソッド
afterPropertiesSet, createRequestMappingInfo, createRequestMappingInfo, getBuilderConfiguration, getContentNegotiationManager, getCustomMethodCondition, getCustomTypeCondition, getFileExtensions, getMappingForMethod, getPathPrefixes, isHandler, match, registerMapping, resolveEmbeddedValuesInPatterns, setContentNegotiationManager, setEmbeddedValueResolver, setPathPrefixes, setPatternParser, setUseRegisteredSuffixPatternMatch, setUseSuffixPatternMatch, setUseTrailingSlashMatch, useRegisteredSuffixPatternMatch, useSuffixPatternMatch, useTrailingSlashMatch
クラス org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping から継承されたメソッド
getDirectPaths, getHandlerInternal, getMappingComparator, getMappingPathPatterns, getMatchingMapping, handleMatch, handleNoMatch
クラス org.springframework.web.servlet.handler.AbstractHandlerMethodMapping から継承されたメソッド
createHandlerMethod, detectHandlerMethods, getCandidateBeanNames, getCorsConfiguration, getHandlerMethods, getHandlerMethodsForMappingName, getNamingStrategy, handlerMethodsInitialized, lookupHandlerMethod, processCandidateBean, setDetectHandlerMethodsInAncestorContexts, setHandlerMethodMappingNamingStrategy, unregisterMapping
クラス org.springframework.web.servlet.handler.AbstractHandlerMapping から継承されたメソッド
adaptInterceptor, detectMappedInterceptors, formatMappingName, getAdaptedInterceptors, getCorsConfigurationSource, getCorsHandlerExecutionChain, getCorsProcessor, getDefaultHandler, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getPatternParser, getUrlPathHelper, initApplicationContext, initInterceptors, initLookupPath, setAlwaysUseFullPath, setBeanName, setCorsConfigurations, setCorsConfigurationSource, setCorsProcessor, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setRemoveSemicolonContent, setUrlDecode, setUrlPathHelper, usesPathPatterns
クラス org.springframework.web.context.support.WebApplicationObjectSupport から継承されたメソッド
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
クラス org.springframework.context.support.ApplicationObjectSupport から継承されたメソッド
getApplicationContext, getMessageSourceAccessor, obtainApplicationContext, requiredContextClass, setApplicationContext
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.web.servlet.HandlerMapping から継承されたメソッド
getHandler, usesPathPatterns
インターフェース org.springframework.web.servlet.handler.MatchableHandlerMapping から継承されたメソッド
getPatternParser
コンストラクターの詳細
ControllerEndpointHandlerMapping
public ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableControllerEndpoint> endpoints, CorsConfiguration corsConfiguration) 指定されたエンドポイントのマッピングを提供する新しいControllerEndpointHandlerMapping
インスタンスを作成します。- パラメーター:
endpointMapping
- すべてのエンドポイントのベースマッピングendpoints
- Web エンドポイントcorsConfiguration
- エンドポイントまたはnull
の CORS 構成
メソッドの詳細
initHandlerMethods
protected void initHandlerMethods()- オーバーライド:
- クラス
AbstractHandlerMethodMapping<RequestMappingInfo>
のinitHandlerMethods
registerHandlerMethod
- オーバーライド:
- クラス
RequestMappingHandlerMapping
のregisterHandlerMethod
hasCorsConfigurationSource
- オーバーライド:
- クラス
AbstractHandlerMethodMapping<RequestMappingInfo>
のhasCorsConfigurationSource
initCorsConfiguration
protected CorsConfiguration initCorsConfiguration(ObjectSE handler, MethodSE method, RequestMappingInfo mapping) - オーバーライド:
- クラス
RequestMappingHandlerMapping
のinitCorsConfiguration
extendInterceptors
- オーバーライド:
- クラス
AbstractHandlerMapping
のextendInterceptors