chore: change all netty dep to shade packagte

This commit is contained in:
tjq 2023-12-01 20:15:22 +08:00
parent 0a2826391e
commit f0ff32ccc4
2 changed files with 17 additions and 21 deletions

View File

@ -1,16 +1,5 @@
package tech.powerjob.remote.http;
import io.netty.handler.codec.http.HttpResponseStatus;
import tech.powerjob.shade.io.vertx.core.Handler;
import tech.powerjob.shade.io.vertx.core.Vertx;
import tech.powerjob.shade.io.vertx.core.http.HttpClient;
import tech.powerjob.shade.io.vertx.core.http.HttpServer;
import tech.powerjob.shade.io.vertx.core.json.JsonObject;
import tech.powerjob.shade.io.vertx.ext.web.RequestBody;
import tech.powerjob.shade.io.vertx.ext.web.Route;
import tech.powerjob.shade.io.vertx.ext.web.Router;
import tech.powerjob.shade.io.vertx.ext.web.RoutingContext;
import tech.powerjob.shade.io.vertx.ext.web.handler.BodyHandler;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import tech.powerjob.common.exception.PowerJobException;
@ -23,6 +12,17 @@ import tech.powerjob.remote.framework.transporter.Transporter;
import tech.powerjob.remote.framework.utils.RemoteUtils;
import tech.powerjob.remote.http.vertx.VertxInitializer;
import tech.powerjob.remote.http.vertx.VertxTransporter;
import tech.powerjob.shade.io.netty.handler.codec.http.HttpResponseStatus;
import tech.powerjob.shade.io.vertx.core.Handler;
import tech.powerjob.shade.io.vertx.core.Vertx;
import tech.powerjob.shade.io.vertx.core.http.HttpClient;
import tech.powerjob.shade.io.vertx.core.http.HttpServer;
import tech.powerjob.shade.io.vertx.core.json.JsonObject;
import tech.powerjob.shade.io.vertx.ext.web.RequestBody;
import tech.powerjob.shade.io.vertx.ext.web.Route;
import tech.powerjob.shade.io.vertx.ext.web.Router;
import tech.powerjob.shade.io.vertx.ext.web.RoutingContext;
import tech.powerjob.shade.io.vertx.ext.web.handler.BodyHandler;
import java.io.IOException;
import java.lang.reflect.Method;

View File

@ -1,15 +1,5 @@
package tech.powerjob.remote.http.vertx;
import io.netty.handler.codec.http.HttpHeaderNames;
import io.netty.handler.codec.http.HttpHeaderValues;
import io.netty.handler.codec.http.HttpResponseStatus;
import tech.powerjob.shade.io.vertx.core.Future;
import tech.powerjob.shade.io.vertx.core.http.HttpClient;
import tech.powerjob.shade.io.vertx.core.http.HttpClientRequest;
import tech.powerjob.shade.io.vertx.core.http.HttpClientResponse;
import tech.powerjob.shade.io.vertx.core.http.HttpMethod;
import tech.powerjob.shade.io.vertx.core.http.RequestOptions;
import tech.powerjob.shade.io.vertx.core.json.JsonObject;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.exception.ExceptionUtils;
import tech.powerjob.common.PowerSerializable;
@ -18,6 +8,12 @@ import tech.powerjob.remote.framework.base.URL;
import tech.powerjob.remote.framework.transporter.Protocol;
import tech.powerjob.remote.framework.transporter.Transporter;
import tech.powerjob.remote.http.HttpProtocol;
import tech.powerjob.shade.io.netty.handler.codec.http.HttpHeaderNames;
import tech.powerjob.shade.io.netty.handler.codec.http.HttpHeaderValues;
import tech.powerjob.shade.io.netty.handler.codec.http.HttpResponseStatus;
import tech.powerjob.shade.io.vertx.core.Future;
import tech.powerjob.shade.io.vertx.core.http.*;
import tech.powerjob.shade.io.vertx.core.json.JsonObject;
import java.util.concurrent.CompletionStage;