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() |
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. |
protected String |
HttpSupport.param(String name,
List<FormItem> formItems)
Convenience method to get a parameter in case
multipart/form-data request was used. |
static String |
RequestUtils.param(String name,
List<FormItem> formItems)
Convenience method to get a parameter value in case
multipart/form-data request was used. |
protected List<String> |
HttpSupport.params(String name,
List<FormItem> formItems)
Convenience method to get parameters in case
multipart/form-data request was used. |
static List<String> |
RequestUtils.params(String name,
List<FormItem> formItems)
Convenience method to get parameter values in case
multipart/form-data request was used. |
protected Map<String,String> |
HttpSupport.params1st(List<FormItem> formItems)
Convenience method to get first parameter values in case
multipart/form-data request was used. |
static Map<String,String> |
RequestUtils.params1st(List<FormItem> formItems)
Convenience method to get parameters in case
multipart/form-data request was used. |
Copyright © 2019 JavaLite. All rights reserved.