HttpUtility Members
Include Protected Members
Include Inherited Members
Provides access to methods used to encode and decode strings during the processing of Web requests.
The HttpUtility type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HttpUtility | Initializes a new instance of the SPHttpUtility class. |
Top
Methods
Name | Description | |
---|---|---|
EcmaScriptStringLiteralEncode(String) | Retrieves an encoded version of the specified JavaScript string. | |
EcmaScriptStringLiteralEncode(String, TextWriter) | Retrieves an encoded version of the specified JavaScript string and appends it to the specified output stream. | |
HtmlEncode(String) | Encodes the specified string for use as text between HTML tags, or as an attribute value inside an HTML tag. | |
HtmlEncode(String, TextWriter) | Encodes the specified string as a text string to be enclosed in HTML tags, or as an attribute value inside an HTML tag, and appends it to the specified output stream. | |
HtmlUrlAttributeEncode(String) | Encodes the specified string for use as an attribute value for URL type attributes, such as the href attribute of an anchor tag or the src attribute of an image tag. | |
HtmlUrlAttributeEncode(String, TextWriter) | Encodes the specified string for use as an attribute value for URL type attributes, such as the href attribute of an anchor tag or the src attribute of an image tag, and appends it to the specified output stream. | |
ToString | (Inherited from Object.) | |
UrlKeyValueDecode | Decodes the specified encoded URL query string key or value. | |
UrlKeyValueEncode(Guid) | Encodes a GUID for use in a URL query string. | |
UrlKeyValueEncode(Int32) | Encodes an integer key or value for use in a URL query string. | |
UrlKeyValueEncode(String) | Encodes a string for use in a URL query string. | |
UrlKeyValueEncode(String, TextWriter) | Encodes the specified URL query string key or value, and appends it to the specified output stream. | |
UrlKeyValueEncode(String, String) | Encodes a string key and value for use in a URL query string. | |
UrlKeyValueEncode(String, String, TextWriter) | Encodes a string key and value for use in a URL query string, and then appends it to the specified output stream. | |
UrlPathEncode(String, Boolean) | Encodes the specified path part of a URL for HTTP transmission. | |
UrlPathEncode(String, Boolean, Boolean) | Encodes the specified path part of a URL for HTTP transmission. | |
UrlPathEncode(String, Boolean, TextWriter) | Encodes the specified path part of a URL for HTTP transmission and appends it to the specified output stream. | |
UrlPathEncode(String, Boolean, Boolean, TextWriter) | Encodes the specified path part of a URL for HTTP transmission and appends it to the specified output stream. |
Top