Package one.xingyi.core.server
Class HttpUtils
- java.lang.Object
-
- one.xingyi.core.server.HttpUtils
-
public class HttpUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HttpUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.concurrent.ExecutorServicemakeDefaultExecutor()static voidwrite(com.sun.net.httpserver.HttpExchange exchange, ServiceResponse response)
-
-
-
Method Detail
-
makeDefaultExecutor
public static java.util.concurrent.ExecutorService makeDefaultExecutor()
-
write
public static void write(com.sun.net.httpserver.HttpExchange exchange, ServiceResponse response) throws java.io.IOException- Throws:
java.io.IOException
-
-