@WebServlet(asyncSupported=true) public class JettyHttpHandlerAdapter extends ServletHttpHandlerAdapter
ServletHttpHandlerAdapter
extension that uses Jetty APIs for writing
to the response with ByteBuffer
.Constructor and Description |
---|
JettyHttpHandlerAdapter(HttpHandler httpHandler) |
Modifier and Type | Method and Description |
---|---|
protected ServerHttpResponse |
createResponse(HttpServletResponse response,
AsyncContext context) |
createRequest, destroy, getBufferSize, getDataBufferFactory, getServletConfig, getServletInfo, getServletPath, init, service, setBufferSize, setDataBufferFactory
public JettyHttpHandlerAdapter(HttpHandler httpHandler)
protected ServerHttpResponse createResponse(HttpServletResponse response, AsyncContext context) throws java.io.IOException
createResponse
in class ServletHttpHandlerAdapter
java.io.IOException