5#include "acme/platform/department.h"
12 class CLASS_DECL_ACME url_context :
19 ~url_context()
override;
25 inline bool is(const ::scoped_string& scopedstr)
28 return ::url::url(scopedstr).is();
33 CLASS_DECL_ACME ::string request_set_href(const ::scoped_string& scopedstrRequest, const ::scoped_string& scopedstrHref);
34 CLASS_DECL_ACME ::string parameter_erased(const ::scoped_string& scopedstrUrl, const ::scoped_string& scopedstrKey);
35 CLASS_DECL_ACME ::string parameter_set(const ::scoped_string& scopedstrUrl, const ::scoped_string& scopedstrKey, const ::scoped_string& scopedstr);
36 CLASS_DECL_ACME ::string query_parameter_set(const ::scoped_string& scopedstrQuery, const ::scoped_string& scopedstrKey, const ::scoped_string& scopedstr);
37 CLASS_DECL_ACME
void erase_parameter(::string & str, const ::scoped_string& scopedstrKey);
38 CLASS_DECL_ACME
void set_parameter(::string & str, const ::scoped_string& scopedstrKey, const ::scoped_string& scopedstr);
39 CLASS_DECL_ACME
void query_set_parameter(::string& strQuery, const ::scoped_string& scopedstrKey, const ::scoped_string& scopedstr);
40 CLASS_DECL_ACME ::string path_join_query(const ::scoped_string& scopedstrPath, const ::scoped_string& scopedstrQuery);
41 CLASS_DECL_ACME
string __parameter_erased(const ::scoped_string& scopedstr, character_count iStartParam, const ::scoped_string& scopedstrKey);
42 CLASS_DECL_ACME
bool __has_parameter_replace(::string& str, const ::scoped_string& scopedstr, character_count iStart, const ::scoped_string& scopedstrKey, const ::scoped_string& scopedstrParameter);
43 CLASS_DECL_ACME
bool __get_parameter(::string& strParameter, const ::scoped_string& scopedstr, character_count iStart, const ::scoped_string& scopedstrParam);
48 CLASS_DECL_ACME ::string set_request_path(const ::scoped_string & scopedstrUrl, const ::scoped_string & scopedstrScript);
49 CLASS_DECL_ACME
bool has_parameter_replace(::string& str, const ::scoped_string& scopedstr, const ::scoped_string& scopedstrKey, const ::scoped_string& scopedstrParameter);
50 CLASS_DECL_ACME ::string has_parameter_replace(const ::scoped_string& scopedstr, const ::scoped_string& scopedstrKey, const ::scoped_string& scopedstrParameter);
51 CLASS_DECL_ACME
bool get_parameter(::string& strParameter, const ::scoped_string& scopedstr, const ::scoped_string& scopedstrParam);
52 CLASS_DECL_ACME ::string get_parameter(const ::scoped_string& scopedstr, const ::scoped_string& scopedstrParam);
53 CLASS_DECL_ACME ::string get_raw_request_path(const ::scoped_string& scopedstr);
54 CLASS_DECL_ACME ::string get_request_path(const ::scoped_string& scopedstr);
55 CLASS_DECL_ACME ::string get_protocol(const ::scoped_string & scopedstr);
56 CLASS_DECL_ACME ::string get_host(const ::scoped_string& scopedstr);
57 CLASS_DECL_ACME ::string get_root(const ::scoped_string& scopedstr);
58 CLASS_DECL_ACME ::string get_query(const ::scoped_string& scopedstr);
59 CLASS_DECL_ACME ::string get_object(const ::scoped_string & scopedstr);
67 CLASS_DECL_ACME ::string _001GetQuery(const ::scoped_string& scopedstr);
68 CLASS_DECL_ACME ::string object_set_query(const ::scoped_string& scopedstrObject, const ::scoped_string& scopedstrQuery);