public static enum ContractVerifierHttpMetaData.Scheme extends Enum<ContractVerifierHttpMetaData.Scheme>
| Enum Constant and Description |
|---|
HTTP
HTTP scheme.
|
HTTPS
HTTPS scheme.
|
| Modifier and Type | Method and Description |
|---|---|
static ContractVerifierHttpMetaData.Scheme |
fromString(String scheme)
Builds an enum from string.
|
static ContractVerifierHttpMetaData.Scheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContractVerifierHttpMetaData.Scheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContractVerifierHttpMetaData.Scheme HTTP
public static final ContractVerifierHttpMetaData.Scheme HTTPS
public static ContractVerifierHttpMetaData.Scheme[] values()
for (ContractVerifierHttpMetaData.Scheme c : ContractVerifierHttpMetaData.Scheme.values()) System.out.println(c);
public static ContractVerifierHttpMetaData.Scheme valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nullable public static ContractVerifierHttpMetaData.Scheme fromString(String scheme)
Copyright © 2016–2020 Spring. All rights reserved.