C# Class RemObjects.InternetPack.Http.HttpHeaders

Inheritance: IEnumerable
显示文件 Open project: remobjects/internetpack Class Usage Examples

Private Properties

Property Type Description
ReadHttpMethodName String
SetResponseHeader void

Public Methods

Method Description
ContainsHeaderValue ( String key ) : System.Boolean
Create ( Connection connection ) : HttpHeaders
GetEnumerator ( ) : IEnumerator
GetHeaderValue ( String name ) : String
HttpHeaders ( ) : System
ParseFirstLine ( ) : void
ReadHeader ( Connection connection ) : System.Boolean
SetHeaderValue ( String name, String value ) : void
SetRequestHeader ( String version, String requestType, String requestPath ) : void
SetResponseHeader ( String version, HttpStatusCode code ) : void
ToString ( ) : String
WriteHeader ( Connection connection ) : void
this ( String key ) : HttpHeader

Protected Methods

Method Description
Initialize ( ) : void

Private Methods

Method Description
ReadHttpMethodName ( Connection connection ) : String
SetResponseHeader ( String version, Int32 code ) : void

Method Details

ContainsHeaderValue() public method

public ContainsHeaderValue ( String key ) : System.Boolean
key String
return System.Boolean

Create() public static method

public static Create ( Connection connection ) : HttpHeaders
connection System.Net.Connection
return HttpHeaders

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetHeaderValue() public method

public GetHeaderValue ( String name ) : String
name String
return String

HttpHeaders() public method

public HttpHeaders ( ) : System
return System

Initialize() protected method

protected Initialize ( ) : void
return void

ParseFirstLine() public method

public ParseFirstLine ( ) : void
return void

ReadHeader() public method

public ReadHeader ( Connection connection ) : System.Boolean
connection System.Net.Connection
return System.Boolean

SetHeaderValue() public method

public SetHeaderValue ( String name, String value ) : void
name String
value String
return void

SetRequestHeader() public method

public SetRequestHeader ( String version, String requestType, String requestPath ) : void
version String
requestType String
requestPath String
return void

SetResponseHeader() public method

public SetResponseHeader ( String version, HttpStatusCode code ) : void
version String
code HttpStatusCode
return void

ToString() public method

public ToString ( ) : String
return String

WriteHeader() public method

public WriteHeader ( Connection connection ) : void
connection System.Net.Connection
return void

this() public method

public this ( String key ) : HttpHeader
key String
return HttpHeader