com.stimulsoft.webviewer
Class StiWebViewerOptions.ServerOptions

java.lang.Object
  extended by com.stimulsoft.webviewer.StiWebViewerOptions.ServerOptions
Enclosing class:
StiWebViewerOptions

public class StiWebViewerOptions.ServerOptions
extends java.lang.Object


Field Summary
 boolean useCacheForResources
           
 boolean useCompression
           
 
Constructor Summary
StiWebViewerOptions.ServerOptions()
           
 
Method Summary
 int getCacheTimeout()
           
 java.lang.String getController()
          The absolute url to server
 java.lang.String getDesignReport()
           
 int getRequestTimeout()
          Time which indicates how many seconds the client side will wait for the response from the server side.
 boolean isAllowAutoUpdateCache()
          Allows the viewer to update the cache automatically.
 boolean isClearCache()
           
 boolean isClearCashe()
          Deprecated. 
 boolean isGlobalReportCache()
           
 boolean isPassFormValues()
          A value which enables or disables the transfer POST parameters of theform.
 boolean isPassQueryParametersForResources()
          A value which enables or disables the transfer of URL parameters when requesting the scripts and styles of the viewer.
 boolean isShowServerErrorPage()
          a value which enables or disables the display of the detailed server error in the viewer.
 boolean isUseCompression()
           
 boolean isUseRelativeUrls()
          A value which indicates that the viewer will use relative or absolute URLs.
 void setAllowAutoUpdateCache(boolean allowAutoUpdateCache)
          Allows the viewer to update the cache automatically.
 void setCacheTimeout(int cacheTimeout)
           
 void setClearCache(boolean clearCache)
           
 void setClearCashe(boolean clearCashe)
          Deprecated. 
 void setController(java.lang.String controller)
          The absolute url to server
 void setDesignReport(java.lang.String designReport)
           
 void setGlobalReportCache(boolean globalReportCache)
           
 void setPassFormValues(boolean passFormValues)
          A value which enables or disables the transfer POST parameters of theform.
 void setPassQueryParametersForResources(boolean passQueryParametersForResources)
          A value which enables or disables the transfer of URL parameters when requesting the scripts and styles of the viewer.
 void setRequestTimeout(int requestTimeout)
          Time which indicates how many seconds the client side will wait for the response from the server side.
 void setShowServerErrorPage(boolean showServerErrorPage)
          a value which enables or disables the display of the detailed server error in the viewer.
 void setUseCompression(boolean useCompression)
           
 void setUseRelativeUrls(boolean useRelativeUrls)
          A value which indicates that the viewer will use relative or absolute URLs.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useCompression

public boolean useCompression

useCacheForResources

public boolean useCacheForResources
Constructor Detail

StiWebViewerOptions.ServerOptions

public StiWebViewerOptions.ServerOptions()
Method Detail

isAllowAutoUpdateCache

public boolean isAllowAutoUpdateCache()
Allows the viewer to update the cache automatically. The cache will be updated about once every three minutes if there are no actions in the viewer.

Returns:
the allowAutoUpdateCache

setAllowAutoUpdateCache

public void setAllowAutoUpdateCache(boolean allowAutoUpdateCache)
Allows the viewer to update the cache automatically. The cache will be updated about once every three minutes if there are no actions in the viewer.

Parameters:
allowAutoUpdateCache - the allowAutoUpdateCache to set

isUseCompression

public boolean isUseCompression()
Returns:
the useCompression

setUseCompression

public void setUseCompression(boolean useCompression)
Parameters:
useCompression - the useCompression to set

isShowServerErrorPage

public boolean isShowServerErrorPage()
a value which enables or disables the display of the detailed server error in the viewer.

Returns:
the showServerErrorPage

setShowServerErrorPage

public void setShowServerErrorPage(boolean showServerErrorPage)
a value which enables or disables the display of the detailed server error in the viewer.

Parameters:
showServerErrorPage - the showServerErrorPage to set

isClearCashe

@Deprecated
public boolean isClearCashe()
Deprecated. 

Returns:
the clearCashe

setClearCashe

@Deprecated
public void setClearCashe(boolean clearCashe)
Deprecated. 

Parameters:
clearCashe - the clearCashe to set

isClearCache

public boolean isClearCache()
Returns:
the clearCashe

setClearCache

public void setClearCache(boolean clearCache)
Parameters:
clearCashe - the clearCashe to set

getDesignReport

public java.lang.String getDesignReport()
Returns:
the designReport

setDesignReport

public void setDesignReport(java.lang.String designReport)
Parameters:
designReport - the designReport to set

getController

public java.lang.String getController()
The absolute url to server

Returns:
the controller

setController

public void setController(java.lang.String controller)
The absolute url to server

Parameters:
controller - the controller to set

getRequestTimeout

public int getRequestTimeout()
Time which indicates how many seconds the client side will wait for the response from the server side. The default value is 20 seconds.

Returns:
the requestTimeout

setRequestTimeout

public void setRequestTimeout(int requestTimeout)
Time which indicates how many seconds the client side will wait for the response from the server side. The default value is 20 seconds.

Parameters:
requestTimeout - the requestTimeout to set

getCacheTimeout

public int getCacheTimeout()
Returns:
the cacheTimeout

setCacheTimeout

public void setCacheTimeout(int cacheTimeout)
Parameters:
cacheTimeout - the cacheTimeout to set

isGlobalReportCache

public boolean isGlobalReportCache()
Returns:
the globalReportCache

setGlobalReportCache

public void setGlobalReportCache(boolean globalReportCache)
Parameters:
globalReportCache - the globalReportCache to set

isUseRelativeUrls

public boolean isUseRelativeUrls()
A value which indicates that the viewer will use relative or absolute URLs.

Returns:
the useRelativeUrls

setUseRelativeUrls

public void setUseRelativeUrls(boolean useRelativeUrls)
A value which indicates that the viewer will use relative or absolute URLs.

Parameters:
useRelativeUrls - the useRelativeUrls to set

isPassQueryParametersForResources

public boolean isPassQueryParametersForResources()
A value which enables or disables the transfer of URL parameters when requesting the scripts and styles of the viewer.

Returns:
the passQueryParametersForResources

setPassQueryParametersForResources

public void setPassQueryParametersForResources(boolean passQueryParametersForResources)
A value which enables or disables the transfer of URL parameters when requesting the scripts and styles of the viewer.

Parameters:
passQueryParametersForResources - the passQueryParametersForResources to set

isPassFormValues

public boolean isPassFormValues()
A value which enables or disables the transfer POST parameters of theform.

Returns:
the passFormValues

setPassFormValues

public void setPassFormValues(boolean passFormValues)
A value which enables or disables the transfer POST parameters of theform.

Parameters:
passFormValues - the passFormValues to set