public class BestGuessPolicy extends Object implements PolicyPostFilter
| Constructor and Description |
|---|
BestGuessPolicy() |
| Modifier and Type | Method and Description |
|---|---|
SPF1Record |
getSPFRecord(String currentDomain,
SPF1Record record)
Filter or replace a record for the given domain
|
public SPF1Record getSPFRecord(String currentDomain, SPF1Record record) throws PermErrorException, TempErrorException, NoneException, NeutralException
PolicyPostFiltergetSPFRecord in interface PolicyPostFiltercurrentDomain - the domain to retrieve the SPFRecord forrecord - the previous recordPermErrorException - exceptionTempErrorException - exceptionNoneException - exceptionNeutralException - exceptionPolicyPostFilter.getSPFRecord(java.lang.String, org.apache.james.jspf.core.SPF1Record)Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.