public interface HttpResponse extends HttpMessage
Description:
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
释放资源
|
InputStream |
getBody()
响应内容
|
byte[] |
getContent()
响应内容
|
HttpVersion |
getProtocol()
HTTP协议
|
HttpStatus |
getStatus()
响应状态
|
getHeadersHttpVersion getProtocol()
HttpStatus getStatus()
InputStream getBody()
byte[] getContent()
void close()
Copyright © 2019. All rights reserved.