Examine the present, recollect the past, envision the future.

Enlighten, elucidate, inspire and entertain.

Make it happen.

package httpviewer;

import javafx.io.http.HttpRequest;
import java.io.*;

def getRequest: HttpRequest = HttpRequest {
  location: "http://www.w3.org/History/1989/proposal.html"
  onInput: function(is: java.io.InputStream) {
    def reader = new BufferedReader(new InputStreamReader(is));
    var char: Character = reader.read();
    var nRead: Integer = 0;
    while (nRead < getRequest.read) {
      print(char);
      char = reader.read();
      nRead++;
    }
    reader.close();
  }
}

getRequest.start();