public abstract class AutodiscoverResponse extends Object
Constructor and Description |
---|
AutodiscoverResponse()
Initializes a new instance of the AutodiscoverResponse class.
|
Modifier and Type | Method and Description |
---|---|
AutodiscoverErrorCode |
getErrorCode()
Gets the error code that was returned by the service.
|
String |
getErrorMessage()
Gets the error message that was returned by the service.
|
URI |
getRedirectionUrl()
Gets the redirection URL.
|
void |
loadFromXml(EwsXmlReader reader,
String endElementName)
Initializes a new instance of the AutodiscoverResponse class.
|
void |
setErrorCode(AutodiscoverErrorCode errorCode)
Sets the error code.
|
void |
setErrorMessage(String errorMessage)
Sets the error message.
|
void |
setRedirectionUrl(URI redirectionUrl)
Sets the redirection url.
|
public AutodiscoverResponse()
public void loadFromXml(EwsXmlReader reader, String endElementName) throws Exception
reader
- the readerendElementName
- the end element nameException
- the exceptionpublic AutodiscoverErrorCode getErrorCode()
public void setErrorCode(AutodiscoverErrorCode errorCode)
errorCode
- the new error codepublic String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage
- the new error messagepublic URI getRedirectionUrl()
public void setRedirectionUrl(URI redirectionUrl)
redirectionUrl
- the new redirection urlCopyright © 2012–2015 Microsoft. All rights reserved.