org.apache.james.jspf.core
Interface SPFChecker

All Known Subinterfaces:
Mechanism, Modifier
All Known Implementing Classes:
AllMechanism, AMechanism, DefaultSPF, Directive, ExistsMechanism, ExpModifier, GenericMechanism, GenericModifier, IncludeMechanism, InitialChecksPolicy, IP4Mechanism, IP6Mechanism, MXMechanism, PTRMechanism, RedirectModifier, SPF, SPFRetriever, SPFStrictCheckerRetriever, UnknownModifier

public interface SPFChecker

Interface for the SPFChecker service.


Method Summary
 DNSLookupContinuation checkSPF(SPFSession spfData)
          Run check for SPF with the given values.
 

Method Detail

checkSPF

DNSLookupContinuation checkSPF(SPFSession spfData)
                               throws PermErrorException,
                                      TempErrorException,
                                      NeutralException,
                                      NoneException
Run check for SPF with the given values.

Parameters:
spfData - The SPF1Data which should be used to run the check
Throws:
PermErrorException - Get thrown if an error was detected
NoneException - Get thrown if no Record was found
TempErrorException - Get thrown if a DNS problem was detected
NeutralException - Get thrown if the result should be neutral
NoneException


Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.