From d542ac9110ee91d4898252a135b2d4feded1e665 Mon Sep 17 00:00:00 2001
From: Redkale <22250530@qq.com>
Date: Tue, 30 Jan 2018 09:12:08 +0800
Subject: [PATCH]
---
src/org/redkale/net/http/HttpScope.java | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/org/redkale/net/http/HttpScope.java b/src/org/redkale/net/http/HttpScope.java
index afaf3cef7..7a68e892b 100644
--- a/src/org/redkale/net/http/HttpScope.java
+++ b/src/org/redkale/net/http/HttpScope.java
@@ -17,18 +17,18 @@ import org.redkale.convert.json.JsonConvert;
* HttpServlet调用:
*
* @HttpMapping(url = "/hello.html", auth = false)
- public void hello(HttpRequest req, HttpResponse resp) throws IOException {
- resp.finish(HttpScope.refer("/hello.html").attr("content", "哈哈"));
- }
-
+ * public void hello(HttpRequest req, HttpResponse resp) throws IOException {
+ * resp.finish(HttpScope.refer("/hello.html").attr("content", "哈哈"));
+ * }
+ *
*
* RestService调用:
*
* @RestMapping(name = "hello.html", auth = false)
- public HttpScope hello() {
- return HttpScope.refer("hello.html").attr("content", "哈哈");
- }
-
+ * public HttpScope hello() {
+ * return HttpScope.refer("hello.html").attr("content", "哈哈");
+ * }
+ *
*
* 详情见: https://redkale.org
*