Skip to content

Commit 2a1766b

Browse files
author
litongjava
committed
add HttpServerResponseUtils
1 parent 3553a50 commit 2a1766b

File tree

1 file changed

+2
-2
lines changed
  • docs/zh/05_web开发

1 file changed

+2
-2
lines changed

docs/zh/05_web开发/13.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ public class CaptchaController {
3030
3131
```
3232

33-
#### 6.13.2.HttpResponseUtils.enableCORS
33+
#### HttpServerResponseUtils.enableCORS
3434

3535
如果你为了更高的性能可以不使用@EnableCORS,使用 HttpResponseUtils.enableCORS 方法
3636
代码示例
3737

3838
```java
3939
HttpResponse response = Resps.json(request, "OK");
40-
HttpResponseUtils.enableCORS(response, new HttpCors());
40+
HttpServerResponseUtils.enableCORS(response, new HttpCors());
4141
```

0 commit comments

Comments
 (0)