C G M R

C

ClassFileServer - class ClassFileServer.
The ClassFileServer implements a ClassServer that reads class files from the file system.
ClassFileServer(int, String) - Constructor for class ClassFileServer
Constructs a ClassFileServer.
ClassServer - class ClassServer.
ClassServer is an abstract class that provides the basic functionality of a mini-webserver, specialized to load class files only.
ClassServer(int) - Constructor for class ClassServer
Constructs a ClassServer that listens on port and obtains a class's bytecodes using the method getBytes.

G

getBytes(String) - Method in class ClassFileServer
Returns an array of bytes containing the bytecodes for the class represented by the argument path.
getBytes(String) - Method in class ClassServer
Returns an array of bytes containing the bytecodes for the class represented by the argument path.

M

main(String[]) - Static method in class ClassFileServer
Main method to create the class server that reads class files.

R

run() - Method in class ClassServer
The "listen" thread that accepts a connection to the server, parses the header to obtain the class file name and sends back the bytecodes for the class (or error if the class is not found or the response was malformed).

C G M R