|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.dispatcher.mapper.GlobalMapperRegistry
public class GlobalMapperRegistry
Description:
Allows to register so called mappers. Here you can create urls which are valid for all users and will be dispatched to the given mapper.
If you need urls that are only accessible for one user, use MapperRegistry.java
Initial Date: 10.06.2005
| Method Summary | |
|---|---|
void |
deregister(Mapper mapper)
remove a registered mapper if it is no longer needed. |
void |
execute(javax.servlet.http.HttpServletRequest hreq,
javax.servlet.http.HttpServletResponse hres,
java.lang.String pathInfo)
|
static GlobalMapperRegistry |
getInstance()
|
java.lang.String |
register(java.lang.Class globalNameClass,
Mapper mapper)
Register a named global mapper. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static GlobalMapperRegistry getInstance()
public java.lang.String register(java.lang.Class globalNameClass,
Mapper mapper)
globalNameClass - class for the name of the mapper. the name of the mapper is the name of the class (including the package)mapper -
public void execute(javax.servlet.http.HttpServletRequest hreq,
javax.servlet.http.HttpServletResponse hres,
java.lang.String pathInfo)
execute in interface Dispatcherhreq - hres - public void deregister(Mapper mapper)
mapper -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||