|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.autodiscover.request.AutodiscoverRequest
microsoft.exchange.webservices.data.autodiscover.request.GetUserSettingsRequest
public class GetUserSettingsRequest
Represents a GetUserSettings request.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class microsoft.exchange.webservices.data.autodiscover.request.AutodiscoverRequest |
|---|
getResponseStream, getService, getUrl, internalExecute, isRedirectionResponse, loadFromXml, readSoapBody, readSoapHeaders, writeBodyToXml, writeSoapRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GetUserSettingsRequest(AutodiscoverService service,
URI url)
throws ServiceValidationException
GetUserSettingsRequest class.
service - the serviceurl - the url
ServiceValidationException - on validation error
public 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 not
ServiceValidationException - on validation error| Method Detail |
|---|
protected void validate()
throws Exception
validate in class AutodiscoverRequestException - the exception
public 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 AutodiscoverRequest
protected void writeAttributesToXml(EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeAttributesToXml in class AutodiscoverRequestwriter - The writer.
ServiceXmlSerializationException - the service xml serialization exception
public void writeExtraCustomSoapHeadersToXml(EwsServiceXmlWriter writer)
throws XMLStreamException,
ServiceXmlSerializationException
AutodiscoverRequest
writeExtraCustomSoapHeadersToXml in class AutodiscoverRequestwriter - XML writer
XMLStreamException - the XML stream exception
ServiceXmlSerializationException - the service xml serialization exception
protected void writeElementsToXml(EwsServiceXmlWriter writer)
throws XMLStreamException,
ServiceXmlSerializationException
writeElementsToXml in class AutodiscoverRequestwriter - the writer
XMLStreamException - the XML stream exception
ServiceXmlSerializationException - the service xml serialization exception
protected void readSoapHeader(EwsXmlReader reader)
throws Exception
readSoapHeader in class AutodiscoverRequestreader - EWS XML reader
Exception - 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||