Example usage for org.springframework.http.server.reactive ServletServerHttpRequest ServletServerHttpRequest

List of usage examples for org.springframework.http.server.reactive ServletServerHttpRequest ServletServerHttpRequest

Introduction

In this page you can find the example usage for org.springframework.http.server.reactive ServletServerHttpRequest ServletServerHttpRequest.

Prototype

public ServletServerHttpRequest(HttpServletRequest request, AsyncContext asyncContext, String servletPath,
            DataBufferFactory bufferFactory, int bufferSize) throws IOException, URISyntaxException 

Source Link

Usage

From source file:org.springframework.http.server.reactive.ServletHttpHandlerAdapter.java

protected ServerHttpRequest createRequest(HttpServletRequest request, AsyncContext context) throws IOException {
    Assert.notNull(this.servletPath, "Servlet path is not initialized");
    return new ServletServerHttpRequest(request, context, this.servletPath, getDataBufferFactory(),
            getBufferSize());//from   ww  w  .  jav  a2 s. c  om
}