public abstract class AbstractWebMvcEndpointHandlerMapping
extends org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping
implements org.springframework.beans.factory.InitializingBean, org.springframework.web.servlet.handler.MatchableHandlerMapping| 修飾子と型 | クラスと説明 |
|---|---|
protected static interface | AbstractWebMvcEndpointHandlerMapping.LinksHandler ルートエンドポイントでアクチュエーターリンクを提供するハンドラー。 |
protected static interface | AbstractWebMvcEndpointHandlerMapping.ServletWebOperationSpring MVC で処理できるサーブレット Web 操作。 |
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| コンストラクターと説明 |
|---|
AbstractWebMvcEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, boolean shouldRegisterLinksMapping) 指定された webEndpoints の操作のマッピングを提供する新しい WebEndpointHandlerMapping を作成します。 |
AbstractWebMvcEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, org.springframework.web.cors.CorsConfiguration corsConfiguration, boolean shouldRegisterLinksMapping) 指定されたエンドポイントの操作のマッピングを提供する新しい AbstractWebMvcEndpointHandlerMapping を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected org.springframework.web.method.HandlerMethod | createHandlerMethod(ObjectSE handler, MethodSE method) |
protected void | extendInterceptors(ListSE<ObjectSE> interceptors) |
CollectionSE<ExposableWebEndpoint> | getEndpoints() マップされている Web エンドポイントを返します。 |
protected abstract AbstractWebMvcEndpointHandlerMapping.LinksHandler | getLinksHandler() ルートエンドポイントでアクチュエーターリンクを提供するハンドラーを返します。 |
protected org.springframework.web.servlet.mvc.method.RequestMappingInfo | getMappingForMethod(MethodSE method, ClassSE<?> handlerType) |
protected boolean | hasCorsConfigurationSource(ObjectSE handler) |
protected org.springframework.web.cors.CorsConfiguration | initCorsConfiguration(ObjectSE handler, MethodSE method, org.springframework.web.servlet.mvc.method.RequestMappingInfo mapping) |
protected void | initHandlerMethods() |
protected boolean | isHandler(ClassSE<?> beanType) |
org.springframework.web.servlet.handler.RequestMatchResult | match(HttpServletRequestEE request, StringSE pattern) |
protected AbstractWebMvcEndpointHandlerMapping.ServletWebOperation | wrapServletWebOperation(ExposableWebEndpoint endpoint, WebOperation operation, AbstractWebMvcEndpointHandlerMapping.ServletWebOperation servletWebOperation) サブクラスが AbstractWebMvcEndpointHandlerMapping.ServletWebOperation を呼び出す前にラップできるようにするフックポイント。 |
getMappingComparator, getMappingPathPatterns, getMatchingMapping, handleMatch, handleNoMatchafterPropertiesSet, detectHandlerMethods, getCandidateBeanNames, getCorsConfiguration, getHandlerInternal, getHandlerMethods, getHandlerMethodsForMappingName, getNamingStrategy, handlerMethodsInitialized, lookupHandlerMethod, processCandidateBean, registerHandlerMethod, registerMapping, setDetectHandlerMethodsInAncestorContexts, setHandlerMethodMappingNamingStrategy, unregisterMappingadaptInterceptor, detectMappedInterceptors, formatMappingName, getAdaptedInterceptors, getCorsHandlerExecutionChain, getCorsProcessor, getDefaultHandler, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getUrlPathHelper, initApplicationContext, initInterceptors, setAlwaysUseFullPath, setBeanName, setCorsConfigurations, setCorsConfigurationSource, setCorsProcessor, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setRemoveSemicolonContent, setUrlDecode, setUrlPathHelpergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextgetApplicationContext, getMessageSourceAccessor, obtainApplicationContext, requiredContextClass, setApplicationContextcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic AbstractWebMvcEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, boolean shouldRegisterLinksMapping)
webEndpoints の操作のマッピングを提供する新しい WebEndpointHandlerMapping を作成します。endpointMapping - すべてのエンドポイントのベースマッピング endpoints - Web エンドポイント endpointMediaTypes - エンドポイントによって消費および生成されるメディア型 shouldRegisterLinksMapping - リンクのエンドポイントを登録する必要があるかどうか public AbstractWebMvcEndpointHandlerMapping(EndpointMapping endpointMapping, CollectionSE<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, org.springframework.web.cors.CorsConfiguration corsConfiguration, boolean shouldRegisterLinksMapping)
AbstractWebMvcEndpointHandlerMapping を作成します。endpointMapping - すべてのエンドポイントのベースマッピング endpoints - Web エンドポイント endpointMediaTypes - エンドポイントによって消費および生成されるメディア型 corsConfiguration - エンドポイントまたは null の CORS 構成 shouldRegisterLinksMapping - リンクのエンドポイントを登録する必要があるかどうか protected void initHandlerMethods()
org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<org.springframework.web.servlet.mvc.method.RequestMappingInfo> の initHandlerMethods protected org.springframework.web.method.HandlerMethod createHandlerMethod(ObjectSE handler, MethodSE method)
org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<org.springframework.web.servlet.mvc.method.RequestMappingInfo> の createHandlerMethod public org.springframework.web.servlet.handler.RequestMatchResult match(HttpServletRequestEE request, StringSE pattern)
org.springframework.web.servlet.handler.MatchableHandlerMapping 内の match protected AbstractWebMvcEndpointHandlerMapping.ServletWebOperation wrapServletWebOperation(ExposableWebEndpoint endpoint, WebOperation operation, AbstractWebMvcEndpointHandlerMapping.ServletWebOperation servletWebOperation)
AbstractWebMvcEndpointHandlerMapping.ServletWebOperation をラップできるようにするフックポイント。セキュリティなどの追加機能を追加できます。endpoint - ソースエンドポイント operation - ソース操作 servletWebOperation - ラップするサーブレット Web 操作 protected boolean hasCorsConfigurationSource(ObjectSE handler)
org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<org.springframework.web.servlet.mvc.method.RequestMappingInfo> の hasCorsConfigurationSource protected org.springframework.web.cors.CorsConfiguration initCorsConfiguration(ObjectSE handler, MethodSE method, org.springframework.web.servlet.mvc.method.RequestMappingInfo mapping)
org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<org.springframework.web.servlet.mvc.method.RequestMappingInfo> の initCorsConfiguration protected boolean isHandler(ClassSE<?> beanType)
org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<org.springframework.web.servlet.mvc.method.RequestMappingInfo> の isHandler protected org.springframework.web.servlet.mvc.method.RequestMappingInfo getMappingForMethod(MethodSE method, ClassSE<?> handlerType)
org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<org.springframework.web.servlet.mvc.method.RequestMappingInfo> の getMappingForMethod protected void extendInterceptors(ListSE<ObjectSE> interceptors)
org.springframework.web.servlet.handler.AbstractHandlerMapping の extendInterceptors protected abstract AbstractWebMvcEndpointHandlerMapping.LinksHandler getLinksHandler()
public CollectionSE<ExposableWebEndpoint> getEndpoints()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.