Package io.netty.handler.codec.http
Class HttpScheme
- java.lang.Object
-
- io.netty.handler.codec.http.HttpScheme
-
public final class HttpScheme extends java.lang.ObjectDefines the common schemes used for the HTTP protocol as defined by rfc7230.
-
-
Field Summary
Fields Modifier and Type Field Description static HttpSchemeHTTPScheme for non-secure HTTP connection.static HttpSchemeHTTPSScheme for secure HTTP connection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()AsciiStringname()intport()java.lang.StringtoString()
-
-
-
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 AsciiString name()
-
port
public int port()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-