Interface URIMatcher
- All Superinterfaces:
ConfigurationObject
- All Known Implementing Classes:
AbstractMatcher
,AcceptAllMatcher
,AddressHostMatcher
,DnsHostMatcher
,HostMatcher
,HostnameMatcher
,InetHostMatcher
,LocalHostMatcher
Checks if a uri is a permitted uri.
-
Method Summary
Methods inherited from interface org.mapfish.print.config.ConfigurationObject
validate
-
Method Details
-
matches
boolean matches(MatchInfo matchInfo) throws UnknownHostException, SocketException, 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:
UnknownHostException
SocketException
MalformedURLException
-
isReject
boolean isReject()If true and the matcher accepts the uri, the request needs to be rejected.
-