public class YopApacheHttpResponse extends AbstractYopHttpResponse
| 构造器和说明 |
|---|
YopApacheHttpResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
int |
getStatusCode() |
String |
getStatusText() |
fillHeader, getCanonicalHeaders, getContent, getHeader, getHeaderAsLong, getHeaderAsRfc822Date, getHeaders, readContent, setContentpublic YopApacheHttpResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse)
throws IOException
IOExceptionpublic String getStatusText()
public int getStatusCode()
public void close()
throws IOException
IOExceptionCopyright © 2024. All rights reserved.