Package io.micronaut.http.form
Interface FormUrlEncodedDecoder
public interface FormUrlEncodedDecoder
Decodes a form url encoded string into a map.
- Since:
- 4.7.1
- Author:
- Sergio del Amo
-
Method Summary
-
Method Details
-
decode
- Parameters:
formUrlEncodedString
- Form URL encoded Stringcharset
- Charset- Returns:
- a Map representation of the Form URL encoded String
-
flatten
Converts a map with value list of string to value Object. If the list of string has a single element, then the value is the element itself.- Parameters:
parameters
- Map of key string and value list of Strings- Returns:
- Map of key String and value Object
-