ByteBuf bf =req.content(); byte[] byteArray = new byte[bf.capacity()]; bf.readBytes(byteArray); String result = new String(byteArray);