Top Fields Constructors Methods
org.apache.tomcat.util.net

public final Enum SendfileKeepAliveState

extends Enum<SendfileKeepAliveState>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final SendfileKeepAliveState
NONE

Keep-alive is not in use.

public static final SendfileKeepAliveState
OPEN

Keep-alive is in use.

public static final SendfileKeepAliveState
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.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static SendfileKeepAliveState
public static SendfileKeepAliveState[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

NONEback to summary
public static final SendfileKeepAliveState NONE

Keep-alive is not in use. The socket can be closed when the response has been written.

OPENback to summary
public static final SendfileKeepAliveState OPEN

Keep-alive is in use. The socket should be added to the poller (or equivalent) to await more data as soon as the current response has been written.

PIPELINEDback to summary
public static final SendfileKeepAliveState 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.

Constructor Detail

SendfileKeepAliveStateback to summary
private SendfileKeepAliveState()

Method Detail

valueOfback to summary
public static SendfileKeepAliveState valueOf(String name)
valuesback to summary
public static SendfileKeepAliveState[] values()