Class HttpScheme


  • public final class HttpScheme
    extends java.lang.Object
    Defines the common schemes used for the HTTP protocol as defined by rfc7230.
    • Field Detail

      • HTTP

        public static final HttpScheme HTTP
        Scheme for non-secure HTTP connection.
      • HTTPS

        public static final HttpScheme HTTPS
        Scheme for secure HTTP connection.
    • Method Detail

      • port

        public int port()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object