27#define S3Container_h_ 1
33#include "BESContainer.h"
34#include "RemoteResource.h"
48class S3Container:
public BESContainer {
50 std::shared_ptr<http::RemoteResource> d_dmrpp_rresource =
nullptr;
53 void _duplicate(S3Container ©_to);
56 S3Container() =
default;
57 S3Container(
const std::string &sym_name,
const std::string &real_name,
const std::string &type);
59 S3Container(
const S3Container ©_from) =
delete;
60 S3Container& operator=(
const S3Container& other) =
delete;
62 ~S3Container() =
default;
67 void filter_response(
const std::map<std::string, std::string, std::less<>> &content_filters)
const;
69 std::string
access()
override;
73 void dump(std::ostream &strm)
const override;
std::string access() override
access the remote target response by making the remote request
bool release() override
release the resources
BESContainer * ptr_duplicate() override
pure abstract method to duplicate this instances of BESContainer
void dump(std::ostream &strm) const override
dumps information about this object
void filter_response(const std::map< std::string, std::string, std::less<> > &content_filters) const
Filter the cached resource. Each key in content_filters is replaced with its associated map value.