|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.beans.config.ObservedManager info.magnolia.cms.beans.config.VirtualURIManager
public final class VirtualURIManager
Store for all virtual URI to template/page mapping.
Field Summary | |
---|---|
static String |
FROM_URI_NODEDATANAME
|
static String |
TO_URI_NODEDATANAME
|
Fields inherited from class info.magnolia.cms.beans.config.ObservedManager |
---|
registeredUUIDs |
Constructor Summary | |
---|---|
VirtualURIManager()
Instantiated by the system. |
Method Summary | |
---|---|
static VirtualURIManager |
getInstance()
|
String |
getURIMapping(String uri)
checks for the requested URI mapping in Server config : Servlet Specification 2.3 Section 10 "Mapping Requests to Servlets". |
String |
getURIMapping(String uri,
String queryString)
checks for the requested URI mapping in Server config : Servlet Specification 2.3 Section 10 "Mapping Requests to Servlets". |
Collection |
getURIMappings()
|
protected void |
onClear()
The implementor should clear everything. |
protected void |
onRegister(Content node)
Registers a node. |
Methods inherited from class info.magnolia.cms.beans.config.ObservedManager |
---|
clear, register, reload, reload |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FROM_URI_NODEDATANAME
public static final String TO_URI_NODEDATANAME
Constructor Detail |
---|
public VirtualURIManager()
Method Detail |
---|
public String getURIMapping(String uri)
uri
- the URI of the current request, decoded and without the context path
public String getURIMapping(String uri, String queryString)
uri
- the URI of the current request, decoded and without the context pathqueryString
- the Query String of the current request
protected void onRegister(Content node)
ObservedManager
onRegister
in class ObservedManager
protected void onClear()
ObservedManager
onClear
in class ObservedManager
public Collection getURIMappings()
public static VirtualURIManager getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |