mirror of
https://gitee.com/dromara/hutool.git
synced 2025-06-28 13:34:09 +08:00
16 lines
291 B
Java
16 lines
291 B
Java
package cn.hutool.http.server;
|
|
|
|
import cn.hutool.http.HttpUtil;
|
|
|
|
import java.io.IOException;
|
|
|
|
public class Issue3568Test {
|
|
public static void main(String[] args) {
|
|
HttpUtil.createServer(8888)
|
|
.addHandler("/", httpExchange -> {
|
|
throw new IOException("111");
|
|
})
|
|
.start();
|
|
}
|
|
}
|