Interface MultipartParser
- All Known Implementing Classes:
DefaultMultipartParser
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Contract for parsing HTML form fields encoded according to the
multipart/form-data
specification.- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionextractMultipartFields
(Request request) Given a request, detect all HTML form fields withmultipart/form-data
encoding and parse their values.
-
Method Details
-
extractMultipartFields
Given a request, detect all HTML form fields withmultipart/form-data
encoding and parse their values.- Parameters:
request
- the request to parse- Returns:
- a mapping of form field names to corresponding sets of form field values
-