Package play.mvc
Class Http.MultipartFormData<A>
java.lang.Object
play.mvc.Http.MultipartFormData<A>
- Enclosing class:
- Http
Multipart form data body.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classInfo about a file partstatic classA file part.static interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExtract the data parts as Form url encoded.Access a file part.abstract List<Http.MultipartFormData.FilePart<A>>getFiles()Retrieves all file parts.abstract booleanisEmpty()
-
Constructor Details
-
MultipartFormData
public MultipartFormData()
-
-
Method Details
-
asFormUrlEncoded
Extract the data parts as Form url encoded.- Returns:
- the data that was URL encoded
-
getFiles
Retrieves all file parts.- Returns:
- the file parts
-
isEmpty
public abstract boolean isEmpty() -
getFile
Access a file part.- Parameters:
key- name of the file part to access- Returns:
- the file part specified by key
-