Class StiWebViewerOptions.ServerOptions

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

public class StiWebViewerOptions.ServerOptions extends Object
  • 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 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 String getDesignReport()
      Returns:
      the designReport
    • setDesignReport

      public void setDesignReport(String designReport)
      Parameters:
      designReport - the designReport to set
    • getController

      public String getController()
      The absolute url to server
      Returns:
      the controller
    • setController

      public void setController(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