public class MinaChangePasswordDecoder
extends org.apache.mina.filter.codec.CumulativeProtocolDecoder
| Constructor and Description |
|---|
MinaChangePasswordDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doDecode(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.buffer.IoBuffer in,
org.apache.mina.filter.codec.ProtocolDecoderOutput out) |
int |
getMaxObjectSize()
Returns the allowed maximum size of the object to be decoded.
|
void |
setMaxObjectSize(int maxObjectSize)
Sets the allowed maximum size of the object to be decoded.
|
public int getMaxObjectSize()
public void setMaxObjectSize(int maxObjectSize)
IllegalArgumentException. The default
value is 16384 (16KB).maxObjectSize - protected boolean doDecode(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.buffer.IoBuffer in,
org.apache.mina.filter.codec.ProtocolDecoderOutput out)
throws Exception
doDecode in class org.apache.mina.filter.codec.CumulativeProtocolDecoderExceptionCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.