public static class EDNSOption.Code extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CLIENT_SUBNET
Client Subnet, defined in draft-vandergaast-edns-client-subnet-00
|
static int |
NSID
Name Server Identifier, RFC 5001
|
| Modifier and Type | Method and Description |
|---|---|
static String |
string(int code)
Converts an EDNS Option Code into its textual representation
|
static int |
value(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 String string(int code)
public static int value(String s)
s - The textual representation of the option codeCopyright © 2021 McEvoy Software Ltd. All rights reserved.