HttpsResponse.getHeaderField(String field) 方法

定义

Getter for a header field.

public String getHeaderField(String field)

参数

field
String

the header field name.

返回

String

the header field value. If multiple values are present, they are returned as a comma-separated list according to RFC2616.

例外

IllegalArgumentException

if no value exists for the given field name.

适用于