HttpsResponse 类
定义
An HTTPS response. Contains the status code, body, header fields, and error reason (if any).
public class HttpsResponse
- 继承
-
java.lang.ObjectHttpsResponse
构造函数
HttpsResponse() | |
HttpsResponse(int status, byte[] body, Map<String, List<String>> headerFields, byte[] errorReason) |
Constructor.
|
方法
getBody() |
Getter for the response body.
|
getErrorReason() |
Getter for the error reason.
|
getHeaderField(String field) |
Getter for a header field.
|
getHeaderFields() |
Getter for the header fields.
|
getStatus() |
Getter for the HTTPS status code.
|