@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 |
|---|---|
org.springframework.web.servlet.DispatcherServlet |
dispatcherServlet() |
ManagementErrorEndpoint |
errorEndpoint(ErrorAttributes errorAttributes) |
org.springframework.web.servlet.HandlerAdapter |
handlerAdapter(HttpMessageConverters converters) |
org.springframework.web.servlet.HandlerMapping |
handlerMapping(MvcEndpoints endpoints,
org.springframework.beans.factory.ListableBeanFactory beanFactory) |
public EndpointWebMvcChildContextConfiguration()
@Bean public org.springframework.web.servlet.DispatcherServlet dispatcherServlet()
@Bean public org.springframework.web.servlet.HandlerAdapter handlerAdapter(HttpMessageConverters converters)
@Bean public org.springframework.web.servlet.HandlerMapping handlerMapping(MvcEndpoints endpoints, org.springframework.beans.factory.ListableBeanFactory beanFactory)
@Bean public ManagementErrorEndpoint errorEndpoint(ErrorAttributes errorAttributes)
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.