net.i2p.util
public class HTTPSendData extends Object
Constructor and Description |
---|
HTTPSendData()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
postData(String url,
long length,
InputStream dataToSend)
Deprecated.
Submit an HTTP post to the given url, sending the data specified
|
static boolean |
postData(URL url,
long length,
InputStream dataToSend)
Deprecated.
Submit an HTTP post to the given url, sending the data specified
|
public static boolean postData(String url, long length, InputStream dataToSend)
url
- url to post tolength
- number of bytes in the dataToSend to, er, senddataToSend
- stream of bytes to be sentpublic static boolean postData(URL url, long length, InputStream dataToSend)
url
- url to post tolength
- number of bytes in the dataToSend to, er, senddataToSend
- stream of bytes to be sent