List of usage examples for org.springframework.web.reactive DispatcherHandler DispatcherHandler
public DispatcherHandler(ApplicationContext applicationContext)
From source file:org.springframework.cloud.gateway.test.sse.SseIntegrationTests.java
private HttpHandler createHttpHandler() { this.wac = new AnnotationConfigApplicationContext(); this.wac.register(TestConfiguration.class); this.wac.refresh(); return WebHttpHandlerBuilder.webHandler(new DispatcherHandler(this.wac)).build(); }