Package com.atlassian.confluence.util
Class StrutsUtil
java.lang.Object
com.atlassian.confluence.util.StrutsUtil
- Since:
- 8.4.1
-
Method Summary
Modifier and TypeMethodDescriptionlocalizeMultipartErrorMessages
(com.atlassian.xwork.FileUploadUtils.FileUploadException e) Deprecated.localizeMultipartErrorMessages
(Collection<org.apache.struts2.dispatcher.LocalizedMessage> msgErrors) This function is closely coupled withJakartaMultiPartRequest
.localizeMultipartErrorMessages
(org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper multiPartRequestWrapper) Deprecated.since 9.1.0, uselocalizeMultipartErrorMessages(Collection)
instead.
-
Method Details
-
localizeMultipartErrorMessages
@Deprecated public static List<String> localizeMultipartErrorMessages(com.atlassian.xwork.FileUploadUtils.FileUploadException e) Deprecated.since 9.1.0, uselocalizeMultipartErrorMessages(Collection)
instead.Localizes errors returned by FileUploadUtils for display to the user. These errors are expected to be a copy of the errors returned by the Struts multipart request handler. -
localizeMultipartErrorMessages
@Deprecated public static List<String> localizeMultipartErrorMessages(org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper multiPartRequestWrapper) Deprecated.since 9.1.0, uselocalizeMultipartErrorMessages(Collection)
instead.Localizes errors produced by the Struts multipart request handler for display to the user. -
localizeMultipartErrorMessages
public static List<String> localizeMultipartErrorMessages(Collection<org.apache.struts2.dispatcher.LocalizedMessage> msgErrors) This function is closely coupled withJakartaMultiPartRequest
.- Since:
- 9.1
-
localizeMultipartErrorMessages(Collection)
instead.