@@ -0,0 +1,637 @@
+/**%0A * %0A */%0Apackage cn.strong.fastdfs.client.handler;%0A%0Aimport io.netty.channel.ChannelHandler.Sharable;%0Aimport io.netty.channel.ChannelHandlerContext;%0Aimport io.netty.handler.codec.MessageToMessageEncoder;%0A%0Aimport java.util.List;%0A%0Aimport cn.strong.fastdfs.client.protocol.request.Request;%0A%0A/**%0A * Fastdfs %E8%AF%B7%E6%B1%82%E5%8F%91%E9%80%81%E5%A4%84%E7%90%86%E5%99%A8%0A * %0A * @author liulongbiao%0A *%0A */%0A@Sharable%0Apublic class FastdfsEncoder extends MessageToMessageEncoder%3CRequest%3E %7B%0A%0A%09public static FastdfsEncoder INSTANCE = new FastdfsEncoder();%0A%0A%09@Override%0A%09protected void encode(ChannelHandlerContext ctx, Request msg, List%3CObject%3E out)%0A%09%09%09throws Exception %7B%0A%09%09msg.encode(ctx, out);%0A%09%7D%0A%0A%7D%0A

add FastdfsEncoder