Class | Description |
---|---|
FileInfo |
Contains file pointer along with additional file info needed for sending it
as an answer to a HTTP/1.0 request.
|
Header |
Header is a container for data needed for building a HTTP/1.0
header answer to a HTTP/[0.9|1.0|1.1] request.
|
HttpServer |
HttpServer is a HTTP/1.0 server that handles HTTP/[0.9 | 1.0 | 1.1] requests.
|
InputData |
InputData is a container class for the parsed input string to a HttpServer.
|
InputDataParser |
A parser for the command line arguments.
|
OutputData |
OutputData is a container class for the output data needed to send an answer
to a HTTP request, that is, a header and a file, along with an indicator
of the status of the file, that is, whether or not it should be sent.
|
OutputDataParser |
OutputDataParser is a parser that takes the data sent from the client over
a socket along with the directory to search for files in and parses it into
an output data container which will contain the data necessary to answer
the client request, i.e., a header and the file, if found.
|
Request |
Request is a container class for a HTTP/[0.9 | 1.0 | 1.1] request containing
the request method, the URI and the HTTP version.
|
SocketThread |
SocketThread listens to a socket and handles one HTTP request
for a file in the start directory.
|