Package org.ametys.web.editor
Class RemoteURIResolver
java.lang.Object
org.ametys.cms.remote.RemoteURIResolver
org.ametys.web.editor.RemoteURIResolver
- All Implemented Interfaces:
URIResolver
,Contextualizable
,Serviceable
URIResolver
for type "remote".This resolver is a proxy to another type to be called from remote url. The resolved uri are necessary absolutes.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.cms.remote.RemoteURIResolver
RemoteURIResolver.ProxiedUri
-
Field Summary
Fields inherited from class org.ametys.cms.remote.RemoteURIResolver
_context, _uriResolverEP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Get the absolute URI prefixprotected String
getUriPrefix
(Request request) Get the URI prefix (non absolute) for resolved urivoid
service
(ServiceManager manager) Methods inherited from class org.ametys.cms.remote.RemoteURIResolver
checkLink, contextualize, getAbsoluteRemoteUri, getLabel, getProxiedUri, getType, resolve, resolveBoundedImage, resolveBoundedImageAsBase64, resolveCroppedImage, resolveCroppedImageAsBase64, resolveImage, resolveImageAsBase64
-
Constructor Details
-
RemoteURIResolver
public RemoteURIResolver()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classRemoteURIResolver
- Throws:
ServiceException
-
getUriPrefix
Description copied from class:RemoteURIResolver
Get the URI prefix (non absolute) for resolved uri- Overrides:
getUriPrefix
in classRemoteURIResolver
- Parameters:
request
- The request- Returns:
- the URI prefix
-
getAbsoluteRemoteUriPrefix
Description copied from class:RemoteURIResolver
Get the absolute URI prefix- Overrides:
getAbsoluteRemoteUriPrefix
in classRemoteURIResolver
- Returns:
- the URI prefix
-