created http server and new thread

This commit is contained in:
2019-09-13 15:41:40 +02:00
parent 2e0abb2f6e
commit 3b69bc3cc9
4 changed files with 114 additions and 0 deletions

15
src/main.java Normal file
View File

@@ -0,0 +1,15 @@
public class main {
public static void main(String[] args) {
Thread mythread = new Thread(new Runnable() {
@Override
public void run() {
new Webserver().startserver();
}
});
mythread.start();
System.out.println("thread started");
}
}