This commit is contained in:
Looly
2020-12-29 19:21:08 +08:00
parent 99934e2b9f
commit b8e5cc006e
5 changed files with 23 additions and 3 deletions

View File

@@ -2,7 +2,6 @@ package cn.hutool.http.server.action;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.io.FileUtil;
import cn.hutool.core.lang.Console;
import cn.hutool.http.server.HttpServerRequest;
import cn.hutool.http.server.HttpServerResponse;
@@ -80,7 +79,6 @@ public class RootAction implements Action {
}
}
Console.log(file.getAbsolutePath());
response.send404("404 Not Found !");
}
}

View File

@@ -0,0 +1,6 @@
/**
* {@link com.sun.net.httpserver.HttpServer} 封装
*
* @author looly
*/
package cn.hutool.http.server.action;