Class GetPhoneCallRequest
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.request.ServiceRequestBase<T>
-
- microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase<GetPhoneCallResponse>
-
- microsoft.exchange.webservices.data.core.request.GetPhoneCallRequest
-
public final class GetPhoneCallRequest extends SimpleServiceRequestBase<GetPhoneCallResponse>
Represents a GetPhoneCall request.
-
-
Constructor Summary
Constructors Constructor Description GetPhoneCallRequest(ExchangeService service)Initializes a new instance of the GetPhoneCallRequest class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPhoneCallResponseexecute()Executes this request.protected PhoneCallIdgetId()Gets the Id of the phone call.protected ExchangeVersiongetMinimumRequiredServerVersion()Gets the request version.protected StringgetResponseXmlElementName()Gets the name of the response XML element.StringgetXmlElementName()Gets the name of the XML element.protected GetPhoneCallResponseparseResponse(EwsServiceXmlReader reader)Parses the response.voidsetId(PhoneCallId id)Sets the id.protected voidwriteElementsToXml(EwsServiceXmlWriter writer)Writes XML elements.-
Methods inherited from class microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase
beginExecute, endInternalExecute, internalExecute
-
Methods inherited from class microsoft.exchange.webservices.data.core.request.ServiceRequestBase
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validate, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
-
-
-
-
Constructor Detail
-
GetPhoneCallRequest
public GetPhoneCallRequest(ExchangeService service) throws Exception
Initializes a new instance of the GetPhoneCallRequest class.- Parameters:
service- the service- Throws:
Exception
-
-
Method Detail
-
getXmlElementName
public String getXmlElementName()
Gets the name of the XML element.- Specified by:
getXmlElementNamein classServiceRequestBase<GetPhoneCallResponse>- Returns:
- XML element name.
-
writeElementsToXml
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
Writes XML elements.- Specified by:
writeElementsToXmlin classServiceRequestBase<GetPhoneCallResponse>- Parameters:
writer- the writer- Throws:
Exception- the exception
-
getResponseXmlElementName
protected String getResponseXmlElementName()
Gets the name of the response XML element.- Specified by:
getResponseXmlElementNamein classServiceRequestBase<GetPhoneCallResponse>- Returns:
- XML element name.
-
parseResponse
protected GetPhoneCallResponse parseResponse(EwsServiceXmlReader reader) throws Exception
Parses the response.- Specified by:
parseResponsein classServiceRequestBase<GetPhoneCallResponse>- Parameters:
reader- The reader.- Returns:
- the Response Object.
- Throws:
Exception- the exception
-
getMinimumRequiredServerVersion
protected ExchangeVersion getMinimumRequiredServerVersion()
Gets the request version.- Specified by:
getMinimumRequiredServerVersionin classServiceRequestBase<GetPhoneCallResponse>- Returns:
- Earliest Exchange version in which this request is supported.
-
execute
public GetPhoneCallResponse execute() throws Exception
Executes this request.- Returns:
- Service response.
- Throws:
Exception- the exception
-
getId
protected PhoneCallId getId()
Gets the Id of the phone call.- Returns:
- the id
-
setId
public void setId(PhoneCallId id)
Sets the id.- Parameters:
id- the new id
-
-