public interface HTTPResponse
Modifier and Type | Method | 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()
String getCharset()
long getContentLength() throws IOException
IOException
URL getURL()
int getStatusCode()
String getStatusText()
String getProtocolVersion()
String getStatusLine()
Header[] getAllHeaders()
Copyright © 2020. All rights reserved.