Class KualiControllerConfig

java.lang.Object
org.apache.struts.config.BaseConfig
org.apache.struts.config.ControllerConfig
org.kuali.rice.kns.web.struts.config.ControllerConfigWrapper
org.kuali.rice.kns.web.struts.config.KualiControllerConfig
All Implemented Interfaces:
Serializable

@Deprecated public class KualiControllerConfig extends ControllerConfigWrapper
Deprecated.
KNS Struts deprecated, use KRAD and the Spring MVC framework.
Kuali customization of ControllerConfig which delegates max upload size lookup to parameter service: KRADConstants.KNS_NAMESPACE, KRADConstants.DetailTypes.ALL_DETAIL_TYPE, KRADConstants.MAX_UPLOAD_SIZE_PARM_NM The value must be a string compatible with Struts maxFileSize attribute.
See Also:
  • Constructor Details

    • KualiControllerConfig

      public KualiControllerConfig(org.apache.struts.config.ControllerConfig config)
      Deprecated.
  • Method Details

    • getMaxFileSize

      public String getMaxFileSize()
      Deprecated.
      Returns the global max file upload size, which is dynamically derived from the Rice parameter service. This technically breaks the implicit contract in ControllerConfig that the config is frozen after startup.
      Overrides:
      getMaxFileSize in class ControllerConfigWrapper
      Returns:
      the global max file upload size
    • setMaxFileSize

      public void setMaxFileSize(String s)
      Deprecated.
      Overridden to throw an UnsupportedOperationException. Once our KualiControllerConfig is in place, it does not make sense to support this setter.
      Overrides:
      setMaxFileSize in class ControllerConfigWrapper