19   _request_mode = RM_any;
    20   _cache_control = CC_allow_cache;
    28 DocumentSpec(
const std::string &url) :
    31   _request_mode = RM_any;
    32   _cache_control = CC_allow_cache;
    40 DocumentSpec(
const URLSpec &url) :
    43   _request_mode = RM_any;
    44   _cache_control = CC_allow_cache;
    56   _request_mode(copy._request_mode),
    57   _cache_control(copy._cache_control),
    65 INLINE 
void DocumentSpec::
    70   _request_mode = copy._request_mode;
    71   _cache_control = copy._cache_control;
    78 INLINE 
bool DocumentSpec::
    86 INLINE 
bool DocumentSpec::
    94 INLINE 
bool DocumentSpec::
   113 INLINE 
const URLSpec &DocumentSpec::
   130 INLINE 
bool DocumentSpec::
   132   return (_flags & F_has_tag) != 0;
   151 INLINE 
void DocumentSpec::
   153   _flags &= ~F_has_tag;
   162   _flags |= F_has_date;
   168 INLINE 
bool DocumentSpec::
   170   return (_flags & F_has_date) != 0;
   177 INLINE 
const HTTPDate &DocumentSpec::
   187 INLINE 
void DocumentSpec::
   189   _flags &= ~F_has_date;
   225   _request_mode = request_mode;
   231 INLINE DocumentSpec::RequestMode DocumentSpec::
   232 get_request_mode()
 const {
   233   return _request_mode;
   254   _cache_control = cache_control;
   260 INLINE DocumentSpec::CacheControl DocumentSpec::
   261 get_cache_control()
 const {
   262   return _cache_control;
   265 INLINE std::istream &
   267   if (!doc.
input(in)) {
   268     in.clear(std::ios::failbit | in.rdstate());
   273 INLINE std::ostream &
   274 operator << (std::ostream &out, 
const DocumentSpec &doc) {
 set_tag
Changes the identity tag associated with the DocumentSpec.
A container for a URL, e.g.
A container for an "entity tag" from an HTTP server.
set_date
Changes the last-modified date associated with the DocumentSpec.
set_request_mode
Sets the request mode of this DocumentSpec.
A container for an HTTP-legal time/date indication.
has_date
Returns true if a last-modified date is associated with the DocumentSpec.
has_tag
Returns true if an identity tag is associated with the DocumentSpec.
An STL function object class, this is intended to be used on any ordered collection of class objects ...
set_url
Changes the URL of the DocumentSpec without modifying its other properties.
A descriptor that refers to a particular version of a document.
bool input(std::istream &in)
Can be used to read in the DocumentSpec from a stream generated either by output() or write().
set_cache_control
Specifies what kind of cached value is acceptable for this document.