fastdo  0.6.16
http::Header::HeaderField类 参考

解析/描述头域字段的值 更多...

#include <http_Header.hpp>

类 http::Header::HeaderField 继承关系图:
http::Header::HeaderField 的协作图:

Public 成员函数

 HeaderField ()
 
 HeaderField (winux::String const &fieldVal)
 
 HeaderField (winux::String const &firstVal, winux::Mixed const &options)
 
void clear ()
 
virtual winux::String toString (bool semicolonSpace=true, bool commaSpace=false, bool keyNoValForceQuote=false, bool valueForceQuote=false) const
 
HeaderFieldparse (winux::String const &fieldVal)
 
winux::String getOption (winux::String const &name, size_t i=0) const
 
void setOption (winux::String const &name, winux::String const &value, size_t i=0)
 
bool hasOption (winux::String const &name, size_t i=0) const
 
size_t getOptionsCount () const
 
winux::MixedgetOptions (size_t i=0)
 
winux::Mixed const & getOptions (size_t i=0) const
 
winux::String getFirstVal (size_t i=0) const
 
void setFirstVal (winux::String const &firstVal, size_t i=0)
 

Protected 属性

std::vector< winux::Mixed_optionss
 

详细描述

解析/描述头域字段的值

在文件 http_Header.hpp14 行定义.

构造及析构函数说明

http::Header::HeaderField::HeaderField ( )
http::Header::HeaderField::HeaderField ( winux::String const &  fieldVal)
http::Header::HeaderField::HeaderField ( winux::String const &  firstVal,
winux::Mixed const &  options 
)

成员函数说明

void http::Header::HeaderField::clear ( )
virtual winux::String http::Header::HeaderField::toString ( bool  semicolonSpace = true,
bool  commaSpace = false,
bool  keyNoValForceQuote = false,
bool  valueForceQuote = false 
) const
virtual
HeaderField& http::Header::HeaderField::parse ( winux::String const &  fieldVal)
winux::String http::Header::HeaderField::getOption ( winux::String const &  name,
size_t  i = 0 
) const
inline

在文件 http_Header.hpp26 行定义.

void http::Header::HeaderField::setOption ( winux::String const &  name,
winux::String const &  value,
size_t  i = 0 
)
bool http::Header::HeaderField::hasOption ( winux::String const &  name,
size_t  i = 0 
) const
inline

在文件 http_Header.hpp28 行定义.

size_t http::Header::HeaderField::getOptionsCount ( ) const
inline

在文件 http_Header.hpp30 行定义.

winux::Mixed& http::Header::HeaderField::getOptions ( size_t  i = 0)
inline

在文件 http_Header.hpp31 行定义.

winux::Mixed const& http::Header::HeaderField::getOptions ( size_t  i = 0) const
inline

在文件 http_Header.hpp32 行定义.

winux::String http::Header::HeaderField::getFirstVal ( size_t  i = 0) const
void http::Header::HeaderField::setFirstVal ( winux::String const &  firstVal,
size_t  i = 0 
)

类成员变量说明

std::vector<winux::Mixed> http::Header::HeaderField::_optionss
protected

在文件 http_Header.hpp38 行定义.


该类的文档由以下文件生成: