[
https://issues.apache.org/jira/browse/SHINDIG-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Winer resolved SHINDIG-1021.
---------------------------------
Resolution: Fixed
Checked in patch - thanks!
Did change getAsText() to getAsString(), which seemed marginally clearer.
> FormDataItem should support getAsText (to avoid any encoding/decoding to from
> String <-> byte[])
> ------------------------------------------------------------------------------------------------
>
> Key: SHINDIG-1021
> URL: https://issues.apache.org/jira/browse/SHINDIG-1021
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Reporter: Sachin Shenoy
> Priority: Minor
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Currently in case of Multipart/form-data, any form-field - which is always
> text - goes through an unnecessary conversion step from text (string) to
> byte[] as it only exposes an API get() : byte[]. Avoid this and let
> FormDataItem have a method getAsText() : String.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.