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

public final Enum SendfileState

extends Enum<SendfileState>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final SendfileState
DONE

The file has been fully sent.

public static final SendfileState
ERROR

Something went wrong.

public static final SendfileState
PENDING

The sending of the file has started but has not completed.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

DONEback to summary
public static final SendfileState DONE

The file has been fully sent. Sendfile is no longer using the socket.

ERRORback to summary
public static final SendfileState ERROR

Something went wrong. The file may or may not have been sent. The socket is in an unknown state.

PENDINGback to summary
public static final SendfileState PENDING

The sending of the file has started but has not completed. Sendfile is still using the socket.

Constructor Detail

SendfileStateback to summary
private SendfileState()

Method Detail

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