Class Redirect.RedirectBuilder

java.lang.Object
com.bandwidth.voice.bxml.verbs.Redirect.RedirectBuilder
Enclosing class:
Redirect

public static class Redirect.RedirectBuilder
extends java.lang.Object
  • Constructor Details

  • Method Details

    • redirectUrl

      public Redirect.RedirectBuilder redirectUrl​(java.net.URI uri)
      (required) URL to request new BXML from. A Redirect event will be sent to this endpoint.
    • redirectUrl

      public Redirect.RedirectBuilder redirectUrl​(java.lang.String uri)
      (required) URL to request new BXML from. A Redirect event will be sent to this endpoint. Converts to URI using URI.create(url)
    • redirectMethod

      public Redirect.RedirectBuilder redirectMethod​(Method method)
      (optional) The HTTP method to use for the request to redirectUrl. GET or POST. Default Value is POST.
    • redirectMethod

      public Redirect.RedirectBuilder redirectMethod​(java.lang.String method)
      (optional) The HTTP method to use for the request to redirectUrl. GET or POST. Default Value is POST. Converts String to Method using Method.fromValue(method)