Hi Ignasi,
Sorry for the late reply!
On Thu, Jan 2, 2014 at 2:54 AM, Ignasi Barrera ignasi.barr...@gmail.comwrote:
You can replace the @RequestFilters annotation by: @Consumes(*/*)
That will translate to the Accept header being set, and can also be
overridden in the methods that could need
I've still no luck with the original issue :( While debugging I've found
that JavaUrlHttpCommandExecutorService.convert's
connection.setRequestProperty(HOST, host); doesn't seem to set Host header
correctly. Any help is highly appreciated.
When you say not correctly do you mean not at all, or
Hi Andrew and Ignasi,
Thanks for your thoughts. As Andrew said, I think the much safer approach
would be to handle this at the vcloud level. So, I've implemented a request
filter for VCloudVersionsAsyncClient and it works fine.
I hope this way is ok?
On Wed, Jan 1, 2014 at 9:09 PM, Ignasi
Thanks for your thoughts. As Andrew said, I think the much safer approach
would be to handle this at the vcloud level. So, I've implemented a request
filter for VCloudVersionsAsyncClient and it works fine.
That sounds cool! Any chance you could submit this as a pull request,
or at least share
Hi Ignasi,
Sorry, I'm not the jaxrs expert, can you please point to a sample where I
can set a header using @Consumes?
This is how the class looks like now and my fix was to add the filter.
/**
* Establishes a context with a VCloud endpoint.
* p/
*
* @see a href=
You can replace the @RequestFilters annotation by: @Consumes(*/*)
That will translate to the Accept header being set, and can also be
overridden in the methods that could need so.
There is no prerequisite to implement the ComputeService :) I'm not
familiar with vcloud, but I can help explaining
Hi Ignasi,
On Thu, Jan 2, 2014 at 2:54 AM, Ignasi Barrera ignasi.barr...@gmail.comwrote:
You can replace the @RequestFilters annotation by: @Consumes(*/*)
That will translate to the Accept header being set, and can also be
overridden in the methods that could need so.
Sorry if this question