public class StringHttpResponseResult extends HttpResponseResult
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
responseStr |
charset, headerMap, status| 构造器和说明 |
|---|
StringHttpResponseResult(String responseStr) |
| 限定符和类型 | 方法和说明 |
|---|---|
InputStream |
getResponseBody() |
String |
getResponseStr() |
String |
toString() |
addHeader, addHeaders, getCharset, getHeader, getHeaderMap, getStatus, setCharset, setStatusprotected String responseStr
public StringHttpResponseResult(String responseStr)
public String getResponseStr()
public InputStream getResponseBody() throws IOException
getResponseBody 在类中 HttpResponseResultIOExceptionpublic String toString()
toString 在类中 HttpResponseResultCopyright © 2019. All rights reserved.