How to set a query string on HttpResponse

jBop it_solutions at hotmail.com
Mon Jun 14 00:09:46 EDT 2010


Hello,

Thank you for your reply.  Unfortunately I should have clarified what I was
after more.  I can see how one uses the QueryStringEncoder to encode a query
string onto a URL which is then use in a DefaultHttpRequest constructor. 
However I don't see how one can attach a query string to a
DefaultHttpResponse.  Or is a query string sent in the response via a
completely diff mechanism?

Thank you


Trustin Lee wrote:
> 
> Hello,
> 
> Query string encoder and decoder are provided as separate utility 
> classes: QueryStringEncoder and QueryStringDecoder.
> 
> HTH,
> Trustin
> 
> On 06/09/2010 01:29 PM, jBop wrote:
>>
>> Hello,
>>
>> I can see how to set the query string for an HttpRequest but I can't seem
>> to
>> find a way to set the query string for an HttpResponse.  Is it something
>> obvious that I'm missing?
>>
>> Thank you
> 
> -- 
> what we call human nature in actuality is human habit
> http://gleamynode.net/
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
> 
> 

-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/How-to-set-a-query-string-on-HttpResponse-tp5156713p5176072.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list