public enum HttpScheme extends java.lang.Enum<HttpScheme>
Modifier and Type | Field | Description |
---|---|---|
static org.eclipse.jetty.util.Trie<HttpScheme> |
CACHE |
Modifier and Type | Method | Description |
---|---|---|
java.nio.ByteBuffer |
asByteBuffer() |
|
java.lang.String |
asString() |
|
boolean |
is(java.lang.String s) |
|
java.lang.String |
toString() |
|
static HttpScheme |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HttpScheme[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpScheme HTTP
public static final HttpScheme HTTPS
public static final HttpScheme WS
public static final HttpScheme WSS
public static final org.eclipse.jetty.util.Trie<HttpScheme> CACHE
public static HttpScheme[] values()
for (HttpScheme c : HttpScheme.values()) System.out.println(c);
public static HttpScheme valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.nio.ByteBuffer asByteBuffer()
public boolean is(java.lang.String s)
public java.lang.String asString()
public java.lang.String toString()
toString
in class java.lang.Enum<HttpScheme>
Copyright © 1995–2018 Webtide. All rights reserved.