/**
  * Write a {@link String} to the response body, encoded in UTF-8. The {@code doneHandler} is
  * called after the buffer is actually written to the wire.
  *
  * <p>
  *
  * @return A reference to this, so multiple method calls can be chained.
  */
 public HttpServerResponse write(String chunk, EventHandler<Void> doneHandler) {
   return write(Buffer.create(chunk).getChannelBuffer(), doneHandler);
 }
 /**
  * Write a {@link Buffer} to the response body.
  *
  * <p>
  *
  * @return A reference to this, so multiple method calls can be chained.
  */
 public HttpServerResponse write(Buffer chunk) {
   return write(chunk.getChannelBuffer(), null);
 }
 /**
  * Write a {@link String} to the response body, encoded in UTF-8.
  *
  * <p>
  *
  * @return A reference to this, so multiple method calls can be chained.
  */
 public HttpServerResponse write(String chunk) {
   return write(Buffer.create(chunk).getChannelBuffer(), null);
 }
 /** Write a {@link Buffer} to the response body. */
 public void writeBuffer(Buffer chunk) {
   write(chunk.getChannelBuffer(), null);
 }