Top Description Fields Methods
io.netty.handler.codec.dns

public Interface DnsRawRecord

extends DnsRecord, ByteBufHolder
Known Direct Implementers
io.netty.handler.codec.dns.DefaultDnsRawRecord
Annotations
@UnstableApi
Imports
io.netty.buffer.ByteBuf, .ByteBufHolder, io.netty.util.internal.UnstableApi

A generic DnsRecord that contains an undecoded RDATA.

Field Summary

Inherited from io.netty.handler.codec.dns.DnsRecord:
CLASS_ANYCLASS_CHAOSCLASS_CSNETCLASS_HESIODCLASS_INCLASS_NONE

Method Summary

Modifier and TypeMethod and Description
public DnsRawRecord
copy()

Redeclares io.netty.buffer.ByteBufHolder.copy.

Creates a deep copy of this ByteBufHolder.
public DnsRawRecord
public DnsRawRecord
replace(ByteBuf content)

Redeclares io.netty.buffer.ByteBufHolder.replace.

Returns a new ByteBufHolder which contains the specified content.
public DnsRawRecord
retain()

Redeclares io.netty.buffer.ByteBufHolder.retain.

Increases the reference count by 1.
public DnsRawRecord
retain(int increment)

Redeclares io.netty.buffer.ByteBufHolder.retain.

Increases the reference count by the specified increment.
public DnsRawRecord
public DnsRawRecord
touch()

Redeclares io.netty.buffer.ByteBufHolder.touch.

Records the current access location of this object for debugging purposes.
public DnsRawRecord
touch(Object hint)

Redeclares io.netty.buffer.ByteBufHolder.touch.

Records the current access location of this object with an additional arbitrary information for debugging purposes.
Inherited from io.netty.buffer.ByteBufHolder:
content
Inherited from io.netty.handler.codec.dns.DnsRecord:
dnsClassnametimeToLivetype

Method Detail

copyback to summary
public DnsRawRecord copy()

Redeclares io.netty.buffer.ByteBufHolder.copy.

Doc from io.netty.buffer.ByteBufHolder.copy.

Creates a deep copy of this ByteBufHolder.

Annotations
@Override
duplicateback to summary
public DnsRawRecord duplicate()

Redeclares io.netty.buffer.ByteBufHolder.duplicate.

Doc from io.netty.buffer.ByteBufHolder.duplicate.

Duplicates this ByteBufHolder. Be aware that this will not automatically call retain().

Annotations
@Override
replaceback to summary
public DnsRawRecord replace(ByteBuf content)

Redeclares io.netty.buffer.ByteBufHolder.replace.

Doc from io.netty.buffer.ByteBufHolder.replace.

Returns a new ByteBufHolder which contains the specified content.

Annotations
@Override
retainback to summary
public DnsRawRecord retain()

Redeclares io.netty.buffer.ByteBufHolder.retain.

Doc from io.netty.util.ReferenceCounted.retain.

Increases the reference count by 1.

Annotations
@Override
retainback to summary
public DnsRawRecord retain(int increment)

Redeclares io.netty.buffer.ByteBufHolder.retain.

Doc from io.netty.util.ReferenceCounted.retain.

Increases the reference count by the specified increment.

Annotations
@Override
retainedDuplicateback to summary
public DnsRawRecord retainedDuplicate()

Redeclares io.netty.buffer.ByteBufHolder.retainedDuplicate.

Doc from io.netty.buffer.ByteBufHolder.retainedDuplicate.

Duplicates this ByteBufHolder. This method returns a retained duplicate unlike duplicate().

Annotations
@Override
touchback to summary
public DnsRawRecord touch()

Redeclares io.netty.buffer.ByteBufHolder.touch.

Doc from io.netty.util.ReferenceCounted.touch.

Records the current access location of this object for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector. This method is a shortcut to touch(null).

Annotations
@Override
touchback to summary
public DnsRawRecord touch(Object hint)

Redeclares io.netty.buffer.ByteBufHolder.touch.

Doc from io.netty.util.ReferenceCounted.touch.

Records the current access location of this object with an additional arbitrary information for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector.

Annotations
@Override