feat(all): Modify Project Package Name cn.hutool->org.dromara.hutool

BREAKING CHANGE: 包名变更

Closes https://gitee.com/dromara/hutool/issues/I6SC4B
This commit is contained in:
yulin
2023-04-03 02:32:22 +08:00
parent 92807dc7a7
commit 4c154b3aa3
2072 changed files with 6967 additions and 6962 deletions

View File

@@ -1,7 +1,7 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.http.meta.ContentType;
import org.dromara.hutool.core.util.CharsetUtil;
import org.dromara.hutool.http.meta.ContentType;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@@ -1,14 +1,14 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.core.codec.binary.Base64;
import cn.hutool.core.io.IORuntimeException;
import cn.hutool.core.io.StreamProgress;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.lang.Console;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.http.client.HttpDownloader;
import cn.hutool.http.client.Request;
import cn.hutool.http.client.engine.ClientEngineFactory;
import org.dromara.hutool.core.codec.binary.Base64;
import org.dromara.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.io.StreamProgress;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.util.CharsetUtil;
import org.dromara.hutool.http.client.HttpDownloader;
import org.dromara.hutool.http.client.Request;
import org.dromara.hutool.http.client.engine.ClientEngineFactory;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,8 +1,8 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.core.regex.ReUtil;
import cn.hutool.http.html.HtmlUtil;
import cn.hutool.http.meta.ContentTypeUtil;
import org.dromara.hutool.core.regex.ReUtil;
import org.dromara.hutool.http.html.HtmlUtil;
import org.dromara.hutool.http.meta.ContentTypeUtil;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@@ -1,15 +1,15 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.date.StopWatch;
import cn.hutool.core.lang.Console;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.net.url.UrlBuilder;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.http.client.Request;
import cn.hutool.http.client.Response;
import cn.hutool.http.meta.Header;
import cn.hutool.http.meta.Method;
import org.dromara.hutool.core.date.DateUtil;
import org.dromara.hutool.core.date.StopWatch;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.map.MapUtil;
import org.dromara.hutool.core.net.url.UrlBuilder;
import org.dromara.hutool.core.util.CharsetUtil;
import org.dromara.hutool.http.client.Request;
import org.dromara.hutool.http.client.Response;
import org.dromara.hutool.http.meta.Header;
import org.dromara.hutool.http.meta.Method;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,12 +1,12 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.lang.Console;
import cn.hutool.core.regex.ReUtil;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.http.client.Request;
import cn.hutool.http.meta.Header;
import cn.hutool.http.meta.Method;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.regex.ReUtil;
import org.dromara.hutool.core.util.CharsetUtil;
import org.dromara.hutool.http.client.Request;
import org.dromara.hutool.http.meta.Header;
import org.dromara.hutool.http.meta.Method;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,7 +1,7 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.core.lang.Console;
import cn.hutool.core.thread.ThreadUtil;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.thread.ThreadUtil;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,10 +1,10 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.core.lang.Console;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.net.url.UrlBuilder;
import cn.hutool.http.client.Request;
import cn.hutool.http.client.Response;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.map.MapUtil;
import org.dromara.hutool.core.net.url.UrlBuilder;
import org.dromara.hutool.http.client.Request;
import org.dromara.hutool.http.client.Response;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,14 +1,14 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.io.resource.FileResource;
import cn.hutool.core.io.resource.HttpResource;
import cn.hutool.core.lang.Console;
import cn.hutool.http.client.Request;
import cn.hutool.http.client.Response;
import cn.hutool.http.client.body.ResourceBody;
import cn.hutool.http.meta.ContentType;
import cn.hutool.http.meta.Method;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.io.resource.FileResource;
import org.dromara.hutool.core.io.resource.HttpResource;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.http.client.Request;
import org.dromara.hutool.http.client.Response;
import org.dromara.hutool.http.client.body.ResourceBody;
import org.dromara.hutool.http.meta.ContentType;
import org.dromara.hutool.http.meta.Method;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,6 +1,6 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.core.net.url.UrlBuilder;
import org.dromara.hutool.core.net.url.UrlBuilder;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@@ -1,9 +1,9 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.core.lang.Console;
import cn.hutool.http.client.Request;
import cn.hutool.http.client.Response;
import cn.hutool.http.meta.Header;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.http.client.Request;
import org.dromara.hutool.http.client.Response;
import org.dromara.hutool.http.meta.Header;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,7 +1,7 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.http.client.Request;
import cn.hutool.json.JSONUtil;
import org.dromara.hutool.http.client.Request;
import org.dromara.hutool.json.JSONUtil;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,9 +1,9 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.core.lang.Console;
import cn.hutool.http.client.Request;
import cn.hutool.http.client.Response;
import cn.hutool.http.meta.Header;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.http.client.Request;
import org.dromara.hutool.http.client.Response;
import org.dromara.hutool.http.meta.Header;
import org.brotli.dec.BrotliInputStream;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,4 +1,4 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import okhttp3.mockwebserver.MockResponse;
import okhttp3.mockwebserver.MockWebServer;

View File

@@ -1,10 +1,10 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.core.lang.Console;
import cn.hutool.http.client.Request;
import cn.hutool.http.meta.Header;
import cn.hutool.http.meta.Method;
import cn.hutool.json.JSONUtil;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.http.client.Request;
import org.dromara.hutool.http.meta.Header;
import org.dromara.hutool.http.meta.Method;
import org.dromara.hutool.json.JSONUtil;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,13 +1,13 @@
package cn.hutool.http;
package org.dromara.hutool.http;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.io.resource.MultiFileResource;
import cn.hutool.core.lang.Console;
import cn.hutool.core.map.MapUtil;
import cn.hutool.http.client.Request;
import cn.hutool.http.client.Response;
import cn.hutool.http.meta.Header;
import cn.hutool.http.meta.Method;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.io.resource.MultiFileResource;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.map.MapUtil;
import org.dromara.hutool.http.client.Request;
import org.dromara.hutool.http.client.Response;
import org.dromara.hutool.http.meta.Header;
import org.dromara.hutool.http.meta.Method;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,6 +1,6 @@
package cn.hutool.http.client;
package org.dromara.hutool.http.client;
import cn.hutool.http.client.engine.ClientEngineFactory;
import org.dromara.hutool.http.client.engine.ClientEngineFactory;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@@ -1,8 +1,8 @@
package cn.hutool.http.client;
package org.dromara.hutool.http.client;
import cn.hutool.core.lang.Console;
import cn.hutool.http.client.engine.httpclient4.HttpClient4Engine;
import cn.hutool.http.meta.Method;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.http.client.engine.httpclient4.HttpClient4Engine;
import org.dromara.hutool.http.meta.Method;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,8 +1,8 @@
package cn.hutool.http.client;
package org.dromara.hutool.http.client;
import cn.hutool.core.lang.Console;
import cn.hutool.http.client.engine.httpclient5.HttpClient5Engine;
import cn.hutool.http.meta.Method;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.http.client.engine.httpclient5.HttpClient5Engine;
import org.dromara.hutool.http.meta.Method;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,6 +1,6 @@
package cn.hutool.http.client;
package org.dromara.hutool.http.client;
import cn.hutool.http.client.engine.jdk.HttpUrlConnectionUtil;
import org.dromara.hutool.http.client.engine.jdk.HttpUrlConnectionUtil;
import org.junit.jupiter.api.Test;
public class HttpUrlConnectionUtilTest {

View File

@@ -1,8 +1,8 @@
package cn.hutool.http.client;
package org.dromara.hutool.http.client;
import cn.hutool.core.lang.Console;
import cn.hutool.http.client.engine.jdk.JdkClientEngine;
import cn.hutool.http.meta.Method;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.http.client.engine.jdk.JdkClientEngine;
import org.dromara.hutool.http.meta.Method;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,8 +1,8 @@
package cn.hutool.http.client;
package org.dromara.hutool.http.client;
import cn.hutool.core.lang.Console;
import cn.hutool.http.client.engine.okhttp.OkHttpEngine;
import cn.hutool.http.meta.Method;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.http.client.engine.okhttp.OkHttpEngine;
import org.dromara.hutool.http.meta.Method;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,8 +1,8 @@
package cn.hutool.http.client.body;
package org.dromara.hutool.http.client.body;
import cn.hutool.core.io.resource.HttpResource;
import cn.hutool.core.io.resource.StringResource;
import cn.hutool.core.util.CharsetUtil;
import org.dromara.hutool.core.io.resource.HttpResource;
import org.dromara.hutool.core.io.resource.StringResource;
import org.dromara.hutool.core.util.CharsetUtil;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@@ -1,7 +1,7 @@
package cn.hutool.http.server;
package org.dromara.hutool.http.server;
import cn.hutool.http.meta.ContentType;
import cn.hutool.http.HttpUtil;
import org.dromara.hutool.http.meta.ContentType;
import org.dromara.hutool.http.HttpUtil;
public class BlankServerTest {
public static void main(final String[] args) {

View File

@@ -1,6 +1,6 @@
package cn.hutool.http.server;
package org.dromara.hutool.http.server;
import cn.hutool.http.HttpUtil;
import org.dromara.hutool.http.HttpUtil;
public class DocServerTest {

View File

@@ -1,8 +1,8 @@
package cn.hutool.http.server;
package org.dromara.hutool.http.server;
import cn.hutool.core.lang.Console;
import cn.hutool.http.HttpUtil;
import cn.hutool.http.meta.Header;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.http.HttpUtil;
import org.dromara.hutool.http.meta.Header;
public class RedirectServerTest {
public static void main(final String[] args) {

View File

@@ -1,13 +1,13 @@
package cn.hutool.http.server;
package org.dromara.hutool.http.server;
import cn.hutool.core.collection.ListUtil;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.lang.Console;
import cn.hutool.core.net.multipart.UploadFile;
import cn.hutool.http.meta.ContentType;
import cn.hutool.http.meta.Header;
import cn.hutool.http.HttpUtil;
import cn.hutool.json.JSONUtil;
import org.dromara.hutool.core.collection.ListUtil;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.net.multipart.UploadFile;
import org.dromara.hutool.http.meta.ContentType;
import org.dromara.hutool.http.meta.Header;
import org.dromara.hutool.http.HttpUtil;
import org.dromara.hutool.json.JSONUtil;
import java.net.HttpCookie;

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.http.server.servlet;
package org.dromara.hutool.http.server.servlet;
import cn.hutool.core.util.ByteUtil;
import org.dromara.hutool.core.util.ByteUtil;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,4 +1,4 @@
package cn.hutool.http.useragent;
package org.dromara.hutool.http.useragent;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@@ -1,7 +1,7 @@
package cn.hutool.http.webservice;
package org.dromara.hutool.http.webservice;
import cn.hutool.core.lang.Console;
import cn.hutool.core.util.CharsetUtil;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.util.CharsetUtil;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;