public final class GetInboxRulesRequest extends SimpleServiceRequestBase<GetInboxRulesResponse>
Constructor and Description |
---|
GetInboxRulesRequest(ExchangeService service)
Initializes a new instance of the GetInboxRulesRequest class.
|
Modifier and Type | Method and Description |
---|---|
GetInboxRulesResponse |
execute()
Executes this request.
|
protected String |
getmailboxSmtpAddress()
Gets or sets the address of the mailbox
from which to get the inbox rules.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
protected GetInboxRulesResponse |
parseResponse(EwsServiceXmlReader reader)
Parses the response.
|
void |
setmailboxSmtpAddress(String value)
sets the address of the mailbox from which to get the inbox rules.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements.
|
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validate, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public GetInboxRulesRequest(ExchangeService service) throws Exception
service
- The service.Exception
protected String getmailboxSmtpAddress()
public void setmailboxSmtpAddress(String value)
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<GetInboxRulesResponse>
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException, XMLStreamException
writeElementsToXml
in class ServiceRequestBase<GetInboxRulesResponse>
writer
- The writer.XMLStreamException
- the XML stream exceptionServiceXmlSerializationException
protected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<GetInboxRulesResponse>
protected GetInboxRulesResponse parseResponse(EwsServiceXmlReader reader) throws Exception
parseResponse
in class ServiceRequestBase<GetInboxRulesResponse>
reader
- The reader.Exception
- the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<GetInboxRulesResponse>
public GetInboxRulesResponse execute() throws ServiceLocalException, Exception
Exception
ServiceLocalException
Copyright © 2012–2015 Microsoft. All rights reserved.