AbstractRestReponse childs does not have addHeader available!?

Hi guys, Im doing this

BytesRestResponse bresponse = new BytesRestResponse(binary,
_mimes.get(format) );
channel.sendResponse(bresponse);

and its ok but I want to use custom headers and I have seen that
AbstractRestResponse has a method addHeader(String, String)

but none of the abstract class childs has the method already available.
Why? the method is public...

bresponse.addHeader("test", "test"); claims to not be there

Im using 0.90 and 0.19 src

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

First, it is sufficient to ask your question only once.
Second, you have been checking out the 0.90 branch. The branch is the
preparation branch for the next 0.90 release and does not map with the
current 0.90.0 release. If you need to check, whether a feature is in a
certain release, check out the relevant tag via 'git checkout v0.90.0' - if
you do this, you will see, that the feature of setting headers is not
included in that tag.

Regarding 0.19 you do not have any option except backporting the patch
yourself and building & running a custom elasticsearch version.

Hope this helps

--Alex

On Wed, May 22, 2013 at 3:37 PM, David G Ortega g.ortega.david@gmail.comwrote:

Hi guys, Im doing this

BytesRestResponse bresponse = new BytesRestResponse(binary,
_mimes.get(format) );
channel.sendResponse(bresponse);

and its ok but I want to use custom headers and I have seen that
AbstractRestResponse has a method addHeader(String, String)

but none of the abstract class childs has the method already available.
Why? the method is public...

bresponse.addHeader("test", "test"); claims to not be there

Im using 0.90 and 0.19 src

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Alex,

thanks for the reply.
I have posted twice just because google took so long to post the first one
that I thought that I accidentally discarded the post instead of submitting
it.
Im not a Github user, I mean Im in but I dont use their repo (I use
bitbucket), so I can not say why I cant see ALL the branches in github but
If I clone the project using intellij with the url thats what I have, no
more than that...

Is there any plan to update the release soon or I have to build it?

Thanks

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.