You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Adam Winer (JIRA)" <ji...@apache.org> on 2009/04/23 21:29:30 UTC

[jira] Resolved: (SHINDIG-1021) FormDataItem should support getAsText (to avoid any encoding/decoding to from String <-> byte[])

     [ 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.