Class HttpFileAttributes

    • Constructor Detail

      • 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 Detail

      • length

        public long length()
        Returns the length in bytes.
      • lastModifiedMillis

        public long lastModifiedMillis()
        Returns the last modified time represented as the number of milliseconds since the epoch.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(@Nullable
                              Object obj)
        Overrides:
        equals in class Object