public interface HttpGenerator
Modifier and Type | Method and Description |
---|---|
void |
postData(java.lang.String message)
Generate a http request from
|
void |
postFromFile(java.io.File file)
Generate a http request from the contents of a file
|
void postData(java.lang.String message)
message
- the mesage to postvoid postFromFile(java.io.File file) throws java.lang.Exception
file
- the File that contains the data to postjava.lang.Exception
- An exception, most likely due to file handling