#include <HTTPCacheResponse.h>
Inheritance diagram for HTTPCacheResponse:
Accessors | |
virtual string | get_protocol () const |
virtual int | get_status () const |
virtual FILE * | get_stream () const |
virtual ObjectType | get_type () const |
virtual string | get_version () const |
Mutators | |
virtual void | set_protocol (const string &p) |
virtual void | set_status (int s) |
virtual void | set_stream (FILE *s) |
virtual void | set_type (ObjectType o) |
virtual void | set_version (const string &v) |
Public Member Functions | |
HTTPCacheResponse (FILE *s, vector< string > *headers, HTTPCache *c) | |
virtual | ~HTTPCacheResponse () |
Accessors | |
virtual vector< string > * | get_headers () const |
Mutators | |
virtual void | set_headers (vector< string > *h) |
Accessors | |
virtual vector< string > * | get_headers () const |
Mutators | |
virtual void | set_headers (vector< string > *h) |
Protected Member Functions | |
Suppressed default methods | |
HTTPCacheResponse (const HTTPCacheResponse &rs) | |
HTTPCacheResponse () | |
HTTPCacheResponse & | operator= (const HTTPCacheResponse &) |
Definition at line 41 of file HTTPCacheResponse.h.
|
Definition at line 49 of file HTTPCacheResponse.h. |
|
Definition at line 51 of file HTTPCacheResponse.h. |
|
Build a Response object. Instances of this class are used to represent responses from a local HTTP/1.1 cache. The stream and headers pointer are passed to the parent (HTTPResponse); there's no temporary file for the parent to manage since the body is read from a file managed by the cache subsystem. This class releases the lock on the cache entry when the destructor is called. Definition at line 66 of file HTTPCacheResponse.h. |
|
Free the cache entry lock. Call the parent's destructor. Definition at line 71 of file HTTPCacheResponse.h. References DBG, DBGN, Response::get_stream(), and HTTPCache::release_cached_response(). |
Here is the call graph for this function:
|
Definition at line 115 of file HTTPResponse.h. Referenced by HTTPConnect::fetch_url(). |
|
|
Definition at line 97 of file Response.h. |
|
Reimplemented in PipeResponse, and StdinResponse. Definition at line 101 of file Response.h. Referenced by main(), AISMerge::merge(), Connect::request_das(), Connect::request_das_url(), Connect::request_dds(), Connect::request_dds_url(), Connect::request_ddx(), Connect::request_ddx_url(), ~HTTPCacheResponse(), and HTTPResponse::~HTTPResponse(). |
|
Definition at line 105 of file Response.h. References ObjectType. Referenced by Connect::request_das(), Connect::request_das_url(), Connect::request_dds(), Connect::request_dds_url(), Connect::request_ddx(), and Connect::request_ddx_url(). |
|
|
Definition at line 53 of file HTTPCacheResponse.h. |
|
Definition at line 123 of file HTTPResponse.h. |
|
Definition at line 137 of file Response.h. Referenced by HTTPConnect::fetch_url(). |
|
Definition at line 121 of file Response.h. |
|
Reimplemented in PipeResponse, and StdinResponse. Definition at line 125 of file Response.h. Referenced by HTTPResponse::~HTTPResponse(). |
|
Definition at line 129 of file Response.h. Referenced by HTTPConnect::fetch_url(). |
|
Definition at line 133 of file Response.h. Referenced by HTTPConnect::fetch_url(). |