クラス 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
- 戻り値:
- リンクハンドラー