|
|
@ -15,6 +15,7 @@
|
|
|
|
pre > code.sourceCode { white-space: pre; position: relative; }
|
|
|
|
pre > code.sourceCode { white-space: pre; position: relative; }
|
|
|
|
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
|
|
|
|
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
|
|
|
|
pre > code.sourceCode > span:empty { height: 1.2em; }
|
|
|
|
pre > code.sourceCode > span:empty { height: 1.2em; }
|
|
|
|
|
|
|
|
.sourceCode { overflow: visible; }
|
|
|
|
code.sourceCode > span { color: inherit; text-decoration: inherit; }
|
|
|
|
code.sourceCode > span { color: inherit; text-decoration: inherit; }
|
|
|
|
div.sourceCode { margin: 1em 0; }
|
|
|
|
div.sourceCode { margin: 1em 0; }
|
|
|
|
pre.sourceCode { margin: 0; }
|
|
|
|
pre.sourceCode { margin: 0; }
|
|
|
@ -49,7 +50,7 @@
|
|
|
|
code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
|
|
|
|
code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
|
|
|
|
code span.at { color: #7d9029; } /* Attribute */
|
|
|
|
code span.at { color: #7d9029; } /* Attribute */
|
|
|
|
code span.bn { color: #40a070; } /* BaseN */
|
|
|
|
code span.bn { color: #40a070; } /* BaseN */
|
|
|
|
code span.bu { } /* BuiltIn */
|
|
|
|
code span.bu { color: #008000; } /* BuiltIn */
|
|
|
|
code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
|
|
|
|
code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
|
|
|
|
code span.ch { color: #4070a0; } /* Char */
|
|
|
|
code span.ch { color: #4070a0; } /* Char */
|
|
|
|
code span.cn { color: #880000; } /* Constant */
|
|
|
|
code span.cn { color: #880000; } /* Constant */
|
|
|
@ -62,7 +63,7 @@
|
|
|
|
code span.ex { } /* Extension */
|
|
|
|
code span.ex { } /* Extension */
|
|
|
|
code span.fl { color: #40a070; } /* Float */
|
|
|
|
code span.fl { color: #40a070; } /* Float */
|
|
|
|
code span.fu { color: #06287e; } /* Function */
|
|
|
|
code span.fu { color: #06287e; } /* Function */
|
|
|
|
code span.im { } /* Import */
|
|
|
|
code span.im { color: #008000; font-weight: bold; } /* Import */
|
|
|
|
code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
|
|
|
|
code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
|
|
|
|
code span.kw { color: #007020; font-weight: bold; } /* Keyword */
|
|
|
|
code span.kw { color: #007020; font-weight: bold; } /* Keyword */
|
|
|
|
code span.op { color: #666666; } /* Operator */
|
|
|
|
code span.op { color: #666666; } /* Operator */
|
|
|
@ -74,46 +75,86 @@
|
|
|
|
code span.va { color: #19177c; } /* Variable */
|
|
|
|
code span.va { color: #19177c; } /* Variable */
|
|
|
|
code span.vs { color: #4070a0; } /* VerbatimString */
|
|
|
|
code span.vs { color: #4070a0; } /* VerbatimString */
|
|
|
|
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
|
|
|
|
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
|
|
|
|
|
|
|
|
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
<link rel="stylesheet" href="github-pandoc.css" />
|
|
|
|
<link rel="stylesheet" href="github-pandoc.css" />
|
|
|
|
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
|
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
|
|
|
|
|
|
|
|
<![endif]-->
|
|
|
|
</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://search.maven.org/search?q=g:%22net.thauvin.erik.httpstatus%22%20AND%20a:%22httpstatus%22"><img src="https://img.shields.io/maven-central/v/net.thauvin.erik.httpstatus/httpstatus.svg?label=maven%20central" alt="Maven Central" /></a><br />
|
|
|
|
<p><a href="https://github.com/ethauvin/httpstatus/releases/latest"><img
|
|
|
|
<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 />
|
|
|
|
src="https://img.shields.io/github/release/ethauvin/httpstatus.svg"
|
|
|
|
<a href="https://github.com/ethauvin/httpstatus/actions/workflows/gradle.yml"><img src="https://github.com/ethauvin/httpstatus/actions/workflows/gradle.yml/badge.svg" alt="GitHub CI" /></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>
|
|
|
|
alt="Release" /></a> <a
|
|
|
|
<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>, <a href="#hscode">cause</a> and/or <a href="#hsmessage">message</a> for <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP status codes</a> in JSP error pages.</p>
|
|
|
|
href="https://search.maven.org/search?q=g:%22net.thauvin.erik.httpstatus%22%20AND%20a:%22httpstatus%22"><img
|
|
|
|
|
|
|
|
src="https://img.shields.io/maven-central/v/net.thauvin.erik.httpstatus/httpstatus.svg?label=maven%20central"
|
|
|
|
|
|
|
|
alt="Maven Central" /></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://github.com/ethauvin/httpstatus/actions/workflows/gradle.yml"><img
|
|
|
|
|
|
|
|
src="https://github.com/ethauvin/httpstatus/actions/workflows/gradle.yml/badge.svg"
|
|
|
|
|
|
|
|
alt="GitHub CI" /></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>, <a href="#hscode">cause</a> and/or <a
|
|
|
|
|
|
|
|
href="#hsmessage">message</a> for <a
|
|
|
|
|
|
|
|
href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP
|
|
|
|
|
|
|
|
status codes</a> in JSP error pages.</p>
|
|
|
|
<p>For example:</p>
|
|
|
|
<p>For example:</p>
|
|
|
|
<div class="sourceCode" id="cb1"><pre class="sourceCode jsp"><code class="sourceCode jsp"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true"></a><span class="bu"><%@ page</span><span class="ot"> isErrorPage</span>=<span class="st">"true"</span><span class="ot"> </span><span class="bu">%></span></span>
|
|
|
|
<div class="sourceCode" id="cb1"><pre
|
|
|
|
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true"></a><span class="bu"><%@ taglib</span><span class="ot"> prefix</span>=<span class="st">"hs"</span><span class="ot"> uri</span>=<span class="st">"http://erik.thauvin.net/taglibs/httpstatus"</span><span class="ot"> </span><span class="bu">%></span></span>
|
|
|
|
class="sourceCode jsp"><code class="sourceCode jsp"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="bu"><%@ page</span><span class="ot"> isErrorPage</span>=<span class="st">"true"</span><span class="ot"> </span><span class="bu">%></span></span>
|
|
|
|
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true"></a><html><head></span>
|
|
|
|
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a><span class="bu"><%@ taglib</span><span class="ot"> prefix</span>=<span class="st">"hs"</span><span class="ot"> uri</span>=<span class="st">"http://erik.thauvin.net/taglibs/httpstatus"</span><span class="ot"> </span><span class="bu">%></span></span>
|
|
|
|
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true"></a><title><span class="kw"><hs:code/></span> <span class="kw"><hs:reason</span><span class="ot"> default</span>=<span class="dt">"Server Error"</span><span class="kw">/></span></title></span>
|
|
|
|
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a><html><head></span>
|
|
|
|
<span id="cb1-5"><a href="#cb1-5" aria-hidden="true"></a></head></span>
|
|
|
|
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a><title><span class="kw"><hs:code/></span> <span class="kw"><hs:reason</span><span class="ot"> default</span>=<span class="dt">"Server Error"</span><span class="kw">/></span></title></span>
|
|
|
|
<span id="cb1-6"><a href="#cb1-6" aria-hidden="true"></a><h1><span class="kw"><hs:reason</span><span class="ot"> default</span>=<span class="dt">"Server Error"</span><span class="kw">/></span></h1></span>
|
|
|
|
<span id="cb1-5"><a href="#cb1-5" aria-hidden="true" tabindex="-1"></a></head></span>
|
|
|
|
<span id="cb1-7"><a href="#cb1-7" aria-hidden="true"></a>Cause: <pre><span class="kw"><hs:cause</span><span class="ot"> default</span>=<span class="dt">"Unable to complete your request."</span><span class="kw">/></span></pre></span>
|
|
|
|
<span id="cb1-6"><a href="#cb1-6" aria-hidden="true" tabindex="-1"></a><h1><span class="kw"><hs:reason</span><span class="ot"> default</span>=<span class="dt">"Server Error"</span><span class="kw">/></span></h1></span>
|
|
|
|
<span id="cb1-8"><a href="#cb1-8" aria-hidden="true"></a>Message: <pre><span class="kw"><hs:message</span><span class="ot"> default</span>=<span class="dt">"A server error has occured."</span><span class="kw">/></span></pre></span>
|
|
|
|
<span id="cb1-7"><a href="#cb1-7" aria-hidden="true" tabindex="-1"></a>Cause: <pre><span class="kw"><hs:cause</span><span class="ot"> default</span>=<span class="dt">"Unable to complete your request."</span><span class="kw">/></span></pre></span>
|
|
|
|
<span id="cb1-9"><a href="#cb1-9" aria-hidden="true"></a>...</span></code></pre></div>
|
|
|
|
<span id="cb1-8"><a href="#cb1-8" aria-hidden="true" tabindex="-1"></a>Message: <pre><span class="kw"><hs:message</span><span class="ot"> default</span>=<span class="dt">"A server error has occured."</span><span class="kw">/></span></pre></span>
|
|
|
|
|
|
|
|
<span id="cb1-9"><a href="#cb1-9" aria-hidden="true" tabindex="-1"></a>...</span></code></pre></div>
|
|
|
|
<p>or</p>
|
|
|
|
<p>or</p>
|
|
|
|
<div class="sourceCode" id="cb2"><pre class="sourceCode jsp"><code class="sourceCode jsp"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true"></a><span class="bu"><%@ page</span><span class="ot"> isErrorPage</span>=<span class="st">"true"</span><span class="ot"> import</span>=<span class="st">"net.thauvin.erik.httpstatus.Reasons"</span><span class="ot"> </span><span class="bu">%></span></span>
|
|
|
|
<div class="sourceCode" id="cb2"><pre
|
|
|
|
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true"></a><span class="pp"><%=</span> Reasons.<span class="fu">getReasonPhrase</span>(pageContext.<span class="fu">getErrorData</span>().<span class="fu">getStatusCode</span>()) <span class="pp">%></span></span></code></pre></div>
|
|
|
|
class="sourceCode jsp"><code class="sourceCode jsp"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="bu"><%@ page</span><span class="ot"> isErrorPage</span>=<span class="st">"true"</span><span class="ot"> import</span>=<span class="st">"net.thauvin.erik.httpstatus.Reasons"</span><span class="ot"> </span><span class="bu">%></span></span>
|
|
|
|
<p>would display on a <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.2">501 status code</a>:</p>
|
|
|
|
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="pp"><%=</span> Reasons<span class="op">.</span><span class="fu">getReasonPhrase</span><span class="op">(</span>pageContext<span class="op">.</span><span class="fu">getErrorData</span><span class="op">().</span><span class="fu">getStatusCode</span><span class="op">())</span> <span class="pp">%></span></span></code></pre></div>
|
|
|
|
<pre><code>Not Implemented
|
|
|
|
<p>would display on a <a
|
|
|
|
</code></pre>
|
|
|
|
href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.2">501
|
|
|
|
<h2 id="usage-with-gradle-or-maven">Usage with <a href="https://gradle.org/">Gradle</a> or <a href="http://maven.apache.org/">Maven</a></h2>
|
|
|
|
status code</a>:</p>
|
|
|
|
|
|
|
|
<pre><code>Not Implemented</code></pre>
|
|
|
|
|
|
|
|
<h2 id="usage-with-gradle-or-maven">Usage with <a
|
|
|
|
|
|
|
|
href="https://gradle.org/">Gradle</a> or <a
|
|
|
|
|
|
|
|
href="http://maven.apache.org/">Maven</a></h2>
|
|
|
|
<p>Include the following in your <code>build.gradle</code> file:</p>
|
|
|
|
<p>Include the following in your <code>build.gradle</code> file:</p>
|
|
|
|
<pre class="gradle"><code>dependencies {
|
|
|
|
<div class="sourceCode" id="cb4"><pre
|
|
|
|
implementation 'net.thauvin.erik.httpstatus:httpstatus:1.0.6'
|
|
|
|
class="sourceCode gradle"><code class="sourceCode groovy"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a>dependencies <span class="op">{</span></span>
|
|
|
|
}
|
|
|
|
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a> implementation <span class="st">'net.thauvin.erik.httpstatus:httpstatus:1.1.0'</span></span>
|
|
|
|
</code></pre>
|
|
|
|
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a><span class="op">}</span></span></code></pre></div>
|
|
|
|
<p>or as a Maven artifact:</p>
|
|
|
|
<p>or as a Maven artifact:</p>
|
|
|
|
<div class="sourceCode" id="cb5"><pre class="sourceCode xml"><code class="sourceCode xml"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true"></a><span class="kw"><dependency></span></span>
|
|
|
|
<div class="sourceCode" id="cb5"><pre
|
|
|
|
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true"></a> <span class="kw"><groupId></span>net.thauvin.erik.httpstatus<span class="kw"></groupId></span></span>
|
|
|
|
class="sourceCode xml"><code class="sourceCode xml"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><<span class="kw">dependency</span>></span>
|
|
|
|
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true"></a> <span class="kw"><artifactId></span>httpstatus<span class="kw"></artifactId></span></span>
|
|
|
|
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a> <<span class="kw">groupId</span>>net.thauvin.erik.httpstatus</<span class="kw">groupId</span>></span>
|
|
|
|
<span id="cb5-4"><a href="#cb5-4" aria-hidden="true"></a> <span class="kw"><version></span>1.0.6<span class="kw"></version></span></span>
|
|
|
|
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a> <<span class="kw">artifactId</span>>httpstatus</<span class="kw">artifactId</span>></span>
|
|
|
|
<span id="cb5-5"><a href="#cb5-5" aria-hidden="true"></a><span class="kw"></dependency></span></span></code></pre></div>
|
|
|
|
<span id="cb5-4"><a href="#cb5-4" aria-hidden="true" tabindex="-1"></a> <<span class="kw">version</span>>1.1.0</<span class="kw">version</span>></span>
|
|
|
|
|
|
|
|
<span id="cb5-5"><a href="#cb5-5" aria-hidden="true" tabindex="-1"></a></<span class="kw">dependency</span>></span></code></pre></div>
|
|
|
|
<h2 id="hscause">hs:cause</h2>
|
|
|
|
<h2 id="hscause">hs:cause</h2>
|
|
|
|
<p>The <code><hs:cause/></code> tag displays the cause of current HTTP status code, if any. A shorthand for:</p>
|
|
|
|
<p>The <code><hs:cause/></code> tag displays the cause of current
|
|
|
|
<div class="sourceCode" id="cb6"><pre class="sourceCode jsp"><code class="sourceCode jsp"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true"></a><span class="pp"><%=</span> pageContext.<span class="fu">getErrorData</span>().<span class="fu">getThrowable</span>().<span class="fu">getCause</span>().<span class="fu">getLocalizedMessage</span>() <span class="pp">%></span></span></code></pre></div>
|
|
|
|
HTTP status code, if any. A shorthand for:</p>
|
|
|
|
|
|
|
|
<div class="sourceCode" id="cb6"><pre
|
|
|
|
|
|
|
|
class="sourceCode jsp"><code class="sourceCode jsp"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="pp"><%=</span> pageContext<span class="op">.</span><span class="fu">getErrorData</span><span class="op">().</span><span class="fu">getThrowable</span><span class="op">().</span><span class="fu">getCause</span><span class="op">().</span><span class="fu">getLocalizedMessage</span><span class="op">()</span> <span class="pp">%></span></span></code></pre></div>
|
|
|
|
<p>Optional attributes are:</p>
|
|
|
|
<p>Optional attributes are:</p>
|
|
|
|
<table>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
@ -129,16 +170,22 @@
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr class="even">
|
|
|
|
<tr class="even">
|
|
|
|
<td><code>escapeXml</code></td>
|
|
|
|
<td><code>escapeXml</code></td>
|
|
|
|
<td>Converts <, >, &, ', " to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
|
|
|
|
<td>Converts <, >, &, ', " to their corresponding <a
|
|
|
|
|
|
|
|
href="http://dev.w3.org/html5/html-author/charref">entity codes</a>.
|
|
|
|
|
|
|
|
Value is <code>true</code> by default.</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
<h2 id="hscode">hs:code</h2>
|
|
|
|
<h2 id="hscode">hs:code</h2>
|
|
|
|
<p>The <code><hs:code/></code> tag displays the current HTTP status code, if any. A shorthand for:</p>
|
|
|
|
<p>The <code><hs:code/></code> tag displays the current HTTP
|
|
|
|
<div class="sourceCode" id="cb7"><pre class="sourceCode jsp"><code class="sourceCode jsp"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true"></a><span class="pp"><%=</span> pageContext.<span class="fu">getErrorData</span>().<span class="fu">getStatusCode</span>() <span class="pp">%></span></span></code></pre></div>
|
|
|
|
status code, if any. A shorthand for:</p>
|
|
|
|
|
|
|
|
<div class="sourceCode" id="cb7"><pre
|
|
|
|
|
|
|
|
class="sourceCode jsp"><code class="sourceCode jsp"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a><span class="pp"><%=</span> pageContext<span class="op">.</span><span class="fu">getErrorData</span><span class="op">().</span><span class="fu">getStatusCode</span><span class="op">()</span> <span class="pp">%></span></span></code></pre></div>
|
|
|
|
<h2 id="hsmessage">hs:message</h2>
|
|
|
|
<h2 id="hsmessage">hs:message</h2>
|
|
|
|
<p>The <code><hs:message/></code> tag displays the current error message, if any. A shorthand for:</p>
|
|
|
|
<p>The <code><hs:message/></code> tag displays the current error
|
|
|
|
<div class="sourceCode" id="cb8"><pre class="sourceCode jsp"><code class="sourceCode jsp"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true"></a><span class="pp"><%=</span> request.<span class="fu">getAttribute</span>(<span class="st">"javax.servlet.error.message"</span>) <span class="pp">%></span></span></code></pre></div>
|
|
|
|
message, if any. A shorthand for:</p>
|
|
|
|
|
|
|
|
<div class="sourceCode" id="cb8"><pre
|
|
|
|
|
|
|
|
class="sourceCode jsp"><code class="sourceCode jsp"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a><span class="pp"><%=</span> request<span class="op">.</span><span class="fu">getAttribute</span><span class="op">(</span><span class="st">"javax.servlet.error.message"</span><span class="op">)</span> <span class="pp">%></span></span></code></pre></div>
|
|
|
|
<p>Optional attributes are:</p>
|
|
|
|
<p>Optional attributes are:</p>
|
|
|
|
<table>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
@ -154,12 +201,15 @@
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr class="even">
|
|
|
|
<tr class="even">
|
|
|
|
<td><code>escapeXml</code></td>
|
|
|
|
<td><code>escapeXml</code></td>
|
|
|
|
<td>Converts <, >, &, ', " to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
|
|
|
|
<td>Converts <, >, &, ', " to their corresponding <a
|
|
|
|
|
|
|
|
href="http://dev.w3.org/html5/html-author/charref">entity codes</a>.
|
|
|
|
|
|
|
|
Value is <code>true</code> by default.</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
<h2 id="hsreason">hs:reason</h2>
|
|
|
|
<h2 id="hsreason">hs:reason</h2>
|
|
|
|
<p>The <code><hs:reason/></code> tag displays the reason for a HTTP status code, if any. Optional attributes are:</p>
|
|
|
|
<p>The <code><hs:reason/></code> tag displays the reason for a
|
|
|
|
|
|
|
|
HTTP status code, if any. Optional attributes are:</p>
|
|
|
|
<table>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
|
<tr class="header">
|
|
|
|
<tr class="header">
|
|
|
@ -170,7 +220,8 @@
|
|
|
|
<tbody>
|
|
|
|
<tbody>
|
|
|
|
<tr class="odd">
|
|
|
|
<tr class="odd">
|
|
|
|
<td><code>code</code></td>
|
|
|
|
<td><code>code</code></td>
|
|
|
|
<td>The HTTP status error code. If not specified the current status code is used.</td>
|
|
|
|
<td>The HTTP status error code. If not specified the current status code
|
|
|
|
|
|
|
|
is used.</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr class="even">
|
|
|
|
<tr class="even">
|
|
|
|
<td><code>default</code></td>
|
|
|
|
<td><code>default</code></td>
|
|
|
@ -178,38 +229,43 @@
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr class="odd">
|
|
|
|
<tr class="odd">
|
|
|
|
<td><code>escapeXml</code></td>
|
|
|
|
<td><code>escapeXml</code></td>
|
|
|
|
<td>Converts <, >, &, ', " to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
|
|
|
|
<td>Converts <, >, &, ', " to their corresponding <a
|
|
|
|
|
|
|
|
href="http://dev.w3.org/html5/html-author/charref">entity codes</a>.
|
|
|
|
|
|
|
|
Value is <code>true</code> by default.</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
<h2 id="statuscode-bean">StatusCode Bean</h2>
|
|
|
|
<h2 id="statuscode-bean">StatusCode Bean</h2>
|
|
|
|
<p>The <code>StatusCode</code> bean can be used to check the class of the status code error. For example, using the JSTL:</p>
|
|
|
|
<p>The <code>StatusCode</code> bean can be used to check the class of
|
|
|
|
<div class="sourceCode" id="cb9"><pre class="sourceCode jsp"><code class="sourceCode jsp"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true"></a><span class="bu"><%@ taglib</span><span class="ot"> prefix</span>=<span class="st">"hs"</span><span class="ot"> uri</span>=<span class="st">"http://erik.thauvin.net/taglibs/httpstatus"</span><span class="ot"> </span><span class="bu">%></span></span>
|
|
|
|
the status code error. For example, using the JSTL:</p>
|
|
|
|
<span id="cb9-2"><a href="#cb9-2" aria-hidden="true"></a><span class="bu"><%@ taglib</span><span class="ot"> prefix</span>=<span class="st">"c"</span><span class="ot"> uri</span>=<span class="st">"http://java.sun.com/jsp/jstl/core"</span><span class="ot"> </span><span class="bu">%></span></span>
|
|
|
|
<div class="sourceCode" id="cb9"><pre
|
|
|
|
<span id="cb9-3"><a href="#cb9-3" aria-hidden="true"></a></span>
|
|
|
|
class="sourceCode jsp"><code class="sourceCode jsp"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a><span class="bu"><%@ taglib</span><span class="ot"> prefix</span>=<span class="st">"hs"</span><span class="ot"> uri</span>=<span class="st">"http://erik.thauvin.net/taglibs/httpstatus"</span><span class="ot"> </span><span class="bu">%></span></span>
|
|
|
|
<span id="cb9-4"><a href="#cb9-4" aria-hidden="true"></a><span class="bu"><jsp:useBean</span><span class="ot"> id</span>=<span class="st">"statusCode"</span><span class="ot"> class</span>=<span class="st">"net.thauvin.erik.httpstatus.StatusCode"</span><span class="bu">/></span></span>
|
|
|
|
<span id="cb9-2"><a href="#cb9-2" aria-hidden="true" tabindex="-1"></a><span class="bu"><%@ taglib</span><span class="ot"> prefix</span>=<span class="st">"c"</span><span class="ot"> uri</span>=<span class="st">"http://java.sun.com/jsp/jstl/core"</span><span class="ot"> </span><span class="bu">%></span></span>
|
|
|
|
<span id="cb9-5"><a href="#cb9-5" aria-hidden="true"></a><span class="kw"><c:set</span><span class="ot"> target</span>=<span class="dt">"</span><span class="pp">${</span>statusCode<span class="pp">}</span><span class="dt">"</span><span class="ot"> property</span>=<span class="dt">"code"</span><span class="kw">><hs:code/></c:set></span></span>
|
|
|
|
<span id="cb9-3"><a href="#cb9-3" aria-hidden="true" tabindex="-1"></a></span>
|
|
|
|
<span id="cb9-6"><a href="#cb9-6" aria-hidden="true"></a><span class="kw"><c:choose></span></span>
|
|
|
|
<span id="cb9-4"><a href="#cb9-4" aria-hidden="true" tabindex="-1"></a><span class="bu"><jsp:useBean</span><span class="ot"> id</span>=<span class="st">"statusCode"</span><span class="ot"> class</span>=<span class="st">"net.thauvin.erik.httpstatus.StatusCode"</span><span class="bu">/></span></span>
|
|
|
|
<span id="cb9-7"><a href="#cb9-7" aria-hidden="true"></a> <span class="kw"><c:when</span><span class="ot"> test</span>=<span class="dt">"</span><span class="pp">${</span>statusCode.<span class="fu">isClientError</span>()<span class="pp">}</span><span class="dt">"</span><span class="kw">></span></span>
|
|
|
|
<span id="cb9-5"><a href="#cb9-5" aria-hidden="true" tabindex="-1"></a><span class="kw"><c:set</span><span class="ot"> target</span>=<span class="dt">"</span><span class="pp">${</span>statusCode<span class="pp">}</span><span class="dt">"</span><span class="ot"> property</span>=<span class="dt">"code"</span><span class="kw">><hs:code/></c:set></span></span>
|
|
|
|
<span id="cb9-8"><a href="#cb9-8" aria-hidden="true"></a> An error occurred on your side. (<span class="kw"><hs:reason/></span>)</span>
|
|
|
|
<span id="cb9-6"><a href="#cb9-6" aria-hidden="true" tabindex="-1"></a><span class="kw"><c:choose></span></span>
|
|
|
|
<span id="cb9-9"><a href="#cb9-9" aria-hidden="true"></a> <span class="kw"></c:when></span></span>
|
|
|
|
<span id="cb9-7"><a href="#cb9-7" aria-hidden="true" tabindex="-1"></a> <span class="kw"><c:when</span><span class="ot"> test</span>=<span class="dt">"</span><span class="pp">${</span>statusCode<span class="op">.</span><span class="fu">isClientError</span><span class="op">()</span><span class="pp">}</span><span class="dt">"</span><span class="kw">></span></span>
|
|
|
|
<span id="cb9-10"><a href="#cb9-10" aria-hidden="true"></a> <span class="kw"><c:otherwise></span></span>
|
|
|
|
<span id="cb9-8"><a href="#cb9-8" aria-hidden="true" tabindex="-1"></a> An error occurred on your side. (<span class="kw"><hs:reason/></span>)</span>
|
|
|
|
<span id="cb9-11"><a href="#cb9-11" aria-hidden="true"></a> An error occurred on our side. (<span class="kw"><hs:message/></span>)</span>
|
|
|
|
<span id="cb9-9"><a href="#cb9-9" aria-hidden="true" tabindex="-1"></a> <span class="kw"></c:when></span></span>
|
|
|
|
<span id="cb9-12"><a href="#cb9-12" aria-hidden="true"></a> <span class="kw"></c:otherwise></span></span>
|
|
|
|
<span id="cb9-10"><a href="#cb9-10" aria-hidden="true" tabindex="-1"></a> <span class="kw"><c:otherwise></span></span>
|
|
|
|
<span id="cb9-13"><a href="#cb9-13" aria-hidden="true"></a><span class="kw"></c:choose></span></span></code></pre></div>
|
|
|
|
<span id="cb9-11"><a href="#cb9-11" aria-hidden="true" tabindex="-1"></a> An error occurred on our side. (<span class="kw"><hs:message/></span>)</span>
|
|
|
|
|
|
|
|
<span id="cb9-12"><a href="#cb9-12" aria-hidden="true" tabindex="-1"></a> <span class="kw"></c:otherwise></span></span>
|
|
|
|
|
|
|
|
<span id="cb9-13"><a href="#cb9-13" aria-hidden="true" tabindex="-1"></a><span class="kw"></c:choose></span></span></code></pre></div>
|
|
|
|
<p>or in a Servlet:</p>
|
|
|
|
<p>or in a Servlet:</p>
|
|
|
|
<div class="sourceCode" id="cb10"><pre class="sourceCode java"><code class="sourceCode java"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true"></a><span class="kw">import</span><span class="im"> net.thauvin.erik.httpstatus.StatusCode;</span></span>
|
|
|
|
<div class="sourceCode" id="cb10"><pre
|
|
|
|
<span id="cb10-2"><a href="#cb10-2" aria-hidden="true"></a></span>
|
|
|
|
class="sourceCode java"><code class="sourceCode java"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a><span class="kw">import</span> <span class="im">net</span><span class="op">.</span><span class="im">thauvin</span><span class="op">.</span><span class="im">erik</span><span class="op">.</span><span class="im">httpstatus</span><span class="op">.</span><span class="im">StatusCode</span><span class="op">;</span></span>
|
|
|
|
<span id="cb10-3"><a href="#cb10-3" aria-hidden="true"></a><span class="co">// ---</span></span>
|
|
|
|
<span id="cb10-2"><a href="#cb10-2" aria-hidden="true" tabindex="-1"></a></span>
|
|
|
|
<span id="cb10-4"><a href="#cb10-4" aria-hidden="true"></a></span>
|
|
|
|
<span id="cb10-3"><a href="#cb10-3" aria-hidden="true" tabindex="-1"></a><span class="co">// ---</span></span>
|
|
|
|
<span id="cb10-5"><a href="#cb10-5" aria-hidden="true"></a>StatusCode statusCode = <span class="kw">new</span> <span class="fu">StatusCode</span>((<span class="bu">Integer</span>) request.<span class="fu">getAttribute</span>(<span class="st">"javax.servlet.error.status_code"</span>));</span>
|
|
|
|
<span id="cb10-4"><a href="#cb10-4" aria-hidden="true" tabindex="-1"></a></span>
|
|
|
|
<span id="cb10-6"><a href="#cb10-6" aria-hidden="true"></a><span class="kw">if</span> (statusCode.<span class="fu">isError</span>()) {</span>
|
|
|
|
<span id="cb10-5"><a href="#cb10-5" aria-hidden="true" tabindex="-1"></a>StatusCode statusCode <span class="op">=</span> <span class="kw">new</span> <span class="fu">StatusCode</span><span class="op">((</span><span class="bu">Integer</span><span class="op">)</span> request<span class="op">.</span><span class="fu">getAttribute</span><span class="op">(</span><span class="st">"javax.servlet.error.status_code"</span><span class="op">));</span></span>
|
|
|
|
<span id="cb10-7"><a href="#cb10-7" aria-hidden="true"></a> <span class="kw">if</span> (statusCode.<span class="fu">isServerError</span>()) {</span>
|
|
|
|
<span id="cb10-6"><a href="#cb10-6" aria-hidden="true" tabindex="-1"></a><span class="cf">if</span> <span class="op">(</span>statusCode<span class="op">.</span><span class="fu">isError</span><span class="op">())</span> <span class="op">{</span></span>
|
|
|
|
<span id="cb10-8"><a href="#cb10-8" aria-hidden="true"></a> <span class="bu">String</span> reason = statusCode.<span class="fu">getReason</span>();</span>
|
|
|
|
<span id="cb10-7"><a href="#cb10-7" aria-hidden="true" tabindex="-1"></a> <span class="cf">if</span> <span class="op">(</span>statusCode<span class="op">.</span><span class="fu">isServerError</span><span class="op">())</span> <span class="op">{</span></span>
|
|
|
|
<span id="cb10-9"><a href="#cb10-9" aria-hidden="true"></a> } <span class="kw">else</span> {</span>
|
|
|
|
<span id="cb10-8"><a href="#cb10-8" aria-hidden="true" tabindex="-1"></a> <span class="bu">String</span> reason <span class="op">=</span> statusCode<span class="op">.</span><span class="fu">getReason</span><span class="op">();</span></span>
|
|
|
|
<span id="cb10-10"><a href="#cb10-10" aria-hidden="true"></a> <span class="co">// ...</span></span>
|
|
|
|
<span id="cb10-9"><a href="#cb10-9" aria-hidden="true" tabindex="-1"></a> <span class="op">}</span> <span class="cf">else</span> <span class="op">{</span></span>
|
|
|
|
<span id="cb10-11"><a href="#cb10-11" aria-hidden="true"></a> }</span>
|
|
|
|
<span id="cb10-10"><a href="#cb10-10" aria-hidden="true" tabindex="-1"></a> <span class="co">// ...</span></span>
|
|
|
|
<span id="cb10-12"><a href="#cb10-12" aria-hidden="true"></a>}</span></code></pre></div>
|
|
|
|
<span id="cb10-11"><a href="#cb10-11" aria-hidden="true" tabindex="-1"></a> <span class="op">}</span></span>
|
|
|
|
|
|
|
|
<span id="cb10-12"><a href="#cb10-12" aria-hidden="true" tabindex="-1"></a><span class="op">}</span></span></code></pre></div>
|
|
|
|
<p>The <code>StatusCode</code> bean methods are:</p>
|
|
|
|
<p>The <code>StatusCode</code> bean methods are:</p>
|
|
|
|
<table>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
@ -221,7 +277,8 @@
|
|
|
|
<tbody>
|
|
|
|
<tbody>
|
|
|
|
<tr class="odd">
|
|
|
|
<tr class="odd">
|
|
|
|
<td><code>getReason</code></td>
|
|
|
|
<td><code>getReason</code></td>
|
|
|
|
<td>Returns the reason for the status code (eg: <code>Internal Server Error</code>)</td>
|
|
|
|
<td>Returns the reason for the status code (eg:
|
|
|
|
|
|
|
|
<code>Internal Server Error</code>)</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr class="even">
|
|
|
|
<tr class="even">
|
|
|
|
<td><code>isClientError</code></td>
|
|
|
|
<td><code>isClientError</code></td>
|
|
|
@ -254,7 +311,9 @@
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
<h2 id="reasons">Reasons</h2>
|
|
|
|
<h2 id="reasons">Reasons</h2>
|
|
|
|
<p>The reasons are defined in a <a href="http://docs.oracle.com/javase/8/docs/api/java/util/ResourceBundle.html">ResourceBundle</a> properties as follows:</p>
|
|
|
|
<p>The reasons are defined in a <a
|
|
|
|
|
|
|
|
href="http://docs.oracle.com/javase/8/docs/api/java/util/ResourceBundle.html">ResourceBundle</a>
|
|
|
|
|
|
|
|
properties as follows:</p>
|
|
|
|
<table>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
|
<tr class="header">
|
|
|
|
<tr class="header">
|
|
|
@ -631,25 +690,27 @@
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
<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 codes as follows:</p>
|
|
|
|
<p>You can query the reason phrase for status codes as follows:</p>
|
|
|
|
<div class="sourceCode" id="cb11"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true"></a>$ <span class="ex">java</span> -jar httpstatus-1.0.6.jar 404 500</span>
|
|
|
|
<div class="sourceCode" id="cb11"><pre
|
|
|
|
<span id="cb11-2"><a href="#cb11-2" aria-hidden="true"></a><span class="ex">404</span>: Not Found</span>
|
|
|
|
class="sourceCode sh"><code class="sourceCode bash"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> java <span class="at">-jar</span> httpstatus-1.1.0.jar 404 500</span>
|
|
|
|
<span id="cb11-3"><a href="#cb11-3" aria-hidden="true"></a><span class="ex">500</span>: Internal Server Error</span></code></pre></div>
|
|
|
|
<span id="cb11-2"><a href="#cb11-2" aria-hidden="true" tabindex="-1"></a><span class="ex">404:</span> Not Found</span>
|
|
|
|
|
|
|
|
<span id="cb11-3"><a href="#cb11-3" aria-hidden="true" tabindex="-1"></a><span class="ex">500:</span> Internal Server Error</span></code></pre></div>
|
|
|
|
<p>If no status code is specified, all will be printed:</p>
|
|
|
|
<p>If no status code is specified, all will be printed:</p>
|
|
|
|
<div class="sourceCode" id="cb12"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb12-1"><a href="#cb12-1" aria-hidden="true"></a>$ <span class="ex">java</span> -jar httpstatus-1.0.6.jar</span>
|
|
|
|
<div class="sourceCode" id="cb12"><pre
|
|
|
|
<span id="cb12-2"><a href="#cb12-2" aria-hidden="true"></a><span class="ex">100</span>: Continue</span>
|
|
|
|
class="sourceCode sh"><code class="sourceCode bash"><span id="cb12-1"><a href="#cb12-1" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> java <span class="at">-jar</span> httpstatus-1.1.0.jar</span>
|
|
|
|
<span id="cb12-3"><a href="#cb12-3" aria-hidden="true"></a><span class="ex">101</span>: Switching Protocols</span>
|
|
|
|
<span id="cb12-2"><a href="#cb12-2" aria-hidden="true" tabindex="-1"></a><span class="ex">100:</span> Continue</span>
|
|
|
|
<span id="cb12-4"><a href="#cb12-4" aria-hidden="true"></a><span class="ex">102</span>: Processing</span>
|
|
|
|
<span id="cb12-3"><a href="#cb12-3" aria-hidden="true" tabindex="-1"></a><span class="ex">101:</span> Switching Protocols</span>
|
|
|
|
<span id="cb12-5"><a href="#cb12-5" aria-hidden="true"></a><span class="ex">103</span>: Early Hints</span>
|
|
|
|
<span id="cb12-4"><a href="#cb12-4" aria-hidden="true" tabindex="-1"></a><span class="ex">102:</span> Processing</span>
|
|
|
|
<span id="cb12-6"><a href="#cb12-6" aria-hidden="true"></a><span class="ex">200</span>: OK</span>
|
|
|
|
<span id="cb12-5"><a href="#cb12-5" aria-hidden="true" tabindex="-1"></a><span class="ex">103:</span> Early Hints</span>
|
|
|
|
<span id="cb12-7"><a href="#cb12-7" aria-hidden="true"></a><span class="ex">201</span>: Created</span>
|
|
|
|
<span id="cb12-6"><a href="#cb12-6" aria-hidden="true" tabindex="-1"></a><span class="ex">200:</span> OK</span>
|
|
|
|
<span id="cb12-8"><a href="#cb12-8" aria-hidden="true"></a><span class="ex">202</span>: Accepted</span>
|
|
|
|
<span id="cb12-7"><a href="#cb12-7" aria-hidden="true" tabindex="-1"></a><span class="ex">201:</span> Created</span>
|
|
|
|
<span id="cb12-9"><a href="#cb12-9" aria-hidden="true"></a><span class="ex">203</span>: Non-Authoritative Information</span>
|
|
|
|
<span id="cb12-8"><a href="#cb12-8" aria-hidden="true" tabindex="-1"></a><span class="ex">202:</span> Accepted</span>
|
|
|
|
<span id="cb12-10"><a href="#cb12-10" aria-hidden="true"></a><span class="ex">204</span>: No Content</span>
|
|
|
|
<span id="cb12-9"><a href="#cb12-9" aria-hidden="true" tabindex="-1"></a><span class="ex">203:</span> Non-Authoritative Information</span>
|
|
|
|
<span id="cb12-11"><a href="#cb12-11" aria-hidden="true"></a><span class="ex">205</span>: Reset Content</span>
|
|
|
|
<span id="cb12-10"><a href="#cb12-10" aria-hidden="true" tabindex="-1"></a><span class="ex">204:</span> No Content</span>
|
|
|
|
<span id="cb12-12"><a href="#cb12-12" aria-hidden="true"></a><span class="ex">206</span>: Partial Content</span>
|
|
|
|
<span id="cb12-11"><a href="#cb12-11" aria-hidden="true" tabindex="-1"></a><span class="ex">205:</span> Reset Content</span>
|
|
|
|
<span id="cb12-13"><a href="#cb12-13" aria-hidden="true"></a><span class="ex">207</span>: Multi-Status</span>
|
|
|
|
<span id="cb12-12"><a href="#cb12-12" aria-hidden="true" tabindex="-1"></a><span class="ex">206:</span> Partial Content</span>
|
|
|
|
<span id="cb12-14"><a href="#cb12-14" aria-hidden="true"></a><span class="ex">208</span>: Already Reported</span>
|
|
|
|
<span id="cb12-13"><a href="#cb12-13" aria-hidden="true" tabindex="-1"></a><span class="ex">207:</span> Multi-Status</span>
|
|
|
|
<span id="cb12-15"><a href="#cb12-15" aria-hidden="true"></a><span class="ex">226</span>: IM Used</span>
|
|
|
|
<span id="cb12-14"><a href="#cb12-14" aria-hidden="true" tabindex="-1"></a><span class="ex">208:</span> Already Reported</span>
|
|
|
|
<span id="cb12-16"><a href="#cb12-16" aria-hidden="true"></a><span class="ex">...</span></span></code></pre></div>
|
|
|
|
<span id="cb12-15"><a href="#cb12-15" aria-hidden="true" tabindex="-1"></a><span class="ex">226:</span> IM Used</span>
|
|
|
|
|
|
|
|
<span id="cb12-16"><a href="#cb12-16" aria-hidden="true" tabindex="-1"></a><span class="ex">...</span></span></code></pre></div>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</html>
|
|
|
|