[Netty 5] Remove ReplayingDecoder
See original GitHub issueI propose we remove ReplayingDecoder
in Netty 5.
The code might look convenient, but it’s relying on simulating continuations with exceptions - a constant, but still.
It also needs to modify how ByteBuf
behaves, while in the new Buffer
API we wish to have maximally consistent behaviours.
If we remove the ReplayingDecoder
, then the following decoders will have to be rewritten in terms of the regular ByteToMessageDecoder
:
- Socks5InitialRequestDecoder
- MqttDecoder
- StompSubframeDecoder
- SocksInitResponseDecoder
- Socks5CommandResponseDecoder
- Socks5PasswordAuthRequestDecoder
- CompatibleMarshallingDecoder
- SocksAuthResponseDecoder
- Socks5PasswordAuthResponseDecoder
- WebSocket00FrameDecoder
- Socks5CommandRequestDecoder
- Socks4ClientDecoder
- SocksCmdRequestDecoder
- SocksInitRequestDecoder
- Socks5InitialResponseDecoder
- SocksAuthRequestDecoder
- Socks4ServerDecoder
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
ReplayingDecoder (The Netty Project API Reference (3.5.13 ...
A specialized variation of FrameDecoder which enables implementation of a non-blocking decoder in the blocking I/O paradigm. The biggest difference between ...
Read more >ReplayingDecoder receives large amount of bytes when only ...
Hey there, I use ReplayingDecoder from the official Netty tutorial, here is the code ... ChannelHandlerContext; import io.netty.handler.codec.
Read more >binary - Netty 5.0.0: bytes from incomplete frame are discarded
PS: I'm not keen on using the ReplayingDecoder or ByteToMessageDecoder classes as fitting my decoder library around them would be too intrusive ...
Read more >io.netty.handler.codec.ReplayingDecoder - 即时通讯网
ReplayingDecoder 源码的在线查看和学习,来自 Netty 4.0.56. ... 4 * The Netty Project licenses this file to you under the Apache License, 5 * version 2.0...
Read more >ReplayingDecoder xref - Red Hat on GitHub - JBoss.org
15 */ 16 package org.jboss.netty.handler.codec.replay; 17 18 import java.net. ... you will probably want to 242 * replace a {@link ReplayingDecoder} ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 can help with STOMP
@amizurov nope… this will be “main” only. I have all done, just running the testsuite atm.