|
||||||||||
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
@Singleton 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()
Deprecated. since 4.5, use IoC ! |
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<VirtualURIMapping> |
getURIMappings()
|
protected void |
onClear()
The implementor should clear everthing. |
protected void |
onRegister(Content node)
Registers a node. |
Methods inherited from class info.magnolia.cms.beans.config.ObservedManager |
---|
clear, getNodeByIdentifierOrPath, 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<VirtualURIMapping> getURIMappings()
public static VirtualURIManager getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |