Class StrutsHelperImpl
java.lang.Object
com.atlassian.confluence.impl.struts.StrutsHelperImpl
- All Implemented Interfaces:
StrutsHelper
- Since:
- 9.4
-
Constructor Summary
ConstructorsConstructorDescriptionStrutsHelperImpl(I18NBeanFactory i18NBeanFactory, org.apache.struts2.dispatcher.Dispatcher dispatcher) -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.struts.multipart.UploadedFilegetUploadedFile(jakarta.servlet.http.HttpServletRequest request, String fileParameterName) List<com.atlassian.struts.multipart.UploadedFile> getUploadedFiles(jakarta.servlet.http.HttpServletRequest request, boolean ignoreMissingFiles) localizeStrutsMessages(Collection<org.apache.struts2.dispatcher.LocalizedMessage> msgErrors) Localizes StrutsLocalizedMessages according to any custom Confluence rules, followed by the default Struts localization.com.atlassian.struts.multipart.AtlassianJakartaMultiPartRequestunwrapMultiPartRequest(jakarta.servlet.http.HttpServletRequest request) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.struts.StrutsHelper
getUploadedFiles
-
Constructor Details
-
StrutsHelperImpl
public StrutsHelperImpl(@Qualifier("userI18NBeanFactory") I18NBeanFactory i18NBeanFactory, org.apache.struts2.dispatcher.Dispatcher dispatcher)
-
-
Method Details
-
unwrapMultiPartRequest
public com.atlassian.struts.multipart.AtlassianJakartaMultiPartRequest unwrapMultiPartRequest(jakarta.servlet.http.HttpServletRequest request) - Specified by:
unwrapMultiPartRequestin interfaceStrutsHelper
-
getUploadedFile
public com.atlassian.struts.multipart.UploadedFile getUploadedFile(jakarta.servlet.http.HttpServletRequest request, String fileParameterName) throws com.atlassian.struts.multipart.FileUploadException - Specified by:
getUploadedFilein interfaceStrutsHelper- Throws:
com.atlassian.struts.multipart.FileUploadException
-
getUploadedFiles
public List<com.atlassian.struts.multipart.UploadedFile> getUploadedFiles(jakarta.servlet.http.HttpServletRequest request, boolean ignoreMissingFiles) throws com.atlassian.struts.multipart.FileUploadException - Specified by:
getUploadedFilesin interfaceStrutsHelper- Throws:
com.atlassian.struts.multipart.FileUploadException
-
localizeStrutsMessages
public List<String> localizeStrutsMessages(Collection<org.apache.struts2.dispatcher.LocalizedMessage> msgErrors) Localizes StrutsLocalizedMessages according to any custom Confluence rules, followed by the default Struts localization.- Specified by:
localizeStrutsMessagesin interfaceStrutsHelper
-