public enum ChunkState extends Enum<ChunkState>
Enum Constant and Description |
---|
DATA
Reading the chunked data.
|
END
Reading the chunk end.
|
SIZE
Reading the chunk size line.
|
TRAILER
Reading the chunk trailer.
|
Modifier and Type | Method and Description |
---|---|
static ChunkState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChunkState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChunkState DATA
public static final ChunkState END
public static final ChunkState SIZE
public static final ChunkState TRAILER
public static ChunkState[] values()
for (ChunkState c : ChunkState.values()) System.out.println(c);
public static ChunkState 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 © 2005–2017. All rights reserved.