@Configuration public class EndpointWebMvcChildContextConfiguration extends Object implements EmbeddedServletContainerCustomizer
EndpointWebMvcAutoConfiguration
when a new
EmbeddedServletContainer
running on a different port is required.EndpointWebMvcAutoConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
EndpointWebMvcChildContextConfiguration.EndpointWebMvcChildContextSecurityConfiguration |
Constructor and Description |
---|
EndpointWebMvcChildContextConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
customize(ConfigurableEmbeddedServletContainerFactory factory)
Customize the specified
ConfigurableEmbeddedServletContainerFactory . |
DispatcherServlet |
dispatcherServlet() |
HandlerAdapter |
handlerAdapter() |
HandlerMapping |
handlerMapping() |
public EndpointWebMvcChildContextConfiguration()
public void customize(ConfigurableEmbeddedServletContainerFactory factory)
EmbeddedServletContainerCustomizer
ConfigurableEmbeddedServletContainerFactory
.customize
in interface EmbeddedServletContainerCustomizer
factory
- the factory to customize@Bean public DispatcherServlet dispatcherServlet()
@Bean public HandlerMapping handlerMapping()
@Bean public HandlerAdapter handlerAdapter()
Copyright © 2013. All rights reserved.