public class WebMvcEndpointHandlerMapping extends AbstractWebMvcEndpointHandlerMapping
HandlerMapping that makes web endpoints available over HTTP using
Spring MVC.AbstractWebMvcEndpointHandlerMapping.ServletWebOperation| Constructor and Description |
|---|
WebMvcEndpointHandlerMapping(EndpointMapping endpointMapping,
Collection<ExposableWebEndpoint> endpoints,
EndpointMediaTypes endpointMediaTypes,
org.springframework.web.cors.CorsConfiguration corsConfiguration,
EndpointLinksResolver linksResolver)
Creates a new
WebMvcEndpointHandlerMapping instance that provides mappings
for the given endpoints. |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Map<String,Link>> |
links(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
extendInterceptors, getEndpoints, getMappingForMethod, initCorsConfiguration, initHandlerMethods, isHandler, wrapServletWebOperationgetMappingComparator, getMappingPathPatterns, getMatchingMapping, handleMatch, handleNoMatchafterPropertiesSet, createHandlerMethod, detectHandlerMethods, getCorsConfiguration, getHandlerInternal, getHandlerMethods, getHandlerMethodsForMappingName, getNamingStrategy, handlerMethodsInitialized, lookupHandlerMethod, registerHandlerMethod, registerMapping, setDetectHandlerMethodsInAncestorContexts, setHandlerMethodMappingNamingStrategy, unregisterMappingadaptInterceptor, detectMappedInterceptors, formatMappingName, getAdaptedInterceptors, getCorsConfigurations, getCorsHandlerExecutionChain, getCorsProcessor, getDefaultHandler, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getUrlPathHelper, initApplicationContext, initInterceptors, setAlwaysUseFullPath, setBeanName, setCorsConfigurations, setCorsProcessor, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setRemoveSemicolonContent, setUrlDecode, setUrlPathHelpergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextgetApplicationContext, getMessageSourceAccessor, obtainApplicationContext, requiredContextClass, setApplicationContextpublic WebMvcEndpointHandlerMapping(EndpointMapping endpointMapping, Collection<ExposableWebEndpoint> endpoints, EndpointMediaTypes endpointMediaTypes, org.springframework.web.cors.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 endpointsCopyright © 2018 Pivotal Software, Inc.. All rights reserved.