hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ROLWE...@de.ibm.com>
Subject Re: HttpClient and "server push"/"client pull"
Date Tue, 07 Feb 2006 07:04:44 GMT
Hi Jesper,

> I just came across this link: 
> http://wp.netscape.com/assist/net_sites/pushpull.html
> 
> Here it says that "client pull" is part of the META tag.

Even so, HTTP client is not an HTML interpreter.

The "server push" part of the "great ideas" relies on keeping
a connection open. No problem with HttpClient, use
getResponseBodyAsStream() and read the data as it comes in.

The "client pull" requires the client to poll for updates.
No problem with HttpClient, use getResponseHeader to check
for the presence of a header, then re-issue new requests
as instructed by that header.

cheers,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message