Package org.apache.james.jspf.policies
Class NoSPFRecordFoundPolicy
java.lang.Object
org.apache.james.jspf.policies.NoSPFRecordFoundPolicy
- All Implemented Interfaces:
PolicyPostFilter
Throws a NoneException if no record has been found
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSPFRecord(String currentDomain, SPF1Record res) Filter or replace a record for the given domain
-
Constructor Details
-
NoSPFRecordFoundPolicy
public NoSPFRecordFoundPolicy()
-
-
Method Details
-
getSPFRecord
public SPF1Record getSPFRecord(String currentDomain, SPF1Record res) throws PermErrorException, TempErrorException, NoneException, NeutralException Description copied from interface:PolicyPostFilterFilter or replace a record for the given domain- Specified by:
getSPFRecordin interfacePolicyPostFilter- Parameters:
currentDomain- the domain to retrieve the SPFRecord forres- the previous record- Returns:
- the SPFRecord found
- Throws:
PermErrorException- exceptionTempErrorException- exceptionNoneException- exceptionNeutralException- exception- See Also:
-