C H J M R S W

C

clientSock - Variable in class JWSWorker
 

H

handleConnection(Socket) - Method in class JWSWorker
Reads in an HTTP request from the given Socket and sends the appropriate reply.
HTML403 - Static variable in class JWSErrors
 
HTML404 - Static variable in class JWSErrors
 
HTML500 - Static variable in class JWSErrors
 
HTML501 - Static variable in class JWSErrors
 

J

JWS - Class in <Unnamed>
The Java Web Server.
JWS() - Constructor for class JWS
 
JWS_LISTEN_PORT - Variable in class JWSServer
 
JWSErrors - Class in <Unnamed>
Some public static error messages for convenience.
JWSErrors() - Constructor for class JWSErrors
 
JWSServer - Class in <Unnamed>
Implementation backend class of the JWS.
JWSServer() - Constructor for class JWSServer
 
JWSWorker - Class in <Unnamed>
A worker thread's data and run() method.
JWSWorker() - Constructor for class JWSWorker
Don't use this constructor.
JWSWorker(Socket) - Constructor for class JWSWorker
Create a JWSWorker object with a socket to operate on.

M

main(String[]) - Static method in class JWS
Starts the JWS running, by instantiating the JWSServer class.
mimeData - Static variable in class JWSWorker
 

R

run() - Method in class JWSWorker
run() is just a wrapper for handleConnection().
RunServer() - Method in class JWSServer
Inits and runs the server.

S

sendErrorAndClose(Socket, OutputStream, String) - Static method in class JWSWorker
Sends an error message and closes the connection.

W

WORKERPOOL_KEEPALIVETIME_SECS - Variable in class JWSServer
 
WORKERPOOL_MAXTHREADS - Variable in class JWSServer
 
WORKERPOOL_MINTHREADS - Variable in class JWSServer
 
WORKERPOOL_TASKQ_MAXSIZE - Variable in class JWSServer
 

C H J M R S W