| Modifier and Type | Field and Description |
|---|---|
| public final String | fileName
The full path to the file that contains the data to be written to the socket. |
| public SendfileKeepAliveState | keepAliveState
Is the current request being processed on a keep-alive connection? |
| public long | |
| public long | pos
The position of the next byte in the file to be written to the socket. |
| Access | Constructor and Description |
|---|---|
| public |
| fileName | back to summary |
|---|---|
| public final String fileName The full path to the file that contains the data to be written to the socket. | |
| keepAliveState | back to summary |
|---|---|
| public SendfileKeepAliveState keepAliveState Is the current request being processed on a keep-alive connection? This determines if the socket is closed once the send file completes or if processing continues with the next request on the connection or waiting for that next request to arrive. | |
| length | back to summary |
|---|---|
| public long length The number of bytes remaining to be written from the file (from the
current | |
| pos | back to summary |
|---|---|
| public long pos The position of the next byte in the file to be written to the socket. This is initialised to the start point and then updated as the file is written. | |
| SendfileDataBase | back to summary |
|---|---|
| public SendfileDataBase(String filename, long pos, long length) | |