public class SPFRetriever extends Object implements SPFChecker
Constructor and Description |
---|
SPFRetriever() |
Modifier and Type | Method and Description |
---|---|
DNSLookupContinuation |
checkSPF(SPFSession spfData)
Run check for SPF with the given values.
|
protected static String |
extractSPFRecord(List<String> spfR)
Return the extracted SPF-Record
|
protected static String extractSPFRecord(List<String> spfR) throws PermErrorException
spfR
- the List which holds TXT/SPF - RecordsPermErrorException
- if more then one SPF - Record was found in the
given List.public DNSLookupContinuation checkSPF(SPFSession spfData) throws PermErrorException, TempErrorException, NeutralException, NoneException
SPFChecker
checkSPF
in interface SPFChecker
spfData
- The SPF1Data which should be used to run the checkPermErrorException
- Get thrown if an error was detectedTempErrorException
- Get thrown if a DNS problem was detectedNeutralException
- Get thrown if the result should be neutralNoneException
- Get thrown if no Record was foundSPFChecker.checkSPF(org.apache.james.jspf.core.SPFSession)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.