C# Class System.Net.WebHeaderCollection.WebHeaderCollection

Inheritance: System.Collections.Specialized.NameValueCollection, ISerializable
Afficher le fichier Open project: kumpera/mono

Méthodes publiques

Méthode 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

Méthodes protégées

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

Private Methods

Méthode 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 méthode

public Add ( HttpRequestHeader header, string value ) : void
header HttpRequestHeader
value string
Résultat void

Add() public méthode

public Add ( HttpResponseHeader header, string value ) : void
header HttpResponseHeader
value string
Résultat void

Add() public méthode

public Add ( string header ) : void
header string
Résultat void

Add() public méthode

public Add ( string name, string value ) : void
name string
value string
Résultat void

AddWithoutValidate() protected méthode

protected AddWithoutValidate ( string headerName, string headerValue ) : void
headerName string
headerValue string
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Get() public méthode

public Get ( int index ) : string
index int
Résultat string

Get() public méthode

public Get ( string name ) : string
name string
Résultat string

GetEnumerator() public méthode

public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

GetKey() public méthode

public GetKey ( int index ) : string
index int
Résultat string

GetObjectData() public méthode

public GetObjectData ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
serializationInfo System.Runtime.Serialization.SerializationInfo
streamingContext System.Runtime.Serialization.StreamingContext
Résultat void

GetValues() public méthode

public GetValues ( int index ) : string[]
index int
Résultat string[]

GetValues() public méthode

public GetValues ( string header ) : string[]
header string
Résultat string[]

IsRestricted() public static méthode

public static IsRestricted ( string headerName ) : bool
headerName string
Résultat bool

IsRestricted() public static méthode

public static IsRestricted ( string headerName, bool response ) : bool
headerName string
response bool
Résultat bool

OnDeserialization() public méthode

public OnDeserialization ( object sender ) : void
sender object
Résultat void

Remove() public méthode

public Remove ( HttpRequestHeader header ) : void
header HttpRequestHeader
Résultat void

Remove() public méthode

public Remove ( HttpResponseHeader header ) : void
header HttpResponseHeader
Résultat void

Remove() public méthode

public Remove ( string name ) : void
name string
Résultat void

Set() public méthode

public Set ( HttpRequestHeader header, string value ) : void
header HttpRequestHeader
value string
Résultat void

Set() public méthode

public Set ( HttpResponseHeader header, string value ) : void
header HttpResponseHeader
value string
Résultat void

Set() public méthode

public Set ( string name, string value ) : void
name string
value string
Résultat void

ToByteArray() public méthode

public ToByteArray ( ) : byte[]
Résultat byte[]

ToString() public méthode

public ToString ( ) : string
Résultat string

WebHeaderCollection() protected méthode

protected WebHeaderCollection ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System
serializationInfo SerializationInfo
streamingContext StreamingContext
Résultat System

this() public méthode

public this ( HttpRequestHeader hrh ) : string
hrh HttpRequestHeader
Résultat string

this() public méthode

public this ( HttpResponseHeader hrh ) : string
hrh HttpResponseHeader
Résultat string