|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.james.jspf.policies.SPFRetriever
public class SPFRetriever
Get the raw dns txt or spf entry which contains a spf entry
Constructor Summary | |
---|---|
SPFRetriever()
|
Method Summary | |
---|---|
DNSLookupContinuation |
checkSPF(SPFSession spfData)
Run check for SPF with the given values. |
protected static java.lang.String |
extractSPFRecord(java.util.List spfR)
Return the extracted SPF-Record |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SPFRetriever()
Method Detail |
---|
protected static java.lang.String extractSPFRecord(java.util.List spfR) throws PermErrorException
spfR
- the List which holds TXT/SPF - Records
PermErrorException
- 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 check
PermErrorException
- Get thrown if an error was detected
TempErrorException
- Get thrown if a DNS problem was detected
NeutralException
- Get thrown if the result should be neutral
NoneException
- Get thrown if no Record was foundSPFChecker.checkSPF(org.apache.james.jspf.core.SPFSession)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |