C# Class Bend.HttpProcessor

Show file Open project: jeske/StepsDB-alpha Class Usage Examples

Public Properties

Property 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

Public Methods

Method Description
HttpProcessor ( TcpClient s, HttpServer srv ) : System
handleGETRequest ( ) : void
handlePOSTRequest ( ) : void
parseRequest ( ) : void
process ( ) : void
readHeaders ( ) : void
writeFailure ( ) : void
writeSuccess ( ) : void

Private Methods

Method Description
streamReadLine ( Stream inputStream ) : string

Method Details

HttpProcessor() public method

public HttpProcessor ( TcpClient s, HttpServer srv ) : System
s System.Net.Sockets.TcpClient
srv HttpServer
return System

handleGETRequest() public method

public handleGETRequest ( ) : void
return void

handlePOSTRequest() public method

public handlePOSTRequest ( ) : void
return void

parseRequest() public method

public parseRequest ( ) : void
return void

process() public method

public process ( ) : void
return void

readHeaders() public method

public readHeaders ( ) : void
return void

writeFailure() public method

public writeFailure ( ) : void
return void

writeSuccess() public method

public writeSuccess ( ) : void
return void

Property Details

httpHeaders public property

public Hashtable,System.Collections httpHeaders
return System.Collections.Hashtable

http_method public property

public String http_method
return String

http_protocol_versionstring public property

public String http_protocol_versionstring
return String

http_url public property

public String http_url
return String

outputStream public property

public StreamWriter,System.IO outputStream
return System.IO.StreamWriter

socket public property

public TcpClient,System.Net.Sockets socket
return System.Net.Sockets.TcpClient

srv public property

public HttpServer,Bend srv
return HttpServer