@Singleton public final class VirtualURIManager extends ModuleConfigurationObservingManager
virtualURIMapping
.VirtualURIMapping
,
VirtualUriFilter
Modifier and Type | Field and Description |
---|---|
static String |
FROM_URI_NODEDATANAME |
static String |
TO_URI_NODEDATANAME |
Constructor and Description |
---|
VirtualURIManager(ModuleRegistry moduleRegistry,
Node2BeanProcessor nodeToBean,
EventBus systemEventBus) |
VirtualURIManager(Node2BeanProcessor nodeToBean)
Deprecated.
|
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 |
onRegister(Content content)
Deprecated.
since 5.4.5. Use
reload(java.util.List) instead. |
protected VirtualURIMapping |
readVirtualURIMapping(javax.jcr.Node node) |
protected void |
reload(List<javax.jcr.Node> nodes) |
getObservedNodes, getObservedPaths, getSession, onClear, onRegister, onStart, registerChangeListener, reload
getDelay, getEventTypesMask, getMaxDelay, getNodeTypes, getObservedPath, getReloadMonitor, getWorkspace, instantiateEventListener, isIncludeSubNodes, setDelay, setMaxDelay, start
public static final String FROM_URI_NODEDATANAME
public static final String TO_URI_NODEDATANAME
@Inject public VirtualURIManager(ModuleRegistry moduleRegistry, Node2BeanProcessor nodeToBean, @Named(value="system") EventBus systemEventBus)
public VirtualURIManager(Node2BeanProcessor nodeToBean)
VirtualURIManager(ModuleRegistry, Node2BeanProcessor, info.magnolia.event.EventBus)
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 reload(List<javax.jcr.Node> nodes) throws javax.jcr.RepositoryException
reload
in class ModuleConfigurationObservingManager
javax.jcr.RepositoryException
protected VirtualURIMapping readVirtualURIMapping(javax.jcr.Node node)
public Collection<VirtualURIMapping> getURIMappings()
@Deprecated public static VirtualURIManager getInstance()
@Deprecated protected void onRegister(Content content)
reload(java.util.List)
instead.Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.