Moved to Jakarta EE. Closes #7
This commit is contained in:
parent
c4edb4fd1f
commit
45af218f39
20 changed files with 224 additions and 139 deletions
|
@ -37,7 +37,7 @@ Include the following in your `build.gradle` file:
|
|||
|
||||
```gradle
|
||||
dependencies {
|
||||
implementation 'net.thauvin.erik.httpstatus:httpstatus:1.0.6'
|
||||
implementation 'net.thauvin.erik.httpstatus:httpstatus:1.1.0'
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -47,7 +47,7 @@ or as a Maven artifact:
|
|||
<dependency>
|
||||
<groupId>net.thauvin.erik.httpstatus</groupId>
|
||||
<artifactId>httpstatus</artifactId>
|
||||
<version>1.0.6</version>
|
||||
<version>1.1.0</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
@ -250,7 +250,7 @@ Status Code | Reason
|
|||
You can query the reason phrase for status codes as follows:
|
||||
|
||||
```sh
|
||||
$ java -jar httpstatus-1.0.6.jar 404 500
|
||||
$ java -jar httpstatus-1.1.0.jar 404 500
|
||||
404: Not Found
|
||||
500: Internal Server Error
|
||||
```
|
||||
|
@ -258,7 +258,7 @@ $ java -jar httpstatus-1.0.6.jar 404 500
|
|||
If no status code is specified, all will be printed:
|
||||
|
||||
```sh
|
||||
$ java -jar httpstatus-1.0.6.jar
|
||||
$ java -jar httpstatus-1.1.0.jar
|
||||
100: Continue
|
||||
101: Switching Protocols
|
||||
102: Processing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue