Package | Description |
---|---|
org.apache.struts2.dispatcher.multipart |
Classes to help dispatch multipart HTTP requests.
|
org.apache.struts2.interceptor |
Modifier and Type | Class and Description |
---|---|
class |
StrutsUploadedFile |
Modifier and Type | Method and Description |
---|---|
UploadedFile[] |
MultiPartRequest.getFile(String fieldName)
Returns a
UploadedFile object for the filename specified or null if no files
are associated with the given field name. |
UploadedFile[] |
JakartaMultiPartRequest.getFile(String fieldName) |
UploadedFile[] |
JakartaStreamMultiPartRequest.getFile(String fieldName) |
UploadedFile[] |
MultiPartRequestWrapper.getFiles(String fieldName)
Get a
File[] for the given input field name. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
FileUploadInterceptor.acceptFile(Object action,
UploadedFile file,
String filename,
String contentType,
String inputName,
ValidationAware validation)
Override for added functionality.
|
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.