public class HttpResponseResult extends Object
| 构造器和说明 |
|---|
HttpResponseResult(int status,
org.apache.http.HttpEntity entity,
boolean isStream) |
HttpResponseResult(int status,
org.apache.http.HttpEntity entity,
boolean isStream,
org.apache.http.client.methods.CloseableHttpResponse httpResponse) |
public HttpResponseResult(int status,
org.apache.http.HttpEntity entity,
boolean isStream)
throws IOException
IOExceptionpublic HttpResponseResult(int status,
org.apache.http.HttpEntity entity,
boolean isStream,
org.apache.http.client.methods.CloseableHttpResponse httpResponse)
throws IOException
IOExceptionpublic int getStatus()
public void setStatus(int status)
public InputStream getInputStreamResult()
public String getStringResult()
public void releaseIfIsStream()
Copyright © 2019. All rights reserved.