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, isHandler
getMappingComparator, getMappingPathPatterns, getMatchingMapping, handleMatch, handleNoMatch
afterPropertiesSet, createHandlerMethod, detectHandlerMethods, getCorsConfiguration, getHandlerInternal, getHandlerMethods, getHandlerMethodsForMappingName, getNamingStrategy, handlerMethodsInitialized, lookupHandlerMethod, registerHandlerMethod, registerMapping, setDetectHandlerMethodsInAncestorContexts, setHandlerMethodMappingNamingStrategy, unregisterMapping
adaptInterceptor, detectMappedInterceptors, getAdaptedInterceptors, getCorsConfigurations, getCorsHandlerExecutionChain, getCorsProcessor, getDefaultHandler, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getUrlPathHelper, initApplicationContext, initInterceptors, setAlwaysUseFullPath, setCorsConfigurations, setCorsProcessor, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setRemoveSemicolonContent, setUrlDecode, setUrlPathHelper
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
getApplicationContext, getMessageSourceAccessor, obtainApplicationContext, requiredContextClass, setApplicationContext
public 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 AbstractWebMvcEndpointHandlerMapping
protected Method getLinks()
getLinks
in class AbstractWebMvcEndpointHandlerMapping
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.