これが私の道具です、よろしいですか?
public ChannelPipeline getPipeline() throws Exception
{
ChannelPipeline p = pipeline();
pipeline.addLast("decoder", new HttpRequestDecoder());
p.addLast("frameDecoder", new ProtobufVarint32FrameDecoder());
p.addLast("protobufDecoder", new ProtobufDecoder(LocalTimeProtocol.Locations.getDefaultInstance()));
pipeline.addLast("encoder", new HttpResponseEncoder());
p.addLast("frameEncoder", new ProtobufVarint32LengthFieldPrepender());
p.addLast("protobufEncoder", new ProtobufEncoder());
p.addLast("handler", new LocalTimeServerHandler());
return p;
}