public static interface HttpRequests.Request
Modifier and Type | Method and Description |
---|---|
java.net.URLConnection |
getConnection() |
java.io.InputStream |
getInputStream() |
java.io.BufferedReader |
getReader() |
java.io.BufferedReader |
getReader(ProgressIndicator indicator) |
java.lang.String |
getURL() |
boolean |
isSuccessful()
Deprecated.
Called automatically on open connection. Use
RequestBuilder.tryConnect() to get response code |
byte [] |
readBytes(ProgressIndicator indicator) |
java.lang.CharSequence |
readChars(ProgressIndicator indicator) |
default java.lang.String |
readString() |
java.lang.String |
readString(ProgressIndicator indicator) |
java.io.File |
saveToFile(java.io.File file,
ProgressIndicator indicator) |
default void |
write(byte [] data) |
default void |
write(java.lang.String data) |
java.lang.String getURL()
java.net.URLConnection getConnection() throws java.io.IOException
java.io.IOException
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
java.io.BufferedReader getReader() throws java.io.IOException
java.io.IOException
java.io.BufferedReader getReader(ProgressIndicator indicator) throws java.io.IOException
java.io.IOException
@Deprecated boolean isSuccessful() throws java.io.IOException
RequestBuilder.tryConnect()
to get response codejava.io.IOException
java.io.File saveToFile(java.io.File file, ProgressIndicator indicator) throws java.io.IOException
java.io.IOException
byte [] readBytes(ProgressIndicator indicator) throws java.io.IOException
java.io.IOException
java.lang.String readString(ProgressIndicator indicator) throws java.io.IOException
java.io.IOException
default java.lang.String readString() throws java.io.IOException
java.io.IOException
java.lang.CharSequence readChars(ProgressIndicator indicator) throws java.io.IOException
java.io.IOException
default void write(java.lang.String data) throws java.io.IOException
java.io.IOException
default void write(byte [] data) throws java.io.IOException
java.io.IOException