Interface HttpHandlerFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory used by 
UndertowServletWebServer to add HttpHandlers. Instances returned from this factory may optionally implement the
 following interfaces:
 - Closeable- if they wish to be closed just before server stops.
- GracefulShutdownHandler- if they wish to manage graceful shutdown.
- Since:
- 2.3.0
- Author:
- Phillip Webb
- 
Method SummaryModifier and TypeMethodDescriptionio.undertow.server.HttpHandlergetHandler(io.undertow.server.HttpHandler next) Create theHttpHandlerinstance that should be added.
- 
Method Details- 
getHandlerio.undertow.server.HttpHandler getHandler(io.undertow.server.HttpHandler next) Create theHttpHandlerinstance that should be added.- Parameters:
- next- the next handler in the chain
- Returns:
- the new HTTP handler instance
 
 
-