public class WebMvcEndpointHandlerMapping extends AbstractWebMvcEndpointHandlerMapping
HandlerMapping that makes web endpoints available over HTTP using
Spring MVC.| Constructor and Description |
|---|
WebMvcEndpointHandlerMapping(EndpointMapping endpointMapping,
Collection<EndpointInfo<WebEndpointOperation>> collection)
Creates a new
WebEndpointHandlerMapping that provides mappings for the
operations of the given webEndpoints. |
WebMvcEndpointHandlerMapping(EndpointMapping endpointMapping,
Collection<EndpointInfo<WebEndpointOperation>> webEndpoints,
org.springframework.web.cors.CorsConfiguration corsConfiguration)
Creates a new
WebEndpointHandlerMapping that provides mappings for the
operations of the given webEndpoints. |
| Modifier and Type | Method and Description |
|---|---|
protected Method |
getLinks() |
protected void |
registerMappingForOperation(WebEndpointOperation operation) |
createRequestMappingInfo, extendInterceptors, getEndpointMapping, getEndpoints, getMappingForMethod, initCorsConfiguration, initHandlerMethods, isHandlergetMappingComparator, getMappingPathPatterns, getMatchingMapping, handleMatch, handleNoMatchafterPropertiesSet, createHandlerMethod, detectHandlerMethods, getCorsConfiguration, getHandlerInternal, getHandlerMethods, getHandlerMethodsForMappingName, getNamingStrategy, handlerMethodsInitialized, lookupHandlerMethod, registerHandlerMethod, registerMapping, setDetectHandlerMethodsInAncestorContexts, setHandlerMethodMappingNamingStrategy, unregisterMappingadaptInterceptor, detectMappedInterceptors, getAdaptedInterceptors, getCorsConfigurations, getCorsHandlerExecutionChain, getCorsProcessor, getDefaultHandler, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getUrlPathHelper, initApplicationContext, initInterceptors, setAlwaysUseFullPath, setCorsConfigurations, setCorsProcessor, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setRemoveSemicolonContent, setUrlDecode, setUrlPathHelpergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextgetApplicationContext, getMessageSourceAccessor, obtainApplicationContext, requiredContextClass, setApplicationContextpublic WebMvcEndpointHandlerMapping(EndpointMapping endpointMapping, Collection<EndpointInfo<WebEndpointOperation>> collection)
WebEndpointHandlerMapping that provides mappings for the
operations of the given webEndpoints.endpointMapping - the base mapping for all endpointscollection - the web endpoints operationspublic WebMvcEndpointHandlerMapping(EndpointMapping endpointMapping, Collection<EndpointInfo<WebEndpointOperation>> webEndpoints, org.springframework.web.cors.CorsConfiguration corsConfiguration)
WebEndpointHandlerMapping that provides mappings for the
operations of the given webEndpoints.endpointMapping - the base mapping for all endpointswebEndpoints - the web endpointscorsConfiguration - the CORS configuration for the endpointsprotected void registerMappingForOperation(WebEndpointOperation operation)
registerMappingForOperation in class AbstractWebMvcEndpointHandlerMappingprotected Method getLinks()
getLinks in class AbstractWebMvcEndpointHandlerMappingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.