how to use httpserver.java
composed of [java.net.ServerSocket, java.nio.channels.FileChannel, java.util.Scanner].no thread.
httpserver.java
1.javac -d {classDir} {httpserver.java path}2.
java -cp {classDir} httpserver {rootDir}3. go to 'http://localhost:8080/*'.
if the response Content-Type must not be null, add the argument to 2.
java -cp {classDir} httpserver {rootDir} css[text/css]js[text/javascript;charset=utf-8]