AprEndpoint.SendfileData
, Nio2Endpoint.SendfileData
, NioEndpoint.SendfileData
public abstract class SendfileDataBase
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
java.lang.String |
fileName |
The full path to the file that contains the data to be written to the
socket.
|
SendfileKeepAliveState |
keepAliveState |
Is the current request being processed on a keep-alive connection?
|
long |
length |
The number of bytes remaining to be written from the file (from the
current
pos . |
long |
pos |
The position of the next byte in the file to be written to the socket.
|
Constructor | Description |
---|---|
SendfileDataBase(java.lang.String filename,
long pos,
long length) |
public SendfileKeepAliveState keepAliveState
public final java.lang.String fileName
public long pos
public long length
pos
. This is initialised to the end point - the start
point and then updated as the file is written.Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.