@Singleton public final class VirtualURIManager extends ObservedManager
Modifier and Type | Field and Description |
---|---|
static String |
FROM_URI_NODEDATANAME |
static String |
TO_URI_NODEDATANAME |
registeredUUIDs
Constructor and Description |
---|
VirtualURIManager(Node2BeanProcessor nodeToBean)
Instantiated by the system.
|
Modifier and Type | Method and Description |
---|---|
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 everything.
|
protected void |
onRegister(Content node)
Registers a node.
|
clear, getNodeByIdentifierOrPath, register, reload, reload
public static final String FROM_URI_NODEDATANAME
public static final String TO_URI_NODEDATANAME
@Inject public VirtualURIManager(Node2BeanProcessor nodeToBean)
public String getURIMapping(String uri)
uri
- the URI of the current request, decoded and without the context pathpublic 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 requestprotected void onRegister(Content node)
ObservedManager
onRegister
in class ObservedManager
protected void onClear()
ObservedManager
onClear
in class ObservedManager
public Collection<VirtualURIMapping> getURIMappings()
@Deprecated public static VirtualURIManager getInstance()
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.