Package | Description |
---|---|
org.apache.struts2.dispatcher |
This package contains a reimagining of the traditional Struts filter dispatchers.
|
org.apache.struts2.dispatcher.multipart |
Classes to help dispatch multipart HTTP requests.
|
Modifier and Type | Method and Description |
---|---|
protected MultiPartRequest |
Dispatcher.getMultiPartRequest()
On each request it must return a new instance as implementation could be not thread safe
and thus ensure of resource clean up
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMultiPartRequest
Abstract class with some helper methods, it should be used
when starting development of another implementation of
MultiPartRequest |
class |
JakartaMultiPartRequest
Multipart form data request adapter for Jakarta Commons Fileupload package.
|
class |
JakartaStreamMultiPartRequest
Multi-part form data request adapter for Jakarta Commons FileUpload package that
leverages the streaming API rather than the traditional non-streaming API.
|
Constructor and Description |
---|
MultiPartRequestWrapper(MultiPartRequest multiPartRequest,
javax.servlet.http.HttpServletRequest request,
String saveDir,
LocaleProvider provider) |
MultiPartRequestWrapper(MultiPartRequest multiPartRequest,
javax.servlet.http.HttpServletRequest request,
String saveDir,
LocaleProvider provider,
boolean disableRequestAttributeValueStackLookup)
Process file downloads and log any errors.
|
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.