72 static constexpr std::string_view
kName =
"handler-implicit-http-options";
76 const components::ComponentContext& component_context,
77 bool is_monitor =
false
80 ~ImplicitOptions()
override;
88 using AuthCheckers = std::unordered_map<std::string, auth::AuthCheckerBasePtr>;
90 std::string ExtractAllowedMethods(
const std::string& path)
const;
92 const http::HandlerInfoIndex& GetHandlerInfoIndex()
const;
94 const Server& server_;
95 const AuthCheckers auth_checkers_;
97 mutable engine::Mutex handler_info_index_mutex_;
98 mutable const http::HandlerInfoIndex* handler_info_index_ =
nullptr;