クラス 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
@DeprecatedSE(since="3.3.5",
forRemoval=true)
public class ControllerEndpointHandlerMapping
extends RequestMappingHandlerMapping
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
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) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。指定されたエンドポイントのマッピングを提供する新しいControllerEndpointHandlerMappingインスタンスを作成します。ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableControllerEndpoint> endpoints, CorsConfiguration corsConfiguration, EndpointAccessResolver endpointAccessResolver) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。指定されたエンドポイントのマッピングを提供する新しいControllerEndpointHandlerMappingインスタンスを作成します。方法の概要
修飾子と型メソッド説明protected voidextendInterceptors(ListSE<ObjectSE> interceptors) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。protected booleanhasCorsConfigurationSource(ObjectSE handler) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。protected CorsConfigurationinitCorsConfiguration(ObjectSE handler, MethodSE method, RequestMappingInfo mapping) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。protected void非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。protected voidregisterHandlerMethod(ObjectSE handler, MethodSE method, RequestMappingInfo mapping) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。クラス 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) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。指定されたエンドポイントのマッピングを提供する新しいControllerEndpointHandlerMappingインスタンスを作成します。- パラメーター:
endpointMapping- すべてのエンドポイントのベースマッピングendpoints- Web エンドポイントcorsConfiguration- エンドポイントまたはnullの CORS 構成
ControllerEndpointHandlerMapping
public ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableControllerEndpoint> endpoints, CorsConfiguration corsConfiguration, EndpointAccessResolver endpointAccessResolver) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。指定されたエンドポイントのマッピングを提供する新しいControllerEndpointHandlerMappingインスタンスを作成します。- パラメーター:
endpointMapping- すべてのエンドポイントのベースマッピングendpoints- Web エンドポイントcorsConfiguration- エンドポイントまたはnullの CORS 構成endpointAccessResolver- エンドポイントアクセスのリゾルバー
方法の詳細
initHandlerMethods
protected void initHandlerMethods()非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。- オーバーライド:
- クラス
AbstractHandlerMethodMapping<RequestMappingInfo>のinitHandlerMethods
registerHandlerMethod
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。- オーバーライド:
- クラス
RequestMappingHandlerMappingのregisterHandlerMethod
hasCorsConfigurationSource
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。- オーバーライド:
- クラス
AbstractHandlerMethodMapping<RequestMappingInfo>のhasCorsConfigurationSource
initCorsConfiguration
protected CorsConfiguration initCorsConfiguration(ObjectSE handler, MethodSE method, RequestMappingInfo mapping) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。- オーバーライド:
- クラス
RequestMappingHandlerMappingのinitCorsConfiguration
extendInterceptors
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。- オーバーライド:
- クラス
AbstractHandlerMappingのextendInterceptors
@Endpointと@WebEndpointのサポートを推奨