public final class GetUserOofSettingsRequest extends SimpleServiceRequestBase<GetUserOofSettingsResponse>
Constructor and Description |
---|
GetUserOofSettingsRequest(ExchangeService service)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
GetUserOofSettingsResponse |
execute()
Executes this request.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
protected String |
getSmtpAddress()
Gets the SMTP address.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
protected GetUserOofSettingsResponse |
parseResponse(EwsServiceXmlReader reader)
Parses the response.
|
void |
setSmtpAddress(String smtpAddress)
Sets the smtp address.
|
protected void |
validate()
Validate request.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Validate request.
|
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public GetUserOofSettingsRequest(ExchangeService service) throws Exception
service
- the serviceException
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<GetUserOofSettingsResponse>
protected void validate() throws Exception
validate
in class ServiceRequestBase<GetUserOofSettingsResponse>
Exception
- the exceptionprotected void writeElementsToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
writeElementsToXml
in class ServiceRequestBase<GetUserOofSettingsResponse>
writer
- the writerXMLStreamException
- the XML stream exceptionServiceXmlSerializationException
- the service xml serialization exceptionprotected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<GetUserOofSettingsResponse>
protected GetUserOofSettingsResponse parseResponse(EwsServiceXmlReader reader) throws Exception
parseResponse
in class ServiceRequestBase<GetUserOofSettingsResponse>
reader
- The reader.Exception
- the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<GetUserOofSettingsResponse>
public GetUserOofSettingsResponse execute() throws Exception
Exception
- the exceptionprotected String getSmtpAddress()
public void setSmtpAddress(String smtpAddress)
smtpAddress
- the new smtp addressCopyright © 2012–2015 Microsoft. All rights reserved.