Rename HttpStatus 308 to Permanent Redirect

Issue: SPR-11854
This commit is contained in:
Rossen Stoyanchev
2014-06-10 18:51:22 -04:00
parent 6b129c52e3
commit b214db3fc8
3 changed files with 6 additions and 7 deletions

View File

@@ -150,11 +150,10 @@ public enum HttpStatus {
*/
TEMPORARY_REDIRECT(307, "Temporary Redirect"),
/**
* {@code 308 Resume Incomplete}.
* @see <a href="http://code.google.com/p/gears/wiki/ResumableHttpRequestsProposal">A proposal for supporting
* resumable POST/PUT HTTP requests in HTTP/1.0</a>
* {@code 308 Permanent Redirect}.
* @see <a href="http://tools.ietf.org/html/rfc7238">RFC 7238</a>
*/
RESUME_INCOMPLETE(308, "Resume Incomplete"),
PERMANENT_REDIRECT(308, "Permanent Redirect"),
// --- 4xx Client Error ---