Package org.ametys.cms.remote
Class StaticRemoteUrl
- java.lang.Object
-
- org.ametys.cms.remote.StaticRemoteUrl
-
- All Implemented Interfaces:
RemoteUrl
,Configurable
public class StaticRemoteUrl extends Object implements RemoteUrl, Configurable
Static implementation of aRemoteUrl
-
-
Constructor Summary
Constructors Constructor Description StaticRemoteUrl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Configuration configuration)
Set<Pattern>
getAllowedUrls()
Get the regular expression for allowed urls
-
-
-
Constructor Detail
-
StaticRemoteUrl
public StaticRemoteUrl()
-
-
Method Detail
-
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getAllowedUrls
public Set<Pattern> getAllowedUrls()
Description copied from interface:RemoteUrl
Get the regular expression for allowed urls- Specified by:
getAllowedUrls
in interfaceRemoteUrl
- Returns:
- The
-
-