Add @UnstableApi to TcpDnsResponseEncoder (#11526)
Motivation: We should mark TcpDnsResponseEncoder as unstable Modifications: Add annotation Result: Mark the encoder as unstable
This commit is contained in:
parent
8314e2fb04
commit
a2e34ec5e8
@ -20,9 +20,11 @@ import io.netty.channel.ChannelHandler;
|
|||||||
import io.netty.channel.ChannelHandlerContext;
|
import io.netty.channel.ChannelHandlerContext;
|
||||||
import io.netty.handler.codec.MessageToMessageEncoder;
|
import io.netty.handler.codec.MessageToMessageEncoder;
|
||||||
import io.netty.util.internal.ObjectUtil;
|
import io.netty.util.internal.ObjectUtil;
|
||||||
|
import io.netty.util.internal.UnstableApi;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@UnstableApi
|
||||||
@ChannelHandler.Sharable
|
@ChannelHandler.Sharable
|
||||||
public final class TcpDnsResponseEncoder extends MessageToMessageEncoder<DnsResponse> {
|
public final class TcpDnsResponseEncoder extends MessageToMessageEncoder<DnsResponse> {
|
||||||
private final DnsRecordEncoder encoder;
|
private final DnsRecordEncoder encoder;
|
||||||
|
1
pom.xml
1
pom.xml
@ -1026,6 +1026,7 @@
|
|||||||
<exclude>io.netty.util.internal.shaded</exclude>
|
<exclude>io.netty.util.internal.shaded</exclude>
|
||||||
<!-- Added to fix false-positive -->
|
<!-- Added to fix false-positive -->
|
||||||
<exclude>io.netty.handler.codec.dns.TcpDnsQueryDecoder</exclude>
|
<exclude>io.netty.handler.codec.dns.TcpDnsQueryDecoder</exclude>
|
||||||
|
<exclude>io.netty.handler.codec.dns.TcpDnsResponseEncoder</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</parameter>
|
</parameter>
|
||||||
<skip>${skipJapicmp}</skip>
|
<skip>${skipJapicmp}</skip>
|
||||||
|
Loading…
Reference in New Issue
Block a user