public class HttpClientEncoder extends Object implements ProtocolEncoder
| Constructor and Description |
|---|
HttpClientEncoder() |
public void encode(IoSession session, Object message, ProtocolEncoderOutput out) throws Exception
ProtocolEncoderProtocolEncoder.encode(IoSession, Object, ProtocolEncoderOutput)
method with message which is popped from the session write queue, and then
the encoder implementation puts encoded messages (typically IoBuffers)
into ProtocolEncoderOutput.encode in interface ProtocolEncoderException - if the message violated protocol specificationpublic void dispose(IoSession arg0) throws Exception
ProtocolEncoderdispose in interface ProtocolEncoderException - if failed to dispose all resourcesCopyright © 2004-2014 Apache MINA Project. All Rights Reserved.