microsoft.exchange.webservices.data.core.request
Class GetPasswordExpirationDateRequest

java.lang.Object
  extended by microsoft.exchange.webservices.data.core.request.ServiceRequestBase<T>
      extended by microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase<GetPasswordExpirationDateResponse>
          extended by microsoft.exchange.webservices.data.core.request.GetPasswordExpirationDateRequest

public final class GetPasswordExpirationDateRequest
extends SimpleServiceRequestBase<GetPasswordExpirationDateResponse>


Constructor Summary
GetPasswordExpirationDateRequest(ExchangeService service)
          Initializes a new instance of the GetPasswordExpirationDateRequest class
 
Method Summary
 GetPasswordExpirationDateResponse execute()
          Executes this request.
protected  String getMailboxSmtpAddress()
          Gets mailbox smtp address.
protected  ExchangeVersion getMinimumRequiredServerVersion()
          Gets the minimum server version required to process this request.
protected  String getResponseXmlElementName()
          Gets the name of the response XML element.
 String getXmlElementName()
          Gets the name of the XML Element.
protected  GetPasswordExpirationDateResponse parseResponse(EwsServiceXmlReader reader)
          Parses the response.
 void setMailboxSmtpAddress(String mailboxSmtpAddress)
           
protected  void writeElementsToXml(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetPasswordExpirationDateRequest

public GetPasswordExpirationDateRequest(ExchangeService service)
                                 throws Exception
Initializes a new instance of the GetPasswordExpirationDateRequest class

Throws:
Exception
Method Detail

getMinimumRequiredServerVersion

protected ExchangeVersion getMinimumRequiredServerVersion()
Description copied from class: ServiceRequestBase
Gets the minimum server version required to process this request.

Specified by:
getMinimumRequiredServerVersion in class ServiceRequestBase<GetPasswordExpirationDateResponse>
Returns:
Exchange server version.

getResponseXmlElementName

protected String getResponseXmlElementName()
Description copied from class: ServiceRequestBase
Gets the name of the response XML element.

Specified by:
getResponseXmlElementName in class ServiceRequestBase<GetPasswordExpirationDateResponse>
Returns:
XML element name

getXmlElementName

public String getXmlElementName()
Gets the name of the XML Element. returns XML element name

Specified by:
getXmlElementName in class ServiceRequestBase<GetPasswordExpirationDateResponse>
Returns:
XML element name

writeElementsToXml

protected void writeElementsToXml(EwsServiceXmlWriter writer)
                           throws Exception
Description copied from class: ServiceRequestBase
Writes XML elements.

Specified by:
writeElementsToXml in class ServiceRequestBase<GetPasswordExpirationDateResponse>
Parameters:
writer - The writer.
Throws:
Exception - the exception

parseResponse

protected GetPasswordExpirationDateResponse parseResponse(EwsServiceXmlReader reader)
                                                   throws Exception
Parses the response.

Specified by:
parseResponse in class ServiceRequestBase<GetPasswordExpirationDateResponse>
Parameters:
reader - The reader.
Returns:
the Response Object.
Throws:
Exception - the exception

execute

public GetPasswordExpirationDateResponse execute()
                                          throws Exception
Executes this request.

Returns:
Service response.
Throws:
Exception

getMailboxSmtpAddress

protected String getMailboxSmtpAddress()
Gets mailbox smtp address.

Returns:
The mailbox smtp address.

setMailboxSmtpAddress

public void setMailboxSmtpAddress(String mailboxSmtpAddress)


Copyright © 2012–2015 Microsoft. All rights reserved.