Class GetPasswordExpirationDateRequest
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.request.ServiceRequestBase<T>
-
- microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase<GetPasswordExpirationDateResponse>
-
- microsoft.exchange.webservices.data.core.request.GetPasswordExpirationDateRequest
-
public final class GetPasswordExpirationDateRequest extends SimpleServiceRequestBase<GetPasswordExpirationDateResponse>
-
-
Constructor Summary
Constructors Constructor Description GetPasswordExpirationDateRequest(ExchangeService service)Initializes a new instance of the GetPasswordExpirationDateRequest class
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPasswordExpirationDateResponseexecute()Executes this request.protected StringgetMailboxSmtpAddress()Gets mailbox smtp address.protected ExchangeVersiongetMinimumRequiredServerVersion()Gets the minimum server version required to process this request.protected StringgetResponseXmlElementName()Gets the name of the response XML element.StringgetXmlElementName()Gets the name of the XML Element.protected GetPasswordExpirationDateResponseparseResponse(EwsServiceXmlReader reader)Parses the response.voidsetMailboxSmtpAddress(String mailboxSmtpAddress)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
-
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:ServiceRequestBaseGets the minimum server version required to process this request.- Specified by:
getMinimumRequiredServerVersionin classServiceRequestBase<GetPasswordExpirationDateResponse>- Returns:
- Exchange server version.
-
getResponseXmlElementName
protected String getResponseXmlElementName()
Description copied from class:ServiceRequestBaseGets the name of the response XML element.- Specified by:
getResponseXmlElementNamein classServiceRequestBase<GetPasswordExpirationDateResponse>- Returns:
- XML element name
-
getXmlElementName
public String getXmlElementName()
Gets the name of the XML Element. returns XML element name- Specified by:
getXmlElementNamein classServiceRequestBase<GetPasswordExpirationDateResponse>- Returns:
- XML element name
-
writeElementsToXml
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
Description copied from class:ServiceRequestBaseWrites XML elements.- Specified by:
writeElementsToXmlin classServiceRequestBase<GetPasswordExpirationDateResponse>- Parameters:
writer- The writer.- Throws:
Exception- the exception
-
parseResponse
protected GetPasswordExpirationDateResponse parseResponse(EwsServiceXmlReader reader) throws Exception
Parses the response.- Specified by:
parseResponsein classServiceRequestBase<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)
-
-