@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(ErrorController controller) |
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(ErrorController controller)
Copyright © 2014. All rights reserved.