How to set a query string on HttpResponse

"이희승 (Trustin Lee)" trustin at gmail.com
Mon Jun 14 00:48:16 EDT 2010


I thought an HTTP response does not contain a query string.  Just in 
case I am missing something, could you paste an example HTTP response 
that contains a query string?

Thanks in advance,
Trustin

On 06/14/2010 01:09 PM, jBop wrote:
>
> 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
>>
>>
>

-- 
what we call human nature in actuality is human habit
http://gleamynode.net/


More information about the netty-users mailing list