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 ServerHttpRequest |
createRequest(HttpServletRequest request,
AsyncContext asyncContext) |
protected ServerHttpResponse |
createResponse(HttpServletResponse response,
AsyncContext cxt) |
destroy, getBufferSize, getDataBufferFactory, getServletConfig, getServletInfo, getServletPath, init, service, setBufferSize, setDataBufferFactory
public TomcatHttpHandlerAdapter(HttpHandler httpHandler)
protected ServerHttpRequest createRequest(HttpServletRequest request, AsyncContext asyncContext) throws java.io.IOException, java.net.URISyntaxException
createRequest
in class ServletHttpHandlerAdapter
java.io.IOException
java.net.URISyntaxException
protected ServerHttpResponse createResponse(HttpServletResponse response, AsyncContext cxt) throws java.io.IOException
createResponse
in class ServletHttpHandlerAdapter
java.io.IOException