Package | Description |
---|---|
org.javalite.activeweb |
ActiveWeb - the agile java framework
|
Modifier and Type | Class and Description |
---|---|
class |
FileItem
Convenience class for use in tests.
|
Modifier and Type | Method and Description |
---|---|
Iterator<FormItem> |
MockMultipartHttpServletRequestImpl.getFormItemIterator() |
List<FormItem> |
MockMultipartHttpServletRequestImpl.getFormItems() |
List<FormItem> |
MultipartForm.getFormItems() |
protected List<FormItem> |
HttpSupport.multipartFormItems()
Convenience method, calls
HttpSupport.multipartFormItems(String) . |
protected List<FormItem> |
HttpSupport.multipartFormItems(String encoding)
Returns a collection of uploaded files and form fields from a multi-part request.
|
protected List<FormItem> |
HttpSupport.multipartFormItems(String encoding,
long maxUploadSize)
Returns a collection of uploaded files and form fields from a multi-part request.
|
protected Iterator<FormItem> |
HttpSupport.uploadedFiles()
Returns a collection of uploaded files from a multi-part port request.
|
protected Iterator<FormItem> |
HttpSupport.uploadedFiles(String encoding)
Returns a collection of uploaded files from a multi-part port request.
|
protected Iterator<FormItem> |
HttpSupport.uploadedFiles(String encoding,
long maxFileSize)
Returns a collection of uploaded files from a multi-part port request.
|
Modifier and Type | Method and Description |
---|---|
void |
MockMultipartHttpServletRequestImpl.addFormItem(FormItem item) |
RequestBuilder |
RequestBuilder.formItem(FormItem item)
Adds "uploaded" file to the request.
|
Modifier and Type | Method and Description |
---|---|
protected FileItem |
HttpSupport.getFile(String fieldName,
List<FormItem> formItems)
Convenience method to get file content from
multipart/form-data request. |
Map<String,String> |
HttpSupport.getMap(String hashName,
List<FormItem> formItems)
Convenience method to get parameter map in case
multipart/form-data request was used. |
default String |
RequestAccess.param(String name,
List<FormItem> formItems)
Convenience method to get a parameter value in case
multipart/form-data request was used. |
default List<String> |
RequestAccess.params(String name,
List<FormItem> formItems)
Convenience method to get parameter values in case
multipart/form-data request was used. |
default Map<String,String> |
RequestAccess.params1st(List<FormItem> formItems)
Convenience method to get parameters in case
multipart/form-data request was used. |
Copyright © 2020 JavaLite. All rights reserved.