X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=netconf%2Fnetconf-netty-util%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fnettyutil%2Fhandler%2FNetconfChunkAggregator.java;h=49e6a89dfd71c867f59da0087c782983d23b98f8;hb=14adff2aa1c1a88371693ee9ecd0ce27b227f24e;hp=cab1d741b15b7ab6d6971924691b598664d75a51;hpb=b48e597dad44046da6af9ada1b22df0b51aa3a9a;p=netconf.git diff --git a/netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfChunkAggregator.java b/netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfChunkAggregator.java index cab1d741b1..49e6a89dfd 100644 --- a/netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfChunkAggregator.java +++ b/netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/NetconfChunkAggregator.java @@ -27,6 +27,7 @@ public class NetconfChunkAggregator extends ByteToMessageDecoder { private static final String GOT_PARAM_WHILE_WAITING_FOR_PARAM_PARAM_PARAM = "Got byte {} while waiting for {}-{}-{}"; + @Deprecated(since = "4.0.1", forRemoval = true) public static final @NonNegative int DEFAULT_MAXIMUM_CHUNK_SIZE = AbstractNetconfSessionNegotiator.DEFAULT_MAXIMUM_INCOMING_CHUNK_SIZE; @@ -49,7 +50,10 @@ public class NetconfChunkAggregator extends ByteToMessageDecoder { /** * Construct an instance with maximum chunk size set to {@link #DEFAULT_MAXIMUM_CHUNK_SIZE}. + * + * @deprecated Prefer {@link #NetconfChunkAggregator(int)} for fine-grained control. */ + @Deprecated(since = "4.0.1", forRemoval = true) public NetconfChunkAggregator() { this(DEFAULT_MAXIMUM_CHUNK_SIZE); }