Class UndertowHttpHandlerAdapter
- java.lang.Object
- org.springframework.http.server.reactive.UndertowHttpHandlerAdapter
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class UndertowHttpHandlerAdapter extends Object implements io.undertow.server.HttpHandler
AdaptHttpHandler
to the UndertowHttpHandler
.- Since:
- 5.0
- Author:
- Marek Hawrylczak, Rossen Stoyanchev, Arjen Poutsma
Constructor Summary
Constructors Constructor Description UndertowHttpHandlerAdapter(HttpHandler httpHandler)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataBufferFactory
getDataBufferFactory()
void
handleRequest(io.undertow.server.HttpServerExchange exchange)
void
setDataBufferFactory(DataBufferFactory bufferFactory)
Constructor Detail
UndertowHttpHandlerAdapter
public UndertowHttpHandlerAdapter(HttpHandler httpHandler)
Method Detail
setDataBufferFactory
public void setDataBufferFactory(DataBufferFactory bufferFactory)
getDataBufferFactory
public DataBufferFactory getDataBufferFactory()
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange)
- Specified by:
handleRequest
in interfaceio.undertow.server.HttpHandler