The problem of getting the parameters in the post request in netty;

how netty4.x acquires body: get ByteBuf through content () method and then readBytes to get byte [],


            ByteBuf byteBuf = reqMsg.content();
            int length = byteBuf.readableBytes();
            byte[] array = new byte[length];
            byteBuf.getBytes(byteBuf.readerIndex(), array);
            return array;
< H2 > this way supports form forms? Json? is still supported. Or is it encapsulated by netty and supports both formats of submission? < / H2 >
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b334f9-2be8b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b334f9-2be8b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?