public class WebMvcEndpointHandlerMapping extends AbstractWebMvcEndpointHandlerMapping
HandlerMapping that makes web endpoints available over HTTP using
Spring MVC.AbstractWebMvcEndpointHandlerMapping.LinksHandler, AbstractWebMvcEndpointHandlerMapping.ServletWebOperationloggerBEST_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_ATTRIBUTEHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
WebMvcEndpointHandlerMapping(EndpointMapping endpointMapping,
Collection<ExposableWebEndpoint> endpoints,
EndpointMediaTypes endpointMediaTypes,
CorsConfiguration corsConfiguration,
EndpointLinksResolver linksResolver)
Creates a new
WebMvcEndpointHandlerMapping instance that provides mappings
for the given endpoints. |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractWebMvcEndpointHandlerMapping.LinksHandler |
getLinksHandler()
Return the Handler providing actuator links at the root endpoint.
|
createHandlerMethod, extendInterceptors, getEndpoints, getMappingForMethod, hasCorsConfigurationSource, initCorsConfiguration, initHandlerMethods, isHandler, match, wrapServletWebOperationgetMappingComparator, 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, setApplicationContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterPropertiesSetgetHandlerpublic WebMvcEndpointHandlerMapping(EndpointMapping endpointMapping, Collection<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, CorsConfiguration corsConfiguration, EndpointLinksResolver linksResolver)
WebMvcEndpointHandlerMapping instance that provides mappings
for the given endpoints.endpointMapping - the base mapping for all endpointsendpoints - the web endpointsendpointMediaTypes - media types consumed and produced by the endpointscorsConfiguration - the CORS configuration for the endpoints or nulllinksResolver - resolver for determining links to available endpointsprotected AbstractWebMvcEndpointHandlerMapping.LinksHandler getLinksHandler()
AbstractWebMvcEndpointHandlerMappinggetLinksHandler in class AbstractWebMvcEndpointHandlerMappingCopyright © 2019 Pivotal Software, Inc.. All rights reserved.