Package com.stimulsoft.webviewer
Class StiWebViewerOptions.ServerOptions
java.lang.Object
com.stimulsoft.webviewer.StiWebViewerOptions.ServerOptions
- Enclosing class:
StiWebViewerOptions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe absolute url to serverintTime which indicates how many seconds the client side will wait for the response from the server side.booleanAllows the viewer to update the cache automatically.booleanbooleanDeprecated.booleanbooleanA value which enables or disables the transfer POST parameters of theform.booleanA value which enables or disables the transfer of URL parameters when requesting the scripts and styles of the viewer.booleana value which enables or disables the display of the detailed server error in the viewer.booleanbooleanA value which indicates that the viewer will use relative or absolute URLs.voidsetAllowAutoUpdateCache(boolean allowAutoUpdateCache) Allows the viewer to update the cache automatically.voidsetCacheTimeout(int cacheTimeout) voidsetClearCache(boolean clearCache) voidsetClearCashe(boolean clearCashe) Deprecated.voidsetController(String controller) The absolute url to servervoidsetDesignReport(String designReport) voidsetGlobalReportCache(boolean globalReportCache) voidsetPassFormValues(boolean passFormValues) A value which enables or disables the transfer POST parameters of theform.voidsetPassQueryParametersForResources(boolean passQueryParametersForResources) A value which enables or disables the transfer of URL parameters when requesting the scripts and styles of the viewer.voidsetRequestTimeout(int requestTimeout) Time which indicates how many seconds the client side will wait for the response from the server side.voidsetShowServerErrorPage(boolean showServerErrorPage) a value which enables or disables the display of the detailed server error in the viewer.voidsetUseCompression(boolean useCompression) voidsetUseRelativeUrls(boolean useRelativeUrls) A value which indicates that the viewer will use relative or absolute URLs.
-
Field Details
-
useCompression
public boolean useCompression -
useCacheForResources
public boolean useCacheForResources
-
-
Constructor Details
-
ServerOptions
public ServerOptions()
-
-
Method Details
-
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.- Returns:
- the clearCashe
-
setClearCashe
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
- Returns:
- the designReport
-
setDesignReport
- Parameters:
designReport- the designReport to set
-
getController
The absolute url to server- Returns:
- the controller
-
setController
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
-