public class GetUserSettingsRequest extends AutodiscoverRequest
| Constructor and Description |
|---|
GetUserSettingsRequest(AutodiscoverService service,
URI url)
Initializes a new instance of the
GetUserSettingsRequest class. |
GetUserSettingsRequest(AutodiscoverService service,
URI url,
boolean expectPartnerToken)
Initializes a new instance of the
GetUserSettingsRequest class. |
| Modifier and Type | Method and Description |
|---|---|
protected AutodiscoverResponse |
createServiceResponse()
Creates the service response.
|
GetUserSettingsResponseCollection |
execute()
Executes this instance.
|
protected String |
getPartnerToken()
Gets the partner token.
|
protected String |
getPartnerTokenReference()
Gets the partner token reference.
|
protected String |
getRequestXmlElementName()
Gets the name of the request XML element.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
protected List<UserSettingName> |
getSettings()
Gets the settings.
|
protected List<String> |
getSmtpAddresses()
Gets the SMTP addresses.
|
protected String |
getWsAddressingActionName()
Gets the WS-Addressing action name.
|
protected void |
readSoapHeader(EwsXmlReader reader)
Read the partner token soap header.
|
void |
setSettings(List<UserSettingName> value)
Sets the settings.
|
void |
setSmtpAddresses(List<String> value)
Sets the smtp addresses.
|
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.
|
void |
writeExtraCustomSoapHeadersToXml(EwsServiceXmlWriter writer)
Write extra headers.
|
getResponseStream, getService, getUrl, internalExecute, isRedirectionResponse, loadFromXml, readSoapBody, readSoapHeaders, writeBodyToXml, writeSoapRequestpublic GetUserSettingsRequest(AutodiscoverService service, URI url) throws ServiceValidationException
GetUserSettingsRequest class.service - the serviceurl - the urlServiceValidationException - on validation errorpublic GetUserSettingsRequest(AutodiscoverService service, URI url, boolean expectPartnerToken) throws ServiceValidationException
GetUserSettingsRequest class.service - autodiscover service associated with this requesturl - URL of Autodiscover serviceexpectPartnerToken - expect partner token or notServiceValidationException - on validation errorprotected void validate() throws Exception
validate in class AutodiscoverRequestException - the exceptionpublic GetUserSettingsResponseCollection 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 exceptionpublic void writeExtraCustomSoapHeadersToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
AutodiscoverRequestwriteExtraCustomSoapHeadersToXml in class AutodiscoverRequestwriter - XML writerXMLStreamException - the XML stream exceptionServiceXmlSerializationException - 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 void readSoapHeader(EwsXmlReader reader) throws Exception
readSoapHeader in class AutodiscoverRequestreader - EWS XML readerException - on errorprotected List<String> getSmtpAddresses()
public void setSmtpAddresses(List<String> value)
value - the new smtp addressesprotected List<UserSettingName> getSettings()
public void setSettings(List<UserSettingName> value)
value - the new settingsprotected String getPartnerToken()
protected String getPartnerTokenReference()
Copyright © 2012–2015 Microsoft. All rights reserved.