const auto& auth_strategy = auth_registry.get_swift();
return new RGWHandler_REST_SWIFT_Info(auth_strategy);
}
+
+int RGWHandler_REST_Bucket_SWIFT::error_handler(int err_no,
+ std::string *error_content,
+ optional_yield y)
+{
+ return website_handler->error_handler(err_no, error_content, y);
+}
+
+int RGWHandler_REST_Obj_SWIFT::error_handler(int err_no,
+ std::string *error_content,
+ optional_yield y)
+{
+ return website_handler->error_handler(err_no, error_content, y);
+}
using RGWHandler_REST_SWIFT::RGWHandler_REST_SWIFT;
~RGWHandler_REST_Bucket_SWIFT() override = default;
- int error_handler(int err_no, std::string *error_content, optional_yield y) override {
- return website_handler->error_handler(err_no, error_content, y);
- }
+ int error_handler(int err_no, std::string *error_content, optional_yield y) override;
int retarget(RGWOp* op, RGWOp** new_op, optional_yield) override {
return website_handler->retarget_bucket(op, new_op);
using RGWHandler_REST_SWIFT::RGWHandler_REST_SWIFT;
~RGWHandler_REST_Obj_SWIFT() override = default;
- int error_handler(int err_no, std::string *error_content,
- optional_yield y) override {
- return website_handler->error_handler(err_no, error_content, y);
- }
+ int error_handler(int err_no, std::string *error_content, optional_yield y) override;
int retarget(RGWOp* op, RGWOp** new_op, optional_yield) override {
return website_handler->retarget_object(op, new_op);