C# 클래스 FluentHttp.External.HttpUtility

파일 보기 프로젝트 열기: prabirshrestha/FluentHttp

공개 메소드들

메소드 설명
HtmlAttributeEncode ( string s ) : string
HtmlAttributeEncode ( string s, TextWriter output ) : void
HtmlDecode ( string s ) : string

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

HtmlDecode ( string s, TextWriter output ) : void

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

HtmlEncode ( object value ) : string
HtmlEncode ( string s ) : string
HtmlEncode ( string s, TextWriter output ) : void

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

HttpUtility ( ) : System
JavaScriptStringEncode ( string value ) : string
JavaScriptStringEncode ( string value, bool addDoubleQuotes ) : string
ParseQueryString ( string query ) : NameValueCollection
ParseQueryString ( string query, Encoding encoding ) : NameValueCollection
UrlDecode ( byte bytes, Encoding e ) : string
UrlDecode ( byte bytes, int offset, int count, Encoding e ) : string
UrlDecode ( string str ) : string
UrlDecode ( string s, Encoding e ) : string
UrlDecodeToBytes ( byte bytes ) : byte[]
UrlDecodeToBytes ( byte bytes, int offset, int count ) : byte[]
UrlDecodeToBytes ( string str ) : byte[]
UrlDecodeToBytes ( string str, Encoding e ) : byte[]
UrlEncode ( byte bytes ) : string
UrlEncode ( byte bytes, int offset, int count ) : string
UrlEncode ( string str ) : string
UrlEncode ( string s, Encoding Enc ) : string
UrlEncodeToBytes ( byte bytes ) : byte[]
UrlEncodeToBytes ( byte bytes, int offset, int count ) : byte[]
UrlEncodeToBytes ( string str ) : byte[]
UrlEncodeToBytes ( string str, Encoding e ) : byte[]
UrlEncodeUnicode ( string str ) : string
UrlEncodeUnicodeToBytes ( string str ) : byte[]
UrlPathEncode ( string s ) : string

비공개 메소드들

메소드 설명
GetChar ( byte bytes, int offset, int length ) : int
GetChar ( string str, int offset, int length ) : int
GetChars ( MemoryStream b, Encoding e ) : char[]
GetInt ( byte b ) : int
ParseQueryString ( string query, Encoding encoding, NameValueCollection result ) : void
WriteCharBytes ( IList buf, char ch, Encoding e ) : void

메소드 상세

HtmlAttributeEncode() 공개 정적인 메소드

public static HtmlAttributeEncode ( string s ) : string
s string
리턴 string

HtmlAttributeEncode() 공개 정적인 메소드

public static HtmlAttributeEncode ( string s, TextWriter output ) : void
s string
output System.IO.TextWriter
리턴 void

HtmlDecode() 공개 정적인 메소드

Decodes an HTML-encoded string and returns the decoded string.
public static HtmlDecode ( string s ) : string
s string The HTML string to decode.
리턴 string

HtmlDecode() 공개 정적인 메소드

Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.
public static HtmlDecode ( string s, TextWriter output ) : void
s string The HTML string to decode
output System.IO.TextWriter The TextWriter output stream containing the decoded string.
리턴 void

HtmlEncode() 공개 정적인 메소드

public static HtmlEncode ( object value ) : string
value object
리턴 string

HtmlEncode() 공개 정적인 메소드

public static HtmlEncode ( string s ) : string
s string
리턴 string

HtmlEncode() 공개 정적인 메소드

HTML-encodes a string and sends the resulting output to a TextWriter output stream.
public static HtmlEncode ( string s, TextWriter output ) : void
s string The string to encode.
output System.IO.TextWriter The TextWriter output stream containing the encoded string.
리턴 void

HttpUtility() 공개 메소드

public HttpUtility ( ) : System
리턴 System

JavaScriptStringEncode() 공개 정적인 메소드

public static JavaScriptStringEncode ( string value ) : string
value string
리턴 string

JavaScriptStringEncode() 공개 정적인 메소드

public static JavaScriptStringEncode ( string value, bool addDoubleQuotes ) : string
value string
addDoubleQuotes bool
리턴 string

ParseQueryString() 공개 정적인 메소드

public static ParseQueryString ( string query ) : NameValueCollection
query string
리턴 System.Collections.Specialized.NameValueCollection

ParseQueryString() 공개 정적인 메소드

public static ParseQueryString ( string query, Encoding encoding ) : NameValueCollection
query string
encoding System.Text.Encoding
리턴 System.Collections.Specialized.NameValueCollection

UrlDecode() 공개 정적인 메소드

public static UrlDecode ( byte bytes, Encoding e ) : string
bytes byte
e System.Text.Encoding
리턴 string

UrlDecode() 공개 정적인 메소드

public static UrlDecode ( byte bytes, int offset, int count, Encoding e ) : string
bytes byte
offset int
count int
e System.Text.Encoding
리턴 string

UrlDecode() 공개 정적인 메소드

public static UrlDecode ( string str ) : string
str string
리턴 string

UrlDecode() 공개 정적인 메소드

public static UrlDecode ( string s, Encoding e ) : string
s string
e System.Text.Encoding
리턴 string

UrlDecodeToBytes() 공개 정적인 메소드

public static UrlDecodeToBytes ( byte bytes ) : byte[]
bytes byte
리턴 byte[]

UrlDecodeToBytes() 공개 정적인 메소드

public static UrlDecodeToBytes ( byte bytes, int offset, int count ) : byte[]
bytes byte
offset int
count int
리턴 byte[]

UrlDecodeToBytes() 공개 정적인 메소드

public static UrlDecodeToBytes ( string str ) : byte[]
str string
리턴 byte[]

UrlDecodeToBytes() 공개 정적인 메소드

public static UrlDecodeToBytes ( string str, Encoding e ) : byte[]
str string
e System.Text.Encoding
리턴 byte[]

UrlEncode() 공개 정적인 메소드

public static UrlEncode ( byte bytes ) : string
bytes byte
리턴 string

UrlEncode() 공개 정적인 메소드

public static UrlEncode ( byte bytes, int offset, int count ) : string
bytes byte
offset int
count int
리턴 string

UrlEncode() 공개 정적인 메소드

public static UrlEncode ( string str ) : string
str string
리턴 string

UrlEncode() 공개 정적인 메소드

public static UrlEncode ( string s, Encoding Enc ) : string
s string
Enc System.Text.Encoding
리턴 string

UrlEncodeToBytes() 공개 정적인 메소드

public static UrlEncodeToBytes ( byte bytes ) : byte[]
bytes byte
리턴 byte[]

UrlEncodeToBytes() 공개 정적인 메소드

public static UrlEncodeToBytes ( byte bytes, int offset, int count ) : byte[]
bytes byte
offset int
count int
리턴 byte[]

UrlEncodeToBytes() 공개 정적인 메소드

public static UrlEncodeToBytes ( string str ) : byte[]
str string
리턴 byte[]

UrlEncodeToBytes() 공개 정적인 메소드

public static UrlEncodeToBytes ( string str, Encoding e ) : byte[]
str string
e System.Text.Encoding
리턴 byte[]

UrlEncodeUnicode() 공개 정적인 메소드

public static UrlEncodeUnicode ( string str ) : string
str string
리턴 string

UrlEncodeUnicodeToBytes() 공개 정적인 메소드

public static UrlEncodeUnicodeToBytes ( string str ) : byte[]
str string
리턴 byte[]

UrlPathEncode() 공개 정적인 메소드

public static UrlPathEncode ( string s ) : string
s string
리턴 string