|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.core.request.ServiceRequestBase<T>
microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase<ServiceResponseCollection<TResponse>>
microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest<ServiceResponse>
microsoft.exchange.webservices.data.core.request.UnsubscribeRequest
public class UnsubscribeRequest
The Class UnsubscribeRequest.
| Constructor Summary | |
|---|---|
UnsubscribeRequest(ExchangeService service)
Instantiates a new unsubscribe request. |
|
| Method Summary | |
|---|---|
protected HttpWebRequest |
buildEwsHttpWebRequest()
Builds the HttpWebRequest object for current service request with exception handling. |
protected ServiceResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates service response. |
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count. |
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version. |
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element. |
protected String |
getResponseXmlElementName()
Gets the name of the response XML element. |
String |
getSubscriptionId()
Gets the subscription id. |
String |
getXmlElementName()
Gets the name of the XML element. |
void |
setSubscriptionId(String subscriptionId)
Sets the subscription id. |
protected void |
validate()
Validate the request. |
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements. |
| Methods inherited from class microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest |
|---|
endExecute, execute, getErrorHandlingMode, parseResponse |
| 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, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnsubscribeRequest(ExchangeService service)
throws Exception
service - the service
Exception| Method Detail |
|---|
protected ServiceResponse createServiceResponse(ExchangeService service,
int responseIndex)
createServiceResponse in class MultiResponseServiceRequest<ServiceResponse>service - the serviceresponseIndex - the response index
protected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount in class MultiResponseServiceRequest<ServiceResponse>public String getXmlElementName()
getXmlElementName in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>protected String getResponseXmlElementName()
getResponseXmlElementName in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName in class MultiResponseServiceRequest<ServiceResponse>
protected void validate()
throws ServiceLocalException,
Exception
validate in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>ServiceLocalException - the service local exception
Exception - the exception
protected void writeElementsToXml(EwsServiceXmlWriter writer)
throws XMLStreamException,
ServiceXmlSerializationException
writeElementsToXml in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>writer - the writer
XMLStreamException - the XML stream exception
ServiceXmlSerializationException - the service xml serialization exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>public String getSubscriptionId()
public void setSubscriptionId(String subscriptionId)
subscriptionId - the new subscription id
protected HttpWebRequest buildEwsHttpWebRequest()
throws Exception
ServiceRequestBase
buildEwsHttpWebRequest in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>Exception - on error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||