Toots du Jour (Sep 28)

<1 min read

HTTP StatusCode & JSP Tag Library 2.0.0

<1 min read

I've released version 2.0.0 of my HTTP Status Code & JSP Tag Library. A simple library to search for and display information about HTTP status codes.

Reasons.getReasonPhrase(404); // Not Found
Reasons.getReasonPhrase(666, "Unknown Reason"); // Unknown Reason

var reasons = Reasons.getReasonClass(StatusCodeClass.CLIENT_ERROR); // 4xx
reasons.forEach((code, reason) -> System.out.println(code + ": " + reason));

StatusCode.isServerError(500) // true
StatusCode.isError(301) // false

The major new features are:

  • Getting the reason phrase is now more generic:
    • Reasons.getReasonPhrase(404)
    • Reasons.getReasonPhrase(666, "Unknown Reason")
  • New StatusCode class:
    • StatusCode.isInformational(100)
    • StatusCode.isSuccess(200)
    • StatusCode.isRedirection(300)
    • StatusCode.isClientError(400)
    • StatusCode.isServerError(500)
    • StatusCode.isError(500)
  • New ReasonsClass method:
    • Reasons.getReasonClass(StatusCodeClass.CLIENT_ERROR)
  • Support for JDK 25

Stanwood Grill

<1 min read

Stanwood Grill

Small town "fine" dining. Meh. 

Toots du Jour (Sep 26)

<1 min read

The Astronaut

2 min read

When astronaut Sam Walker (Kate Mara) crash lands back to Earth, she’s discovered alive in a punctured capsule off the Atlantic coast. General William Harris (Laurence Fishburne) places her in quarantine under strict NASA surveillance for rehabilitation and testing. But as disturbing events escalate, she begins to fear that something extraterrestrial has followed her home.

Greenland 2: Migration

2 min read

In the aftermath of a comet strike that decimated most of the earth, Greenland 2: Migration follows the Garrity family (Gerard Butler, Morena Baccarin, and Roman Griffin Davis) as they’re forced to leave the safety of their bunker in Greenland to traverse a shattered world in search of a new home.