@FunctionalInterface public interface HttpHandlerFactory
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.| Modifier and Type | Method and Description | 
|---|---|
| io.undertow.server.HttpHandler | getHandler(io.undertow.server.HttpHandler next)Create the  HttpHandlerinstance that should be added. |