public class GetDomainSettingsRequest extends AutodiscoverRequest
| Constructor and Description |
|---|
GetDomainSettingsRequest(AutodiscoverService service,
URI url)
Initializes a new instance of the
GetDomainSettingsRequest class. |
| Modifier and Type | Method and Description |
|---|---|
protected AutodiscoverResponse |
createServiceResponse()
Creates the service response.
|
GetDomainSettingsResponseCollection |
execute()
Executes this instance.
|
protected List<String> |
getDomains()
Gets the domains.
|
protected ExchangeVersion |
getRequestedVersion()
Gets or sets the requestedVersion.
|
protected String |
getRequestXmlElementName()
Gets the name of the request XML element.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
protected List<DomainSettingName> |
getSettings()
Gets or sets the settings.
|
protected String |
getWsAddressingActionName()
Gets the WS-Addressing action name.
|
void |
setDomains(List<String> value)
Sets the domains.
|
void |
setRequestedVersion(ExchangeVersion value)
Sets the requestedVersion.
|
void |
setSettings(List<DomainSettingName> value)
Sets the settings.
|
protected void |
validate()
Validates the request.
|
protected void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes request to XML.
|
getResponseStream, getService, getUrl, internalExecute, isRedirectionResponse, loadFromXml, readSoapBody, readSoapHeader, readSoapHeaders, writeBodyToXml, writeExtraCustomSoapHeadersToXml, writeSoapRequestpublic GetDomainSettingsRequest(AutodiscoverService service, URI url)
GetDomainSettingsRequest class.service - the serviceurl - the urlprotected void validate() throws Exception
validate in class AutodiscoverRequestException - the exceptionpublic GetDomainSettingsResponseCollection execute() throws Exception
Exception - the exceptionprotected String getRequestXmlElementName()
getRequestXmlElementName in class AutodiscoverRequestprotected String getResponseXmlElementName()
getResponseXmlElementName in class AutodiscoverRequestprotected String getWsAddressingActionName()
getWsAddressingActionName in class AutodiscoverRequestprotected AutodiscoverResponse createServiceResponse()
createServiceResponse in class AutodiscoverRequestprotected void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml in class AutodiscoverRequestwriter - The writer.ServiceXmlSerializationException - the service xml serialization exceptionprotected void writeElementsToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
writeElementsToXml in class AutodiscoverRequestwriter - the writerXMLStreamException - the XML stream exceptionServiceXmlSerializationException - the service xml serialization exceptionprotected List<String> getDomains()
public void setDomains(List<String> value)
value - the new domainsprotected List<DomainSettingName> getSettings()
public void setSettings(List<DomainSettingName> value)
value - the new settingsprotected ExchangeVersion getRequestedVersion()
public void setRequestedVersion(ExchangeVersion value)
value - the new requestedVersionCopyright © 2012–2015 Microsoft. All rights reserved.