camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Jetty component and HTTP parameter
Date Mon, 06 Jul 2009 14:20:51 GMT
On Mon, Jul 6, 2009 at 3:51 PM, SwenVogel<swen.vogel@ypsystems.de> wrote:
>
> :wistle:, your absolutely right.
> With HTTP-GET it works fine and the two headers are created with the correct
> values.
>
> When using POST the CamelHttpQuery header is populated in the same way like
> using GET:
> CamelHttpQuery value: ein=1&zwei=2
>
> So, would it ok to process the CamelHttpQuery header and extract that
> values?
Yeah that is fine as that should be the query string, eg the entire
text that comes after the ? in the URI.
So you should be able to parse that yourself.

Or try one of the methods in org.apache.camel.util.UriSupport.
There could be one that could do a String -> Map for you.




> The reason is that i want's to receive XML data but makes the processing
> dynamic through options.
>
> Thanks for you patient help.
> --
> View this message in context: http://www.nabble.com/Jetty-component-and-HTTP-parameter-tp24287116p24355773.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message