public final class ConvertIdRequest extends MultiResponseServiceRequest<ConvertIdResponse>
Constructor and Description |
---|
ConvertIdRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
protected ConvertIdResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Initializes a new instance of the class.
|
IdFormat |
getDestinationFormat()
Gets the destination format.
|
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count.
|
List<AlternateIdBase> |
getIds()
Gets the ids.
|
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.
|
void |
setDestinationFormat(IdFormat destinationFormat)
Sets the destination format.
|
protected void |
validate()
Validate request.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements.
|
endExecute, execute, getErrorHandlingMode, parseResponse
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public ConvertIdRequest(ExchangeService service, ServiceErrorHandling errorHandlingMode) throws Exception
service
- the serviceerrorHandlingMode
- the error handling modeException
protected ConvertIdResponse createServiceResponse(ExchangeService service, int responseIndex)
createServiceResponse
in class MultiResponseServiceRequest<ConvertIdResponse>
service
- the serviceresponseIndex
- the response indexprotected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<ConvertIdResponse>>
protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName
in class MultiResponseServiceRequest<ConvertIdResponse>
protected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<ConvertIdResponse>
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<ConvertIdResponse>>
protected void validate() throws Exception
validate
in class ServiceRequestBase<ServiceResponseCollection<ConvertIdResponse>>
Exception
- the exceptionprotected void writeElementsToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
writeElementsToXml
in class ServiceRequestBase<ServiceResponseCollection<ConvertIdResponse>>
writer
- the writerXMLStreamException
- the XML stream exceptionServiceXmlSerializationException
- the service xml serialization exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<ConvertIdResponse>>
public IdFormat getDestinationFormat()
public void setDestinationFormat(IdFormat destinationFormat)
destinationFormat
- the new destination formatpublic List<AlternateIdBase> getIds()
Copyright © 2012–2015 Microsoft. All rights reserved.