Class HttpResponseCode.DefaultPhrase

  • Enclosing interface:
    HttpResponseCode

    public static final class HttpResponseCode.DefaultPhrase
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultPhrase()  
    • Method Summary

      Modifier and Type Method Description
      static java.lang.String getDefaultPhrase​(java.lang.Integer httpResponseCode)
      Returns the default phrase for the specific response code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultPhrase

        public DefaultPhrase()
    • Method Detail

      • getDefaultPhrase

        public static java.lang.String getDefaultPhrase​(java.lang.Integer httpResponseCode)
        Returns the default phrase for the specific response code.
        Parameters:
        httpResponseCode - Http response code.
        Returns:
        Response phrase.