public class Message extends Object
| Constructor and Description |
|---|
Message() |
Message(NetworkData data) |
Message(NetworkData data,
boolean allowFail) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdditional(ResourceRecord rr) |
void |
addAdditional(RRset additional) |
void |
addAnswer(ResourceRecord answer) |
void |
addAnswer(RRset rrset) |
void |
addAuthority(ResourceRecord authority) |
void |
addAuthority(RRset authority) |
Message |
addHeader(Header header) |
Message |
addQuestion(Question question) |
Message |
build() |
void |
decode(NetworkData buffer) |
List<RRset> |
getAdditional() |
Header |
getHeader() |
List<NotImplementedResourceRecord> |
getUnknownRRs() |
boolean |
isUnknownRRFound() |
int |
maxLength() |
javax.json.JsonObject |
toJson() |
String |
toString() |
Object |
toZone() |
void |
updateHeaderCounters() |
public Message()
public Message(NetworkData data, boolean allowFail)
public Message(NetworkData data)
public Header getHeader()
public Message build()
public void updateHeaderCounters()
public void addAnswer(ResourceRecord answer)
public void addAnswer(RRset rrset)
public void addAuthority(ResourceRecord authority)
public void addAuthority(RRset authority)
public void addAdditional(ResourceRecord rr)
public void addAdditional(RRset additional)
public void decode(NetworkData buffer)
public Object toZone()
public javax.json.JsonObject toJson()
public int maxLength()
public boolean isUnknownRRFound()
public List<NotImplementedResourceRecord> getUnknownRRs()
Copyright © 2019. All rights reserved.