public final class DnsQuestionWithoutTrailingDot extends Object implements io.netty.handler.codec.dns.DnsQuestion
DnsQuestion implementation which does not append a dot (.) to the name.| Modifier and Type | Method and Description |
|---|---|
int |
dnsClass() |
boolean |
equals(Object o) |
int |
hashCode() |
String |
name() |
static DnsQuestionWithoutTrailingDot |
of(String name,
io.netty.handler.codec.dns.DnsRecordType type) |
long |
timeToLive() |
String |
toString() |
io.netty.handler.codec.dns.DnsRecordType |
type() |
public static DnsQuestionWithoutTrailingDot of(String name, io.netty.handler.codec.dns.DnsRecordType type)
public String name()
name in interface io.netty.handler.codec.dns.DnsRecordpublic io.netty.handler.codec.dns.DnsRecordType type()
type in interface io.netty.handler.codec.dns.DnsRecordpublic int dnsClass()
dnsClass in interface io.netty.handler.codec.dns.DnsRecordpublic long timeToLive()
timeToLive in interface io.netty.handler.codec.dns.DnsQuestiontimeToLive in interface io.netty.handler.codec.dns.DnsRecordCopyright © 2020 LeanCloud. All rights reserved.