SolrNet: SolrNet.Utils.HttpUtility Class Reference

SolrNet

SolrNet.Utils.HttpUtility Class Reference

List of all members.

Classes

class  HttpQSCollection

Static Public Member Functions

static void HtmlAttributeEncode (string s, TextWriter output)
static string HtmlAttributeEncode (string s)
static string UrlDecode (string str)
static string UrlDecode (string s, Encoding e)
static string UrlDecode (byte[] bytes, Encoding e)
static string UrlDecode (byte[] bytes, int offset, int count, Encoding e)
static byte[] UrlDecodeToBytes (byte[] bytes)
static byte[] UrlDecodeToBytes (string str)
static byte[] UrlDecodeToBytes (string str, Encoding e)
static byte[] UrlDecodeToBytes (byte[] bytes, int offset, int count)
static string UrlEncode (string str)
static string UrlEncode (string s, Encoding Enc)
static string UrlEncode (byte[] bytes)
static string UrlEncode (byte[] bytes, int offset, int count)
static byte[] UrlEncodeToBytes (string str)
static byte[] UrlEncodeToBytes (string str, Encoding e)
static byte[] UrlEncodeToBytes (byte[] bytes)
static byte[] UrlEncodeToBytes (byte[] bytes, int offset, int count)
static string UrlEncodeUnicode (string str)
static byte[] UrlEncodeUnicodeToBytes (string str)
static string HtmlDecode (string s)
 Decodes an HTML-encoded string and returns the decoded string.
static void HtmlDecode (string s, TextWriter output)
 Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
static string HtmlEncode (string s)
static void HtmlEncode (string s, TextWriter output)
 HTML-encodes a string and sends the resulting output to a TextWriter output stream.
static string UrlPathEncode (string s)
static NameValueCollection ParseQueryString (string query)
static NameValueCollection ParseQueryString (string query, Encoding encoding)

Member Function Documentation

static string SolrNet.Utils.HttpUtility.HtmlDecode ( string  s ) [static]

Decodes an HTML-encoded string and returns the decoded string.

Parameters:
sThe HTML string to decode.
Returns:
The decoded text.
static void SolrNet.Utils.HttpUtility.HtmlDecode ( string  s,
TextWriter  output 
) [static]

Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.

Parameters:
sThe HTML string to decode
outputThe TextWriter output stream containing the decoded string.
static void SolrNet.Utils.HttpUtility.HtmlEncode ( string  s,
TextWriter  output 
) [static]

HTML-encodes a string and sends the resulting output to a TextWriter output stream.

Parameters:
sThe string to encode.
outputThe TextWriter output stream containing the encoded string.

The documentation for this class was generated from the following file:
  • SolrNet/Utils/HttpUtility.cs
Generated on Sun May 3 2015 17:19:12 for SolrNet by  doxygen 1.7.2