Example usage for org.springframework.web.reactive DispatcherHandler DispatcherHandler

List of usage examples for org.springframework.web.reactive DispatcherHandler DispatcherHandler

Introduction

In this page you can find the example usage for org.springframework.web.reactive DispatcherHandler DispatcherHandler.

Prototype

public DispatcherHandler(ApplicationContext applicationContext) 

Source Link

Document

Create a new DispatcherHandler for the given ApplicationContext .

Usage

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();
}