microsoft.exchange.webservices.data.core.response
Class SubscribeResponse<TSubscription extends SubscriptionBase>
java.lang.Object
microsoft.exchange.webservices.data.core.response.ServiceResponse
microsoft.exchange.webservices.data.core.response.SubscribeResponse<TSubscription>
- Type Parameters:
TSubscription - Subscription type
public final class SubscribeResponse<TSubscription extends SubscriptionBase>
- extends ServiceResponse
Represents the base response class to subscription creation operations.
| Methods inherited from class microsoft.exchange.webservices.data.core.response.ServiceResponse |
getBatchProcessingStopped, getErrorCode, getErrorDetails, getErrorMessage, getErrorProperties, getResult, internalThrowIfNecessary, loaded, loadExtraErrorDetailsFromXml, loadFromXml, mapErrorCodeToErrorMessage, parseMessageXml, setErrorMessage, throwIfNecessary |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscribeResponse
public SubscribeResponse(TSubscription subscription)
- Initializes a new instance of the SubscribeResponse<TSubscription
class.
- Parameters:
subscription - The Subscription
readElementsFromXml
protected void readElementsFromXml(EwsServiceXmlReader reader)
throws Exception
- Reads response elements from XML.
- Overrides:
readElementsFromXml in class ServiceResponse
- Parameters:
reader - the reader
- Throws:
Exception - the exception
getSubscription
public TSubscription getSubscription()
- Gets the subscription.
- Returns:
- the subscription
Copyright © 2012–2015 Microsoft. All rights reserved.