#include <HTTPCacheResponse.h>
Inheritance diagram for HTTPCacheResponse:
Suppressed default methods | |
HTTPCacheResponse (const HTTPCacheResponse &rs) | |
HTTPCacheResponse () | |
HTTPCacheResponse & | operator= (const HTTPCacheResponse &) |
Public Member Functions | |
HTTPCacheResponse (FILE *s, int status_code, vector< string > *headers, HTTPCache *c) | |
virtual | ~HTTPCacheResponse () |
Accessors | |
virtual vector< string > * | get_headers () const |
Mutators | |
virtual void | set_headers (vector< string > *h) |
Definition at line 41 of file HTTPCacheResponse.h.
HTTPCacheResponse::HTTPCacheResponse | ( | ) | [inline, protected] |
Definition at line 49 of file HTTPCacheResponse.h.
HTTPCacheResponse::HTTPCacheResponse | ( | const HTTPCacheResponse & | rs | ) | [inline, protected] |
Definition at line 51 of file HTTPCacheResponse.h.
HTTPCacheResponse::HTTPCacheResponse | ( | FILE * | s, | |
int | status_code, | |||
vector< string > * | headers, | |||
HTTPCache * | c | |||
) | [inline] |
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.
virtual HTTPCacheResponse::~HTTPCacheResponse | ( | ) | [inline, virtual] |
Free the cache entry lock. Call the parent's destructor.
Definition at line 71 of file HTTPCacheResponse.h.
References DBG, DBGN, and HTTPCache::release_cached_response().
Here is the call graph for this function:
virtual vector<string>* HTTPResponse::get_headers | ( | ) | const [inline, virtual, inherited] |
HTTPCacheResponse& HTTPCacheResponse::operator= | ( | const HTTPCacheResponse & | ) | [inline, protected] |
Definition at line 53 of file HTTPCacheResponse.h.
virtual void HTTPResponse::set_headers | ( | vector< string > * | h | ) | [inline, virtual, inherited] |
Definition at line 124 of file HTTPResponse.h.