MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / getQuestion

Method getQuestion

src/main/java/core/org/xbill/DNS/Message.java:264–270  ·  view source on GitHub ↗

Returns the first record in the QUESTION section. @see Record @see Section

()

Source from the content-addressed store, hash-verified

262 * @see Section
263 */
264public Record
265getQuestion() {
266 List l = sections[Section.QUESTION];
267 if (l == null || l.size() == 0)
268 return null;
269 return (Record) l.get(0);
270}
271
272/**
273 * Returns the TSIG record from the ADDITIONAL section, if one is present.

Callers 9

runMethod · 0.95
doxfrMethod · 0.95
lookupMethod · 0.95
generateReplyMethod · 0.80
errorMessageMethod · 0.80
addMessageMethod · 0.80
sendMethod · 0.80
sendAsyncMethod · 0.80
sendAXFRMethod · 0.80

Calls 2

sizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected