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