public class ApacheHttpResponse extends Object implements IHttpResponse
HttpResponse| Constructor and Description |
|---|
ApacheHttpResponse(org.apache.http.HttpResponse theResponse) |
| Modifier and Type | Method and Description |
|---|---|
void |
bufferEntitity()
Deprecated.
|
void |
bufferEntity() |
void |
close() |
Reader |
createReader() |
Map<String,List<String>> |
getAllHeaders() |
List<String> |
getHeaders(String theName) |
String |
getMimeType() |
org.apache.http.HttpResponse |
getResponse() |
int |
getStatus() |
String |
getStatusInfo() |
InputStream |
readEntity() |
public ApacheHttpResponse(org.apache.http.HttpResponse theResponse)
@Deprecated public void bufferEntitity() throws IOException
bufferEntitity in interface IHttpResponseIOExceptionpublic void bufferEntity() throws IOException
bufferEntity in interface IHttpResponseIOExceptionpublic void close()
close in interface IHttpResponsepublic Reader createReader() throws IOException
createReader in interface IHttpResponseIOExceptionpublic Map<String,List<String>> getAllHeaders()
getAllHeaders in interface IHttpResponsepublic List<String> getHeaders(String theName)
getHeaders in interface IHttpResponsepublic String getMimeType()
getMimeType in interface IHttpResponsepublic org.apache.http.HttpResponse getResponse()
getResponse in interface IHttpResponsepublic int getStatus()
getStatus in interface IHttpResponsepublic String getStatusInfo()
getStatusInfo in interface IHttpResponsepublic InputStream readEntity() throws IOException
readEntity in interface IHttpResponseIOExceptionCopyright © 2014–2018 University Health Network. All rights reserved.