org.apache.tomcat.util.buf.ByteChunk to java.nio.ByteBuffer