Class HttpScheme

java.lang.Object
io.netty.handler.codec.http.HttpScheme

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

    • HTTP

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

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

    • name

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

      public int port()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object