System::Web::HttpUtility class

HttpUtility class

Service class that encodes and decodes URL parts to and from hex escape fragments.

class HttpUtility : public System::Object

Methods

MethodDescription
static HtmlDecode(const String&)Decodes Html fragment.
static HtmlDecode(const String&, const SharedPtr<IO::TextWriter>&)Decodes Html fragment.
static HtmlEncode(const String&)Encodes Html fragment.
static HtmlEncode(const SharedPtr<Object>&)Encodes Html fragment.
static HtmlEncode(const String&, const SharedPtr<IO::TextWriter>&)Encodes Html fragment.
static UrlDecode(String)Decodes URI fragment from string.
static UrlDecode(String, System::SharedPtr<Text::Encoding>)Decodes URI fragment from string.
static UrlDecode(const System::ArrayPtr<uint8_t>&, const System::SharedPtr<Text::Encoding>&)Decodes URI fragment from bytes array.
static UrlDecode(const System::ArrayPtr<uint8_t>&, int32_t, int32_t, const System::SharedPtr<Text::Encoding>&)Decodes URI fragment from bytes array.
static UrlDecodeToBytes(const System::ArrayPtr<uint8_t>&)Decodes URI fragment from bytes array.
static UrlDecodeToBytes(const String&)Decodes URI fragment from bytes string.
static UrlDecodeToBytes(const String&, const System::SharedPtr<Text::Encoding>&)Decodes URI fragment from string.
static UrlDecodeToBytes(const System::ArrayPtr<uint8_t>&, int32_t, int32_t)Decodes URI fragment from bytes array.
static UrlEncode(String)Encodes URI fragment.
static UrlEncode(String, const System::SharedPtr<Text::Encoding>&)Encodes URI fragment.
static UrlEncode(const System::ArrayPtr<uint8_t>&)Encodes URI fragment.
static UrlEncode(const System::ArrayPtr<uint8_t>&, int32_t, int32_t)Encodes URI fragment.
static UrlEncodeToBytes(const String&)Encodes URI fragment.
static UrlEncodeToBytes(const String&, const System::SharedPtr<Text::Encoding>&)Encodes URI fragment.
static UrlEncodeToBytes(const System::ArrayPtr<uint8_t>&)Encodes URI fragment.
static UrlEncodeToBytes(const System::ArrayPtr<uint8_t>&, int32_t, int32_t)Encodes URI fragment.
static UrlEncodeUnicode(const String&)Encodes URI fragment usign Unicode.
static UrlEncodeUnicodeToBytes(const String&)Encodes URI fragment usign Unicode.

See Also