net.dongliu.prettypb.rpc.coder.ProtobufEncoder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prettypb-rpc Show documentation
Show all versions of prettypb-rpc Show documentation
proto rpc libs, compatible with proto-rpc-pro
package net.dongliu.prettypb.rpc.coder;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageEncoder;
import net.dongliu.prettypb.runtime.ProtobufSerializer;
import java.util.List;
import static io.netty.buffer.Unpooled.wrappedBuffer;
/**
* Encodes the requested protobuf message
*
* @author dongliu
*/
public class ProtobufEncoder extends MessageToMessageEncoder
© 2015 - 2024 Weber Informatics LLC | Privacy Policy