Class GetDomainSettingsRequest
- java.lang.Object
-
- microsoft.exchange.webservices.data.autodiscover.request.AutodiscoverRequest
-
- microsoft.exchange.webservices.data.autodiscover.request.GetDomainSettingsRequest
-
public class GetDomainSettingsRequest extends AutodiscoverRequest
Represents a GetDomainSettings request.
-
-
Constructor Summary
Constructors Constructor Description GetDomainSettingsRequest(AutodiscoverService service, URI url)Initializes a new instance of theGetDomainSettingsRequestclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AutodiscoverResponsecreateServiceResponse()Creates the service response.GetDomainSettingsResponseCollectionexecute()Executes this instance.protected List<String>getDomains()Gets the domains.protected ExchangeVersiongetRequestedVersion()Gets or sets the requestedVersion.protected StringgetRequestXmlElementName()Gets the name of the request XML element.protected StringgetResponseXmlElementName()Gets the name of the response XML element.protected List<DomainSettingName>getSettings()Gets or sets the settings.protected StringgetWsAddressingActionName()Gets the WS-Addressing action name.voidsetDomains(List<String> value)Sets the domains.voidsetRequestedVersion(ExchangeVersion value)Sets the requestedVersion.voidsetSettings(List<DomainSettingName> value)Sets the settings.protected voidvalidate()Validates the request.protected voidwriteAttributesToXml(EwsServiceXmlWriter writer)Writes the attribute to XML.protected voidwriteElementsToXml(EwsServiceXmlWriter writer)Writes request to XML.-
Methods inherited from class microsoft.exchange.webservices.data.autodiscover.request.AutodiscoverRequest
getResponseStream, getService, getUrl, internalExecute, isRedirectionResponse, loadFromXml, readSoapBody, readSoapHeader, readSoapHeaders, writeBodyToXml, writeExtraCustomSoapHeadersToXml, writeSoapRequest
-
-
-
-
Constructor Detail
-
GetDomainSettingsRequest
public GetDomainSettingsRequest(AutodiscoverService service, URI url)
Initializes a new instance of theGetDomainSettingsRequestclass.- Parameters:
service- the serviceurl- the url
-
-
Method Detail
-
validate
protected void validate() throws Exception
Validates the request.- Overrides:
validatein classAutodiscoverRequest- Throws:
Exception- the exception
-
execute
public GetDomainSettingsResponseCollection execute() throws Exception
Executes this instance.- Returns:
- the gets the domain settings response collection
- Throws:
Exception- the exception
-
getRequestXmlElementName
protected String getRequestXmlElementName()
Gets the name of the request XML element.- Specified by:
getRequestXmlElementNamein classAutodiscoverRequest- Returns:
- Request XML element name.
-
getResponseXmlElementName
protected String getResponseXmlElementName()
Gets the name of the response XML element.- Specified by:
getResponseXmlElementNamein classAutodiscoverRequest- Returns:
- Response XML element name.
-
getWsAddressingActionName
protected String getWsAddressingActionName()
Gets the WS-Addressing action name.- Specified by:
getWsAddressingActionNamein classAutodiscoverRequest- Returns:
- WS-Addressing action name.
-
createServiceResponse
protected AutodiscoverResponse createServiceResponse()
Creates the service response.- Specified by:
createServiceResponsein classAutodiscoverRequest- Returns:
- AutodiscoverResponse
-
writeAttributesToXml
protected void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
Writes the attribute to XML.- Specified by:
writeAttributesToXmlin classAutodiscoverRequest- Parameters:
writer- The writer.- Throws:
ServiceXmlSerializationException- the service xml serialization exception
-
writeElementsToXml
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
Writes request to XML.- Specified by:
writeElementsToXmlin classAutodiscoverRequest- Parameters:
writer- the writer- Throws:
XMLStreamException- the XML stream exceptionServiceXmlSerializationException- the service xml serialization exception
-
getDomains
protected List<String> getDomains()
Gets the domains.- Returns:
- the domains
-
setDomains
public void setDomains(List<String> value)
Sets the domains.- Parameters:
value- the new domains
-
getSettings
protected List<DomainSettingName> getSettings()
Gets or sets the settings.- Returns:
- the settings
-
setSettings
public void setSettings(List<DomainSettingName> value)
Sets the settings.- Parameters:
value- the new settings
-
getRequestedVersion
protected ExchangeVersion getRequestedVersion()
Gets or sets the requestedVersion.- Returns:
- the requestedVersion
-
setRequestedVersion
public void setRequestedVersion(ExchangeVersion value)
Sets the requestedVersion.- Parameters:
value- the new requestedVersion
-
-