File tree 11 files changed +21
-21
lines changed
src/main/java/com/hellokaton/blade/mvc
11 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ about: Report a general framework issue. help us improve this framework.
6
6
- System Version (e.g. Mac Os 10.14.3):
7
7
- Build tools (e.g. maven/gradle):
8
8
- JDK Version (e.g. ` 1.8 ` ):
9
- - Blade Version (e.g. ` 2.1.2.BETA ` ):
9
+ - Blade Version (e.g. ` 2.1.2.RELEASE ` ):
10
10
11
11
### Describe the bug
12
12
@@ -19,7 +19,7 @@ Steps to reproduce the behavior:
19
19
1 . Operating system and its version
20
20
2 . Build tools (e.g. maven or gradle)
21
21
3 . JDK version and blade version(e.g ` 1.8 ` )
22
- 4 . Blade Version (e.g. ` 2.1.2.BETA ` ):
22
+ 4 . Blade Version (e.g. ` 2.1.2.RELEASE ` ):
23
23
5 . See error
24
24
25
25
### Expected behavior:
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ Please provide the following information if applicable:
8
8
9
9
- Operating system and its version
10
10
- Build tools (e.g. maven or gradle)
11
- - JDK version and blade version(e.g ` 2.1.2.BETA ` )
11
+ - JDK version and blade version(e.g ` 2.1.2.RELEASE ` )
Original file line number Diff line number Diff line change @@ -64,14 +64,14 @@ Run with `Maven`:
64
64
<dependency >
65
65
<groupId >com.hellokaton</groupId >
66
66
<artifactId >blade-core</artifactId >
67
- <version >2.1.2.BETA </version >
67
+ <version >2.1.2.RELEASE </version >
68
68
</dependency >
69
69
```
70
70
71
71
or ` Gradle ` :
72
72
73
73
``` sh
74
- compile ' com.hellokaton:blade-core:2.1.2.BETA '
74
+ compile ' com.hellokaton:blade-core:2.1.2.RELEASE '
75
75
```
76
76
77
77
Write the ` main ` method and the ` Hello World ` :
@@ -612,7 +612,7 @@ The `hello.html` template
612
612
</html >
613
613
```
614
614
615
- [ Render API] ( http://static.javadoc.io/com.hellokaton/blade-core/2.1.2.BETA /com/hellokaton/blade/mvc/http/Response.html#render-com.ModelAndView- )
615
+ [ Render API] ( http://static.javadoc.io/com.hellokaton/blade-core/2.1.2.RELEASE /com/hellokaton/blade/mvc/http/Response.html#render-com.ModelAndView- )
616
616
617
617
## Redirects
618
618
@@ -623,7 +623,7 @@ public void redirectToGithub(RouteContext ctx){
623
623
}
624
624
```
625
625
626
- [ Redirect API] ( http://static.javadoc.io/com.hellokaton/blade-core/2.1.2.BETA /com/hellokaton/blade/mvc/http/Response.html#redirect-java.lang.String- )
626
+ [ Redirect API] ( http://static.javadoc.io/com.hellokaton/blade-core/2.1.2.RELEASE /com/hellokaton/blade/mvc/http/Response.html#redirect-java.lang.String- )
627
627
628
628
## Write Cookie
629
629
@@ -635,7 +635,7 @@ public void writeCookie(RouteContext ctx){
635
635
}
636
636
```
637
637
638
- [ Cookie API] ( http://static.javadoc.io/com.hellokaton/blade-core/2.1.2.BETA /com/hellokaton/blade/mvc/http/Response.html#cookie-java.lang.String-java.lang.String- )
638
+ [ Cookie API] ( http://static.javadoc.io/com.hellokaton/blade-core/2.1.2.RELEASE /com/hellokaton/blade/mvc/http/Response.html#cookie-java.lang.String-java.lang.String- )
639
639
640
640
## Web Hook
641
641
Original file line number Diff line number Diff line change 61
61
<dependency >
62
62
<groupId >com.hellokaton</groupId >
63
63
<artifactId >blade-core</artifactId >
64
- <version >2.1.2.BETA </version >
64
+ <version >2.1.2.RELEASE </version >
65
65
</dependency >
66
66
```
67
67
70
70
或者 ` Gradle ` :
71
71
72
72
``` sh
73
- compile ' com.hellokaton:blade-core:2.1.2.BETA '
73
+ compile ' com.hellokaton:blade-core:2.1.2.RELEASE '
74
74
```
75
75
76
76
编写 ` main ` 函数写一个 ` Hello World ` :
@@ -614,7 +614,7 @@ public static void main(String[] args) {
614
614
</html >
615
615
```
616
616
617
- [ Render API] ( http://static.javadoc.io/com.hellokaton/blade-core/2.1.2.BETA /com/hellokaton/blade/mvc/http/Response.html#render-com.ModelAndView- )
617
+ [ Render API] ( http://static.javadoc.io/com.hellokaton/blade-core/2.1.2.RELEASE /com/hellokaton/blade/mvc/http/Response.html#render-com.ModelAndView- )
618
618
619
619
## 重定向
620
620
@@ -625,7 +625,7 @@ public void redirectToGithub(RouteContext ctx){
625
625
}
626
626
```
627
627
628
- [ Redirect API] ( http://static.javadoc.io/com.hellokaton/blade-core/2.1.2.BETA /com/hellokaton/blade/mvc/http/Response.html#redirect-java.lang.String- )
628
+ [ Redirect API] ( http://static.javadoc.io/com.hellokaton/blade-core/2.1.2.RELEASE /com/hellokaton/blade/mvc/http/Response.html#redirect-java.lang.String- )
629
629
630
630
## 写入Cookie
631
631
@@ -637,7 +637,7 @@ public void writeCookie(RouteContext ctx){
637
637
}
638
638
```
639
639
640
- [ Cookie API] ( http://static.javadoc.io/com.hellokaton/blade-core/2.1.2.BETA /com/hellokaton/blade/mvc/http/Response.html#cookie-java.lang.String-java.lang.String- )
640
+ [ Cookie API] ( http://static.javadoc.io/com.hellokaton/blade-core/2.1.2.RELEASE /com/hellokaton/blade/mvc/http/Response.html#cookie-java.lang.String-java.lang.String- )
641
641
642
642
## 路由拦截
643
643
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.hellokaton</groupId >
7
7
<artifactId >blade</artifactId >
8
- <version >2.1.2.BETA </version >
8
+ <version >2.1.2.RELEASE </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public interface BladeConst {
30
30
int DEFAULT_SERVER_PORT = 9000 ;
31
31
String DEFAULT_SERVER_ADDRESS = "0.0.0.0" ;
32
32
String LOCAL_IP_ADDRESS = "127.0.0.1" ;
33
- String VERSION = "2.1.2.BETA " ;
33
+ String VERSION = "2.1.2.RELEASE " ;
34
34
String WEB_JARS = "/webjars/" ;
35
35
String CLASSPATH = BladeKit .getCurrentClassPath ();
36
36
String HTTP_DATE_FORMAT = "EEE, dd MMM yyyy HH:mm:ss zzz" ;
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.hellokaton</groupId >
7
7
<artifactId >blade</artifactId >
8
- <version >2.1.2.BETA </version >
8
+ <version >2.1.2.RELEASE </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
23
23
<dependency >
24
24
<groupId >com.hellokaton</groupId >
25
25
<artifactId >blade-security</artifactId >
26
- <version >2.1.2.BETA </version >
26
+ <version >2.1.2.RELEASE </version >
27
27
</dependency >
28
28
<dependency >
29
29
<groupId >org.projectlombok</groupId >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.hellokaton</groupId >
7
7
<artifactId >blade</artifactId >
8
- <version >2.1.2.BETA </version >
8
+ <version >2.1.2.RELEASE </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >blade</artifactId >
7
7
<groupId >com.hellokaton</groupId >
8
- <version >2.1.2.BETA </version >
8
+ <version >2.1.2.RELEASE </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.hellokaton</groupId >
7
7
<artifactId >blade</artifactId >
8
- <version >2.1.2.BETA </version >
8
+ <version >2.1.2.RELEASE </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 5
5
6
6
<groupId >com.hellokaton</groupId >
7
7
<artifactId >blade</artifactId >
8
- <version >2.1.2.BETA </version >
8
+ <version >2.1.2.RELEASE </version >
9
9
<packaging >pom</packaging >
10
10
11
11
<name >blade</name >
You can’t perform that action at this time.
0 commit comments