26#ifndef cache_http_response_h
27#define cache_http_response_h
56 :
HTTPResponse(s, status_code, headers,
""), d_cache(c) {}
65 :
HTTPResponse(s, status_code, headers, file_name), d_cache(c) {}
70 d_cache->release_cached_response(
get_stream());
~HTTPCacheResponse() override
HTTPCacheResponse & operator=(const HTTPCacheResponse &)=delete
HTTPCacheResponse(FILE *s, int status_code, const vector< string > &headers, HTTPCache *c)
HTTPCacheResponse(const HTTPCacheResponse &rs)=delete
HTTPCacheResponse(FILE *s, int status_code, const vector< string > &headers, const string &file_name, HTTPCache *c)
HTTPCacheResponse()=delete
virtual void set_file(const std::string &n)
virtual FILE * get_stream() const
top level DAP object to house generic methods