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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandle(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:
trueif the request was dispatched- Throws:
IOException- in case of I/O errors
-