public final class UpdateFolderRequest extends MultiResponseServiceRequest<ServiceResponse>
Constructor and Description |
---|
UpdateFolderRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
Initializes a new instance of the UpdateFolderRequest class.
|
Modifier and Type | Method and Description |
---|---|
protected ServiceResponse |
createServiceResponse(ExchangeService session,
int responseIndex)
Creates the service response.
|
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count.
|
ArrayList<Folder> |
getFolders()
Gets the folder.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
protected void |
validate()
validates request.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes to xml.
|
endExecute, execute, getErrorHandlingMode, parseResponse
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public UpdateFolderRequest(ExchangeService service, ServiceErrorHandling errorHandlingMode) throws Exception
service
- The ServcieerrorHandlingMode
- Indicates how errors should be handled.Exception
protected void validate() throws ServiceLocalException, Exception
validate
in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>
ServiceLocalException
- the service local exceptionException
- the exceptionprotected ServiceResponse createServiceResponse(ExchangeService session, int responseIndex)
createServiceResponse
in class MultiResponseServiceRequest<ServiceResponse>
session
- The sessionresponseIndex
- Index of the response.public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>
protected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>
protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName
in class MultiResponseServiceRequest<ServiceResponse>
protected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<ServiceResponse>
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>
writer
- the writerException
- the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>
public ArrayList<Folder> getFolders()
Copyright © 2012–2015 Microsoft. All rights reserved.