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 String getLogFileName()
Gets or sets log file name
public void setLogFileName(String value)
Gets or sets log file name
public boolean getUseDateInLogFileName()
Gets or sets value which indicates if date has to be used in log file name.
public void setUseDateInLogFileName(boolean value)
Gets or sets value which indicates if date has to be used in log file name.
public com.aspose.ms.System.Net.CookieContainer getCookieContainer()
Gets or sets the cookie container.
Value: The cookie container.public void setCookieContainer(com.aspose.ms.System.Net.CookieContainer value)
Gets or sets the cookie container.
Value: The cookie container.public boolean getSendClientLatencies()
Gets or sets a value indicating whether client latency info is push to server.
public void setSendClientLatencies(boolean value)
Gets or sets a value indicating whether client latency info is push to server.
public 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 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 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 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 int getTimeout()
Gets or sets the timeout used when sending HTTP requests and when receiving HTTP responses, in milliseconds. Defaults to 100000.
public 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 boolean getPreAuthenticate()
Gets or sets a value that indicates whether HTTP pre-authentication should be performed.
public void setPreAuthenticate(boolean value)
Gets or sets a value that indicates whether HTTP pre-authentication should be performed.
public boolean getAcceptGzipEncoding()
Gets or sets a value indicating whether GZip compression encoding should be accepted.
public void setAcceptGzipEncoding(boolean value)
Gets or sets a value indicating whether GZip compression encoding should be accepted.
public int getRequestedServerVersion()
Gets the requested server version.
Value: The requested server version.public String getUserAgent()
Gets or sets the user agent.
Value: The user agent.public void setUserAgent(String value)
Gets or sets the user agent.
Value: The user agent.public 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 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 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 boolean getKeepAlive()
Gets or sets if the request to the internet resource should contain a Connection HTTP header with the value Keep-alive
public 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 String getConnectionGroupName()
Gets or sets the name of the connection group for the request.
public void setConnectionGroupName(String value)
Gets or sets the name of the connection group for the request.
public String getClientRequestId()
Gets or sets the request id for the request.
public void setClientRequestId(String value)
Gets or sets the request id for the request.
public boolean getReturnClientRequestId()
Gets or sets a flag to indicate whether the client requires the server side to return the request id.
public void setReturnClientRequestId(boolean value)
Gets or sets a flag to indicate whether the client requires the server side to return the request id.
public 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.
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.