Package com.bandwidth.voice.bxml.verbs
Class Gather.GatherBuilder
java.lang.Object
com.bandwidth.voice.bxml.verbs.Gather.GatherBuilder
- Enclosing class:
- Gather
public static class Gather.GatherBuilder
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description GatherBuilder()
-
Method Summary
Modifier and Type Method Description Gather.GatherBuilder
gatherMethod(Method method)
(optional) he HTTP method to use for the request to gatherUrl.Gather.GatherBuilder
gatherMethod(java.lang.String method)
(optional) he HTTP method to use for the request to gatherUrl.Gather.GatherBuilder
gatherUrl(java.lang.String url)
(optional) URL to send Gather event to and request new BXML.Gather.GatherBuilder
gatherUrl(java.net.URI url)
(optional) URL to send Gather event to and request new BXML.
-
Constructor Details
-
GatherBuilder
public GatherBuilder()
-
-
Method Details
-
gatherUrl
(optional) URL to send Gather event to and request new BXML. Converts string using URI.create(url). -
gatherUrl
(optional) URL to send Gather event to and request new BXML. -
gatherMethod
(optional) he HTTP method to use for the request to gatherUrl. GET or POST. Default value is POST. Converts String to Method using Method.fromValue(method) -
gatherMethod
(optional) he HTTP method to use for the request to gatherUrl. GET or POST. Default value is POST.
-