Package com.linecorp.armeria.server.file
Class HttpFileAttributes
- java.lang.Object
-
- com.linecorp.armeria.server.file.HttpFileAttributes
-
public final class HttpFileAttributes extends Object
The attributes of anHttpFile
.- See Also:
HttpFile.readAttributes()
-
-
Constructor Summary
Constructors Constructor Description HttpFileAttributes(long length, long lastModifiedMillis)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
long
lastModifiedMillis()
Returns the last modified time represented as the number of milliseconds since the epoch.long
length()
Returns the length in bytes.String
toString()
-