public enum SendfileKeepAliveState extends Enum<SendfileKeepAliveState>
Enum Constant and Description |
---|
NONE
Keep-alive is not in use.
|
OPEN
Keep-alive is in use.
|
PIPELINED
Keep-alive is in use and there is pipelined data in the input buffer to
be read as soon as the current response has been written.
|
Modifier and Type | Method and Description |
---|---|
static SendfileKeepAliveState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SendfileKeepAliveState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SendfileKeepAliveState NONE
public static final SendfileKeepAliveState PIPELINED
public static final SendfileKeepAliveState OPEN
public static SendfileKeepAliveState[] values()
for (SendfileKeepAliveState c : SendfileKeepAliveState.values()) System.out.println(c);
public static SendfileKeepAliveState 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 © 2000-2021 Apache Software Foundation. All Rights Reserved.