com.twilio.sdk.verbs
Class Redirect

java.lang.Object
  extended by com.twilio.sdk.verbs.Verb
      extended by com.twilio.sdk.verbs.Redirect

public class Redirect
extends Verb

The Class Redirect.


Field Summary
 
Fields inherited from class com.twilio.sdk.verbs.Verb
V_BODY, V_CLIENT, V_CONFERENCE, V_DIAL, V_ENQUEUE, V_GATHER, V_HANGUP, V_LEAVE, V_MEDIA, V_MESSAGE, V_NUMBER, V_PAUSE, V_PLAY, V_QUEUE, V_RECORD, V_REDIRECT, V_REJECT, V_RESPONSE, V_SAY, V_SIP, V_SMS, V_URI
 
Constructor Summary
Redirect()
          Instantiates a new redirect.
Redirect(String url)
          Instantiates a new redirect.
 
Method Summary
 void setMethod(String method)
          Sets the method.
 
Methods inherited from class com.twilio.sdk.verbs.Verb
append, asURL, getAttributes, getBody, getChildren, getTag, set, toEscapedXML, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Redirect

public Redirect()
Instantiates a new redirect.


Redirect

public Redirect(String url)
Instantiates a new redirect.

Parameters:
url - the url
Method Detail

setMethod

public void setMethod(String method)
Sets the method.

Parameters:
method - the new method


Copyright © 2011 Twilio, Inc. All Rights Reserved.