File tree 2 files changed +29
-12
lines changed
2 files changed +29
-12
lines changed Original file line number Diff line number Diff line change @@ -53,17 +53,25 @@ index.ftl:
53
53
<#--</body>-->
54
54
<#--</html>-->
55
55
56
+
56
57
one.ftl
57
- <h2 >${user.name} ${time} ms Part1</h2 >
58
+
59
+ <h2>${user.name} ${time} ms Part1</h2>
60
+
58
61
59
62
two.ftl
60
- <h2 >${time} ms part2</h2 >
63
+
64
+ <h2>${time} ms part2</h2>
65
+
61
66
62
67
three.ftl
63
- <h2 >${time} ms part3</h2 >
68
+
69
+ <h2>${time} ms part3</h2>
70
+
64
71
65
72
four.ftl
66
- <h2 >${time}ms part4</h2 >
73
+
74
+ <h2>${time}ms part4</h2>
67
75
68
76
69
77
### 公共配置
@@ -86,8 +94,9 @@ four.ftl
86
94
<bean class="org.opensjp.openbigpipe.core.interceptor.BigPipeAspect"/>
87
95
88
96
3 . 为每个前段的pagelet配置一个执行方法
89
- @PageletSet
90
- public class PipeFour{
97
+
98
+ @PageletSet
99
+ public class PipeFour{
91
100
92
101
@Param
93
102
private String name;
Original file line number Diff line number Diff line change @@ -53,18 +53,25 @@ index.ftl:
53
53
<#--</body>-->
54
54
<#--</html>-->
55
55
56
+
56
57
one.ftl
57
- <h2>${user.name} ${time} ms Part1</h2>
58
+
59
+ <h2>${user.name} ${time} ms Part1</h2>
60
+
58
61
59
62
two.ftl
60
- <h2>${time} ms part2</h2>
63
+
64
+ <h2>${time} ms part2</h2>
65
+
61
66
62
67
three.ftl
63
- <h2>${time} ms part3</h2>
68
+
69
+ <h2>${time} ms part3</h2>
70
+
64
71
65
72
four.ftl
66
- <h2>${time}ms part4</h2>
67
73
74
+ <h2>${time}ms part4</h2>
68
75
69
76
### 公共配置
70
77
这部分是不管使用什么框架都必须配置的.
@@ -86,8 +93,9 @@ four.ftl
86
93
<bean class="org.opensjp.openbigpipe.core.interceptor.BigPipeAspect"/>
87
94
88
95
3. 为每个前段的pagelet配置一个执行方法
89
- @PageletSet
90
- public class PipeFour{
96
+
97
+ @PageletSet
98
+ public class PipeFour{
91
99
92
100
@Param
93
101
private String name;
You can’t perform that action at this time.
0 commit comments