An
ObjectOutput and
OutputStream that can write the objects as
the serialized form that
ObjectSerializationDecoder can decode.
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 encoded object.
If the size of the encoded object exceeds this value, this encoder
will throw a
IllegalArgumentException .
public void
setMaxObjectSize(int maxObjectSize) Sets the allowed maximum size of the encoded object.
If the size of the encoded object exceeds this value, this encoder
will throw a
IllegalArgumentException .
Returns the allowed maximum size of the encoded object.
If the size of the encoded object exceeds this value, this encoder
will throw a
IllegalArgumentException . The default value
is
Integer.MAX_VALUE .
setMaxObjectSize
public void setMaxObjectSize(int maxObjectSize)(Code)
Sets the allowed maximum size of the encoded object.
If the size of the encoded object exceeds this value, this encoder
will throw a
IllegalArgumentException . The default value
is
Integer.MAX_VALUE .