public enum HttpSchemeEnum extends java.lang.Enum<HttpSchemeEnum>
| Enum Constant and Description |
|---|
HTTP
The http schema enum.
|
HTTPS
The https schema enum.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getScheme()
get schema.
|
static HttpSchemeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpSchemeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpSchemeEnum HTTP
public static final HttpSchemeEnum HTTPS
public static HttpSchemeEnum[] values()
for (HttpSchemeEnum c : HttpSchemeEnum.values()) System.out.println(c);
public static HttpSchemeEnum 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.lang.String getScheme()
Copyright © 2024 The Apache Software Foundation. All rights reserved.