public class JettyHttpHandlerAdapter extends ServletHttpHandlerAdapter
ServletHttpHandlerAdapter
extension that uses Jetty APIs for writing
to the response with ByteBuffer
.AbstractReactiveWebInitializer
Modifier and Type | Class and Description |
---|---|
private static class |
JettyHttpHandlerAdapter.JettyServerHttpRequest |
private static class |
JettyHttpHandlerAdapter.JettyServerHttpResponse |
Constructor and Description |
---|
JettyHttpHandlerAdapter(HttpHandler httpHandler) |
Modifier and Type | Method and Description |
---|---|
protected ServletServerHttpRequest |
createRequest(HttpServletRequest request,
AsyncContext context) |
protected ServletServerHttpResponse |
createResponse(HttpServletResponse response,
AsyncContext context,
ServletServerHttpRequest request) |
destroy, getBufferSize, getDataBufferFactory, getServletConfig, getServletInfo, getServletPath, init, service, setBufferSize, setDataBufferFactory
public JettyHttpHandlerAdapter(HttpHandler httpHandler)
protected ServletServerHttpRequest createRequest(HttpServletRequest request, AsyncContext context) throws java.io.IOException, java.net.URISyntaxException
createRequest
in class ServletHttpHandlerAdapter
java.io.IOException
java.net.URISyntaxException
protected ServletServerHttpResponse createResponse(HttpServletResponse response, AsyncContext context, ServletServerHttpRequest request) throws java.io.IOException
createResponse
in class ServletHttpHandlerAdapter
java.io.IOException