A
ProtocolDecoder which deserializes
Serializable Java
objects using
IoBuffer.getObject(ClassLoader) .
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 .
public void
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).
setMaxObjectSize
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).
Methods inherited from org.apache.mina.filter.codec.CumulativeProtocolDecoder