|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.jspf.terms.GenericMechanism
org.apache.james.jspf.terms.IP4Mechanism
org.apache.james.jspf.terms.IP6Mechanism
public class IP6Mechanism
This class represent the ip6 mechanism
| Field Summary | |
|---|---|
static java.lang.String |
REGEX
ABNF: IP6 = "ip6" ":" ip6-network [ ip6-cidr-length ] |
| Fields inherited from class org.apache.james.jspf.terms.GenericMechanism |
|---|
DUAL_CIDR_LENGTH_REGEX, IP4_CIDR_LENGTH_REGEX, IP6_CIDR_LENGTH_REGEX, log, macroExpand |
| Constructor Summary | |
|---|---|
IP6Mechanism()
|
|
| Method Summary | |
|---|---|
protected int |
getMaxCidr()
Returns the max cidr for ip4 |
protected boolean |
isValidAddress(java.lang.String ipString)
|
java.lang.String |
toString()
|
| Methods inherited from class org.apache.james.jspf.terms.IP4Mechanism |
|---|
checkSPF, config, getIp |
| Methods inherited from class org.apache.james.jspf.terms.GenericMechanism |
|---|
enableLogging, enableMacroExpand, expandHost, getDomain |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String REGEX
| Constructor Detail |
|---|
public IP6Mechanism()
| Method Detail |
|---|
protected boolean isValidAddress(java.lang.String ipString)
isValidAddress in class IP4MechanismIP4Mechanism.isValidAddress(String)protected int getMaxCidr()
IP4Mechanism
getMaxCidr in class IP4MechanismIP4Mechanism.getMaxCidr()public java.lang.String toString()
toString in class IP4MechanismObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||