Modifier and Type | Field and Description |
---|---|
private Header |
OutputData.header |
Modifier and Type | Method and Description |
---|---|
Header |
OutputData.getHeader()
Gets header.
|
Modifier and Type | Method and Description |
---|---|
private FileInfo |
OutputDataParser.checkFile(Header header,
java.io.File directory,
java.lang.String uri)
Checks the file requested by the client and sets the status code in
the input header according to the findings.
|
private int |
OutputDataParser.checkRequest(Header header)
Checks the request content and validity and modifies the header's
status code according to the findings.
|
private void |
SocketThread.sendHeaderToClient(java.io.DataOutputStream outToClient,
Header header)
Sends the input file header to the client over the socket by using
the input data output stream.
|
void |
OutputData.setHeader(Header header)
Sets header.
|