‘xugp 2 lat temu
rodzic
commit
c4caca1180

+ 2 - 0
README.md

@@ -13,6 +13,8 @@
 
 ### loader -- 数据入库服务
 
+### protocol -- 协议
+
 
 
 

+ 1 - 1
gateway/src/main/java/com/gyee/edge/gateway/config/NettyHttpServer.java

@@ -1,4 +1,4 @@
-package com.gyee.edge.gateway.config;
+package com.gyee.edge.gateway.restful;
 
 
 import com.gyee.edge.gateway.restful.iohandler.FilterLogginglHandler;

+ 1 - 1
gateway/src/main/java/com/gyee/edge/gateway/dto/Response.java

@@ -1,5 +1,5 @@
 
-package com.gyee.edge.gateway.dto;
+package com.gyee.edge.gateway.restful.dto;
 
 import com.google.gson.GsonBuilder;
 

+ 1 - 1
gateway/src/main/java/com/gyee/edge/gateway/restful/handler/HelloWorldHandler.java

@@ -2,7 +2,7 @@
 package com.gyee.edge.gateway.restful.handler;
 
 
-import com.gyee.edge.gateway.dto.Response;
+import com.gyee.edge.gateway.restful.dto.Response;
 import com.gyee.edge.gateway.restful.annotation.NettyHttpHandler;
 import com.gyee.edge.gateway.restful.http.NettyHttpRequest;
 

+ 1 - 1
gateway/src/main/java/com/gyee/edge/gateway/restful/handler/IFunctionHandler.java

@@ -2,7 +2,7 @@
 package com.gyee.edge.gateway.restful.handler;
 
 
-import com.gyee.edge.gateway.dto.Response;
+import com.gyee.edge.gateway.restful.dto.Response;
 import com.gyee.edge.gateway.restful.http.NettyHttpRequest;
 
 public interface IFunctionHandler<T> {

+ 1 - 1
gateway/src/main/java/com/gyee/edge/gateway/restful/handler/PathVariableHandler.java

@@ -3,7 +3,7 @@ package com.gyee.edge.gateway.restful.handler;
 
 
 
-import com.gyee.edge.gateway.dto.Response;
+import com.gyee.edge.gateway.restful.dto.Response;
 import com.gyee.edge.gateway.restful.annotation.NettyHttpHandler;
 import com.gyee.edge.gateway.restful.http.NettyHttpRequest;
 

+ 1 - 1
gateway/src/main/java/com/gyee/edge/gateway/restful/handler/RequestBodyHandler.java

@@ -2,7 +2,7 @@
 package com.gyee.edge.gateway.restful.handler;
 
 
-import com.gyee.edge.gateway.dto.Response;
+import com.gyee.edge.gateway.restful.dto.Response;
 import com.gyee.edge.gateway.restful.annotation.NettyHttpHandler;
 import com.gyee.edge.gateway.restful.http.NettyHttpRequest;
 

+ 1 - 1
gateway/src/main/java/com/gyee/edge/gateway/restful/iohandler/HttpServerHandler.java

@@ -3,7 +3,7 @@ package com.gyee.edge.gateway.restful.iohandler;
 
 
 
-import com.gyee.edge.gateway.dto.Response;
+import com.gyee.edge.gateway.restful.dto.Response;
 import com.gyee.edge.gateway.restful.annotation.NettyHttpHandler;
 import com.gyee.edge.gateway.restful.exception.IllegalMethodNotAllowedException;
 import com.gyee.edge.gateway.restful.exception.IllegalPathDuplicatedException;