In netty version 3.2.5 in the method
public ChannelPipeline getPipeline() throws Exception { ... }
have a decoder defined as follows:
pipeline.addLast("decoder", new ObjectDecoder());
I updated the version of Netty version 3.2.7, which ObjectDecoder() deprecated, and it now requires a ClassResolver . Does anyone have sample code on how to implement new ObjectDecoder(ClassResolver) in the getPipeline() method in version 3.2.7?
source share