Hi Xiaowei,

yes, there's definitely a client-side implementation,
just take a look!

API docs:

   http://jigsaw.w3.org/Doc/Programmer/api/index.html

Packages:

   org.w3c.www.http
   org.w3c.www.protocol.http
   org.w3c.www.protocol.http.auth
   org.w3c.www.protocol.http.cache
   org.w3c.www.protocol.http.cookies

Simple usage example (from API doc of class
org.w3c.jigsaw.protocol.http.HttpManager):

   HttpManager     manager = HttpManager.getManager() ;
   Request request = manager.createRequest() ;
   request.setMethod(HTTP.GET) ;
   request.setURL(new URL("http://www.w3.org/pub/WWW/";));
   Reply    reply = manager.runRequest(request) ;
   // Get the reply input stream that contains the actual data:
   InputStream in = reply.getInputStream() ;

CVSweb access:

   http://dev.w3.org/cvsweb/java/classes/org/w3c/www/http/
   http://dev.w3.org/cvsweb/java/classes/org/w3c/www/protocol/http/
   http://dev.w3.org/cvsweb/java/classes/org/w3c/www/protocol/http/auth/
   http://dev.w3.org/cvsweb/java/classes/org/w3c/www/protocol/http/cache/
   http://dev.w3.org/cvsweb/java/classes/org/w3c/www/protocol/http/cookies/

"Real" CVS access (anonymous, read-only of course):

   http://www.w3.org/Jigsaw/Team.html#help

Cheers,

        - Gulli


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to