public class AutodiscoverService
extends java.lang.Object
| Constructor and Description |
|---|
AutodiscoverService()
Instantiates a new autodiscover service.
|
AutodiscoverService(java.lang.String url)
Instantiates a new autodiscover service.
|
AutodiscoverService(java.lang.String url,
java.lang.String username,
java.lang.String password)
Instantiates a new autodiscover service.
|
AutodiscoverService(java.lang.String url,
java.lang.String username,
java.lang.String password,
java.lang.String domain)
Instantiates a new autodiscover service.
|
| Modifier and Type | Method and Description |
|---|---|
MobileSyncProvider |
autodiscoverMobileSyncProvider(java.lang.String emailAddress)
Autodiscover mobile sync provider.
|
OutlookProvider |
autodiscoverOutlookProvider(java.lang.String emailAddress)
Autodiscover outlook provider.
|
org.apache.http.conn.HttpClientConnectionManager |
getClientConnectionManager()
Gets connection manager.
|
int |
getConnectTimeout()
Returns setting for connect timeout.
|
org.apache.http.Header[] |
getCustomHeaders() |
java.lang.String |
getDomain()
Gets user's domain.
|
GetDomainSettingsResponse |
getDomainSettings(java.util.List<java.lang.String> domains,
java.util.List<DomainSettingName> settingNames)
Gets the domain settings.
|
GetDomainSettingsResponse |
getDomainSettings(java.lang.String domain,
DomainSettingName settingName)
Gets the domain settings.
|
GetDomainSettingsResponse |
getDomainSettings(java.lang.String domain,
java.util.List<DomainSettingName> settingNames)
Gets the domain settings.
|
Identity |
getExchangeImpersonation()
Gets the ID of the user that Exchange Web Services (EWS) should impersonate.
|
GetFederationInformationResponse |
getFederationInformation(java.lang.String domain)
Gets the federation information.
|
java.net.Proxy |
getHttpURLConnectionProxy()
Gets HttpURLConnection proxy server.
|
java.lang.String |
getMailboxCulture()
Gets the mailbox culture that is used when opening a mailbox.
|
java.lang.String |
getPassword()
Gets user's password.
|
org.apache.http.HttpHost |
getProxy()
Gets HttpClient proxy.
|
org.apache.http.auth.Credentials |
getProxyCredentials()
Gets proxy credentials.
|
int |
getReadTimeout()
Returns setting for read timeout.
|
org.apache.http.client.config.RequestConfig |
getRequestConfig()
Gets request configuration.
|
RequestServerVersion |
getRequestServerVersion()
Gets the versioning information that identifies the schema version to target for a request.
|
java.lang.String |
getUrl()
Gets URL of Exchange Web Services.
|
java.lang.String |
getUsername()
Gets username.
|
GetUserSettingsResponse |
getUserSettings(java.util.List<java.lang.String> emailAddresses,
java.util.List<UserSettingName> settingNames)
Gets the user settings.
|
GetUserSettingsResponse |
getUserSettings(java.lang.String emailAddress,
java.util.List<UserSettingName> settingNames)
Gets the user settings.
|
GetUserSettingsResponse |
getUserSettings(java.lang.String emailAddress,
UserSettingName settingName)
Gets the user settings.
|
void |
setClientConnectionManager(org.apache.http.conn.HttpClientConnectionManager connectionManager)
Sets connection manager.
|
void |
setConnectTimeout(int connectTimeout)
Sets the specified timeout value, in milliseconds, to be used when opening a communications link to the resource referenced by the HttpURLConnection.
|
void |
setCustomHeaders(org.apache.http.Header[] customHeaders) |
void |
setDomain(java.lang.String domain)
Sets user's domain.
|
void |
setExchangeImpersonation(Identity identity)
Sets the ID of the user that Exchange Web Services (EWS) should impersonate.
|
void |
setHttpURLConnection(boolean useHttpURLConnection)
Sets the http url connection.
|
void |
setHttpURLConnectionProxy(java.net.Proxy httpURLConnectionProxy)
Sets HttpURLConnection proxy server.
|
void |
setMailboxCulture(java.lang.String mailboxCulture)
Sets the mailbox culture that is used when opening a mailbox.
|
void |
setPassword(java.lang.String password)
Sets user's password.
|
void |
setProxy(org.apache.http.HttpHost proxy)
Sets HttpClient proxy.
|
void |
setProxyCredentials(org.apache.http.auth.Credentials proxyCredentials)
Sets proxy credentials.
|
void |
setReadTimeout(int readTimeout)
Sets the read timeout to the specified timeout, in milliseconds.
|
void |
setRequestConfig(org.apache.http.client.config.RequestConfig requestConfig)
Sets request configuration.
|
void |
setRequestServerVersion(RequestServerVersion requestServerVersion)
Sets the versioning information that identifies the schema version to target for a request.
|
void |
setUrl(java.lang.String url)
Sets URL of Exchange Web Services.
|
void |
setUsername(java.lang.String username)
Sets username.
|
public AutodiscoverService()
public AutodiscoverService(java.lang.String url)
url - the urlpublic AutodiscoverService(java.lang.String url,
java.lang.String username,
java.lang.String password)
url - the urlusername - the usernamepassword - the passwordpublic AutodiscoverService(java.lang.String url,
java.lang.String username,
java.lang.String password,
java.lang.String domain)
url - the urlusername - the usernamepassword - the passworddomain - the domainpublic MobileSyncProvider autodiscoverMobileSyncProvider(java.lang.String emailAddress) throws ServiceException, AutodiscoverException
emailAddress - the email addressServiceException - the service exceptionAutodiscoverException - the autodiscover exceptionpublic GetUserSettingsResponse getUserSettings(java.lang.String emailAddress, UserSettingName settingName) throws ServiceException, AutodiscoverException
emailAddress - the email addresssettingName - the setting nameServiceException - the service exceptionAutodiscoverException - the autodiscover exceptionpublic GetUserSettingsResponse getUserSettings(java.lang.String emailAddress, java.util.List<UserSettingName> settingNames) throws ServiceException, AutodiscoverException
emailAddress - the email addresssettingNames - the setting namesServiceException - the service exceptionAutodiscoverException - the autodiscover exceptionpublic GetUserSettingsResponse getUserSettings(java.util.List<java.lang.String> emailAddresses, java.util.List<UserSettingName> settingNames) throws ServiceException, AutodiscoverException
emailAddresses - the email addressessettingNames - the setting namesServiceException - the service exceptionAutodiscoverException - the autodiscover exceptionpublic GetDomainSettingsResponse getDomainSettings(java.lang.String domain, DomainSettingName settingName) throws ServiceException, AutodiscoverException
domain - the domainsettingName - the setting nameServiceException - the service exceptionAutodiscoverException - the autodiscover exceptionpublic GetDomainSettingsResponse getDomainSettings(java.lang.String domain, java.util.List<DomainSettingName> settingNames) throws ServiceException, AutodiscoverException
domain - the domainsettingNames - the setting namesServiceException - the service exceptionAutodiscoverException - the autodiscover exceptionpublic GetDomainSettingsResponse getDomainSettings(java.util.List<java.lang.String> domains, java.util.List<DomainSettingName> settingNames) throws ServiceException, AutodiscoverException
domains - the domainssettingNames - the setting namesServiceException - the service exceptionAutodiscoverException - the autodiscover exceptionpublic GetFederationInformationResponse getFederationInformation(java.lang.String domain) throws ServiceException, AutodiscoverException
domain - the domainServiceException - the service exceptionAutodiscoverException - the autodiscover exceptionpublic OutlookProvider autodiscoverOutlookProvider(java.lang.String emailAddress) throws ServiceException, AutodiscoverException
emailAddress - the email addressServiceException - the service exceptionAutodiscoverException - the autodiscover exceptionpublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url - the new urlpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username - the new usernamepublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - the new passwordpublic java.lang.String getDomain()
public void setDomain(java.lang.String domain)
domain - the new domainpublic java.lang.String getMailboxCulture()
public void setMailboxCulture(java.lang.String mailboxCulture)
mailboxCulture - the new mailbox culturepublic Identity getExchangeImpersonation()
public void setExchangeImpersonation(Identity identity)
identity - the new exchange impersonationpublic RequestServerVersion getRequestServerVersion()
public void setRequestServerVersion(RequestServerVersion requestServerVersion)
requestServerVersion - the new request server versionpublic java.net.Proxy getHttpURLConnectionProxy()
public void setHttpURLConnectionProxy(java.net.Proxy httpURLConnectionProxy)
httpURLConnectionProxy - the new http url connection proxypublic org.apache.http.HttpHost getProxy()
public void setProxy(org.apache.http.HttpHost proxy)
proxy - the new proxypublic org.apache.http.auth.Credentials getProxyCredentials()
public void setProxyCredentials(org.apache.http.auth.Credentials proxyCredentials)
proxyCredentials - the new proxy credentialspublic org.apache.http.conn.HttpClientConnectionManager getClientConnectionManager()
public void setClientConnectionManager(org.apache.http.conn.HttpClientConnectionManager connectionManager)
connectionManager - the new client connection managerpublic org.apache.http.client.config.RequestConfig getRequestConfig()
public void setRequestConfig(org.apache.http.client.config.RequestConfig requestConfig)
requestConfig - the request configurationpublic void setHttpURLConnection(boolean useHttpURLConnection)
useHttpURLConnection - the new http url connectionpublic void setConnectTimeout(int connectTimeout)
connectTimeout - the new connect timeoutpublic int getConnectTimeout()
public void setReadTimeout(int readTimeout)
readTimeout - the new read timeoutpublic int getReadTimeout()
public void setCustomHeaders(org.apache.http.Header[] customHeaders)
public org.apache.http.Header[] getCustomHeaders()