container  v1
Public Member Functions | Static Public Member Functions | List of all members
google_container_api::HttpCacheControlResponseHeader Class Reference

#include <http_cache_control_response_header.h>

Inheritance diagram for google_container_api::HttpCacheControlResponseHeader:

Public Member Functions

 HttpCacheControlResponseHeader (const Json::Value &storage)
 
 HttpCacheControlResponseHeader (Json::Value *storage)
 
virtual ~HttpCacheControlResponseHeader ()
 
const StringPiece GetTypeName () const
 
bool has_age () const
 
void clear_age ()
 
int64 get_age () const
 
void set_age (int64 value)
 
bool has_directive () const
 
void clear_directive ()
 
const StringPiece get_directive () const
 
void set_directive (const StringPiece &value)
 
bool has_expires () const
 
void clear_expires ()
 
const StringPiece get_expires () const
 
void set_expires (const StringPiece &value)
 

Static Public Member Functions

static HttpCacheControlResponseHeaderNew ()
 

Detailed Description

RFC-2616: cache control support.

Constructor & Destructor Documentation

◆ HttpCacheControlResponseHeader() [1/2]

google_container_api::HttpCacheControlResponseHeader::HttpCacheControlResponseHeader ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~HttpCacheControlResponseHeader()

google_container_api::HttpCacheControlResponseHeader::~HttpCacheControlResponseHeader ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_container_api::HttpCacheControlResponseHeader

◆ 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()

HttpCacheControlResponseHeader * google_container_api::HttpCacheControlResponseHeader::New ( )
static

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
[in]valueThe new value.

◆ set_directive()

void google_container_api::HttpCacheControlResponseHeader::set_directive ( const StringPiece &  value)
inline

Change the 'directive' attribute.

14.9 request and response directives.

Parameters
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: