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.
    • port

      private final int port
    • name

      private final AsciiString name
  • Constructor Details

    • HttpScheme

      private HttpScheme(int port, String name)
  • Method Details