org.apache.james.jspf.policies.local
Class OverridePolicy
java.lang.Object
org.apache.james.jspf.policies.local.FallbackPolicy
org.apache.james.jspf.policies.local.OverridePolicy
- All Implemented Interfaces:
- Policy, PolicyPostFilter
public class OverridePolicy
- extends FallbackPolicy
- implements Policy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OverridePolicy
public OverridePolicy(Logger log,
SPFRecordParser parser)
getSPFRecord
public SPF1Record getSPFRecord(String currentDomain)
throws PermErrorException,
TempErrorException,
NoneException,
NeutralException
- Description copied from interface:
Policy
- Get a record for the given domain
- Specified by:
getSPFRecord
in interface Policy
- Parameters:
currentDomain
- the domain to retrieve the SPFRecord for
- Returns:
- the SPFRecord found
- Throws:
PermErrorException
- exception
TempErrorException
- exception
NoneException
- exception
NeutralException
- exception- See Also:
Policy.getSPFRecord(java.lang.String)
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.