@Configuration public class EndpointWebMvcChildContextConfiguration extends Object
EndpointWebMvcAutoConfiguration
when a new
EmbeddedServletContainer
running on a different port is required.EndpointWebMvcAutoConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
EndpointWebMvcChildContextConfiguration.EndpointWebMvcChildContextSecurityConfiguration |
protected static class |
EndpointWebMvcChildContextConfiguration.ServerCustomization |
Constructor and Description |
---|
EndpointWebMvcChildContextConfiguration() |
Modifier and Type | Method and Description |
---|---|
DispatcherServlet |
dispatcherServlet() |
ManagementErrorEndpoint |
errorEndpoint(ErrorAttributes errorAttributes) |
HandlerAdapter |
handlerAdapter(HttpMessageConverters converters) |
HandlerMapping |
handlerMapping(MvcEndpoints endpoints,
ListableBeanFactory beanFactory) |
public EndpointWebMvcChildContextConfiguration()
@Bean public DispatcherServlet dispatcherServlet()
@Bean public HandlerAdapter handlerAdapter(HttpMessageConverters converters)
@Bean public HandlerMapping handlerMapping(MvcEndpoints endpoints, ListableBeanFactory beanFactory)
@Bean public ManagementErrorEndpoint errorEndpoint(ErrorAttributes errorAttributes)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.