An
ObjectInput and
InputStream that can read the objects encoded
by
ObjectSerializationEncoder .
author: The Apache MINA Project (dev@mina.apache.org) version: $Rev: 581234 $, $Date: 2007-10-02 07:39:48 -0600 (Tue, 02 Oct 2007) $
getMaxObjectSize() Returns the allowed maximum size of the object to be decoded.
If the size of the object to be decoded exceeds this value, this
decoder will throw a
BufferDataException .
setMaxObjectSize(int maxObjectSize) Sets the allowed maximum size of the object to be decoded.
If the size of the object to be decoded exceeds this value, this
decoder will throw a
BufferDataException .
Returns the allowed maximum size of the object to be decoded.
If the size of the object to be decoded exceeds this value, this
decoder will throw a
BufferDataException . The default
value is 1048576 (1MB).
public void setMaxObjectSize(int maxObjectSize)(Code)
Sets the allowed maximum size of the object to be decoded.
If the size of the object to be decoded exceeds this value, this
decoder will throw a
BufferDataException . The default
value is 1048576 (1MB).