HttpServletResponse.SC_UNAUTHORIZED
时间: 2023-10-16 14:06:43 浏览: 102
HttpServletResponse.SC_UNAUTHORIZED是一个HTTP状态码,表示未经授权的请求。它表示当前请求需要身份验证,但客户端未提供有效的凭据。在这种情况下,服务器会返回一个401 Unauthorized响应,表示请求被拒绝。通常,在认证失败时,可以使用该状态码来通知客户端需要进行身份验证。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [8.7、HttpServletResponse](https://blog.csdn.net/qq_44840451/article/details/124774825)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [用户认证失败或权限不足异常处理](https://blog.csdn.net/Leon_Jinhai_Sun/article/details/122645708)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文