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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringGet the absolute URI prefixprotected StringgetUriPrefix(Request request) Get the URI prefix (non absolute) for resolved urivoidservice(ServiceManager manager) Methods inherited from class org.ametys.cms.remote.RemoteURIResolver
checkLink, contextualize, getAbsoluteRemoteUri, getLabel, getProxiedUri, getType, resolve, resolveBoundedImage, resolveBoundedImageAsBase64, resolveCroppedImage, resolveCroppedImageAsBase64, resolveImage, resolveImageAsBase64Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.cms.transformation.URIResolver
getMimeType
-
Constructor Details
-
RemoteURIResolver
public RemoteURIResolver()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classRemoteURIResolver- Throws:
ServiceException
-
getUriPrefix
Description copied from class:RemoteURIResolverGet the URI prefix (non absolute) for resolved uri- Overrides:
getUriPrefixin classRemoteURIResolver- Parameters:
request- The request- Returns:
- the URI prefix
-
getAbsoluteRemoteUriPrefix
Description copied from class:RemoteURIResolverGet the absolute URI prefix- Overrides:
getAbsoluteRemoteUriPrefixin classRemoteURIResolver- Returns:
- the URI prefix
-