fastdo  0.6.16
http_UrlParser.hpp
浏览该文件的文档.
1 #ifndef __HTTP_URLPARSER_HPP__
2 #define __HTTP_URLPARSER_HPP__
3 
4 namespace http
5 {
6 
9 {
10 public:
12  UrlParser( Url * url ) : _url(url) { }
13 
15  void parse( winux::String const & url, bool hasSchemeSegment = true, bool hasHostSegment = true, bool hasPathSegment = true, bool hasQuerySegment = true, bool hasFragmentSegment = true );
17  void parseHostSegment( winux::String const & hostSegment );
19  void parsePathSegment( winux::String const & pathSegment );
21  void parseQuerySegment( winux::String const & querySegment );
22 
23 private:
25  void _parseMatrixUriParams( winux::String const & matrixSegment, winux::Mixed * pMatrixParams );
26 
27  Url * _url;
28 };
29 
30 } // namespace http
31 
32 #endif // __HTTP_URLPARSER_HPP__
UrlParser(Url *url)
构造函数1
#define HTTPWRAPPER_DLL
Definition: http_base.hpp:24
XString< tchar > String
Definition: utilities.hpp:261
HTTP协议的相关简单类封装
Definition: http_base.hpp:32
URL类
Definition: http_Url.hpp:19
URL解析器
混合体,能表示多种类型的值
Definition: utilities.hpp:1440