接口 HttpHandlerFactory
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
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.
- 从以下版本开始:
- 2.3.0
- 作者:
- Phillip Webb
-
方法概要
修饰符和类型方法说明io.undertow.server.HttpHandler
getHandler
(io.undertow.server.HttpHandler next) Create theHttpHandler
instance that should be added.
-
方法详细资料
-
getHandler
io.undertow.server.HttpHandler getHandler(io.undertow.server.HttpHandler next) Create theHttpHandler
instance that should be added.- 参数:
next
- the next handler in the chain- 返回:
- the new HTTP handler instance
-