To return specific HTTP response status code and description.
若要返回特定HTTP响应状态代码和说明。
The status attribute indicates the HTTP RESPONSE STATUS code (for example, 200) sent back from the server.
status 属性指出从服务器返回的 HTTP RESPONSE STATUS 码(例如,200)。
The first Jersey client example is to send a GET request to fetch all the contacts and print the response status code and response content. See Listing 11.
第一个 Jersey 客户端示例将发送 GET 请求获取所有联系人并打印响应状态码和响应内容,参见清单 11。
应用推荐