protected void process(IoSession session, Object message) {
Response response = handle((Request) message);
session.write(response);
}
@Override
<BUG>public void sessionClosed(IoSession session) throws Exception {
}</BUG>
@Override
public void exceptionCaught(IoSession session, Throwable cause) throws Exception {
if (cause instanceof ProtocolDecoderException) {

protected void process(IoSession session, Object message) {
Response response = handle((Request) message);
session.write(response);
}
@Override
public void sessionClosed(IoSession session) throws Exception {
String key = (String) session.getAttribute(LOCAL_REMOTE_ADDRESS_KEY);
connectionMap.remove(key);
}
@Override
public void exceptionCaught(IoSession session, Throwable cause) throws Exception {
if (cause instanceof ProtocolDecoderException) {
