C# 클래스 ATMLUtilitiesLibrary.HttpProcessor

파일 보기 프로젝트 열기: UtrsSoftware/ATMLWorkBench 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
streamReadLine ( Stream inputStream ) : string

메소드 상세

GetProperty() 공개 메소드

public GetProperty ( String propertyName ) : String
propertyName String
리턴 String

HttpProcessor() 공개 메소드

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

handleGETRequest() 공개 메소드

public handleGETRequest ( ) : void
리턴 void

handlePOSTRequest() 공개 메소드

public handlePOSTRequest ( ) : void
리턴 void

parseRequest() 공개 메소드

public parseRequest ( ) : void
리턴 void

process() 공개 메소드

public process ( ) : void
리턴 void

readHeaders() 공개 메소드

public readHeaders ( ) : void
리턴 void

writeFailure() 공개 메소드

public writeFailure ( ) : void
리턴 void

writeSuccess() 공개 메소드

public writeSuccess ( string content_type = "text/html" ) : void
content_type string
리턴 void

프로퍼티 상세

httpHeaders 공개적으로 프로퍼티

public Hashtable,System.Collections httpHeaders
리턴 System.Collections.Hashtable

http_method 공개적으로 프로퍼티

public String http_method
리턴 String

http_protocol_versionstring 공개적으로 프로퍼티

public String http_protocol_versionstring
리턴 String

http_url 공개적으로 프로퍼티

public String http_url
리턴 String

outputStream 공개적으로 프로퍼티

public StreamWriter,System.IO outputStream
리턴 System.IO.StreamWriter

socket 공개적으로 프로퍼티

public TcpClient,System.Net.Sockets socket
리턴 System.Net.Sockets.TcpClient

srv 공개적으로 프로퍼티

public HttpServer,ATMLUtilitiesLibrary srv
리턴 HttpServer