Package org.mozilla.jss.tests
Class ClassServer
- java.lang.Object
-
- org.mozilla.jss.tests.ClassServer
-
- All Implemented Interfaces:
java.lang.Runnable
public abstract class ClassServer extends java.lang.Object implements java.lang.Runnable
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ClassServer(java.net.ServerSocket ss)
Constructs a ClassServer based on ss
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
The "listen" thread that accepts a connection to the server, parses the header to obtain the file name and sends back the bytes for the file (or error if the file is not found or the response was malformed).
-