public abstract class SendfileDataBase extends Object
Modifier and Type | Field and Description |
---|---|
String |
fileName
The full path to the file that contains the data to be written to the
socket.
|
boolean |
keepAlive
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 and Description |
---|
SendfileDataBase(String filename,
long pos,
long length) |
public boolean keepAlive
public final 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.public SendfileDataBase(String filename, long pos, long length)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.