Class SimpleServiceRequestBase<T>
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.request.ServiceRequestBase<T>
-
- microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase<T>
-
- Direct Known Subclasses:
AddDelegateRequest,DisconnectPhoneCallRequest,FindConversationRequest,GetDelegateRequest,GetInboxRulesRequest,GetPasswordExpirationDateRequest,GetPhoneCallRequest,GetRoomListsRequest,GetRoomsRequest,GetUserAvailabilityRequest,GetUserOofSettingsRequest,MultiResponseServiceRequest,PlayOnPhoneRequest,RemoveDelegateRequest,SetUserOofSettingsRequest,UpdateDelegateRequest,UpdateInboxRulesRequest
public abstract class SimpleServiceRequestBase<T> extends ServiceRequestBase<T>
Defines the SimpleServiceRequestBase class.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSimpleServiceRequestBase(ExchangeService service)Initializes a new instance of the SimpleServiceRequestBase class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncRequestResultbeginExecute(AsyncCallback callback)Begins executing this async request.protected TendInternalExecute(IAsyncResult asyncResult)Ends executing this async request.protected TinternalExecute()Executes this request.-
Methods inherited from class microsoft.exchange.webservices.data.core.request.ServiceRequestBase
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getMinimumRequiredServerVersion, getResponseStream, getResponseXmlElementName, getService, getXmlElementName, parseResponse, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validate, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeElementsToXml, writeToXml
-
-
-
-
Constructor Detail
-
SimpleServiceRequestBase
protected SimpleServiceRequestBase(ExchangeService service) throws Exception
Initializes a new instance of the SimpleServiceRequestBase class.- Throws:
Exception
-
-
Method Detail
-
internalExecute
protected T internalExecute() throws Exception
Executes this request.- Returns:
- response object
- Throws:
Exception- on error
-
endInternalExecute
protected T endInternalExecute(IAsyncResult asyncResult) throws Exception
Ends executing this async request.- Parameters:
asyncResult- The async result- Returns:
- Service response object
- Throws:
Exception- on error
-
beginExecute
public AsyncRequestResult beginExecute(AsyncCallback callback) throws Exception
Begins executing this async request.- Parameters:
callback- The AsyncCallback delegate.- Returns:
- An IAsyncResult that references the asynchronous request.
- Throws:
Exception- on error
-
-