Package org.apache.james.jspf.executor
Class SPFResult
java.lang.Object
org.apache.james.jspf.executor.SPFResult
- Direct Known Subclasses:
FutureSPFResult
This class is used to return the result of an SPF lookup.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the explanation string If no explanation exists return the empty stringGet the full SPF-Header (headername and headertext)Get the SPF-HeadernameGet SPF-HeadertextGet the result stringprotected void
setSPFSession
(SPFSession spfSession) Initialize the result.
-
Field Details
-
headerTextAsString
-
HEADER_NAME
- See Also:
-
result
-
explanation
-
-
Constructor Details
-
SPFResult
protected SPFResult() -
SPFResult
Construct SPFResult- Parameters:
spfSession
- the SPFSession
-
-
Method Details
-
setSPFSession
Initialize the result.- Parameters:
spfSession
-
-
getHeader
Get the full SPF-Header (headername and headertext)- Returns:
- SPF-Header
-
getHeaderName
Get the SPF-Headername- Returns:
- headername
-
getHeaderText
Get SPF-Headertext- Returns:
- headertext
-
getResult
Get the result string- Returns:
- result
- See Also:
-
getExplanation
Get the explanation string If no explanation exists return the empty string- Returns:
- explanation
-