title: Java netty get POST Request Content
body: <p>i am using netty 4.1 embeded in Java and trying to retrive Data from a clients POST request in the pipeline. I tried several options i found online but nothing works...</p>
  
  <p>Maybe someone has a useful thought on this.</p>
  
  <p>Regards and thanks for everyone who helps.</p>
  
  <p>Pipeline:</p>
  
  <pre><code>    p.addLast ("codec", new HttpServerCodec ());
      p.addLast("decoder", new HttpRequestDecoder());
      p.addLast("encoder", new HttpRequestEncoder());
      p.addLast("handler",new InboundHandlerA());
  </code></pre>
  
  <p>Handler:</p>
  
  <pre><code>private static class InboundHandlerA extends ChannelInboundHandlerAdapter{
       @Override
       public void channelActive(ChannelHandlerContext ctx) {
           System.out.println("Connected!");
           ctx.fireChannelActive();
       } 
  
   public void channelRead (ChannelHandlerContext channelHandlerCtxt, Object msg) throws Exception   {
  
           System.out.println(msg);
       }
      }
  </code></pre>