code: protected static void renderBinary(InputStream is, String name, long length) {
          throw new BinaryResult(is, name, length, false);
      }
docs: Return a 200 OK application/binary response with content-disposition attachment.
  
  @param is The stream to copy. Content is streamed.
  @param name Name of file user is downloading.
  @param length Stream's size in bytes.