Package org.apache.james.jspf.policies
Class ParseRecordPolicy
java.lang.Object
org.apache.james.jspf.policies.ParseRecordPolicy
- All Implemented Interfaces:
PolicyPostFilter
Parse the record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSPFRecord(String currentDomain, SPF1Record spfRecord) Filter or replace a record for the given domain
-
Constructor Details
-
ParseRecordPolicy
-
-
Method Details
-
getSPFRecord
public SPF1Record getSPFRecord(String currentDomain, SPF1Record spfRecord) throws PermErrorException, 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 forspfRecord- the previous record- Returns:
- the SPFRecord found
- Throws:
PermErrorException- exceptionNoneException- exceptionNeutralException- exception- See Also:
-