HttpsResponse 构造函数

定义

重载

HttpsResponse()
HttpsResponse(int status, byte[] body, Map<String, List<String>> headerFields, byte[] errorReason)

Constructor.

HttpsResponse()

protected HttpsResponse()

HttpsResponse(int status, byte[] body, Map<String, List<String>> headerFields, byte[] errorReason)

Constructor.

public HttpsResponse(int status, byte[] body, Map<String, List<String>> headerFields, byte[] errorReason)

参数

status
int

the HTTPS status code.

body
byte []

the response body.

headerFields
Map<String, List<String>>

a map of header field names and the values associated with the field name.

errorReason
byte []

the error reason.

适用于