public static enum Traits.TraitHeader extends Enum<Traits.TraitHeader>
| Enum Constant and Description |
|---|
SERVER |
X_ASPNET_VERSION |
X_POWERED_BY |
X_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static Traits.TraitHeader |
fastValueOf(String header)
A case-insensitive and null-tolerant variant of
valueOf(String). |
String |
toString() |
static Traits.TraitHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Traits.TraitHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Traits.TraitHeader SERVER
public static final Traits.TraitHeader X_ASPNET_VERSION
public static final Traits.TraitHeader X_POWERED_BY
public static final Traits.TraitHeader X_VERSION
public static Traits.TraitHeader[] values()
for (Traits.TraitHeader c : Traits.TraitHeader.values()) System.out.println(c);
public static Traits.TraitHeader 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 nullpublic static Traits.TraitHeader fastValueOf(String header)
valueOf(String).header - the header name to transform to a Traits.TraitHeaderTraits.TraitHeader or null if there si no such Traits.TraitHeaderpublic String toString()
toString in class Enum<Traits.TraitHeader>header rather than Enum.name()Copyright © 2015–2016 Red Hat. All rights reserved.