C# Class ATMLUtilitiesLibrary.HttpProcessor

Afficher le fichier Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Méthodes publiques

Свойство Type Description
httpHeaders System.Collections.Hashtable
http_method String
http_protocol_versionstring String
http_url String
outputStream System.IO.StreamWriter
socket System.Net.Sockets.TcpClient
srv HttpServer

Méthodes publiques

Méthode Description
GetProperty ( String propertyName ) : String
HttpProcessor ( TcpClient s, HttpServer srv ) : System
handleGETRequest ( ) : void
handlePOSTRequest ( ) : void
parseRequest ( ) : void
process ( ) : void
readHeaders ( ) : void
writeFailure ( ) : void
writeSuccess ( string content_type = "text/html" ) : void

Private Methods

Méthode Description
streamReadLine ( Stream inputStream ) : string

Method Details

GetProperty() public méthode

public GetProperty ( String propertyName ) : String
propertyName String
Résultat String

HttpProcessor() public méthode

public HttpProcessor ( TcpClient s, HttpServer srv ) : System
s System.Net.Sockets.TcpClient
srv HttpServer
Résultat System

handleGETRequest() public méthode

public handleGETRequest ( ) : void
Résultat void

handlePOSTRequest() public méthode

public handlePOSTRequest ( ) : void
Résultat void

parseRequest() public méthode

public parseRequest ( ) : void
Résultat void

process() public méthode

public process ( ) : void
Résultat void

readHeaders() public méthode

public readHeaders ( ) : void
Résultat void

writeFailure() public méthode

public writeFailure ( ) : void
Résultat void

writeSuccess() public méthode

public writeSuccess ( string content_type = "text/html" ) : void
content_type string
Résultat void

Property Details

httpHeaders public_oe property

public Hashtable,System.Collections httpHeaders
Résultat System.Collections.Hashtable

http_method public_oe property

public String http_method
Résultat String

http_protocol_versionstring public_oe property

public String http_protocol_versionstring
Résultat String

http_url public_oe property

public String http_url
Résultat String

outputStream public_oe property

public StreamWriter,System.IO outputStream
Résultat System.IO.StreamWriter

socket public_oe property

public TcpClient,System.Net.Sockets socket
Résultat System.Net.Sockets.TcpClient

srv public_oe property

public HttpServer,ATMLUtilitiesLibrary srv
Résultat HttpServer