com.telapi.api.configuration
Interface TelapiConfiguration

All Known Implementing Classes:
BasicTelapiConfiguration, PropertiesFileTelapiConfiguration

public interface TelapiConfiguration

The basic interface which must return the Telapi configuration parameters.


Method Summary
 String getAuthToken()
           
 String getBaseUrl()
           
 String getProxyHost()
           
 String getProxyPort()
           
 String getProxyProtocol()
           
 String getSid()
           
 

Method Detail

getSid

String getSid()
Returns:
The account Sid.

getAuthToken

String getAuthToken()
Returns:
The authorization token.

getBaseUrl

String getBaseUrl()
Returns:
The base URL. This should be "https://api.telapi.com/" by default.

getProxyHost

String getProxyHost()
Returns:
The proxy host (e.g. "192.168.0.1"). Leave null or empty if no proxy is to be used.

getProxyPort

String getProxyPort()
Returns:
The proxy port (e.g. 8080). Ignored if no proxy host is set.

getProxyProtocol

String getProxyProtocol()
Returns:
The proxy protocol (e.g. "http"). Ignored if no proxy host is set.


Copyright © 2012. All Rights Reserved.