public interface HTTPResponse
Modifier and Type | Method and Description |
---|---|
Header[] |
getAllHeaders() |
String |
getCharset() |
byte[] |
getContentAsByteArray() |
InputStream |
getContentAsStream() |
String |
getContentAsString() |
String |
getContentAsString(String charset) |
long |
getContentLength() |
ContentType |
getContentType() |
Header |
getLastHeader(String name) |
Header |
getLastHeaderIgnoreCase(String name) |
String |
getProtocolVersion() |
int |
getStatusCode() |
String |
getStatusLine() |
String |
getStatusText() |
URL |
getURL() |
String getContentAsString() throws IOException
IOException
String getContentAsString(String charset) throws IOException
IOException
InputStream getContentAsStream() throws IOException
IOException
byte[] getContentAsByteArray() throws IOException
IOException
ContentType getContentType()
Header getLastHeader(String name)
Header getLastHeaderIgnoreCase(String name)
String getCharset()
long getContentLength() throws IOException
IOException
int getStatusCode()
String getStatusText()
String getProtocolVersion()
String getStatusLine()
Header[] getAllHeaders()
Copyright © 2015 Lucee