类 Dispatcher
java.lang.Object
org.springframework.boot.devtools.remote.server.Dispatcher
Dispatcher used to route incoming remote server requests to a
Handler
. Similar
to DispatchServlet
in Spring MVC but separate to ensure that remote support can
be used regardless of any web framework.- 从以下版本开始:
- 1.3.0
- 作者:
- Phillip Webb
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
handle
(ServerHttpRequest request, ServerHttpResponse response) Dispatch the specified request to an appropriateHandler
.
-
构造器详细资料
-
Dispatcher
-
-
方法详细资料
-
handle
Dispatch the specified request to an appropriateHandler
.- 参数:
request
- the requestresponse
- the response- 返回:
true
if the request was dispatched- 抛出:
IOException
- in case of I/O errors
-