Package com.twilio.twiml.messaging
Class Redirect.Builder
- java.lang.Object
-
- com.twilio.twiml.TwiML.Builder<Redirect.Builder>
-
- com.twilio.twiml.messaging.Redirect.Builder
-
- Enclosing class:
- Redirect
public static class Redirect.Builder extends TwiML.Builder<Redirect.Builder>
Create a new<Redirect>element
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Redirectbuild()Create and return resulting<Redirect>elementstatic Redirect.BuilderfromXml(String xml)Create and return a<Redirect.Builder>from an XML stringRedirect.Buildermethod(HttpMethod method)Redirect URL method-
Methods inherited from class com.twilio.twiml.TwiML.Builder
addChild, addText, option
-
-
-
-
Method Detail
-
fromXml
public static Redirect.Builder fromXml(String xml) throws TwiMLException
Create and return a<Redirect.Builder>from an XML string- Throws:
TwiMLException
-
method
public Redirect.Builder method(HttpMethod method)
Redirect URL method
-
build
public Redirect build()
Create and return resulting<Redirect>element
-
-