public final class Dispatcher extends Object
| Constructor and Description |
|---|
Dispatcher(HandlerRegistry handlerRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Responsible for dispatching a given request to the actual applicable servlet and/or filters in the local registry.
|
void |
setWhiteboardManager(@Nullable WhiteboardManager service)
Set or unset the whiteboard manager.
|
public Dispatcher(HandlerRegistry handlerRegistry)
public void setWhiteboardManager(@Nullable
@Nullable WhiteboardManager service)
service - The whiteboard manager or nullpublic void dispatch(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
req - the ServletRequest to dispatch;res - the ServletResponse to dispatch.javax.servlet.ServletException - in case of exceptions during the actual dispatching;IOException - in case of I/O problems.Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.