public abstract class AutodiscoverServiceBase extends Object
Represents an abstract binding to an Autodiscover Service.
Modifier and Type | Field and Description |
---|---|
com.aspose.ms.lang.Event<com.aspose.email.AutodiscoverServiceBase.CustomXmlSerializationDelegate> |
OnSerializeCustomSoapHeaders |
Modifier | Constructor and Description |
---|---|
protected |
AutodiscoverServiceBase()
Initializes a new instance of the
AutodiscoverServiceBase class. |
protected |
AutodiscoverServiceBase(Integer requestedServerVersion)
Initializes a new instance of the
AutodiscoverServiceBase class. |
Modifier and Type | Method and Description |
---|---|
boolean |
getAcceptGzipEncoding()
Gets or sets a value indicating whether GZip compression encoding should be accepted.
|
String |
getClientRequestId()
Gets or sets the request id for the request.
|
String |
getConnectionGroupName()
Gets or sets the name of the connection group for the request.
|
com.aspose.ms.System.Net.CookieContainer |
getCookieContainer()
Gets or sets the cookie container.
|
com.aspose.ms.System.Net.ICredentials |
getCredentials()
Gets or sets the credentials used to authenticate with the Exchange Web Services.
|
com.aspose.ms.System.Collections.Generic.IGenericDictionary<String,String> |
getHttpHeaders()
Gets a collection of HTTP headers that will be sent with each request to EWS.
|
com.aspose.ms.System.Collections.Generic.IGenericDictionary<String,String> |
getHttpResponseHeaders()
Gets a collection of HTTP headers from the last response.
|
boolean |
getKeepAlive()
Gets or sets if the request to the internet resource should contain a Connection HTTP header with the value Keep-alive
|
String |
getLogFileName()
Gets or sets log file name
|
boolean |
getPreAuthenticate()
Gets or sets a value that indicates whether HTTP pre-authentication should be performed.
|
int |
getRequestedServerVersion()
Gets the requested server version.
|
boolean |
getReturnClientRequestId()
Gets or sets a flag to indicate whether the client requires the server side to return the request id.
|
boolean |
getSendClientLatencies()
Gets or sets a value indicating whether client latency info is push to server.
|
com.microsoft.schemas.exchange.services._2006.types.ServerVersionInfo |
getServerInfo()
Gets information associated with the server that processed the last request.
|
int |
getTimeout()
Gets or sets the timeout used when sending HTTP requests and when receiving HTTP responses, in milliseconds.
|
boolean |
getUseDateInLogFileName()
Gets or sets value which indicates if date has to be used in log file name.
|
boolean |
getUseDefaultCredentials()
Gets or sets a value indicating whether the credentials of the user currently logged into Windows should be used to
authenticate with the Exchange Web Services.
|
String |
getUserAgent()
Gets or sets the user agent.
|
com.aspose.ms.System.Net.IWebProxy |
getWebProxy()
Gets or sets the web proxy that should be used when sending requests to EWS.
|
void |
setAcceptGzipEncoding(boolean value)
Gets or sets a value indicating whether GZip compression encoding should be accepted.
|
void |
setClientRequestId(String value)
Gets or sets the request id for the request.
|
void |
setConnectionGroupName(String value)
Gets or sets the name of the connection group for the request.
|
void |
setCookieContainer(com.aspose.ms.System.Net.CookieContainer value)
Gets or sets the cookie container.
|
void |
setCredentials(com.aspose.ms.System.Net.ICredentials value)
Gets or sets the credentials used to authenticate with the Exchange Web Services.
|
void |
setKeepAlive(boolean value)
Gets or sets if the request to the internet resource should contain a Connection HTTP header with the value Keep-alive
|
void |
setLogFileName(String value)
Gets or sets log file name
|
void |
setPreAuthenticate(boolean value)
Gets or sets a value that indicates whether HTTP pre-authentication should be performed.
|
void |
setReturnClientRequestId(boolean value)
Gets or sets a flag to indicate whether the client requires the server side to return the request id.
|
void |
setSendClientLatencies(boolean value)
Gets or sets a value indicating whether client latency info is push to server.
|
void |
setTimeout(int value)
Gets or sets the timeout used when sending HTTP requests and when receiving HTTP responses, in milliseconds.
|
void |
setUseDateInLogFileName(boolean value)
Gets or sets value which indicates if date has to be used in log file name.
|
void |
setUseDefaultCredentials(boolean value)
Gets or sets a value indicating whether the credentials of the user currently logged into Windows should be used to
authenticate with the Exchange Web Services.
|
void |
setUserAgent(String value)
Gets or sets the user agent.
|
void |
setWebProxy(com.aspose.ms.System.Net.IWebProxy value)
Gets or sets the web proxy that should be used when sending requests to EWS.
|
public final com.aspose.ms.lang.Event<com.aspose.email.AutodiscoverServiceBase.CustomXmlSerializationDelegate> OnSerializeCustomSoapHeaders
protected AutodiscoverServiceBase()
Initializes a new instance of the AutodiscoverServiceBase
class.
protected AutodiscoverServiceBase(Integer requestedServerVersion)
Initializes a new instance of the AutodiscoverServiceBase
class.
requestedServerVersion
- The requested server version.public final String getLogFileName()
Gets or sets log file name
public final void setLogFileName(String value)
Gets or sets log file name
public final boolean getUseDateInLogFileName()
Gets or sets value which indicates if date has to be used in log file name.
public final void setUseDateInLogFileName(boolean value)
Gets or sets value which indicates if date has to be used in log file name.
public final com.aspose.ms.System.Net.CookieContainer getCookieContainer()
Gets or sets the cookie container.
Value: The cookie container.public final void setCookieContainer(com.aspose.ms.System.Net.CookieContainer value)
Gets or sets the cookie container.
Value: The cookie container.public final boolean getSendClientLatencies()
Gets or sets a value indicating whether client latency info is push to server.
public final void setSendClientLatencies(boolean value)
Gets or sets a value indicating whether client latency info is push to server.
public final com.aspose.ms.System.Net.ICredentials getCredentials()
Gets or sets the credentials used to authenticate with the Exchange Web Services. Setting the Credentials property automatically sets the UseDefaultCredentials to false.
public final void setCredentials(com.aspose.ms.System.Net.ICredentials value)
Gets or sets the credentials used to authenticate with the Exchange Web Services. Setting the Credentials property automatically sets the UseDefaultCredentials to false.
public final boolean getUseDefaultCredentials()
Gets or sets a value indicating whether the credentials of the user currently logged into Windows should be used to authenticate with the Exchange Web Services. Setting UseDefaultCredentials to true automatically sets the Credentials property to null.
public final void setUseDefaultCredentials(boolean value)
Gets or sets a value indicating whether the credentials of the user currently logged into Windows should be used to authenticate with the Exchange Web Services. Setting UseDefaultCredentials to true automatically sets the Credentials property to null.
public final int getTimeout()
Gets or sets the timeout used when sending HTTP requests and when receiving HTTP responses, in milliseconds. Defaults to 100000.
public final void setTimeout(int value)
Gets or sets the timeout used when sending HTTP requests and when receiving HTTP responses, in milliseconds. Defaults to 100000.
public final boolean getPreAuthenticate()
Gets or sets a value that indicates whether HTTP pre-authentication should be performed.
public final void setPreAuthenticate(boolean value)
Gets or sets a value that indicates whether HTTP pre-authentication should be performed.
public final boolean getAcceptGzipEncoding()
Gets or sets a value indicating whether GZip compression encoding should be accepted.
public final void setAcceptGzipEncoding(boolean value)
Gets or sets a value indicating whether GZip compression encoding should be accepted.
public final int getRequestedServerVersion()
Gets the requested server version.
Value: The requested server version.public final String getUserAgent()
Gets or sets the user agent.
Value: The user agent.public final void setUserAgent(String value)
Gets or sets the user agent.
Value: The user agent.public final com.microsoft.schemas.exchange.services._2006.types.ServerVersionInfo getServerInfo()
Gets information associated with the server that processed the last request. Will be null if no requests have been processed.
public final com.aspose.ms.System.Net.IWebProxy getWebProxy()
Gets or sets the web proxy that should be used when sending requests to EWS. Set this property to null to use the default web proxy.
public final void setWebProxy(com.aspose.ms.System.Net.IWebProxy value)
Gets or sets the web proxy that should be used when sending requests to EWS. Set this property to null to use the default web proxy.
public final boolean getKeepAlive()
Gets or sets if the request to the internet resource should contain a Connection HTTP header with the value Keep-alive
public final void setKeepAlive(boolean value)
Gets or sets if the request to the internet resource should contain a Connection HTTP header with the value Keep-alive
public final String getConnectionGroupName()
Gets or sets the name of the connection group for the request.
public final void setConnectionGroupName(String value)
Gets or sets the name of the connection group for the request.
public final String getClientRequestId()
Gets or sets the request id for the request.
public final void setClientRequestId(String value)
Gets or sets the request id for the request.
public final boolean getReturnClientRequestId()
Gets or sets a flag to indicate whether the client requires the server side to return the request id.
public final void setReturnClientRequestId(boolean value)
Gets or sets a flag to indicate whether the client requires the server side to return the request id.
public final com.aspose.ms.System.Collections.Generic.IGenericDictionary<String,String> getHttpHeaders()
Gets a collection of HTTP headers that will be sent with each request to EWS.