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