クラス 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.webmvc.actuate.endpoint.web.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。- 導入:
- 4.0.0
- 作成者:
- Phillip Webb
フィールドのサマリー
クラス AbstractHandlerMapping から継承されたフィールド
mappingsLoggerクラス ApplicationObjectSupport から継承されたフィールド
loggerインターフェース HandlerMapping から継承されたフィールド
API_VERSION_ATTRIBUTE, 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インターフェース Ordered から継承されたフィールド
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEコンストラクターの概要
コンストラクターコンストラクター説明ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableControllerEndpoint> endpoints, @Nullable CorsConfiguration corsConfiguration) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。指定されたエンドポイントのマッピングを提供する新しいControllerEndpointHandlerMappingインスタンスを作成します。ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableControllerEndpoint> endpoints, @Nullable CorsConfiguration corsConfiguration, EndpointAccessResolver endpointAccessResolver) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。指定されたエンドポイントのマッピングを提供する新しいControllerEndpointHandlerMappingインスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明protected booleanhasCorsConfigurationSource(ObjectSE handler) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。protected @Nullable CorsConfigurationinitCorsConfiguration(ObjectSE handler, MethodSE method, RequestMappingInfo mapping) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。protected void非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。protected voidregisterHandlerMethod(ObjectSE handler, MethodSE method, RequestMappingInfo mapping) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。クラス RequestMappingHandlerMapping から継承されたメソッド
afterPropertiesSet, createRequestMappingInfo, createRequestMappingInfo, getBuilderConfiguration, getContentNegotiationManager, getCustomMethodCondition, getCustomTypeCondition, getMappingForMethod, getPathPrefixes, isHandler, match, registerMapping, resolveEmbeddedValuesInPatterns, setContentNegotiationManager, setEmbeddedValueResolver, setPathPrefixesクラス RequestMappingInfoHandlerMapping から継承されたメソッド
getDirectPaths, getHandlerInternal, getMappingComparator, getMatchingMapping, handleMatch, handleNoMatchクラス AbstractHandlerMethodMapping から継承されたメソッド
createHandlerMethod, detectHandlerMethods, getCandidateBeanNames, getCorsConfiguration, getHandlerMethods, getHandlerMethodsForMappingName, getNamingStrategy, handlerMethodsInitialized, lookupHandlerMethod, processCandidateBean, setDetectHandlerMethodsInAncestorContexts, setHandlerMethodMappingNamingStrategy, setPatternParser, unregisterMappingクラス AbstractHandlerMapping から継承されたメソッド
adaptInterceptor, detectMappedInterceptors, extendInterceptors, formatMappingName, getAdaptedInterceptors, getApiVersionStrategy, getCorsConfigurationSource, getCorsHandlerExecutionChain, getCorsProcessor, getDefaultHandler, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getPatternParser, getUrlPathHelper, initApplicationContext, initInterceptors, initLookupPath, setAlwaysUseFullPath, setApiVersionStrategy, setBeanName, setCorsConfigurations, setCorsConfigurationSource, setCorsProcessor, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setRemoveSemicolonContent, setUrlDecode, setUrlPathHelper, usesPathPatternsクラス WebApplicationObjectSupport から継承されたメソッド
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextクラス ApplicationObjectSupport から継承されたメソッド
getApplicationContext, getMessageSourceAccessor, obtainApplicationContext, requiredContextClass, setApplicationContextクラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース HandlerMapping から継承されたメソッド
getHandler, usesPathPatternsインターフェース MatchableHandlerMapping から継承されたメソッド
getPatternParser
コンストラクターの詳細
ControllerEndpointHandlerMapping
public ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableControllerEndpoint> endpoints, @Nullable CorsConfiguration corsConfiguration) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。指定されたエンドポイントのマッピングを提供する新しいControllerEndpointHandlerMappingインスタンスを作成します。- パラメーター:
endpointMapping- すべてのエンドポイントのベースマッピングendpoints- Web エンドポイントcorsConfiguration- エンドポイントまたはnullの CORS 構成
ControllerEndpointHandlerMapping
public ControllerEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableControllerEndpoint> endpoints, @Nullable 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 @Nullable CorsConfiguration initCorsConfiguration(ObjectSE handler, MethodSE method, RequestMappingInfo mapping) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。- オーバーライド:
- クラス
RequestMappingHandlerMappingのinitCorsConfiguration
@Endpointと@WebEndpointのサポートを推奨