You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "William R. Speirs (JIRA)" <ji...@apache.org> on 2011/08/26 17:32:29 UTC
[jira] [Created] (HTTPCORE-271) Add Default ContentTypes
Add Default ContentTypes
------------------------
Key: HTTPCORE-271
URL: https://issues.apache.org/jira/browse/HTTPCORE-271
Project: HttpComponents HttpCore
Issue Type: Improvement
Components: HttpCore
Reporter: William R. Speirs
Priority: Trivial
Fix For: 4.2-alpha2
Currently there are only two defaults provided in the ContentType class. The attached patch creates all of the same ContentTypes found in the javax.ws.rs.core.MediaType class.
If accepted, these constants should be used in the new fluent API instead of the ContentType class found in that codebase.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] [Resolved] (HTTPCORE-271) Add Default ContentTypes
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCORE-271.
----------------------------------------
Resolution: Fixed
Patch checked in.
Oleg
> Add Default ContentTypes
> ------------------------
>
> Key: HTTPCORE-271
> URL: https://issues.apache.org/jira/browse/HTTPCORE-271
> Project: HttpComponents HttpCore
> Issue Type: Improvement
> Components: HttpCore
> Reporter: William R. Speirs
> Priority: Trivial
> Fix For: 4.2-alpha2
>
> Attachments: ContentType.diff
>
>
> Currently there are only two defaults provided in the ContentType class. The attached patch creates all of the same ContentTypes found in the javax.ws.rs.core.MediaType class.
> If accepted, these constants should be used in the new fluent API instead of the ContentType class found in that codebase.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] [Updated] (HTTPCORE-271) Add Default ContentTypes
Posted by "William R. Speirs (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William R. Speirs updated HTTPCORE-271:
---------------------------------------
Attachment: ContentType.diff
> Add Default ContentTypes
> ------------------------
>
> Key: HTTPCORE-271
> URL: https://issues.apache.org/jira/browse/HTTPCORE-271
> Project: HttpComponents HttpCore
> Issue Type: Improvement
> Components: HttpCore
> Reporter: William R. Speirs
> Priority: Trivial
> Fix For: 4.2-alpha2
>
> Attachments: ContentType.diff
>
>
> Currently there are only two defaults provided in the ContentType class. The attached patch creates all of the same ContentTypes found in the javax.ws.rs.core.MediaType class.
> If accepted, these constants should be used in the new fluent API instead of the ContentType class found in that codebase.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org