Class OutlookConfigurationSettings
- java.lang.Object
-
- microsoft.exchange.webservices.data.autodiscover.configuration.ConfigurationSettingsBase
-
- microsoft.exchange.webservices.data.autodiscover.configuration.outlook.OutlookConfigurationSettings
-
public final class OutlookConfigurationSettings extends ConfigurationSettingsBase
Represents Outlook configuration settings.
-
-
Constructor Summary
Constructors Constructor Description OutlookConfigurationSettings()Initializes a new instance of the OutlookConfigurationSettings class.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetUserSettingsResponseconvertSettings(String smtpAddress, List<UserSettingName> requestedSettings)Convert OutlookConfigurationSettings to GetUserSettings response.StringgetNamespace()Gets the namespace that defines the settings.StringgetRedirectTarget()Gets the redirect target.AutodiscoverResponseTypegetResponseType()Gets the type of the response.protected static booleanisAvailableUserSetting(UserSettingName setting)Determines whether user setting is available in the OutlookConfiguration or not.voidmakeRedirectionResponse(URI redirectUrl)Makes this instance a redirection response.booleantryReadCurrentXmlElement(EwsXmlReader reader)Tries to read the current XML element.-
Methods inherited from class microsoft.exchange.webservices.data.autodiscover.configuration.ConfigurationSettingsBase
getError, loadFromXml
-
-
-
-
Constructor Detail
-
OutlookConfigurationSettings
public OutlookConfigurationSettings()
Initializes a new instance of the OutlookConfigurationSettings class.
-
-
Method Detail
-
isAvailableUserSetting
protected static boolean isAvailableUserSetting(UserSettingName setting)
Determines whether user setting is available in the OutlookConfiguration or not.- Parameters:
setting- The setting.- Returns:
- True if user setting is available, otherwise, false.
-
getNamespace
public String getNamespace()
Gets the namespace that defines the settings.- Specified by:
getNamespacein classConfigurationSettingsBase- Returns:
- The namespace that defines the settings.
-
makeRedirectionResponse
public void makeRedirectionResponse(URI redirectUrl)
Makes this instance a redirection response.- Specified by:
makeRedirectionResponsein classConfigurationSettingsBase- Parameters:
redirectUrl- The redirect URL.
-
tryReadCurrentXmlElement
public boolean tryReadCurrentXmlElement(EwsXmlReader reader) throws Exception
Tries to read the current XML element.- Overrides:
tryReadCurrentXmlElementin classConfigurationSettingsBase- Parameters:
reader- the reader- Returns:
- true is the current element was read, false otherwise
- Throws:
Exception- the exception
-
convertSettings
public GetUserSettingsResponse convertSettings(String smtpAddress, List<UserSettingName> requestedSettings)
Convert OutlookConfigurationSettings to GetUserSettings response.- Specified by:
convertSettingsin classConfigurationSettingsBase- Parameters:
smtpAddress- SMTP address requested.requestedSettings- The requested settings.- Returns:
- GetUserSettingsResponse
-
getResponseType
public AutodiscoverResponseType getResponseType()
Gets the type of the response.- Specified by:
getResponseTypein classConfigurationSettingsBase- Returns:
- The type of the response.
-
getRedirectTarget
public String getRedirectTarget()
Gets the redirect target.- Specified by:
getRedirectTargetin classConfigurationSettingsBase- Returns:
- String the redirect target.
-
-