public class NeutralIfNotMatchPolicy extends Object implements PolicyPostFilter
Constructor and Description |
---|
NeutralIfNotMatchPolicy() |
Modifier and Type | Method and Description |
---|---|
SPF1Record |
getSPFRecord(String currentDomain,
SPF1Record spfRecord)
Filter or replace a record for the given domain
|
public SPF1Record getSPFRecord(String currentDomain, SPF1Record spfRecord) throws PermErrorException, TempErrorException, NoneException, NeutralException
PolicyPostFilter
getSPFRecord
in interface PolicyPostFilter
currentDomain
- the domain to retrieve the SPFRecord forspfRecord
- 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.