Class Dispatcher
- java.lang.Object
-
- org.apache.felix.http.base.internal.dispatch.Dispatcher
-
public final class Dispatcher extends Object
-
-
Constructor Summary
Constructors Constructor Description Dispatcher(HandlerRegistry handlerRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
Dispatcher
public Dispatcher(HandlerRegistry handlerRegistry)
-
-
Method Detail
-
setWhiteboardManager
public void setWhiteboardManager(@Nullable @Nullable WhiteboardManager service)
Set or unset the whiteboard manager.- Parameters:
service
- The whiteboard manager ornull
-
dispatch
public void dispatch(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
Responsible for dispatching a given request to the actual applicable servlet and/or filters in the local registry.- Parameters:
req
- theServletRequest
to dispatch;res
- theServletResponse
to dispatch.- Throws:
javax.servlet.ServletException
- in case of exceptions during the actual dispatching;IOException
- in case of I/O problems.
-
-