code: public void send() throws ControllerException, MediaTypeException {
           String extension = fn.extension();
  
           int status = 200;
           String contentType = "image/"+extension;
           Result response = ResultBuilder
                   .ok()
                   .contentType(contentType)
                   .status(status)
                   .addSupportedContentType("image/*")
                   .renderable(this.image);
           holder.setControllerResult(response);
       }
docs: <p>Sends the image to the outputstream of the response.</p>
  
  If the file has a correct extension the content type is set to "image/&lt;extension&gt;",
  otherwise an exception is thrown.
  
  @throws ControllerException If something go wrong during write to the outputstream
  @throws MediaTypeException If a suitable writer for the image extension could not be found.