public class TomcatHttpHandlerAdapter extends ServletHttpHandlerAdapter
ServletHttpHandlerAdapter extension that uses Tomcat APIs for reading
from the request and writing to the response with ByteBuffer.AbstractReactiveWebInitializer| Constructor and Description |
|---|
TomcatHttpHandlerAdapter(HttpHandler httpHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.http.server.reactive.ServletServerHttpRequest |
createRequest(HttpServletRequest request,
AsyncContext asyncContext) |
protected org.springframework.http.server.reactive.ServletServerHttpResponse |
createResponse(HttpServletResponse response,
AsyncContext asyncContext,
org.springframework.http.server.reactive.ServletServerHttpRequest request) |
destroy, getBufferSize, getDataBufferFactory, getServletConfig, getServletInfo, getServletPath, init, service, setBufferSize, setDataBufferFactorypublic TomcatHttpHandlerAdapter(HttpHandler httpHandler)
protected org.springframework.http.server.reactive.ServletServerHttpRequest createRequest(HttpServletRequest request, AsyncContext asyncContext) throws IOException, URISyntaxException
createRequest in class ServletHttpHandlerAdapterIOExceptionURISyntaxExceptionprotected org.springframework.http.server.reactive.ServletServerHttpResponse createResponse(HttpServletResponse response, AsyncContext asyncContext, org.springframework.http.server.reactive.ServletServerHttpRequest request) throws IOException
createResponse in class ServletHttpHandlerAdapterIOException