Class UploadId

java.lang.Object
me.desair.tus.server.upload.UploadId
All Implemented Interfaces:
Serializable

public class UploadId extends Object implements Serializable
The unique identifier of an upload process in the tus protocol
See Also:
  • Constructor Details

    • UploadId

      public UploadId(Serializable inputObject)
      Create a new UploadId instance based on the provided object using it's toString method.
      Parameters:
      inputObject - The object to use for constructing the ID
  • Method Details

    • getOriginalObject

      public Serializable getOriginalObject()
      The original input object that was provided when constructing this upload ID
      Returns:
      The original object used to create this ID
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object