public class UndertowHttpHandlerAdapter extends HttpHandlerAdapterSupport
HttpHandler
to the Undertow io.undertow.server.HttpHandler
.Modifier and Type | Class and Description |
---|---|
private class |
UndertowHttpHandlerAdapter.HandlerResultSubscriber |
Modifier and Type | Field and Description |
---|---|
private DataBufferFactory |
bufferFactory |
logger
Constructor and Description |
---|
UndertowHttpHandlerAdapter(HttpHandler httpHandler) |
UndertowHttpHandlerAdapter(java.util.Map<java.lang.String,HttpHandler> handlerMap) |
Modifier and Type | Method and Description |
---|---|
DataBufferFactory |
getDataBufferFactory() |
void |
handleRequest(HttpServerExchange exchange) |
void |
setDataBufferFactory(DataBufferFactory bufferFactory) |
getHttpHandler
private DataBufferFactory bufferFactory
public UndertowHttpHandlerAdapter(HttpHandler httpHandler)
public UndertowHttpHandlerAdapter(java.util.Map<java.lang.String,HttpHandler> handlerMap)
public void setDataBufferFactory(DataBufferFactory bufferFactory)
public DataBufferFactory getDataBufferFactory()
public void handleRequest(HttpServerExchange exchange) throws java.lang.Exception
java.lang.Exception