|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.commons.servlets.StaticsLegacyDispatcher
public class StaticsLegacyDispatcher
This class use to be the StaticsServlet.class. It has been refactored to implement the dispatcher interface. Please note that this statics dispatcher is legacy and should not be used to deliver static resources anymore. See the deprecated comments for more information.
This servlet extracts a handlerName from the first sub-path of the request's relative path. StaticsModule provides a handler class based on that name. Handler classes are configured in jpublish-xml's config for the StaticsModule. Handlers must implement the PathHandler interface. See FilePathHandler for an example of a PathHandler which resolves files in a filesystem. A handler is called by this servlet with the remaining path as argument. The handlers know how to get to the resource themselves.
| Constructor Summary | |
|---|---|
StaticsLegacyDispatcher()
Deprecated. Default constructor. |
|
| Method Summary | |
|---|---|
void |
execute(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String uriPrefix)
Deprecated. |
void |
setInputBufferSize(int inputBufferSize)
Deprecated. |
void |
setOutputBufferSize(int outputBufferSize)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticsLegacyDispatcher()
| Method Detail |
|---|
public void setInputBufferSize(int inputBufferSize)
public void setOutputBufferSize(int outputBufferSize)
public void execute(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String uriPrefix)
execute in interface DispatcherDispatcher.execute(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||