Class HttpStatusReasons

java.lang.Object
ortus.boxlang.runtime.net.HttpStatusReasons

public class HttpStatusReasons extends Object
Utility class for mapping HTTP status codes to their standard reason phrases.
  • Constructor Details

    • HttpStatusReasons

      public HttpStatusReasons()
  • Method Details

    • getReason

      public static String getReason(int status)
      Returns the reason for the given status code.
      Parameters:
      status - The status code.
      Returns:
      The reason for the status code.