public class JettyHttpHandlerAdapter extends ServletHttpHandlerAdapter
ServletHttpHandlerAdapter
extension that uses Jetty APIs for writing
to the response with ByteBuffer
.Modifier and Type | Class and Description |
---|---|
private static class |
JettyHttpHandlerAdapter.JettyServerHttpResponse |
logger
Constructor and Description |
---|
JettyHttpHandlerAdapter(HttpHandler httpHandler) |
JettyHttpHandlerAdapter(java.util.Map<java.lang.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(java.util.Map<java.lang.String,HttpHandler> handlerMap)
protected ServerHttpResponse createResponse(HttpServletResponse response, AsyncContext context) throws java.io.IOException
createResponse
in class ServletHttpHandlerAdapter
java.io.IOException