Class NioEndpoint.SendfileData
java.lang.Object
org.apache.tomcat.util.net.SendfileDataBase
org.apache.tomcat.util.net.NioEndpoint.SendfileData
- Enclosing class:
NioEndpoint
SendfileData class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FileChannelThe file channel for the sendfile operation.Fields inherited from class SendfileDataBase
fileName, keepAliveState, length, pos -
Constructor Summary
ConstructorsConstructorDescriptionSendfileData(String filename, long pos, long length) Creates a new sendfile data object. -
Method Summary
-
Field Details
-
fchannel
The file channel for the sendfile operation.
-
-
Constructor Details
-
SendfileData
Creates a new sendfile data object.- Parameters:
filename- The file to sendpos- The starting positionlength- The number of bytes to send
-