You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Magnus Olstad Hansen (JIRA)" <ji...@apache.org> on 2008/01/07 07:25:34 UTC
[jira] Created: (HTTPCLIENT-728) Wrapper for httpclient-3.1
MultipartRequestEntity
Wrapper for httpclient-3.1 MultipartRequestEntity
-------------------------------------------------
Key: HTTPCLIENT-728
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-728
Project: HttpComponents HttpClient
Issue Type: New Feature
Components: Contrib
Affects Versions: 4.0 Alpha 2
Reporter: Magnus Olstad Hansen
Priority: Trivial
A very simple wrapper is attached here. This one offcourse requires the httpclient-3.1.jar in addition to httpclient-4 and httpcore.
There's an issue passing parameters from httpclient-4 HttpMethod.getProperties() (HttpParams from 4) to httpclient-3.1 and MultipartRequestEntity's constructor which takes HttpMethodParams (from 3.1). I was thinking about doing an iteration of the parameters, but as far as I could understand HttpMethodParams (from 3.1) is a static configuration, thus it's alot of typing work and research to map httpclient-4s dynamic properties to httpclient-3.1 configuration class. Furthermore I didn't find any way of iterating the the parameters (at a glance). So, I gave that one up. :)
In conclusion, MultipartRequestEntity is stuck with the default parameters.
It did it's job for me. That was pretty basic stuff, though. :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Resolved: (HTTPCLIENT-728) Wrapper for httpclient-3.1
MultipartRequestEntity
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-728.
------------------------------------------
Resolution: Won't Fix
Magnus
I recently added a multipart entity implementation based on Apache mime4j. Feel free to take a look [1]. I guess it is no longer necessary to maintain the wrapper based on HttpClient 3.1
Oleg
[1] https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-httpmime/
> Wrapper for httpclient-3.1 MultipartRequestEntity
> -------------------------------------------------
>
> Key: HTTPCLIENT-728
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-728
> Project: HttpComponents HttpClient
> Issue Type: New Feature
> Components: Contrib
> Affects Versions: 4.0 Alpha 2
> Reporter: Magnus Olstad Hansen
> Priority: Trivial
> Attachments: MultipartEntityWrapper.java
>
>
> A very simple wrapper is attached here. This one offcourse requires the httpclient-3.1.jar in addition to httpclient-4 and httpcore.
> There's an issue passing parameters from httpclient-4 HttpMethod.getProperties() (HttpParams from 4) to httpclient-3.1 and MultipartRequestEntity's constructor which takes HttpMethodParams (from 3.1). I was thinking about doing an iteration of the parameters, but as far as I could understand HttpMethodParams (from 3.1) is a static configuration, thus it's alot of typing work and research to map httpclient-4s dynamic properties to httpclient-3.1 configuration class. Furthermore I didn't find any way of iterating the the parameters (at a glance). So, I gave that one up. :)
> In conclusion, MultipartRequestEntity is stuck with the default parameters.
> It did it's job for me. That was pretty basic stuff, though. :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Updated: (HTTPCLIENT-728) Wrapper for httpclient-3.1
MultipartRequestEntity
Posted by "Magnus Olstad Hansen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Magnus Olstad Hansen updated HTTPCLIENT-728:
--------------------------------------------
Attachment: MultipartEntityWrapper.java
> Wrapper for httpclient-3.1 MultipartRequestEntity
> -------------------------------------------------
>
> Key: HTTPCLIENT-728
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-728
> Project: HttpComponents HttpClient
> Issue Type: New Feature
> Components: Contrib
> Affects Versions: 4.0 Alpha 2
> Reporter: Magnus Olstad Hansen
> Priority: Trivial
> Attachments: MultipartEntityWrapper.java
>
>
> A very simple wrapper is attached here. This one offcourse requires the httpclient-3.1.jar in addition to httpclient-4 and httpcore.
> There's an issue passing parameters from httpclient-4 HttpMethod.getProperties() (HttpParams from 4) to httpclient-3.1 and MultipartRequestEntity's constructor which takes HttpMethodParams (from 3.1). I was thinking about doing an iteration of the parameters, but as far as I could understand HttpMethodParams (from 3.1) is a static configuration, thus it's alot of typing work and research to map httpclient-4s dynamic properties to httpclient-3.1 configuration class. Furthermore I didn't find any way of iterating the the parameters (at a glance). So, I gave that one up. :)
> In conclusion, MultipartRequestEntity is stuck with the default parameters.
> It did it's job for me. That was pretty basic stuff, though. :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org