Package one.xingyi.javaserver
Class SimpleHttpServer
- java.lang.Object
-
- one.xingyi.javaserver.SimpleHttpServer
-
public class SimpleHttpServer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SimpleHttpServer(int port, java.util.concurrent.Executor executor, PathAndHandler... handlers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart()voidstop()
-
-
-
Constructor Detail
-
SimpleHttpServer
public SimpleHttpServer(int port, java.util.concurrent.Executor executor, PathAndHandler... handlers) throws java.io.IOException- Throws:
java.io.IOException
-
-