public interface VirtualURIMapping
VirtualURIManager
and
VirtualUriFilter
to transform incoming URI requests.Modifier and Type | Interface and Description |
---|---|
static class |
VirtualURIMapping.MappingResult
Mapping information returned by
mapURI(String) . |
Modifier and Type | Method and Description |
---|---|
VirtualURIMapping.MappingResult |
mapURI(String uri)
Maps an incoming URI to a new target URI.
|
VirtualURIMapping.MappingResult mapURI(String uri)
VirtualURIMapping.MappingResult
describing the new
URI and the level of match. The new URI can be prefixed with "redirect:", "permanent:" or "forward:" to trigger
either a temporary redirect, a permanent redirect or a forward respectively. For redirects the URI can be
absolute or relative within the web application (the context path is added automatically). If the mapping does
not apply to the input URI this method returns null.uri
- the URI of the current request, decoded and without the context pathVirtualURIMapping.MappingResult
with the target URI and level or null if the mapping doesn't applyCopyright © 2003–2017 Magnolia International Ltd.. All rights reserved.