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.
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:
-
Field Summary
Fields inherited from class org.kuali.rice.kns.web.struts.config.ControllerConfigWrapper
configFields inherited from class org.apache.struts.config.ControllerConfig
bufferSize, catalog, command, contentType, forwardPattern, inputForward, locale, maxFileSize, memFileSize, multipartClass, nocache, pagePattern, processorClass, tempDirFields inherited from class org.apache.struts.config.BaseConfig
configured -
Constructor Summary
ConstructorsConstructorDescriptionKualiControllerConfig(org.apache.struts.config.ControllerConfig config) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the global max file upload size, which is dynamically derived from the Rice parameter service.voidDeprecated.Overridden to throw an UnsupportedOperationException.Methods inherited from class org.kuali.rice.kns.web.struts.config.ControllerConfigWrapper
freeze, getBufferSize, getCatalog, getCommand, getContentType, getForwardPattern, getInputForward, getLocale, getMemFileSize, getMultipartClass, getNocache, getPagePattern, getProcessorClass, getProperty, getTempDir, setBufferSize, setCatalog, setCommand, setContentType, setForwardPattern, setInputForward, setLocale, setMemFileSize, setMultipartClass, setNocache, setPagePattern, setProcessorClass, setProperty, setTempDir, throwIfConfigured, toStringMethods inherited from class org.apache.struts.config.BaseConfig
copyProperties, getProperties, inheritProperties, setProperties
-
Constructor Details
-
KualiControllerConfig
public KualiControllerConfig(org.apache.struts.config.ControllerConfig config) Deprecated.
-
-
Method Details
-
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:
getMaxFileSizein classControllerConfigWrapper- Returns:
- the global max file upload size
-
setMaxFileSize
Deprecated.Overridden to throw an UnsupportedOperationException. Once our KualiControllerConfig is in place, it does not make sense to support this setter.- Overrides:
setMaxFileSizein classControllerConfigWrapper
-