|
|
@@ -1,7 +1,7 @@
|
|
|
-package cn.reghao.tnb.gateway.server;
|
|
|
+package cn.reghao.tnb.gateway.admin;
|
|
|
|
|
|
-import cn.reghao.tnb.gateway.server.handler.DynamicRouteHandler;
|
|
|
-import cn.reghao.tnb.gateway.server.handler.ServiceRouteHandler;
|
|
|
+import cn.reghao.tnb.gateway.admin.handler.DynamicRouteHandler;
|
|
|
+import cn.reghao.tnb.gateway.admin.handler.ServiceRouteHandler;
|
|
|
import org.springframework.http.MediaType;
|
|
|
import org.springframework.http.server.reactive.HttpHandler;
|
|
|
import org.springframework.http.server.reactive.ReactorHttpHandlerAdapter;
|
|
|
@@ -19,11 +19,11 @@ import javax.annotation.PostConstruct;
|
|
|
* @date 2024-11-21 11:18:10
|
|
|
*/
|
|
|
@Component
|
|
|
-public class AnotherServer {
|
|
|
+public class AdminServer {
|
|
|
private final DynamicRouteHandler dynamicRouteHandler;
|
|
|
private final ServiceRouteHandler serviceRouteHandler;
|
|
|
|
|
|
- public AnotherServer(DynamicRouteHandler dynamicRouteHandler, ServiceRouteHandler serviceRouteHandler) {
|
|
|
+ public AdminServer(DynamicRouteHandler dynamicRouteHandler, ServiceRouteHandler serviceRouteHandler) {
|
|
|
this.dynamicRouteHandler = dynamicRouteHandler;
|
|
|
this.serviceRouteHandler = serviceRouteHandler;
|
|
|
}
|