public class HTTPResponse3Impl extends HTTPResponseSupport
Constructor and Description |
---|
HTTPResponse3Impl(org.apache.commons.httpclient.HttpMethod rsp,
URL url) |
Modifier and Type | Method and Description |
---|---|
Header[] |
getAllHeaders() |
byte[] |
getContentAsByteArray() |
InputStream |
getContentAsStream() |
String |
getContentAsString() |
String |
getContentAsString(String charset) |
Header |
getLastHeader(String name) |
Header |
getLastHeaderIgnoreCase(String name) |
String |
getProtocolVersion() |
int |
getStatusCode() |
String |
getStatusLine() |
String |
getStatusText() |
URL |
getURL() |
getCharset, getContentLength, getContentType
public HTTPResponse3Impl(org.apache.commons.httpclient.HttpMethod rsp, URL url)
public String getContentAsString() throws IOException
IOException
public String getContentAsString(String charset) throws IOException
IOException
public InputStream getContentAsStream() throws IOException
IOException
public byte[] getContentAsByteArray() throws IOException
IOException
public Header getLastHeader(String name)
public Header getLastHeaderIgnoreCase(String name)
public int getStatusCode()
public String getStatusText()
public String getProtocolVersion()
public String getStatusLine()
public Header[] getAllHeaders()
Copyright © 2015 Lucee