@StableMinor(version="12.4", sinceVersion="5.0") public interface IURLResolver
The methods of this interface are always called inside a transactional context.
lumis.portal.url
Modifier and Type | Method and Description |
---|---|
String |
resolveFriendlyPath(WebResource resource,
String currentPath)
Resolves the friendly path for a web resource.
|
String resolveFriendlyPath(WebResource resource, String currentPath) throws PortalException
resource
- the web resource.currentPath
- the path value resolved by previous
IURLResolver
in the resolution pipeline, or an empty String
if this is the first resolver in the pipeline.ChannelWebResource
, it
must not end with '/'. If it is a path for a PageWebResource
, it may end with '/',
and in this case the friendly path will be a directory and any corresponding HTML cache
will be generated as a index file inside such directory.PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.