public static enum PushItemHeaderValue.HeaderOperation extends Enum<PushItemHeaderValue.HeaderOperation>
Enum Constant and Description |
---|
ADD
Header value is going to be add
|
SET
Header value is going to be set
|
Modifier and Type | Method and Description |
---|---|
static PushItemHeaderValue.HeaderOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PushItemHeaderValue.HeaderOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PushItemHeaderValue.HeaderOperation SET
public static final PushItemHeaderValue.HeaderOperation ADD
public static PushItemHeaderValue.HeaderOperation[] values()
for (PushItemHeaderValue.HeaderOperation c : PushItemHeaderValue.HeaderOperation.values()) System.out.println(c);
public static PushItemHeaderValue.HeaderOperation 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 nullCopyright © 2006–2022 Apache Software Foundation. All rights reserved.