public enum SendfileKeepAliveState extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.