C# Class Bend.Util.HttpProcessor

Afficher le fichier Open project: bi-tm/openABAP 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
HttpProcessor ( TcpClient s, HttpServer srv ) : System
handleGETRequest ( ) : void
handlePOSTRequest ( ) : void
parseRequest ( ) : void
process ( ) : void
readHeaders ( ) : void
writeFailure ( ) : void
writeSuccess ( ) : void

Private Methods

Méthode Description
streamReadLine ( Stream inputStream ) : string

Method Details

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 ( ) : void
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,Bend.Util srv
Résultat HttpServer