public String toUrl ( ) throws TwiMLException { try { return URLEncoder . encode ( toXml ( ) , "UTF-8" ) ; } catch ( UnsupportedEncodingException e ) { throw new TwiMLException ( e . getMessage ( ) ) ; } }
Convert TwiML object to URL .