public static class EDNSOption.Code
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CLIENT_SUBNET
Client Subnet, defined in draft-vandergaast-edns-client-subnet-02
|
static int |
NSID
Name Server Identifier, RFC 5001
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
string(int code)
Converts an EDNS Option Code into its textual representation
|
static int |
value(java.lang.String s)
Converts a textual representation of an EDNS Option Code into its
numeric value.
|
public static final int NSID
public static final int CLIENT_SUBNET
public static java.lang.String string(int code)
public static int value(java.lang.String s)
s
- The textual representation of the option code