Interface URIMatcher
-
- All Superinterfaces:
ConfigurationObject
- All Known Implementing Classes:
AbstractMatcher
,AcceptAllMatcher
,AddressHostMatcher
,DnsHostMatcher
,HostMatcher
,HostnameMatcher
,InetHostMatcher
,LocalHostMatcher
public interface URIMatcher extends ConfigurationObject
Checks if a uri is a permitted uri.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isReject()
If true and the matcher accepts the uri, the request needs to be rejected.boolean
matches(MatchInfo matchInfo)
Check if the uri is matching.-
Methods inherited from interface org.mapfish.print.config.ConfigurationObject
validate
-
-
-
-
Method Detail
-
matches
boolean matches(MatchInfo matchInfo) throws java.net.UnknownHostException, java.net.SocketException, java.net.MalformedURLException
Check if the uri is matching.- Parameters:
matchInfo
- the matching information to check- Returns:
- true if the uri is matching or false otherwise
- Throws:
java.net.UnknownHostException
java.net.SocketException
java.net.MalformedURLException
-
isReject
boolean isReject()
If true and the matcher accepts the uri, the request needs to be rejected.
-
-