Package org.apache.catalina.filters
Class ExpiresFilter.Duration
- java.lang.Object
-
- org.apache.catalina.filters.ExpiresFilter.Duration
-
- Enclosing class:
- ExpiresFilter
protected static class ExpiresFilter.Duration extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
amount
protected ExpiresFilter.DurationUnit
unit
-
Constructor Summary
Constructors Constructor Description Duration(int amount, ExpiresFilter.DurationUnit unit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAmount()
ExpiresFilter.DurationUnit
getUnit()
java.lang.String
toString()
-
-
-
Field Detail
-
amount
protected final int amount
-
unit
protected final ExpiresFilter.DurationUnit unit
-
-
Constructor Detail
-
Duration
public Duration(int amount, ExpiresFilter.DurationUnit unit)
-
-
Method Detail
-
getAmount
public int getAmount()
-
getUnit
public ExpiresFilter.DurationUnit getUnit()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-