#include <http_cache_control_response_header.h>
RFC-2616: cache control support.
◆ HttpCacheControlResponseHeader() [1/2]
google_container_api::HttpCacheControlResponseHeader::HttpCacheControlResponseHeader |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ HttpCacheControlResponseHeader() [2/2]
google_container_api::HttpCacheControlResponseHeader::HttpCacheControlResponseHeader |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~HttpCacheControlResponseHeader()
google_container_api::HttpCacheControlResponseHeader::~HttpCacheControlResponseHeader |
( |
| ) |
|
|
virtual |
◆ clear_age()
void google_container_api::HttpCacheControlResponseHeader::clear_age |
( |
| ) |
|
|
inline |
Clears the 'age
' attribute.
◆ clear_directive()
void google_container_api::HttpCacheControlResponseHeader::clear_directive |
( |
| ) |
|
|
inline |
Clears the 'directive
' attribute.
◆ clear_expires()
void google_container_api::HttpCacheControlResponseHeader::clear_expires |
( |
| ) |
|
|
inline |
Clears the 'expires
' attribute.
◆ get_age()
int64 google_container_api::HttpCacheControlResponseHeader::get_age |
( |
| ) |
const |
|
inline |
Get the value of the 'age
' attribute.
◆ get_directive()
const StringPiece google_container_api::HttpCacheControlResponseHeader::get_directive |
( |
| ) |
const |
|
inline |
Get the value of the 'directive
' attribute.
◆ get_expires()
const StringPiece google_container_api::HttpCacheControlResponseHeader::get_expires |
( |
| ) |
const |
|
inline |
Get the value of the 'expires
' attribute.
◆ GetTypeName()
const StringPiece google_container_api::HttpCacheControlResponseHeader::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_age()
bool google_container_api::HttpCacheControlResponseHeader::has_age |
( |
| ) |
const |
|
inline |
Determine if the 'age
' attribute was set.
- Returns
- true if the '
age
' attribute was set.
◆ has_directive()
bool google_container_api::HttpCacheControlResponseHeader::has_directive |
( |
| ) |
const |
|
inline |
Determine if the 'directive
' attribute was set.
- Returns
- true if the '
directive
' attribute was set.
◆ has_expires()
bool google_container_api::HttpCacheControlResponseHeader::has_expires |
( |
| ) |
const |
|
inline |
Determine if the 'expires
' attribute was set.
- Returns
- true if the '
expires
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_age()
void google_container_api::HttpCacheControlResponseHeader::set_age |
( |
int64 |
value | ) |
|
|
inline |
Change the 'age
' attribute.
14.6 response cache age, in seconds since the response is generated.
- Parameters
-
◆ set_directive()
void google_container_api::HttpCacheControlResponseHeader::set_directive |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'directive
' attribute.
14.9 request and response directives.
- Parameters
-
◆ set_expires()
void google_container_api::HttpCacheControlResponseHeader::set_expires |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'expires
' attribute.
14.21 response cache expires, in RFC 1123 date format.
- Parameters
-
The documentation for this class was generated from the following files: