Example usage for org.springframework.web.server.adapter DefaultServerWebExchange DefaultServerWebExchange

List of usage examples for org.springframework.web.server.adapter DefaultServerWebExchange DefaultServerWebExchange

Introduction

In this page you can find the example usage for org.springframework.web.server.adapter DefaultServerWebExchange DefaultServerWebExchange.

Prototype

DefaultServerWebExchange(ServerHttpRequest request, ServerHttpResponse response,
            WebSessionManager sessionManager, ServerCodecConfigurer codecConfigurer,
            LocaleContextResolver localeContextResolver, @Nullable ApplicationContext applicationContext) 

Source Link

Usage

From source file:org.springframework.web.server.adapter.HttpWebHandlerAdapter.java

protected ServerWebExchange createExchange(ServerHttpRequest request, ServerHttpResponse response) {
    return new DefaultServerWebExchange(request, response, this.sessionManager, getCodecConfigurer(),
            getLocaleContextResolver(), this.applicationContext);
}