JavaScript is disabled on your browser.
Skip navigation links
io.netty.handler.codec.serialization

Class ObjectDecoder

    • Constructor Detail

      • ObjectDecoder

        public ObjectDecoder(ClassResolver classResolver)
        Creates a new decoder whose maximum object size is 1048576 bytes. If the size of the received object is greater than 1048576 bytes, a StreamCorruptedException will be raised.
        Parameters:
        classResolver - the ClassResolver to use for this decoder
      • ObjectDecoder

        public ObjectDecoder(int maxObjectSize,
         ClassResolver classResolver)
        Creates a new decoder with the specified maximum object size.
        Parameters:
        maxObjectSize - the maximum byte length of the serialized object. if the length of the received object is greater than this value, StreamCorruptedException will be raised.
        classResolver - the ClassResolver which will load the class of the serialized object
Skip navigation links

Copyright © 2008–2018 The Netty Project. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /