hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Glück <ortwin.glu...@nose.ch>
Subject [PATCH] Samples cleaned up
Date Mon, 16 Dec 2002 17:18:20 GMT
I tried an cleaned up the samples a bit.

- reformatted
- got rid of deprecated methods, used HostConfiguration
- fixed some bugs

I added some convenience to some classes:

- URI can be constructed from URL now
- HostConfiguration.setHost(URI) sets protocol, host, port from URI

As posted earlier in this list I agree that constructing the HttpClient 
(HostConfig) is now over-complicated. We could have the possibility to 
pass a URL/URI in one single place: either Method or Client.

Comments?

Odi


-- 
_________________________________________________________________
  NOSE applied intelligence ag
                                    [www]      http://www.nose.ch
  ortwin glück                      [email] ortwin.glueck@nose.ch
  hardturmstrasse 171               [pgp key]          0x81CF3416
  8005 zurich                       [office]      +41-1-277 57 35
  switzerland                       [fax]         +41-1-277 57 12

Mime
View raw message