@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 |
|---|---|
protected static class |
EndpointWebMvcChildContextConfiguration.EndpointHandlerMappingConfiguration
Configuration to add
HandlerMapping for MvcEndpoints. |
static class |
EndpointWebMvcChildContextConfiguration.EndpointWebMvcChildContextSecurityConfiguration |
protected static class |
EndpointWebMvcChildContextConfiguration.SecureEndpointHandlerMappingConfiguration
Extension of
EndpointWebMvcChildContextConfiguration.EndpointHandlerMappingConfiguration that also configures the
security filter. |
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) |
public EndpointWebMvcChildContextConfiguration()
@Bean public DispatcherServlet dispatcherServlet()
@Bean public HandlerAdapter handlerAdapter(HttpMessageConverters converters)
@Bean public ManagementErrorEndpoint errorEndpoint(ErrorAttributes errorAttributes)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.