Class HttpFileAttributes

java.lang.Object
com.linecorp.armeria.server.file.HttpFileAttributes

public final class HttpFileAttributes
extends Object
The attributes of an HttpFile.
See Also:
HttpFile.readAttributes()
  • Constructor Details

    • HttpFileAttributes

      public HttpFileAttributes​(long length, long lastModifiedMillis)
      Creates a new instance.
      Parameters:
      length - the length in bytes
      lastModifiedMillis - the last modified time represented as the number of milliseconds since the epoch
  • Method Details