Package org.apache.james.jspf.policies
Interface Policy
- All Known Implementing Classes:
OverridePolicy
public interface Policy
Return an spf record from a given domain.
-
Method Summary
Modifier and TypeMethodDescriptiongetSPFRecord
(String currentDomain) Get a record for the given domain
-
Method Details
-
getSPFRecord
SPF1Record getSPFRecord(String currentDomain) throws PermErrorException, TempErrorException, NoneException, NeutralException Get a record for the given domain- Parameters:
currentDomain
- the domain to retrieve the SPFRecord for- Returns:
- the SPFRecord found
- Throws:
PermErrorException
- exceptionTempErrorException
- exceptionNoneException
- exceptionNeutralException
- exception
-