Method | Description | |
---|---|---|
TcpSocketHandler ( Socket socket, RequestQueue requestQueue, Stream stream ) : System | ||
TcpSocketHandler ( Socket socket, Stream stream ) : System |
Method | Description | |
---|---|---|
ReadContentLength ( bool &chunked, int &contentLength ) : void | ||
ReadCountedString ( ) : String | ||
ReadToEndOfHeaders ( BaseTransportHeaders headers ) : void | ||
ReadVersionAndOperation ( |
||
WriteCountedString ( String str, Stream outputStream ) : void | ||
WriteHeaders ( ITransportHeaders headers, Stream outputStream ) : void | ||
WritePreambleAndVersion ( Stream outputStream ) : void |
Method | Description | |
---|---|---|
ReadAndMatchPreamble ( ) : void | ||
ReadAndVerifyHeaderFormat ( String headerName, byte expectedFormat ) : void | ||
WriteContentTypeHeader ( String value, Stream outputStream ) : void | ||
WriteCustomHeader ( String name, String value, Stream outputStream ) : void |
protected ReadContentLength ( bool &chunked, int &contentLength ) : void | ||
chunked | bool | |
contentLength | int | |
return | void |
protected ReadToEndOfHeaders ( BaseTransportHeaders headers ) : void | ||
headers | BaseTransportHeaders | |
return | void |
protected ReadVersionAndOperation ( |
||
operation | ||
return | void |
public TcpSocketHandler ( Socket socket, RequestQueue requestQueue, Stream stream ) : System | ||
socket | Socket | |
requestQueue | RequestQueue | |
stream | Stream | |
return | System |
public TcpSocketHandler ( Socket socket, Stream stream ) : System | ||
socket | Socket | |
stream | Stream | |
return | System |
protected WriteCountedString ( String str, Stream outputStream ) : void | ||
str | String | |
outputStream | Stream | |
return | void |
protected WriteHeaders ( ITransportHeaders headers, Stream outputStream ) : void | ||
headers | ITransportHeaders | |
outputStream | Stream | |
return | void |
protected WritePreambleAndVersion ( Stream outputStream ) : void | ||
outputStream | Stream | |
return | void |