netty5/codec-http2/src
Scott Mitchell 404666d247 HTTP/2 ByteBufUtil.writeUtf8 cleanup
Motiviation:
691bc1690e made writeUtf8 consistent with String.getBytes() so that it never throws.
94f27be59b provided a writeUtf8 method which takes a ByteBufAllocator to do an appropriately sized buffer allocation.

Result:
- Assume writeUtf8 will not throw in HTTP/2 codec
- Use the new writeUtf8 method

Result:
Cleaner code in codec-http2.
2016-03-11 14:24:45 -08:00
..
main/java/io/netty/handler/codec/http2 HTTP/2 ByteBufUtil.writeUtf8 cleanup 2016-03-11 14:24:45 -08:00
test HTTP/2 DefaultHttp2Connection NPE 2016-03-11 07:41:04 -08:00