public class DefaultDnsRawRecord extends AbstractDnsRecord implements DnsRawRecord
DnsRawRecord implementation.CLASS_ANY, CLASS_CHAOS, CLASS_CSNET, CLASS_HESIOD, CLASS_IN, CLASS_NONE| Constructor and Description |
|---|
DefaultDnsRawRecord(String name,
DnsRecordType type,
int dnsClass,
long timeToLive,
io.netty.buffer.ByteBuf content)
Creates a new record.
|
DefaultDnsRawRecord(String name,
DnsRecordType type,
long timeToLive,
io.netty.buffer.ByteBuf content)
Creates a new
IN-class record. |
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
content() |
DnsRawRecord |
copy() |
DnsRawRecord |
duplicate() |
int |
refCnt() |
boolean |
release() |
boolean |
release(int decrement) |
DnsRawRecord |
replace(io.netty.buffer.ByteBuf content) |
DnsRawRecord |
retain() |
DnsRawRecord |
retain(int increment) |
DnsRawRecord |
retainedDuplicate() |
String |
toString() |
DnsRawRecord |
touch() |
DnsRawRecord |
touch(Object hint) |
dnsClass, equals, hashCode, name, timeToLive, typeclone, finalize, getClass, notify, notifyAll, wait, wait, waitdnsClass, name, timeToLive, typepublic DefaultDnsRawRecord(String name, DnsRecordType type, long timeToLive, io.netty.buffer.ByteBuf content)
IN-class record.name - the domain nametype - the type of the recordtimeToLive - the TTL value of the recordpublic DefaultDnsRawRecord(String name, DnsRecordType type, int dnsClass, long timeToLive, io.netty.buffer.ByteBuf content)
name - the domain nametype - the type of the recorddnsClass - the class of the record, usually one of the following:
timeToLive - the TTL value of the recordpublic io.netty.buffer.ByteBuf content()
content in interface io.netty.buffer.ByteBufHolderpublic DnsRawRecord copy()
copy in interface io.netty.buffer.ByteBufHoldercopy in interface DnsRawRecordpublic DnsRawRecord duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderduplicate in interface DnsRawRecordpublic DnsRawRecord retainedDuplicate()
retainedDuplicate in interface io.netty.buffer.ByteBufHolderretainedDuplicate in interface DnsRawRecordpublic DnsRawRecord replace(io.netty.buffer.ByteBuf content)
replace in interface io.netty.buffer.ByteBufHolderreplace in interface DnsRawRecordpublic int refCnt()
refCnt in interface io.netty.util.ReferenceCountedpublic DnsRawRecord retain()
retain in interface io.netty.buffer.ByteBufHolderretain in interface DnsRawRecordretain in interface io.netty.util.ReferenceCountedpublic DnsRawRecord retain(int increment)
retain in interface io.netty.buffer.ByteBufHolderretain in interface DnsRawRecordretain in interface io.netty.util.ReferenceCountedpublic boolean release()
release in interface io.netty.util.ReferenceCountedpublic boolean release(int decrement)
release in interface io.netty.util.ReferenceCountedpublic DnsRawRecord touch()
touch in interface io.netty.buffer.ByteBufHoldertouch in interface DnsRawRecordtouch in interface io.netty.util.ReferenceCountedpublic DnsRawRecord touch(Object hint)
touch in interface io.netty.buffer.ByteBufHoldertouch in interface DnsRawRecordtouch in interface io.netty.util.ReferenceCountedpublic String toString()
toString in class AbstractDnsRecordCopyright © 2008–2025 The Netty Project. All rights reserved.