Just a minor correction: getInputAsForm() only works with input Web forms
sent with POST/PUT. To get the query parameters as a Form instance, use this
instead:
Form form = call.getResourceRef().getQueryAsForm();
Best regards,
Jerome
> -----Message d'origine-----
> De : Lars Heuer [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 1 septembre 2006 18:51
> À : Mikkel Jensen
> Objet : Re: What happened to ConnectorCall???
>
> Hi Mikkel,
>
> > Hi Lars, thanks for the tip!
>
> > This seems to work fine for server calls, but how about
> client calls?
>
> Reg. HTTP headers see my other mail, but for query parameters you can
> still use
>
> call.getResourceRef().getQuery()
>
> or
> Form form = call.getInputAsForm(); // The method name is
> // missleading, it works
> // for the query part
> // as well
>
> without the need to convert it into a connector-specific call.
>
> Best regards,
> Lars
> --
> http://www.semagia.com
>
>