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