Skip to content
4thex edited this page Apr 16, 2014 · 1 revision

The WebServer sample is an example of the simplest possible web server that you can imagine.

It only supports HTTP GET requests.

It listens to port 7777.

Any files under the current directory can be returned.

It is a good example of using Thread and Runnable.

public class RequestReader implements Runnable {
	@Override
	public void run() {
	}
}

Clone this wiki locally