API Reference
| Classic JavaDoc |
Exchange.Exchange
public Exchange(String hostname, String username, String password)
public Exchange(String hostname, String username, String password, boolean useHttps)
public Exchange(String hostname, String username, String password, String domain)
public Exchange(String hostname, String username, String password, String domain, boolean useHttps)
public Exchange(String hostname, String username, String password, String domain, String url)
Connects to the Exchange server using the specified parameters over a secure SSL channel.Throws:
ExchangeServiceException | if any errors occur when establishing the communication with Exchange. |
public Exchange(String hostname, String username, String password, boolean useHttps)
Connects to the Exchange server using the specified parameters. If the useHttps
argument is set to true, the connection is established over a secure SSL channel; if
set to false, plain HTTP is used.Throws:
ExchangeServiceException | if any errors occur when establishing the communication with Exchange. |
public Exchange(String hostname, String username, String password, String domain)
Connects to the Exchange server using the specified parameters over a secure SSL channel.Throws:
ExchangeServiceException | if any errors occur when establishing the communication with Exchange. |
public Exchange(String hostname, String username, String password, String domain, boolean useHttps)
Connects to the Exchange server using the specified parameters. If the useHttps
argument is set to true, the connection is established over a secure SSL channel; if
set to false, plain HTTP is used.Throws:
ExchangeServiceException | if any errors occur when establishing the communication with Exchange. |
public Exchange(String hostname, String username, String password, String domain, String url)
Connects to the Exchange server using the specified parameters and the specified
URL string. The hostname/domain arguments are used for authentication purposes only.Throws:
ExchangeServiceException | if any errors occur when establishing the communication with Exchange. |
Community comments
Powered by JavaDocPlus