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

@@ -317,9 +317,9 @@ public class StatusResultMatchers {
}
/**
* Assert the response status code is {@code HttpStatus.RESUME_INCOMPLETE} (308).
* Assert the response status code is {@code HttpStatus.PERMANENT_REDIRECT} (308).
*/
public ResultMatcher isResumeIncomplete() {
public ResultMatcher isPermanentRedirect() {
return matcher(HttpStatus.valueOf(308));
}