code: public void writeTo(WritableByteChannel channel) throws IOException {
  		Assert.notNull(channel, "Channel must not be null");
  		while (this.data.hasRemaining()) {
  			channel.write(this.data);
  		}
  	}
docs: Write the content of this payload to the given target channel.
  @param channel the channel to write to
  @throws IOException in case of I/O errors