Class HttpStatusUtil

java.lang.Object
com.github.toolarium.network.server.util.HttpStatusUtil

public final class HttpStatusUtil extends Object
Defines the http status
  • Method Details

    • getInstance

      public static HttpStatusUtil getInstance()
      Get the instance
      Returns:
      the instance
    • getStatusText

      public String getStatusText(int statusCode)
      Get the status text
      Parameters:
      statusCode - the status code
      Returns:
      the status as string