- sendErrorMessageToClient(DataOutputStream, String) - Method in class SocketThread
-
Sends the input error message to the client over the socket by using the
input data output stream after having converted it to a simple html page.
- sendFileToClient(DataOutputStream, File) - Method in class SocketThread
-
Sends the input file to the client over the socket by using the input
data output stream.
- sendHeaderToClient(DataOutputStream, Header) - Method in class SocketThread
-
Sends the input file header to the client over the socket by using
the input data output stream.
- serverSocket - Static variable in class HttpServer
-
- setContentLength(String) - Method in class Header
-
Sets the content length.
- setContentType(String) - Method in class Header
-
Sets the content type.
- setFile(File) - Method in class FileInfo
-
Sets the file.
- setFile(File) - Method in class OutputData
-
Sets file.
- setFileExtension(String) - Method in class FileInfo
-
Sets the file extension.
- setFileFound(boolean) - Method in class OutputData
-
Sets the status of the file.
- setFileLength(long) - Method in class FileInfo
-
Sets the file length.
- setFileStatus(int) - Method in class FileInfo
-
Sets the file status.
- setHeader(Header) - Method in class OutputData
-
Sets header.
- setHttpVersion(String) - Method in class Request
-
Sets the HTTP version.
- setRequestMethod(String) - Method in class Request
-
Sets the request method.
- setStatusCode(String) - Method in class Header
-
Sets the status code.
- setURI(String) - Method in class Request
-
Sets the URI.
- setValidity(boolean) - Method in class Request
-
Sets validity status.
- socketThread - Static variable in class HttpServer
-
- SocketThread - Class in <Unnamed>
-
SocketThread listens to a socket and handles one HTTP request
for a file in the start directory.
- SocketThread(Socket, File) - Constructor for class SocketThread
-
- statusCode - Variable in class Header
-