Package org.takes.misc
Interface Expires
-
- All Known Implementing Classes:
Expires.Date
,Expires.Expired
,Expires.Hour
,Expires.Never
public interface Expires
Expiration date in GMT.- Since:
- 2.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Expires.Date
Expiration date in GMT.static class
Expires.Expired
Already expired.static class
Expires.Hour
Expires in one hour of the given time.static class
Expires.Never
Never expires.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
print()
String representation of expiration time.
-
-
-
Method Detail
-
print
String print()
String representation of expiration time.- Returns:
- Representation of expirate time.
-
-