public class HttpUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpUtils.HttpResult
Holds the result of an HTTP action.
|
| Constructor and Description |
|---|
HttpUtils() |
| Modifier and Type | Method and Description |
|---|---|
static HttpUtils.HttpResult |
putToURL(String urlString,
String contents)
use HTTP PUT to send the contents to the named URL.
|
public static HttpUtils.HttpResult putToURL(String urlString, String contents)
urlString - the URL to read from. must be http:contents - String holding the contents