public interface HttpGenerator
Modifier and Type | Method and Description |
---|---|
void |
postData(java.lang.String message)
Generate a http POST request using the String as the body of the request.
|
void |
postFromFile(java.io.File file)
Generate a http request from the contents of a file
|
void postData(java.lang.String message)
message
- String to send in the http body.void postFromFile(java.io.File file)
file
- the File that contains the data to postGeneratorException
- If there was an error related to file handling.