Class NioEndpoint.SendfileData

java.lang.Object
org.apache.tomcat.util.net.SendfileDataBase
org.apache.tomcat.util.net.NioEndpoint.SendfileData
Enclosing class:
NioEndpoint

public static class NioEndpoint.SendfileData extends SendfileDataBase
SendfileData class.
  • Field Details

    • fchannel

      protected volatile FileChannel fchannel
      The file channel for the sendfile operation.
  • Constructor Details

    • SendfileData

      public SendfileData(String filename, long pos, long length)
      Creates a new sendfile data object.
      Parameters:
      filename - The file to send
      pos - The starting position
      length - The number of bytes to send