Cleanup.
This commit is contained in:
parent
54426f834b
commit
e768496fe6
2 changed files with 7 additions and 8 deletions
|
@ -1,9 +1,8 @@
|
||||||
# HttpStatus JSP Tag Library
|
# HttpStatus JSP Tag Library
|
||||||
|
|
||||||
[](https://github.com/ethauvin/httpstatus/releases/latest) [](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus) [  ](https://bintray.com/ethauvin/maven/HttpStatus/_latestVersion)
|
[](https://github.com/ethauvin/httpstatus/releases/latest) [](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus) [](https://bintray.com/ethauvin/maven/HttpStatus/_latestVersion)
|
||||||
[](http://opensource.org/licenses/BSD-3-Clause) [](https://snyk.io/test/github/ethauvin/httpstatus?targetFile=build.gradle) [](https://sonarcloud.io/dashboard?id=ethauvin_HttpStatus)
|
[](http://opensource.org/licenses/BSD-3-Clause) [](https://snyk.io/test/github/ethauvin/httpstatus?targetFile=build.gradle) [](https://sonarcloud.io/dashboard?id=ethauvin_HttpStatus)
|
||||||
[](https://travis-ci.org/ethauvin/HttpStatus)
|
[](https://travis-ci.org/ethauvin/HttpStatus) [](https://ci.appveyor.com/project/ethauvin/httpstatus) [](https://circleci.com/gh/ethauvin/HttpStatus/tree/master)
|
||||||
[](https://ci.appveyor.com/project/ethauvin/httpstatus) [](https://circleci.com/gh/ethauvin/HttpStatus/tree/master)
|
|
||||||
|
|
||||||
|
|
||||||
A simple [JSP](http://www.oracle.com/technetwork/java/javaee/jsp/index.html) Tag Library to display the [code](#hscode), [reason](#hsreason) and/or [cause](#hscode) for [HTTP status codes](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) in JSP error pages.
|
A simple [JSP](http://www.oracle.com/technetwork/java/javaee/jsp/index.html) Tag Library to display the [code](#hscode), [reason](#hsreason) and/or [cause](#hscode) for [HTTP status codes](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) in JSP error pages.
|
||||||
|
@ -168,7 +167,7 @@ or as a Maven artifact:
|
||||||
```
|
```
|
||||||
|
|
||||||
## Command Line Usage
|
## Command Line Usage
|
||||||
You can query the reason phrase for status code(s) as follows:
|
You can query the reason phrase for status codes as follows:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ java -jar httpstatus-1.0.4.jar 404 500
|
$ java -jar httpstatus-1.0.4.jar 404 500
|
||||||
|
@ -176,7 +175,7 @@ $ java -jar httpstatus-1.0.4.jar 404 500
|
||||||
500: Internal Server Error
|
500: Internal Server Error
|
||||||
```
|
```
|
||||||
|
|
||||||
If no status code is specified, all status codes will be printed:
|
If no status code is specified, all will be printed:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ java -jar httpstatus-1.0.4.jar
|
$ java -jar httpstatus-1.0.4.jar
|
||||||
|
|
|
@ -81,7 +81,7 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1 id="httpstatus-jsp-tag-library">HttpStatus JSP Tag Library</h1>
|
<h1 id="httpstatus-jsp-tag-library">HttpStatus JSP Tag Library</h1>
|
||||||
<p><a href="https://github.com/ethauvin/httpstatus/releases/latest"><img src="https://img.shields.io/github/release/ethauvin/httpstatus.svg" alt="release" /></a> <a href="https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus"><img src="https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus/badge.svg" alt="Maven Central" /></a> <a href="https://bintray.com/ethauvin/maven/HttpStatus/_latestVersion"> <img src="https://api.bintray.com/packages/ethauvin/maven/HttpStatus/images/download.svg" alt="Download" /> </a><br />
|
<p><a href="https://github.com/ethauvin/httpstatus/releases/latest"><img src="https://img.shields.io/github/release/ethauvin/httpstatus.svg" alt="release" /></a> <a href="https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus"><img src="https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus/badge.svg" alt="Maven Central" /></a> <a href="https://bintray.com/ethauvin/maven/HttpStatus/_latestVersion"><img src="https://api.bintray.com/packages/ethauvin/maven/HttpStatus/images/download.svg" alt="Download" /></a><br />
|
||||||
<a href="http://opensource.org/licenses/BSD-3-Clause"><img src="https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square" alt="License (3-Clause BSD)" /></a> <a href="https://snyk.io/test/github/ethauvin/httpstatus?targetFile=build.gradle"><img src="https://snyk.io/test/github/ethauvin/httpstatus/badge.svg?targetFile=build.gradle" alt="Known Vulnerabilities" /></a> <a href="https://sonarcloud.io/dashboard?id=ethauvin_HttpStatus"><img src="https://sonarcloud.io/api/project_badges/measure?project=ethauvin_HttpStatus&metric=alert_status" alt="Quality Gate Status" /></a><br />
|
<a href="http://opensource.org/licenses/BSD-3-Clause"><img src="https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square" alt="License (3-Clause BSD)" /></a> <a href="https://snyk.io/test/github/ethauvin/httpstatus?targetFile=build.gradle"><img src="https://snyk.io/test/github/ethauvin/httpstatus/badge.svg?targetFile=build.gradle" alt="Known Vulnerabilities" /></a> <a href="https://sonarcloud.io/dashboard?id=ethauvin_HttpStatus"><img src="https://sonarcloud.io/api/project_badges/measure?project=ethauvin_HttpStatus&metric=alert_status" alt="Quality Gate Status" /></a><br />
|
||||||
<a href="https://travis-ci.org/ethauvin/HttpStatus"><img src="https://travis-ci.org/ethauvin/HttpStatus.svg?branch=master" alt="Build Status" /></a> <a href="https://ci.appveyor.com/project/ethauvin/httpstatus"><img src="https://ci.appveyor.com/api/projects/status/w5j4kul3w2rkigxb?svg=true" alt="Build status" /></a> <a href="https://circleci.com/gh/ethauvin/HttpStatus/tree/master"><img src="https://circleci.com/gh/ethauvin/HttpStatus/tree/master.svg?style=shield" alt="CircleCI" /></a></p>
|
<a href="https://travis-ci.org/ethauvin/HttpStatus"><img src="https://travis-ci.org/ethauvin/HttpStatus.svg?branch=master" alt="Build Status" /></a> <a href="https://ci.appveyor.com/project/ethauvin/httpstatus"><img src="https://ci.appveyor.com/api/projects/status/w5j4kul3w2rkigxb?svg=true" alt="Build status" /></a> <a href="https://circleci.com/gh/ethauvin/HttpStatus/tree/master"><img src="https://circleci.com/gh/ethauvin/HttpStatus/tree/master.svg?style=shield" alt="CircleCI" /></a></p>
|
||||||
<p>A simple <a href="http://www.oracle.com/technetwork/java/javaee/jsp/index.html">JSP</a> Tag Library to display the <a href="#hscode">code</a>, <a href="#hsreason">reason</a> and/or <a href="#hscode">cause</a> for <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP status codes</a> in JSP error pages.</p>
|
<p>A simple <a href="http://www.oracle.com/technetwork/java/javaee/jsp/index.html">JSP</a> Tag Library to display the <a href="#hscode">code</a>, <a href="#hsreason">reason</a> and/or <a href="#hscode">cause</a> for <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP status codes</a> in JSP error pages.</p>
|
||||||
|
@ -489,11 +489,11 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
|
||||||
<a class="sourceLine" id="cb7-4" title="4"> <span class="kw"><version></span>1.0.4<span class="kw"></version></span></a>
|
<a class="sourceLine" id="cb7-4" title="4"> <span class="kw"><version></span>1.0.4<span class="kw"></version></span></a>
|
||||||
<a class="sourceLine" id="cb7-5" title="5"><span class="kw"></dependency></span></a></code></pre></div>
|
<a class="sourceLine" id="cb7-5" title="5"><span class="kw"></dependency></span></a></code></pre></div>
|
||||||
<h2 id="command-line-usage">Command Line Usage</h2>
|
<h2 id="command-line-usage">Command Line Usage</h2>
|
||||||
<p>You can query the reason phrase for status code(s) as follows:</p>
|
<p>You can query the reason phrase for status codes as follows:</p>
|
||||||
<div class="sourceCode" id="cb8"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb8-1" title="1">$ <span class="ex">java</span> -jar httpstatus-1.0.4.jar 404 500</a>
|
<div class="sourceCode" id="cb8"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb8-1" title="1">$ <span class="ex">java</span> -jar httpstatus-1.0.4.jar 404 500</a>
|
||||||
<a class="sourceLine" id="cb8-2" title="2"><span class="ex">404</span>: Not Found</a>
|
<a class="sourceLine" id="cb8-2" title="2"><span class="ex">404</span>: Not Found</a>
|
||||||
<a class="sourceLine" id="cb8-3" title="3"><span class="ex">500</span>: Internal Server Error</a></code></pre></div>
|
<a class="sourceLine" id="cb8-3" title="3"><span class="ex">500</span>: Internal Server Error</a></code></pre></div>
|
||||||
<p>If no status code is specified, all status codes will be printed:</p>
|
<p>If no status code is specified, all will be printed:</p>
|
||||||
<div class="sourceCode" id="cb9"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb9-1" title="1">$ <span class="ex">java</span> -jar httpstatus-1.0.4.jar</a>
|
<div class="sourceCode" id="cb9"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb9-1" title="1">$ <span class="ex">java</span> -jar httpstatus-1.0.4.jar</a>
|
||||||
<a class="sourceLine" id="cb9-2" title="2"><span class="ex">100</span>: Continue</a>
|
<a class="sourceLine" id="cb9-2" title="2"><span class="ex">100</span>: Continue</a>
|
||||||
<a class="sourceLine" id="cb9-3" title="3"><span class="ex">101</span>: Switching Protocols</a>
|
<a class="sourceLine" id="cb9-3" title="3"><span class="ex">101</span>: Switching Protocols</a>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue