public enum HttpHeaderParameter extends Enum<HttpHeaderParameter>
Enum Constant and Description |
---|
ACCESS_CONTROL_ALLOW_ORIGIN |
CACHE_CONTROL |
ETAG |
EXPIRES |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static HttpHeaderParameter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpHeaderParameter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpHeaderParameter ETAG
public static final HttpHeaderParameter CACHE_CONTROL
public static final HttpHeaderParameter EXPIRES
public static final HttpHeaderParameter ACCESS_CONTROL_ALLOW_ORIGIN
public static HttpHeaderParameter[] values()
for (HttpHeaderParameter c : HttpHeaderParameter.values()) System.out.println(c);
public static HttpHeaderParameter 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 String getName()
Copyright © 2016 JSL Solucoes LTDA. All Rights Reserved.