クラス WebMvcEndpointHandlerMapping
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.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping
org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping
- 実装されているすべてのインターフェース:
Aware、BeanNameAware、InitializingBean、ApplicationContextAware、Ordered、ServletContextAware、HandlerMapping
@ImportRuntimeHints(org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping.WebMvcEndpointHandlerMappingRuntimeHints.class)
public class WebMvcEndpointHandlerMapping
extends AbstractWebMvcEndpointHandlerMapping
Spring MVC を使用して HTTP 経由で Web エンドポイントを使用できるようにするカスタム
HandlerMapping。- 導入:
- 2.0.0
- 作成者:
- Andy Wilkinson, Phillip Webb
ネストされたクラスの要約
クラス org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping から継承されたネストクラス / インターフェース
AbstractWebMvcEndpointHandlerMapping.LinksHandler, AbstractWebMvcEndpointHandlerMapping.ServletWebOperationフィールドのサマリー
クラス 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コンストラクターの概要
コンストラクターコンストラクター説明WebMvcEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, CorsConfiguration corsConfiguration, EndpointLinksResolver linksResolver, boolean shouldRegisterLinksMapping) 指定されたエンドポイントのマッピングを提供する新しいWebMvcEndpointHandlerMappingインスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明ルートエンドポイントでアクチュエーターリンクを提供するハンドラーを返します。クラス org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping から継承されたメソッド
afterPropertiesSet, createHandlerMethod, extendInterceptors, getEndpoints, getMappingForMethod, hasCorsConfigurationSource, initCorsConfiguration, initHandlerMethods, isHandler, registerMapping, wrapServletWebOperationクラス org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping から継承されたメソッド
getDirectPaths, getHandlerInternal, getMappingComparator, getMappingPathPatterns, getMatchingMapping, handleMatch, handleNoMatchクラス org.springframework.web.servlet.handler.AbstractHandlerMethodMapping から継承されたメソッド
detectHandlerMethods, getCandidateBeanNames, getCorsConfiguration, getHandlerMethods, getHandlerMethodsForMappingName, getNamingStrategy, handlerMethodsInitialized, lookupHandlerMethod, processCandidateBean, registerHandlerMethod, registerMapping, setDetectHandlerMethodsInAncestorContexts, setHandlerMethodMappingNamingStrategy, setPatternParser, 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
コンストラクターの詳細
WebMvcEndpointHandlerMapping
public WebMvcEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, CorsConfiguration corsConfiguration, EndpointLinksResolver linksResolver, boolean shouldRegisterLinksMapping) 指定されたエンドポイントのマッピングを提供する新しいWebMvcEndpointHandlerMappingインスタンスを作成します。- パラメーター:
endpointMapping- すべてのエンドポイントのベースマッピングendpoints- Web エンドポイントendpointMediaTypes- エンドポイントによって消費および生成されるメディア型corsConfiguration- エンドポイントまたはnullの CORS 構成linksResolver- 使用可能なエンドポイントへのリンクを決定するためのリゾルバーshouldRegisterLinksMapping- リンクのエンドポイントを登録する必要があるかどうか
メソッドの詳細
getLinksHandler
クラスからコピーされた説明:AbstractWebMvcEndpointHandlerMappingルートエンドポイントでアクチュエーターリンクを提供するハンドラーを返します。- 次で指定:
- クラス
AbstractWebMvcEndpointHandlerMappingのgetLinksHandler - 戻り値:
- リンクハンドラー