@EnableAutoConfiguration
@Configuration
@ComponentScan(value="com.ebay.lightning.testing")
@EnableWebMvc
public class SimpleHttpServer
extends org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
Modifier and Type | Field and Description |
---|---|
static int |
serverPort |
Constructor and Description |
---|
SimpleHttpServer() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.context.embedded.ServletRegistrationBean |
dispatcherRegistration() |
org.springframework.web.servlet.DispatcherServlet |
dispatcherServlet() |
org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer |
servletContainerCustomizer() |
configureAsyncSupport, configurePathMatch, setConfigurers
beanNameHandlerMapping, defaultServletHandlerMapping, handlerExceptionResolver, httpRequestHandlerAdapter, mvcContentNegotiationManager, mvcConversionService, mvcUriComponentsContributor, mvcValidator, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMapping
public static final int serverPort
@Bean public org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer servletContainerCustomizer()
@Bean public org.springframework.boot.context.embedded.ServletRegistrationBean dispatcherRegistration()
@Bean(name="dispatcherServlet") public org.springframework.web.servlet.DispatcherServlet dispatcherServlet()