Class ExpiresFilter.Duration

  • Enclosing class:
    ExpiresFilter

    protected static class ExpiresFilter.Duration
    extends java.lang.Object
    Duration composed of an amount and a unit
    • Method Detail

      • getAmount

        public int getAmount()
        Returns the magnitude of this duration.
        Returns:
        the amount
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object