public final class GetServerTimeZonesRequest extends MultiResponseServiceRequest<GetServerTimeZonesResponse>
Constructor and Description |
---|
GetServerTimeZonesRequest(ExchangeService service)
Initializes a new instance of the "GetServerTimeZonesRequest" class.
|
Modifier and Type | Method and Description |
---|---|
protected GetServerTimeZonesResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response.
|
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count.
|
protected Iterable<String> |
getIds()
Gets the ids of the time zones that should be returned by the
server.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the minimum server version required to process this request.
|
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 |
setIds(Iterable<String> ids)
Sets the ids.
|
protected void |
validate()
Gets the XML element name associated with the transition.
|
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 GetServerTimeZonesRequest(ExchangeService service) throws Exception
service
- the serviceException
protected void validate() throws Exception
validate
in class ServiceRequestBase<ServiceResponseCollection<GetServerTimeZonesResponse>>
Exception
- the exceptionprotected GetServerTimeZonesResponse createServiceResponse(ExchangeService service, int responseIndex)
createServiceResponse
in class MultiResponseServiceRequest<GetServerTimeZonesResponse>
service
- the serviceresponseIndex
- the response indexprotected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName
in class MultiResponseServiceRequest<GetServerTimeZonesResponse>
protected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<GetServerTimeZonesResponse>
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<GetServerTimeZonesResponse>>
protected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<GetServerTimeZonesResponse>>
protected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<GetServerTimeZonesResponse>>
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException, XMLStreamException
writeElementsToXml
in class ServiceRequestBase<ServiceResponseCollection<GetServerTimeZonesResponse>>
writer
- the writerServiceXmlSerializationException
- the service xml serialization exceptionXMLStreamException
- the XML stream exceptionprotected Iterable<String> getIds()
Copyright © 2012–2015 Microsoft. All rights reserved.