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 voiddispatch(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.voidsetWhiteboardManager(@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, IOExceptionResponsible for dispatching a given request to the actual applicable servlet and/or filters in the local registry.- Parameters:
req- theServletRequestto dispatch;res- theServletResponseto dispatch.- Throws:
javax.servlet.ServletException- in case of exceptions during the actual dispatching;IOException- in case of I/O problems.
-
-