public class MacroExpand extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MacroExpand.RequireClientDomainException |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DOMAIN |
static boolean |
EXPLANATION |
| Constructor and Description |
|---|
MacroExpand(Logger logger,
DNSService dnsProbe)
Construct MacroExpand
|
| Modifier and Type | Method and Description |
|---|---|
DNSLookupContinuation |
checkExpand(String input,
SPFSession session,
boolean isExplanation) |
String |
expand(String input,
MacroData macroData,
boolean isExplanation) |
public static final boolean EXPLANATION
public static final boolean DOMAIN
public MacroExpand(Logger logger, DNSService dnsProbe)
logger - the logget to usednsProbe - the dns service to usepublic DNSLookupContinuation checkExpand(String input, SPFSession session, boolean isExplanation) throws PermErrorException, NoneException
PermErrorExceptionNoneExceptionpublic String expand(String input, MacroData macroData, boolean isExplanation) throws PermErrorException
PermErrorExceptionCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.