olegk wrote:
> 
> On Wed, 2009-01-07 at 01:57 -0800, sveno wrote:
>> Hi,
>> 
>> I am looking for a basic example using NHttpClientConnection where It can
>> be
>> used to submit HTTP requests and asynchronously receive HTTP responses. 
>> 
>> In my app, I am extablishing a connection and freeze the connection for
>> few
>> minutes in the server-side( long polling). The response will be sent to
>> the
>> client,  if some event occurs or when the freezing time out expires.
>> Here, I
>> don't want to block the connections rather I just want to use the
>> asynchronous (non-blocking) approach just like the above class. (submit
>> HTTP
>> requests and asynchronously receive HTTP responses)
>> 
>> It would be great if you could be provide some working example using
>> NHttpClientConnection.
>> 
>> Thanks
> 
> http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java
> 
> Thanks for the reply.
> 
> But this example doesn't seems to be working for me.
> Reactor starts and then it shutdown,nothing happens in the middle.
> Is that something I'm missing here.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Submit-HTTP-requests-and-asynchronously-receive-HTTP-responses-tp21328235p21328853.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to