public final class GetItemRequest extends MultiResponseServiceRequest<TResponse>
Constructor and Description |
---|
GetItemRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
protected GetItemResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response.
|
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count.
|
ItemIdWrapperList |
getItemIds()
Gets the item ids.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
PropertySet |
getPropertySet()
Gets the property set.
|
protected String |
getResponseMessageXmlElementName()
Gets the name of the XML element.
|
protected String |
getResponseXmlElementName()
Gets the name of the XML element.
|
protected ServiceObjectType |
getServiceObjectType()
Gets the type of the service object this request applies to.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
setPropertySet(PropertySet propertySet)
Sets the property set.
|
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 GetItemRequest(ExchangeService service, ServiceErrorHandling errorHandlingMode) throws Exception
service
- the serviceerrorHandlingMode
- the error handling modeException
protected GetItemResponse createServiceResponse(ExchangeService service, int responseIndex)
createServiceResponse
in class MultiResponseServiceRequest<GetItemResponse>
service
- the serviceresponseIndex
- the response indexprotected void validate() throws ServiceLocalException, Exception
ServiceLocalException
- the service local exceptionException
- the exceptionprotected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<TResponse extends ServiceResponse>
protected ServiceObjectType getServiceObjectType()
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writer
- the writerException
- the exceptionpublic String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<TResponse extends ServiceResponse>>
protected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<TResponse extends ServiceResponse>>
protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName
in class MultiResponseServiceRequest<TResponse extends ServiceResponse>
protected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<TResponse extends ServiceResponse>>
public ItemIdWrapperList getItemIds()
public PropertySet getPropertySet()
public void setPropertySet(PropertySet propertySet)
propertySet
- the new property setCopyright © 2012–2015 Microsoft. All rights reserved.