public class PostForm
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
PostForm.Result
The result of a webhook.
|
| Constructor and Description |
|---|
PostForm(java.lang.String url) |
| Modifier and Type | Method and Description |
|---|---|
PostForm |
addObject(FormObject object)
Adds an object to the list of objects.
|
void |
reset()
Resets the webhook.
|
PostForm.Result |
send()
Sends the webhook to the url.
|
public PostForm addObject(FormObject object)
object - the object to be added to the requestpublic PostForm.Result send() throws java.io.IOException
java.io.IOException - If something goes wrongpublic void reset()
boundary