From 9c79ef74db5436cbe8fa09b29e13b0e95ae662cb Mon Sep 17 00:00:00 2001 From: godotg Date: Wed, 28 Sep 2022 15:52:31 +0800 Subject: [PATCH] =?UTF-8?q?test[http]:=20http=20server=E7=9A=84=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- net/src/test/java/com/zfoo/net/core/http/HttpServerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/src/test/java/com/zfoo/net/core/http/HttpServerTest.java b/net/src/test/java/com/zfoo/net/core/http/HttpServerTest.java index bef4c2c9..72674d27 100644 --- a/net/src/test/java/com/zfoo/net/core/http/HttpServerTest.java +++ b/net/src/test/java/com/zfoo/net/core/http/HttpServerTest.java @@ -48,7 +48,7 @@ public class HttpServerTest { public DecodedPacketInfo apply(FullHttpRequest fullHttpRequest) { var uri = StringUtils.trim(fullHttpRequest.uri()); if (uri.equals("/hello")) { - return DecodedPacketInfo.valueOf(HttpHelloRequest.valueOf("aaa"), HttpAttachment.valueOf(fullHttpRequest, null)); + return DecodedPacketInfo.valueOf(HttpHelloRequest.valueOf("other param"), HttpAttachment.valueOf(fullHttpRequest, null)); } else { throw new RunException("未知的http路径[{}]", uri); }