public class WebMvcEndpointHandlerMapping extends AbstractWebMvcEndpointHandlerMapping
HandlerMapping that makes web endpoints available over HTTP using
Spring MVC.| Constructor and Description |
|---|
WebMvcEndpointHandlerMapping(EndpointMapping endpointMapping,
Collection<EndpointInfo<WebOperation>> collection,
EndpointMediaTypes endpointMediaTypes)
Creates a new
WebEndpointHandlerMapping that provides mappings for the
operations of the given webEndpoints. |
WebMvcEndpointHandlerMapping(EndpointMapping endpointMapping,
Collection<EndpointInfo<WebOperation>> webEndpoints,
EndpointMediaTypes endpointMediaTypes,
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(WebOperation 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<WebOperation>> collection, EndpointMediaTypes endpointMediaTypes)
WebEndpointHandlerMapping that provides mappings for the
operations of the given webEndpoints.endpointMapping - the base mapping for all endpointscollection - the web endpoints operationsendpointMediaTypes - media types consumed and produced by the endpointspublic WebMvcEndpointHandlerMapping(EndpointMapping endpointMapping, Collection<EndpointInfo<WebOperation>> webEndpoints, EndpointMediaTypes endpointMediaTypes, 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 endpointsendpointMediaTypes - media types consumed and produced by the endpointscorsConfiguration - the CORS configuration for the endpointsprotected void registerMappingForOperation(WebOperation operation)
registerMappingForOperation in class AbstractWebMvcEndpointHandlerMappingprotected Method getLinks()
getLinks in class AbstractWebMvcEndpointHandlerMappingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.