Class 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.- Since:
- 1.3.0
- Author:
- Phillip Webb
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handle
(ServerHttpRequest request, ServerHttpResponse response) Dispatch the specified request to an appropriateHandler
.
-
Constructor Details
-
Dispatcher
-
-
Method Details
-
handle
Dispatch the specified request to an appropriateHandler
.- Parameters:
request
- the requestresponse
- the response- Returns:
true
if the request was dispatched- Throws:
IOException
- in case of I/O errors
-