C# Class System.Net.WebHeaderCollection.WebHeaderCollection

Inheritance: System.Collections.Specialized.NameValueCollection, ISerializable
Datei anzeigen Open project: kumpera/mono

Public Methods

Method Description
Add ( HttpRequestHeader header, string value ) : void
Add ( HttpResponseHeader header, string value ) : void
Add ( string header ) : void
Add ( string name, string value ) : void
Clear ( ) : void
Get ( int index ) : string
Get ( string name ) : string
GetEnumerator ( ) : IEnumerator
GetKey ( int index ) : string
GetObjectData ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
GetValues ( int index ) : string[]
GetValues ( string header ) : string[]
IsRestricted ( string headerName ) : bool
IsRestricted ( string headerName, bool response ) : bool
OnDeserialization ( object sender ) : void
Remove ( HttpRequestHeader header ) : void
Remove ( HttpResponseHeader header ) : void
Remove ( string name ) : void
Set ( HttpRequestHeader header, string value ) : void
Set ( HttpResponseHeader header, string value ) : void
Set ( string name, string value ) : void
ToByteArray ( ) : byte[]
ToString ( ) : string
this ( HttpRequestHeader hrh ) : string
this ( HttpResponseHeader hrh ) : string

Protected Methods

Method Description
AddWithoutValidate ( string headerName, string headerValue ) : void
WebHeaderCollection ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System

Private Methods

Method Description
ISerializable ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
IsHeaderName ( string name ) : bool
IsHeaderValue ( string value ) : bool
IsMultiValue ( string headerName ) : bool
RemoveAndAdd ( string name, string value ) : void
RemoveInternal ( string name ) : void
RequestHeaderToString ( HttpRequestHeader value ) : string
ResponseHeaderToString ( HttpResponseHeader value ) : string
SetInternal ( string header ) : void
SetInternal ( string name, string value ) : void
ToStringMultiValue ( ) : string
WebHeaderCollection ( ) : System
WebHeaderCollection ( bool internallyCreated ) : System

Method Details

Add() public method

public Add ( HttpRequestHeader header, string value ) : void
header HttpRequestHeader
value string
return void

Add() public method

public Add ( HttpResponseHeader header, string value ) : void
header HttpResponseHeader
value string
return void

Add() public method

public Add ( string header ) : void
header string
return void

Add() public method

public Add ( string name, string value ) : void
name string
value string
return void

AddWithoutValidate() protected method

protected AddWithoutValidate ( string headerName, string headerValue ) : void
headerName string
headerValue string
return void

Clear() public method

public Clear ( ) : void
return void

Get() public method

public Get ( int index ) : string
index int
return string

Get() public method

public Get ( string name ) : string
name string
return string

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetKey() public method

public GetKey ( int index ) : string
index int
return string

GetObjectData() public method

public GetObjectData ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
serializationInfo System.Runtime.Serialization.SerializationInfo
streamingContext System.Runtime.Serialization.StreamingContext
return void

GetValues() public method

public GetValues ( int index ) : string[]
index int
return string[]

GetValues() public method

public GetValues ( string header ) : string[]
header string
return string[]

IsRestricted() public static method

public static IsRestricted ( string headerName ) : bool
headerName string
return bool

IsRestricted() public static method

public static IsRestricted ( string headerName, bool response ) : bool
headerName string
response bool
return bool

OnDeserialization() public method

public OnDeserialization ( object sender ) : void
sender object
return void

Remove() public method

public Remove ( HttpRequestHeader header ) : void
header HttpRequestHeader
return void

Remove() public method

public Remove ( HttpResponseHeader header ) : void
header HttpResponseHeader
return void

Remove() public method

public Remove ( string name ) : void
name string
return void

Set() public method

public Set ( HttpRequestHeader header, string value ) : void
header HttpRequestHeader
value string
return void

Set() public method

public Set ( HttpResponseHeader header, string value ) : void
header HttpResponseHeader
value string
return void

Set() public method

public Set ( string name, string value ) : void
name string
value string
return void

ToByteArray() public method

public ToByteArray ( ) : byte[]
return byte[]

ToString() public method

public ToString ( ) : string
return string

WebHeaderCollection() protected method

protected WebHeaderCollection ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System
serializationInfo SerializationInfo
streamingContext StreamingContext
return System

this() public method

public this ( HttpRequestHeader hrh ) : string
hrh HttpRequestHeader
return string

this() public method

public this ( HttpResponseHeader hrh ) : string
hrh HttpResponseHeader
return string