You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/07/03 08:12:08 UTC
[jira] Commented: (CAMEL-1740) Docs for the http component are
incorrect regarding the HttpConstants class
[ https://issues.apache.org/activemq/browse/CAMEL-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52660#action_52660 ]
Claus Ibsen commented on CAMEL-1740:
------------------------------------
Hadrian it is confusing where to put the constant keys.
That is why the xxxConstants classes was introduced. So I would rather have it there than on the HttpMessage.
Then end users knows where to look for them
In these 2 places
- xxxConstants
- org.apache.camel.Exchange
> Docs for the http component are incorrect regarding the HttpConstants class
> ---------------------------------------------------------------------------
>
> Key: CAMEL-1740
> URL: https://issues.apache.org/activemq/browse/CAMEL-1740
> Project: Apache Camel
> Issue Type: Bug
> Affects Versions: 2.0-M2
> Reporter: Hadrian Zbarcea
> Assignee: Hadrian Zbarcea
> Fix For: 2.0.0
>
>
> The documentation on the wiki needs updating after many of the HTTP constants were moved from HttpConstants to Exchange in r777808.
> The HttpConstants class is not even necessary anymore, the only constant remaining there is HttpConstants.CONTENT_ENCODING which is duplicated actually by Exchange.HTTP_CHARACTER_ENCODING. The latter should be used, HttpConstants.java removed and the wiki updated.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.