Top Description Interfaces Classes
module io.netty.codec

Package io.netty.handler.codec.serialization


Deprecated

This package has been deprecated with no replacement, because serialization can be a security liability

Encoder, decoder and their compatibility stream implementations which transform a java.io.Serializable object into a byte buffer and vice versa.

Security: serialization can be a security liability, and should not be used without defining a list of classes that are allowed to be desirialized. Such a list can be specified with the jdk.serialFilter system property, for instance. See the serialization filtering article for more information.

Interface Summary

Modifier and TypeInterface and Description
public interface
ClassResolver

Deprecated This class has been deprecated with no replacement, because serialization can be a security liability
please use ClassResolvers as instance factory

Security: serialization can be a security liability, and should not be used without defining a list of classes that are allowed to be desirialized.

Class Summary

Modifier and TypeClass and Description
pack-priv class
CachingClassResolver

Deprecated as a consequence of ClassResolver being deprecated.
pack-priv class
ClassLoaderClassResolver

Deprecated as a consequence of ClassResolver being deprecated.
public class
ClassResolvers

Deprecated This class has been deprecated with no replacement, because serialization can be a security liability
Factory methods for creating ClassResolver instances.
pack-priv class
pack-priv class
public class
CompatibleObjectEncoder

Deprecated This class has been deprecated with no replacement, because serialization can be a security liability
An encoder which serializes a Java object into a ByteBuf (interoperability version).
public class
ObjectDecoder

Deprecated This class has been deprecated with no replacement, because serialization can be a security liability
A decoder which deserializes the received ByteBufs into Java objects.
public class
ObjectDecoderInputStream

Deprecated This class has been deprecated with no replacement, because serialization can be a security liability
An ObjectInput which is interoperable with ObjectEncoder and ObjectEncoderOutputStream.
public class
ObjectEncoder

Deprecated This class has been deprecated with no replacement, because serialization can be a security liability
An encoder which serializes a Java object into a ByteBuf.
public class
ObjectEncoderOutputStream

Deprecated This class has been deprecated with no replacement, because serialization can be a security liability
An ObjectOutput which is interoperable with ObjectDecoder and ObjectDecoderInputStream.
pack-priv abstract class
pack-priv class
pack-priv class