Modifier and Type | Field and Description |
---|---|
List<EdnsOption> |
variablePart |
Constructor and Description |
---|
OPT() |
OPT(List<EdnsOption> variablePart) |
Modifier and Type | Method and Description |
---|---|
Record.TYPE |
getType()
The payload type.
|
static OPT |
parse(DataInputStream dis,
int payloadLength) |
protected void |
serialize(DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
equals, hashCode, length, toByteArray, toOutputStream
public final List<EdnsOption> variablePart
public OPT()
public OPT(List<EdnsOption> variablePart)
public static OPT parse(DataInputStream dis, int payloadLength) throws IOException
IOException
public Record.TYPE getType()
Data
protected void serialize(DataOutputStream dos) throws IOException
Data
serialize
in class Data
dos
- the output stream to serialize to.IOException
- if an I/O error occurs.