Class HttpScheme


  • public final class HttpScheme
    extends 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

      • name

        public io.netty.util.AsciiString name()
      • port

        public int port()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object