@Header(value="Age") public final class Age extends HeaderInteger
The age the object has been in a proxy cache in seconds.
Age: 12
Age = "Age" ":" age-value age-value = delta-seconds
Age values are non-negative decimal integers, representing time in seconds.
If a cache receives a value larger than the largest positive integer it can represent, or if any of its age calculations overflows, it MUST transmit an Age header with a value of 2147483648 (2^31).
An HTTP/1.1 server that includes a cache MUST include an Age header field in every response generated from its own cache.
Caches SHOULD use an arithmetic type of at least 31 bits of range.
| Modifier and Type | Method and Description |
|---|---|
static Age |
forString(String value)
Returns a parsed
|
asInt, toStringCopyright © 2016–2019 The Apache Software Foundation. All rights reserved.