~ubuntu-branches/ubuntu/precise/commons-httpclient/precise-security

1.1.2 by Kumar Appaiah
Import upstream version 3.1
1
Release 3.1 Final
2
-------------------
3
4
New features:
5
-------------------
6
7
(1) HTTP state management
8
 
9
 * RFC 2965 cookie specification support
10
11
-------------------
12
Changes since 3.1 RC 1
13
14
* [HTTPCLIENT-679] - Fixed RFC3986 compliance problem in URI absolutization
15
           code.
16
           Contributed by Jeff Dalton <jeffdalton104 at hotmail dot>
17
18
* [HTTPCLIENT-676] - Fixed memory leak in MultiThreadedHttpConnectionManager.
19
           Contributed by Roland Weber <rolandw at apache.org>
20
21
* [HTTPCLIENT-675] - Fixed potential race condition in MultiThreadedHttpConnectionManager.
22
           Contributed by Roland Weber <rolandw at apache.org>
23
24
* [HTTPCLIENT-665] - Internal collections of HttpState visible to subclasses.
25
           Contributed by Roland Weber <rolandw at apache.org>
26
27
* [HTTPCLIENT-651] - Improved API Doc regarding response buffering.
28
           Contributed by Ortwin Glueck <oglueck at apache.org>
29
30
* [HTTPCLIENT-645] - Cookie#compare() changed to do a simple case-sensitive string comparison 
31
           when comparing path attributes instead of using a static instance of RuleBasedCollator
32
           Contributed by Oleg Kalnichevski <olegk at apache.org>
33
* [HTTPCLIENT-650] - Wire log for headers written one by one while parsing
34
           instead of all at once afterwards, which fails on parse errors.
35
           Contributed by Roland Weber <rolandw at apache.org>
36
37
API changes since release 3.0.1
38
-------------------
39
Class added: 
40
  public org.apache.commons.httpclient.HttpContentTooLargeException extends org.apache.commons.httpclient.HttpException
41
Class added: 
42
  public org.apache.commons.httpclient.InvalidRedirectLocationException extends org.apache.commons.httpclient.RedirectException
43
Class added: 
44
  public org.apache.commons.httpclient.cookie.Cookie2 extends org.apache.commons.httpclient.Cookie
45
Class added: 
46
  public abstract org.apache.commons.httpclient.cookie.CookieAttributeHandler extends java.lang.Object
47
Class added: 
48
  public final org.apache.commons.httpclient.cookie.CookieOrigin extends java.lang.Object
49
Class added: 
50
  public org.apache.commons.httpclient.cookie.CookiePathComparator extends java.lang.Object implements java.util.Comparator
51
Class added: 
52
  public abstract org.apache.commons.httpclient.cookie.CookieVersionSupport extends java.lang.Object
53
Class added: 
54
  public org.apache.commons.httpclient.cookie.RFC2965Spec extends org.apache.commons.httpclient.cookie.CookieSpecBase implements org.apache.commons.httpclient.cookie.CookieVersionSupport
55
Class added: 
56
  public org.apache.commons.httpclient.methods.FileRequestEntity extends java.lang.Object implements org.apache.commons.httpclient.methods.RequestEntity
57
Class changed: org.apache.commons.httpclient.ConnectMethod
58
  Methods added:
59
    public ConnectMethod(org.apache.commons.httpclient.HostConfiguration);
60
    public java.lang.String getPath();
61
    public org.apache.commons.httpclient.URI getURI() throws org.apache.commons.httpclient.URIException;
62
63
  Method changed:
64
  old:
65
    public ConnectMethod();
66
67
  new:
68
    deprecated: public ConnectMethod();
69
70
Class changed: org.apache.commons.httpclient.ContentLengthInputStream
71
  Methods added:
72
    public int available() throws java.io.IOException;
73
74
Class changed: org.apache.commons.httpclient.HttpHost
75
  Method changed:
76
  old:
77
    public java.lang.Object clone();
78
79
  new:
80
    public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
81
82
Class changed: org.apache.commons.httpclient.HttpMethodBase
83
  Methods added:
84
    public byte[] getResponseBody(int) throws java.io.IOException;
85
    public java.lang.String getResponseBodyAsString(int) throws java.io.IOException;
86
    protected void processCookieHeaders(org.apache.commons.httpclient.cookie.CookieSpec, org.apache.commons.httpclient.Header[], org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection);
87
88
  Fields added:
89
    protected org.apache.commons.httpclient.HttpVersion effectiveVersion;
90
    protected org.apache.commons.httpclient.StatusLine statusLine;
91
92
Class changed: org.apache.commons.httpclient.HttpState
93
  Fields added:
94
    protected java.util.ArrayList cookies;
95
    protected java.util.HashMap credMap;
96
    protected java.util.HashMap proxyCred;
97
98
Class changed: org.apache.commons.httpclient.ProxyHost
99
  Method changed:
100
  old:
101
    public java.lang.Object clone();
102
103
  new:
104
    public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
105
106
Class changed: org.apache.commons.httpclient.SimpleHttpConnectionManager
107
  Methods added:
108
    public SimpleHttpConnectionManager(boolean);
109
    public void shutdown();
110
111
Class changed: org.apache.commons.httpclient.URI
112
  Methods removed:
113
    protected void readObject(java.io.ObjectInputStream) throws java.lang.ClassNotFoundException, java.io.IOException;
114
    protected void writeObject(java.io.ObjectOutputStream) throws java.io.IOException;
115
116
  Method changed:
117
  old:
118
    public synchronized java.lang.Object clone();
119
120
  new:
121
    public synchronized java.lang.Object clone() throws java.lang.CloneNotSupportedException;
122
123
  Field changed:
124
  old:
125
    protected static char[] rootPath;
126
127
  new:
128
    protected final static char[] rootPath;
129
130
Class changed: org.apache.commons.httpclient.auth.AuthSchemeBase
131
  Methods removed:
132
    deprecated: public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
133
    public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, org.apache.commons.httpclient.HttpMethod) throws org.apache.commons.httpclient.auth.AuthenticationException;
134
    deprecated: public abstract java.lang.String getID();
135
    public abstract java.lang.String getParameter(java.lang.String);
136
    public abstract java.lang.String getRealm();
137
    public abstract java.lang.String getSchemeName();
138
    public abstract boolean isComplete();
139
    public abstract boolean isConnectionBased();
140
    public abstract void processChallenge(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
141
142
Class changed: org.apache.commons.httpclient.auth.RFC2617Scheme
143
  Methods removed:
144
    deprecated: public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
145
    public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, org.apache.commons.httpclient.HttpMethod) throws org.apache.commons.httpclient.auth.AuthenticationException;
146
    public abstract java.lang.String getSchemeName();
147
    public abstract boolean isComplete();
148
    public abstract boolean isConnectionBased();
149
150
Class changed: org.apache.commons.httpclient.cookie.CookiePolicy
151
  Methods added:
152
    public static java.lang.String[] getRegisteredCookieSpecs();
153
154
  Fields added:
155
    deprecated: public final static int RFC2965 = 3;
156
    public final static java.lang.String RFC_2965 = rfc2965;
157
158
Class changed: org.apache.commons.httpclient.cookie.RFC2109Spec
159
  Fields added:
160
    public final static java.lang.String SET_COOKIE_KEY = set-cookie;
161
162
Class changed: org.apache.commons.httpclient.methods.StringRequestEntity
163
  Method changed:
164
  old:
165
    public StringRequestEntity(java.lang.String);
166
167
  new:
168
    deprecated: public StringRequestEntity(java.lang.String);
169
170
Class changed: org.apache.commons.httpclient.params.HttpMethodParams
171
  Methods added:
172
    public java.lang.String getUriCharset();
173
    public void setUriCharset(java.lang.String);
174
175
  Fields added:
176
    public final static java.lang.String HTTP_URI_CHARSET = http.protocol.uri-charset;
177
178
Class changed: org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
179
  Methods added:
180
    protected void handleCloseIdleConnections(org.apache.commons.httpclient.HttpConnectionManager);
181
182
API diff generated by JarDiff http://www.osjava.org/jardiff/
183
-------------------
184
185
Release 3.1 RC 1  
186
-------------------
187
Changes since Release 3.1 Beta1:
188
189
* [HTTPCLIENT-641] - Resource Leakage when loading keystore in AuthSSLProtocolSocketFactory.
190
           Contributed by Hanson Char
191
192
* [HTTPCLIENT-634] - Default host config can override scheme of absolute URL.
193
           Contributed by John Kristian
194
195
* [HTTPCLIENT-633] - Changed MultiThreadedHttpConnectionManager's handling of thread 
196
           interrupts. IllegalThreadStateException is now thrown when waiting threads
197
           are interrupted from outside of the connection manager.
198
           Contributed by Michael Becke <mbecke at apache.org>
199
200
* [HTTPCLIENT-628] - IOException in AutoCloseInputStream.available()
201
           Contributed by Roland Weber <rolandw at apache.org>
202
203
* [HTTPCLIENT-625] - revised shutdown of MultiThreadedHttpConnectionManager
204
           Contributed by Roland Weber <rolandw at apache.org>
205
206
* [HTTPCLIENT-622] - Leak in MultiThreadedHttpConnectionManager.ConnectionPool.mapHosts
207
           Contributed by Michael Becke <mbecke at apache.org> and Ortwin Glueck <oglueck at apache.org>
208
209
* [HTTPCLIENT-612] - FileRequestEntity now always closes the input file.
210
           Contributed by Sebastian Bazley <sebb at apache.org>
211
212
* [HTTPCLIENT-616] - HttpMethodDirector.executeWithRetry method fixed to close 
213
           the underlying connection if a RuntimeException is thrown
214
           Contributed by Jason Bird
215
216
* [HTTPCLIENT-606] - Added a HTTP method level parameter for URI charset
217
           Contributed by Oleg Kalnichevski <olegk at apache.org>
218
219
* [HTTPCLIENT-610] - Added for convenience HttpMethodBase.getResponseBodyAsString(int)
220
           Contributed by Ortwin Glueck <oglueck at apache.org>
221
222
Release 3.1 Alpha 1
223
-------------------
224
Changes since Release 3.0.1:
225
226
 * [HTTPCLIENT-588] - Fixed parsing of relative URIs with internal double-slashes ('//')
227
           Contributed by Gordon Mohr <gojomo at archive.org>
228
           
229
 * [HTTPCLIENT-587] - Fixed incorrect derelativizing of relative URIs with a scheme
230
           Contributed by Gordon Mohr <gojomo at archive.org>
231
           
232
 * [HTTPCLIENT-494] - Invalid redirect location now causes a protocol exception
233
           Contributed by Oleg Kalnichevski <olegk at apache.org>
234
           
235
 * [HTTPCLIENT-582] - Allow access to registered cookie policies
236
           Contributed by Sebastian Bazley <sebb at apache.org>
237
238
 * [HTTPCLIENT-189] - Added support for Set-Cookie2 response headers
239
           Contributed by Samit Jain <jain.samit at gmail.com>
240
241
 * [HTTPCLIENT-66] - Implemented RFC 2965 cookie spec (Cookie2); Added support for port 
242
           sensitive cookies
243
           Contributed by Samit Jain <jain.samit at gmail.com>
244
245
 * [HTTPCLIENT-506] - Digest auth scheme now uses correct digest uri in HTTP CONNECT 
246
           requests
247
           Contributed by Oleg Kalnichevski <olegk at apache.org>
248
249
 * [HTTPCLIENT-570] - Failed CONNECT no longer leaves connection in an inconsistent state
250
           Contributed by Oleg Kalnichevski <olegk at apache.org>
251
252
Release 3.0.1
1.1.1 by Michael Meskes
Import upstream version 3.0.1
253
-------------------
254
Changes since Release 3.0:
1.1.2 by Kumar Appaiah
Import upstream version 3.1
255
1.1.1 by Michael Meskes
Import upstream version 3.0.1
256
 * 38636 - Calling HttpState.clearCookies() is now safe from a different thread.
257
           Contributed by Peter Dolberg <observewisdom at yahoo.com>
1.1.2 by Kumar Appaiah
Import upstream version 3.1
258
1.1.1 by Michael Meskes
Import upstream version 3.0.1
259
 * 38385 - Fixed NPE when creating URI from scheme specific part with null fragment
260
           Contributed by Michele Vivoda <vivodamichele at hotmail.com>
261
262
 * 38043 - Digest URI changed to include query parameters
263
           Contributed by Oleg Kalnichevski <olegk at apache.org>
264
265
 * 38004 - Fixed bug causing cyclic redirects when virtual host is set
266
           Contributed by Oleg Kalnichevski <olegk at apache.org>
267
268
 * 38139 - Calling deprecated MultiThreadedHttpConnectionManager.setMaxTotalConnections(int) 
269
           had no effect
270
           Contributed by Ortwin Glueck <oglueck at apache.org>
271
272
 * 37988 - Fixed bug in URI#toString() causing user name / password to 
273
           stripped from the resultant String
274
           Contributed by Oleg Kalnichevski <olegk at apache.org>
275
276
Release 3.0 
277
-------------------
1.1.2 by Kumar Appaiah
Import upstream version 3.1
278
New features:
279
-------------------
280
281
(1) Architecture
282
283
 * New preference architecture
284
285
 * Improved exception handling framework
286
287
 * Granular non-standards configuration and tracking
288
 
289
 * Improved HTTP Version configuration and tracking
290
 
291
 * Support for streaming entities
292
293
 * Support for tunneled HTTP proxies via the ProxyClient
294
295
 * Ability to abort execution of HTTP methods
296
297
(2) Connection management
298
299
 * Support for closing idle connections
300
301
 * Support for JDK1.4 connect timeout through reflection
302
303
 * Support for connection manager shutdown
304
 
305
(3) Authentication
306
307
 * Improved authentication framework
308
309
 * Plug-in mechanism for authentication modules
310
 
311
 * Interactive authentication support
312
 
313
 * Alternate authentication support
314
315
(4) Cookie management
316
317
 * Cookie specification plug-in mechanism
318
319
 * 'Ignore cookies' cookie policy
320
321
 * Improved Netscape cookie support
322
323
(5) Redirects
324
325
 * Cross-site redirect support
326
327
-------------------
328
API changes since 2.0
329
330
Class removed: 
331
  deprecated: public org.apache.commons.httpclient.Authenticator extends java.lang.Object
332
Class removed: 
333
  public org.apache.commons.httpclient.HttpConnection.ConnectionTimeoutException extends java.io.IOException
334
Class removed: 
335
  deprecated: public abstract org.apache.commons.httpclient.HttpUrlMethod extends java.lang.Object implements org.apache.commons.httpclient.HttpMethod
336
Class removed: 
337
  deprecated: public final org.apache.commons.httpclient.NTLM extends java.lang.Object
338
Class removed: 
339
  deprecated: public org.apache.commons.httpclient.RequestOutputStream extends java.io.OutputStream
340
Class removed: 
341
  deprecated: public org.apache.commons.httpclient.ResponseInputStream extends java.io.InputStream
342
Class removed: 
343
  deprecated: public org.apache.commons.httpclient.methods.UrlDeleteMethod extends org.apache.commons.httpclient.methods.DeleteMethod implements org.apache.commons.httpclient.HttpUrlMethod
344
Class removed: 
345
  deprecated: public org.apache.commons.httpclient.methods.UrlGetMethod extends org.apache.commons.httpclient.methods.GetMethod implements org.apache.commons.httpclient.HttpUrlMethod
346
Class removed: 
347
  deprecated: public org.apache.commons.httpclient.methods.UrlHeadMethod extends org.apache.commons.httpclient.methods.HeadMethod implements org.apache.commons.httpclient.HttpUrlMethod
348
Class removed: 
349
  deprecated: public org.apache.commons.httpclient.methods.UrlOptionsMethod extends org.apache.commons.httpclient.methods.OptionsMethod implements org.apache.commons.httpclient.HttpUrlMethod
350
Class removed: 
351
  deprecated: public org.apache.commons.httpclient.methods.UrlPostMethod extends org.apache.commons.httpclient.methods.PostMethod implements org.apache.commons.httpclient.HttpUrlMethod
352
Class removed: 
353
  deprecated: public org.apache.commons.httpclient.methods.UrlPutMethod extends org.apache.commons.httpclient.methods.PutMethod implements org.apache.commons.httpclient.HttpUrlMethod
354
Class removed: 
355
  deprecated: public final org.apache.commons.httpclient.util.Base64 extends java.lang.Object
356
Class added: 
357
  public org.apache.commons.httpclient.CircularRedirectException extends org.apache.commons.httpclient.RedirectException
358
Class added: 
359
  public org.apache.commons.httpclient.ConnectTimeoutException extends java.io.InterruptedIOException
360
Class added: 
361
  public org.apache.commons.httpclient.ConnectionPoolTimeoutException extends org.apache.commons.httpclient.ConnectTimeoutException
362
Class added: 
363
  public org.apache.commons.httpclient.DefaultHttpMethodRetryHandler extends java.lang.Object implements org.apache.commons.httpclient.HttpMethodRetryHandler
364
Class added: 
365
  public org.apache.commons.httpclient.HttpClientError extends java.lang.Error
366
Class added: 
367
  public org.apache.commons.httpclient.HttpHost extends java.lang.Object implements java.lang.Cloneable
368
Class added: 
369
  public abstract org.apache.commons.httpclient.HttpMethodRetryHandler extends java.lang.Object
370
Class added: 
371
  public org.apache.commons.httpclient.HttpVersion extends java.lang.Object implements java.lang.Comparable
372
Class added: 
373
  public org.apache.commons.httpclient.NoHttpResponseException extends java.io.IOException
374
Class added: 
375
  public org.apache.commons.httpclient.ProtocolException extends org.apache.commons.httpclient.HttpException
376
Class added: 
377
  public org.apache.commons.httpclient.ProxyClient extends java.lang.Object
378
Class added: 
379
  public org.apache.commons.httpclient.ProxyClient.ConnectResponse extends java.lang.Object
380
Class added: 
381
  public org.apache.commons.httpclient.ProxyHost extends org.apache.commons.httpclient.HttpHost
382
Class added: 
383
  public org.apache.commons.httpclient.RedirectException extends org.apache.commons.httpclient.ProtocolException
384
Class added: 
385
  public org.apache.commons.httpclient.auth.AuthChallengeException extends org.apache.commons.httpclient.auth.AuthenticationException
386
Class added: 
387
  public final org.apache.commons.httpclient.auth.AuthChallengeProcessor extends java.lang.Object
388
Class added: 
389
  public abstract org.apache.commons.httpclient.auth.AuthPolicy extends java.lang.Object
390
Class added: 
391
  public org.apache.commons.httpclient.auth.AuthScope extends java.lang.Object
392
Class added: 
393
  public org.apache.commons.httpclient.auth.AuthState extends java.lang.Object
394
Class added: 
395
  public org.apache.commons.httpclient.auth.CredentialsNotAvailableException extends org.apache.commons.httpclient.auth.AuthenticationException
396
Class added: 
397
  public abstract org.apache.commons.httpclient.auth.CredentialsProvider extends java.lang.Object
398
Class added: 
399
  public org.apache.commons.httpclient.auth.InvalidCredentialsException extends org.apache.commons.httpclient.auth.AuthenticationException
400
Class added: 
401
  public org.apache.commons.httpclient.cookie.IgnoreCookiesSpec extends java.lang.Object implements org.apache.commons.httpclient.cookie.CookieSpec
402
Class added: 
403
  public org.apache.commons.httpclient.methods.ByteArrayRequestEntity extends java.lang.Object implements org.apache.commons.httpclient.methods.RequestEntity
404
Class added: 
405
  public org.apache.commons.httpclient.methods.InputStreamRequestEntity extends java.lang.Object implements org.apache.commons.httpclient.methods.RequestEntity
406
Class added: 
407
  public abstract org.apache.commons.httpclient.methods.RequestEntity extends java.lang.Object
408
Class added: 
409
  public org.apache.commons.httpclient.methods.StringRequestEntity extends java.lang.Object implements org.apache.commons.httpclient.methods.RequestEntity
410
Class added: 
411
  public org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity extends java.lang.Object implements org.apache.commons.httpclient.methods.RequestEntity
412
Class added: 
413
  public org.apache.commons.httpclient.params.DefaultHttpParams extends java.lang.Object implements org.apache.commons.httpclient.params.HttpParams, java.io.Serializable, java.lang.Cloneable
414
Class added: 
415
  public org.apache.commons.httpclient.params.DefaultHttpParamsFactory extends java.lang.Object implements org.apache.commons.httpclient.params.HttpParamsFactory
416
Class added: 
417
  public org.apache.commons.httpclient.params.HostParams extends org.apache.commons.httpclient.params.DefaultHttpParams
418
Class added: 
419
  public org.apache.commons.httpclient.params.HttpClientParams extends org.apache.commons.httpclient.params.HttpMethodParams
420
Class added: 
421
  public org.apache.commons.httpclient.params.HttpConnectionManagerParams extends org.apache.commons.httpclient.params.HttpConnectionParams
422
Class added: 
423
  public org.apache.commons.httpclient.params.HttpConnectionParams extends org.apache.commons.httpclient.params.DefaultHttpParams
424
Class added: 
425
  public org.apache.commons.httpclient.params.HttpMethodParams extends org.apache.commons.httpclient.params.DefaultHttpParams
426
Class added: 
427
  public abstract org.apache.commons.httpclient.params.HttpParams extends java.lang.Object
428
Class added: 
429
  public abstract org.apache.commons.httpclient.params.HttpParamsFactory extends java.lang.Object
430
Class added: 
431
  public final org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory extends java.lang.Object
432
Class added: 
433
  public abstract org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask extends java.lang.Object implements java.lang.Runnable
434
Class added: 
435
  public final org.apache.commons.httpclient.protocol.ReflectionSocketFactory extends java.lang.Object
436
Class added: 
437
  public org.apache.commons.httpclient.util.DateUtil extends java.lang.Object
438
Class added: 
439
  public org.apache.commons.httpclient.util.ExceptionUtil extends java.lang.Object
440
Class added: 
441
  public org.apache.commons.httpclient.util.IdleConnectionHandler extends java.lang.Object
442
Class added: 
443
  public org.apache.commons.httpclient.util.IdleConnectionTimeoutThread extends java.lang.Thread
444
Class added: 
445
  public org.apache.commons.httpclient.util.LangUtils extends java.lang.Object
446
Class added: 
447
  public org.apache.commons.httpclient.util.ParameterFormatter extends java.lang.Object
448
Class added: 
449
  public org.apache.commons.httpclient.util.ParameterParser extends java.lang.Object
450
Class changed: org.apache.commons.httpclient.ChunkedInputStream
451
  Methods added:
452
    public ChunkedInputStream(java.io.InputStream) throws java.io.IOException;
453
454
Class changed: org.apache.commons.httpclient.ChunkedOutputStream
455
  Methods removed:
456
    public void print(java.lang.String) throws java.io.IOException;
457
    public void println() throws java.io.IOException;
458
    public void println(java.lang.String) throws java.io.IOException;
459
460
  Methods added:
461
    public ChunkedOutputStream(java.io.OutputStream, int) throws java.io.IOException;
462
    public void finish() throws java.io.IOException;
463
    protected void flushCache() throws java.io.IOException;
464
    protected void flushCacheWithAppend(byte[], int, int) throws java.io.IOException;
465
    public void write(byte[]) throws java.io.IOException;
466
467
  Method changed:
468
  old:
469
    public ChunkedOutputStream(java.io.OutputStream);
470
471
  new:
472
    public ChunkedOutputStream(java.io.OutputStream) throws java.io.IOException;
473
474
  Method changed:
475
  old:
476
    public void write(int) throws java.io.IOException, java.lang.IllegalStateException;
477
478
  new:
479
    public void write(int) throws java.io.IOException;
480
481
  Method changed:
482
  old:
483
    public void writeClosingChunk() throws java.io.IOException;
484
485
  new:
486
    protected void writeClosingChunk() throws java.io.IOException;
487
488
Class changed: org.apache.commons.httpclient.ConnectMethod
489
  Methods removed:
490
    protected void addAuthorizationRequestHeader(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
491
    protected void addContentLengthRequestHeader(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
492
493
  Methods added:
494
    public ConnectMethod();
495
496
  Method changed:
497
  old:
498
    public ConnectMethod(org.apache.commons.httpclient.HttpMethod);
499
500
  new:
501
    deprecated: public ConnectMethod(org.apache.commons.httpclient.HttpMethod);
502
503
Class changed: org.apache.commons.httpclient.ContentLengthInputStream
504
  Methods added:
505
    public ContentLengthInputStream(java.io.InputStream, long);
506
507
  Method changed:
508
  old:
509
    public ContentLengthInputStream(java.io.InputStream, int);
510
511
  new:
512
    deprecated: public ContentLengthInputStream(java.io.InputStream, int);
513
514
Class changed: org.apache.commons.httpclient.Cookie
515
  Methods removed:
516
    deprecated: public static org.apache.commons.httpclient.Header createCookieHeader(java.lang.String, int, java.lang.String, boolean, java.util.Date, org.apache.commons.httpclient.Cookie[]) throws java.lang.IllegalArgumentException;
517
    deprecated: public static org.apache.commons.httpclient.Header createCookieHeader(java.lang.String, int, java.lang.String, boolean, org.apache.commons.httpclient.Cookie[]) throws java.lang.IllegalArgumentException;
518
    deprecated: public static org.apache.commons.httpclient.Header createCookieHeader(java.lang.String, java.lang.String, boolean, org.apache.commons.httpclient.Cookie[]) throws java.lang.IllegalArgumentException;
519
    deprecated: public static org.apache.commons.httpclient.Header createCookieHeader(java.lang.String, java.lang.String, org.apache.commons.httpclient.Cookie[]);
520
    deprecated: public boolean matches(java.lang.String, int, java.lang.String, boolean);
521
    deprecated: public boolean matches(java.lang.String, int, java.lang.String, boolean, java.util.Date);
522
    deprecated: public static org.apache.commons.httpclient.Cookie[] parse(java.lang.String, int, java.lang.String, org.apache.commons.httpclient.Header) throws org.apache.commons.httpclient.HttpException, java.lang.IllegalArgumentException;
523
    deprecated: public static org.apache.commons.httpclient.Cookie[] parse(java.lang.String, int, java.lang.String, boolean, org.apache.commons.httpclient.Header) throws org.apache.commons.httpclient.HttpException;
524
    deprecated: public static org.apache.commons.httpclient.Cookie[] parse(java.lang.String, java.lang.String, org.apache.commons.httpclient.Header) throws org.apache.commons.httpclient.HttpException, java.lang.IllegalArgumentException;
525
    deprecated: public static org.apache.commons.httpclient.Cookie[] parse(java.lang.String, java.lang.String, boolean, org.apache.commons.httpclient.Header) throws org.apache.commons.httpclient.HttpException, java.lang.IllegalArgumentException;
526
527
Class changed: org.apache.commons.httpclient.DefaultMethodRetryHandler
528
  Class descriptor changed:
529
  old:
530
    public org.apache.commons.httpclient.DefaultMethodRetryHandler extends java.lang.Object implements org.apache.commons.httpclient.MethodRetryHandler
531
  new:
532
    deprecated: public org.apache.commons.httpclient.DefaultMethodRetryHandler extends java.lang.Object implements org.apache.commons.httpclient.MethodRetryHandler
533
Class changed: org.apache.commons.httpclient.Header
534
  Methods added:
535
    public Header(java.lang.String, java.lang.String, boolean);
536
    public org.apache.commons.httpclient.HeaderElement[] getElements();
537
    public boolean isAutogenerated();
538
539
  Method changed:
540
  old:
541
    public org.apache.commons.httpclient.HeaderElement[] getValues() throws org.apache.commons.httpclient.HttpException;
542
543
  new:
544
    deprecated: public org.apache.commons.httpclient.HeaderElement[] getValues() throws org.apache.commons.httpclient.HttpException;
545
546
Class changed: org.apache.commons.httpclient.HeaderElement
547
  Methods removed:
548
    protected void setParameters(org.apache.commons.httpclient.NameValuePair[]);
549
550
  Methods added:
551
    public HeaderElement(char[]);
552
    public HeaderElement(char[], int, int);
553
    public final static org.apache.commons.httpclient.HeaderElement[] parseElements(java.lang.String);
554
    public final static org.apache.commons.httpclient.HeaderElement[] parseElements(char[]);
555
556
  Method changed:
557
  old:
558
    public final static org.apache.commons.httpclient.HeaderElement[] parse(java.lang.String) throws org.apache.commons.httpclient.HttpException;
559
560
  new:
561
    deprecated: public final static org.apache.commons.httpclient.HeaderElement[] parse(java.lang.String) throws org.apache.commons.httpclient.HttpException;
562
563
Class changed: org.apache.commons.httpclient.HeaderGroup
564
  Methods added:
565
    public java.util.Iterator getIterator();
566
567
Class changed: org.apache.commons.httpclient.HostConfiguration
568
  Methods added:
569
    public org.apache.commons.httpclient.params.HostParams getParams();
570
    public synchronized void setHost(org.apache.commons.httpclient.HttpHost);
571
    public void setParams(org.apache.commons.httpclient.params.HostParams);
572
    public synchronized void setProxyHost(org.apache.commons.httpclient.ProxyHost);
573
574
  Fields added:
575
    public final static org.apache.commons.httpclient.HostConfiguration ANY_HOST_CONFIGURATION;
576
577
  Method changed:
578
  old:
579
    public synchronized java.lang.String getVirtualHost();
580
581
  new:
582
    deprecated: public synchronized java.lang.String getVirtualHost();
583
584
  Method changed:
585
  old:
586
    public int hashCode();
587
588
  new:
589
    public synchronized int hashCode();
590
591
  Method changed:
592
  old:
593
    public synchronized boolean isHostSet();
594
595
  new:
596
    deprecated: public synchronized boolean isHostSet();
597
598
  Method changed:
599
  old:
600
    public synchronized boolean isProxySet();
601
602
  new:
603
    deprecated: public synchronized boolean isProxySet();
604
605
  Method changed:
606
  old:
607
    public synchronized void setHost(java.lang.String, java.lang.String, int, org.apache.commons.httpclient.protocol.Protocol);
608
609
  new:
610
    deprecated: public synchronized void setHost(java.lang.String, java.lang.String, int, org.apache.commons.httpclient.protocol.Protocol);
611
612
Class changed: org.apache.commons.httpclient.HttpClient
613
  Methods removed:
614
    deprecated: public void endSession() throws java.io.IOException;
615
    deprecated: public void startSession(java.lang.String, int);
616
    deprecated: public void startSession(java.lang.String, int, java.lang.String, int);
617
    deprecated: public void startSession(java.lang.String, int, java.lang.String, int, boolean);
618
    deprecated: public void startSession(java.lang.String, int, org.apache.commons.httpclient.Credentials);
619
    deprecated: public void startSession(java.lang.String, int, org.apache.commons.httpclient.Credentials, boolean);
620
    deprecated: public void startSession(java.lang.String, int, boolean);
621
    deprecated: public void startSession(java.net.URL) throws java.lang.IllegalArgumentException;
622
    deprecated: public void startSession(java.net.URL, org.apache.commons.httpclient.Credentials) throws java.lang.IllegalArgumentException;
623
    deprecated: public void startSession(org.apache.commons.httpclient.URI) throws org.apache.commons.httpclient.URIException, java.lang.IllegalStateException;
624
625
  Methods added:
626
    public HttpClient(org.apache.commons.httpclient.params.HttpClientParams);
627
    public HttpClient(org.apache.commons.httpclient.params.HttpClientParams, org.apache.commons.httpclient.HttpConnectionManager);
628
    public org.apache.commons.httpclient.params.HttpClientParams getParams();
629
    public void setParams(org.apache.commons.httpclient.params.HttpClientParams);
630
631
  Method changed:
632
  old:
633
    public synchronized boolean isStrictMode();
634
635
  new:
636
    deprecated: public synchronized boolean isStrictMode();
637
638
  Method changed:
639
  old:
640
    public synchronized void setConnectionTimeout(int);
641
642
  new:
643
    deprecated: public synchronized void setConnectionTimeout(int);
644
645
  Method changed:
646
  old:
647
    public synchronized void setHttpConnectionFactoryTimeout(long);
648
649
  new:
650
    deprecated: public synchronized void setHttpConnectionFactoryTimeout(long);
651
652
  Method changed:
653
  old:
654
    public synchronized void setStrictMode(boolean);
655
656
  new:
657
    deprecated: public synchronized void setStrictMode(boolean);
658
659
  Method changed:
660
  old:
661
    public synchronized void setTimeout(int);
662
663
  new:
664
    deprecated: public synchronized void setTimeout(int);
665
666
Class changed: org.apache.commons.httpclient.HttpConnection
667
  Methods removed:
668
    deprecated: public HttpConnection(java.lang.String, int, java.lang.String, int, boolean);
669
    deprecated: public HttpConnection(java.lang.String, int, boolean);
670
    deprecated: public java.io.OutputStream getRequestOutputStream(boolean) throws java.io.IOException, java.lang.IllegalStateException;
671
    deprecated: public java.io.InputStream getResponseInputStream(org.apache.commons.httpclient.HttpMethod) throws java.io.IOException, java.lang.IllegalStateException;
672
    deprecated: public void setSecure(boolean) throws java.lang.IllegalStateException;
673
674
  Methods added:
675
    public HttpConnection(java.lang.String, int, java.lang.String, int, org.apache.commons.httpclient.protocol.Protocol);
676
    public boolean closeIfStale() throws java.io.IOException;
677
    public org.apache.commons.httpclient.params.HttpConnectionParams getParams();
678
    protected java.net.Socket getSocket();
679
    protected boolean isLocked();
680
    public void print(java.lang.String, java.lang.String) throws java.io.IOException, java.lang.IllegalStateException;
681
    public void printLine(java.lang.String, java.lang.String) throws java.io.IOException, java.lang.IllegalStateException;
682
    public java.lang.String readLine(java.lang.String) throws java.io.IOException, java.lang.IllegalStateException;
683
    protected void setLocked(boolean);
684
    public void setParams(org.apache.commons.httpclient.params.HttpConnectionParams);
685
    public void setSocketTimeout(int) throws java.net.SocketException, java.lang.IllegalStateException;
686
687
  Method changed:
688
  old:
689
    public HttpConnection(java.lang.String, int, java.lang.String, java.lang.String, int, org.apache.commons.httpclient.protocol.Protocol);
690
691
  new:
692
    deprecated: public HttpConnection(java.lang.String, int, java.lang.String, java.lang.String, int, org.apache.commons.httpclient.protocol.Protocol);
693
694
  Method changed:
695
  old:
696
    public int getSoTimeout() throws java.net.SocketException;
697
698
  new:
699
    deprecated: public int getSoTimeout() throws java.net.SocketException;
700
701
  Method changed:
702
  old:
703
    public java.lang.String getVirtualHost();
704
705
  new:
706
    deprecated: public java.lang.String getVirtualHost();
707
708
  Method changed:
709
  old:
710
    protected boolean isStale();
711
712
  new:
713
    protected boolean isStale() throws java.io.IOException;
714
715
  Method changed:
716
  old:
717
    public boolean isStaleCheckingEnabled();
718
719
  new:
720
    deprecated: public boolean isStaleCheckingEnabled();
721
722
  Method changed:
723
  old:
724
    public void print(java.lang.String) throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
725
726
  new:
727
    deprecated: public void print(java.lang.String) throws java.io.IOException, java.lang.IllegalStateException;
728
729
  Method changed:
730
  old:
731
    public void printLine() throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
732
733
  new:
734
    public void printLine() throws java.io.IOException, java.lang.IllegalStateException;
735
736
  Method changed:
737
  old:
738
    public void printLine(java.lang.String) throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
739
740
  new:
741
    deprecated: public void printLine(java.lang.String) throws java.io.IOException, java.lang.IllegalStateException;
742
743
  Method changed:
744
  old:
745
    public java.lang.String readLine() throws java.io.IOException, java.lang.IllegalStateException;
746
747
  new:
748
    deprecated: public java.lang.String readLine() throws java.io.IOException, java.lang.IllegalStateException;
749
750
  Method changed:
751
  old:
752
    public void setConnectionTimeout(int);
753
754
  new:
755
    deprecated: public void setConnectionTimeout(int);
756
757
  Method changed:
758
  old:
759
    public void setSendBufferSize(int) throws java.net.SocketException;
760
761
  new:
762
    deprecated: public void setSendBufferSize(int) throws java.net.SocketException;
763
764
  Method changed:
765
  old:
766
    public void setSoTimeout(int) throws java.net.SocketException, java.lang.IllegalStateException;
767
768
  new:
769
    deprecated: public void setSoTimeout(int) throws java.net.SocketException, java.lang.IllegalStateException;
770
771
  Method changed:
772
  old:
773
    public void setStaleCheckingEnabled(boolean);
774
775
  new:
776
    deprecated: public void setStaleCheckingEnabled(boolean);
777
778
  Method changed:
779
  old:
780
    public void setVirtualHost(java.lang.String) throws java.lang.IllegalStateException;
781
782
  new:
783
    deprecated: public void setVirtualHost(java.lang.String) throws java.lang.IllegalStateException;
784
785
  Method changed:
786
  old:
787
    public void shutdownOutput();
788
789
  new:
790
    deprecated: public void shutdownOutput();
791
792
  Method changed:
793
  old:
794
    public void write(byte[]) throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
795
796
  new:
797
    public void write(byte[]) throws java.io.IOException, java.lang.IllegalStateException;
798
799
  Method changed:
800
  old:
801
    public void write(byte[], int, int) throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
802
803
  new:
804
    public void write(byte[], int, int) throws java.io.IOException, java.lang.IllegalStateException;
805
806
  Method changed:
807
  old:
808
    public void writeLine() throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
809
810
  new:
811
    public void writeLine() throws java.io.IOException, java.lang.IllegalStateException;
812
813
  Method changed:
814
  old:
815
    public void writeLine(byte[]) throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
816
817
  new:
818
    public void writeLine(byte[]) throws java.io.IOException, java.lang.IllegalStateException;
819
820
Class changed: org.apache.commons.httpclient.HttpConnectionManager
821
  Methods added:
822
    public abstract void closeIdleConnections(long);
823
    public abstract org.apache.commons.httpclient.HttpConnection getConnectionWithTimeout(org.apache.commons.httpclient.HostConfiguration, long) throws org.apache.commons.httpclient.ConnectionPoolTimeoutException;
824
    public abstract org.apache.commons.httpclient.params.HttpConnectionManagerParams getParams();
825
    public abstract void setParams(org.apache.commons.httpclient.params.HttpConnectionManagerParams);
826
827
  Method changed:
828
  old:
829
    public abstract org.apache.commons.httpclient.HttpConnection getConnection(org.apache.commons.httpclient.HostConfiguration, long) throws org.apache.commons.httpclient.HttpException;
830
831
  new:
832
    deprecated: public abstract org.apache.commons.httpclient.HttpConnection getConnection(org.apache.commons.httpclient.HostConfiguration, long) throws org.apache.commons.httpclient.HttpException;
833
834
Class changed: org.apache.commons.httpclient.HttpConstants
835
  Class descriptor changed:
836
  old:
837
    public org.apache.commons.httpclient.HttpConstants extends java.lang.Object
838
  new:
839
    deprecated: public org.apache.commons.httpclient.HttpConstants extends java.lang.Object
840
Class changed: org.apache.commons.httpclient.HttpException
841
  Methods added:
842
    public HttpException(java.lang.String, java.lang.Throwable);
843
    public java.lang.Throwable getCause();
844
    deprecated: public java.lang.String getReason();
845
    deprecated: public int getReasonCode();
846
    public void printStackTrace();
847
    public void printStackTrace(java.io.PrintStream);
848
    public void printStackTrace(java.io.PrintWriter);
849
    deprecated: public void setReason(java.lang.String);
850
    deprecated: public void setReasonCode(int);
851
852
  Class descriptor changed:
853
  old:
854
    public org.apache.commons.httpclient.HttpException extends org.apache.commons.httpclient.URIException
855
  new:
856
    public org.apache.commons.httpclient.HttpException extends java.io.IOException
857
Class changed: org.apache.commons.httpclient.HttpMethod
858
  Methods added:
859
    public abstract void abort();
860
    public abstract org.apache.commons.httpclient.auth.AuthState getHostAuthState();
861
    public abstract org.apache.commons.httpclient.params.HttpMethodParams getParams();
862
    public abstract org.apache.commons.httpclient.auth.AuthState getProxyAuthState();
863
    public abstract org.apache.commons.httpclient.Header[] getRequestHeaders(java.lang.String);
864
    public abstract org.apache.commons.httpclient.Header[] getResponseHeaders(java.lang.String);
865
    public abstract boolean isRequestSent();
866
    public abstract void removeRequestHeader(org.apache.commons.httpclient.Header);
867
    public abstract void setParams(org.apache.commons.httpclient.params.HttpMethodParams);
868
    public abstract void setURI(org.apache.commons.httpclient.URI) throws org.apache.commons.httpclient.URIException;
869
870
  Method changed:
871
  old:
872
    public abstract org.apache.commons.httpclient.HostConfiguration getHostConfiguration();
873
874
  new:
875
    deprecated: public abstract org.apache.commons.httpclient.HostConfiguration getHostConfiguration();
876
877
  Method changed:
878
  old:
879
    public abstract byte[] getResponseBody();
880
881
  new:
882
    public abstract byte[] getResponseBody() throws java.io.IOException;
883
884
  Method changed:
885
  old:
886
    public abstract java.lang.String getResponseBodyAsString();
887
888
  new:
889
    public abstract java.lang.String getResponseBodyAsString() throws java.io.IOException;
890
891
  Method changed:
892
  old:
893
    public abstract boolean isStrictMode();
894
895
  new:
896
    deprecated: public abstract boolean isStrictMode();
897
898
  Method changed:
899
  old:
900
    public abstract void setStrictMode(boolean);
901
902
  new:
903
    deprecated: public abstract void setStrictMode(boolean);
904
905
Class changed: org.apache.commons.httpclient.HttpMethodBase
906
  Methods removed:
907
    protected void addAuthorizationRequestHeader(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
908
    protected void addContentLengthRequestHeader(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
909
    protected void addProxyAuthorizationRequestHeader(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
910
    protected void fakeResponse(org.apache.commons.httpclient.StatusLine, org.apache.commons.httpclient.HeaderGroup, java.io.InputStream);
911
    protected int getRequestContentLength();
912
    protected int getResponseContentLength();
913
914
  Methods added:
915
    public void abort();
916
    public org.apache.commons.httpclient.HttpVersion getEffectiveVersion();
917
    public org.apache.commons.httpclient.auth.AuthState getHostAuthState();
918
    public org.apache.commons.httpclient.params.HttpMethodParams getParams();
919
    public org.apache.commons.httpclient.auth.AuthState getProxyAuthState();
920
    public org.apache.commons.httpclient.Header[] getRequestHeaders(java.lang.String);
921
    public long getResponseContentLength();
922
    public org.apache.commons.httpclient.Header[] getResponseHeaders(java.lang.String);
923
    public boolean isAborted();
924
    public boolean isRequestSent();
925
    public void removeRequestHeader(org.apache.commons.httpclient.Header);
926
    public void setParams(org.apache.commons.httpclient.params.HttpMethodParams);
927
    public void setURI(org.apache.commons.httpclient.URI) throws org.apache.commons.httpclient.URIException;
928
929
  Fields removed:
930
    protected final static org.apache.commons.httpclient.Header USER_AGENT;
931
932
  Method changed:
933
  old:
934
    public int execute(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws org.apache.commons.httpclient.HttpException, org.apache.commons.httpclient.HttpRecoverableException, java.io.IOException;
935
936
  new:
937
    public int execute(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws org.apache.commons.httpclient.HttpException, java.io.IOException;
938
939
  Method changed:
940
  old:
941
    public java.lang.String getAuthenticationRealm();
942
943
  new:
944
    deprecated: public java.lang.String getAuthenticationRealm();
945
946
  Method changed:
947
  old:
948
    protected static java.lang.String getContentCharSet(org.apache.commons.httpclient.Header);
949
950
  new:
951
    protected java.lang.String getContentCharSet(org.apache.commons.httpclient.Header);
952
953
  Method changed:
954
  old:
955
    public org.apache.commons.httpclient.HostConfiguration getHostConfiguration();
956
957
  new:
958
    deprecated: public org.apache.commons.httpclient.HostConfiguration getHostConfiguration();
959
960
  Method changed:
961
  old:
962
    public org.apache.commons.httpclient.MethodRetryHandler getMethodRetryHandler();
963
964
  new:
965
    deprecated: public org.apache.commons.httpclient.MethodRetryHandler getMethodRetryHandler();
966
967
  Method changed:
968
  old:
969
    public java.lang.String getProxyAuthenticationRealm();
970
971
  new:
972
    deprecated: public java.lang.String getProxyAuthenticationRealm();
973
974
  Method changed:
975
  old:
976
    public int getRecoverableExceptionCount();
977
978
  new:
979
    deprecated: public int getRecoverableExceptionCount();
980
981
  Method changed:
982
  old:
983
    public byte[] getResponseBody();
984
985
  new:
986
    public byte[] getResponseBody() throws java.io.IOException;
987
988
  Method changed:
989
  old:
990
    public java.lang.String getResponseBodyAsString();
991
992
  new:
993
    public java.lang.String getResponseBodyAsString() throws java.io.IOException;
994
995
  Method changed:
996
  old:
997
    public boolean isHttp11();
998
999
  new:
1000
    deprecated: public boolean isHttp11();
1001
1002
  Method changed:
1003
  old:
1004
    public boolean isStrictMode();
1005
1006
  new:
1007
    deprecated: public boolean isStrictMode();
1008
1009
  Method changed:
1010
  old:
1011
    protected void readResponse(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws org.apache.commons.httpclient.HttpException;
1012
1013
  new:
1014
    protected void readResponse(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
1015
1016
  Method changed:
1017
  old:
1018
    protected void readStatusLine(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpRecoverableException, org.apache.commons.httpclient.HttpException;
1019
1020
  new:
1021
    protected void readStatusLine(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
1022
1023
  Method changed:
1024
  old:
1025
    public void setHostConfiguration(org.apache.commons.httpclient.HostConfiguration);
1026
1027
  new:
1028
    deprecated: public void setHostConfiguration(org.apache.commons.httpclient.HostConfiguration);
1029
1030
  Method changed:
1031
  old:
1032
    public void setHttp11(boolean);
1033
1034
  new:
1035
    deprecated: public void setHttp11(boolean);
1036
1037
  Method changed:
1038
  old:
1039
    public void setMethodRetryHandler(org.apache.commons.httpclient.MethodRetryHandler);
1040
1041
  new:
1042
    deprecated: public void setMethodRetryHandler(org.apache.commons.httpclient.MethodRetryHandler);
1043
1044
  Method changed:
1045
  old:
1046
    public void setStrictMode(boolean);
1047
1048
  new:
1049
    deprecated: public void setStrictMode(boolean);
1050
1051
Class changed: org.apache.commons.httpclient.HttpParser
1052
  Methods added:
1053
    public static org.apache.commons.httpclient.Header[] parseHeaders(java.io.InputStream, java.lang.String) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
1054
    public static java.lang.String readLine(java.io.InputStream, java.lang.String) throws java.io.IOException;
1055
1056
  Method changed:
1057
  old:
1058
    public static org.apache.commons.httpclient.Header[] parseHeaders(java.io.InputStream) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
1059
1060
  new:
1061
    deprecated: public static org.apache.commons.httpclient.Header[] parseHeaders(java.io.InputStream) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
1062
1063
  Method changed:
1064
  old:
1065
    public static java.lang.String readLine(java.io.InputStream) throws java.io.IOException;
1066
1067
  new:
1068
    deprecated: public static java.lang.String readLine(java.io.InputStream) throws java.io.IOException;
1069
1070
Class changed: org.apache.commons.httpclient.HttpRecoverableException
1071
  Class descriptor changed:
1072
  old:
1073
    public org.apache.commons.httpclient.HttpRecoverableException extends org.apache.commons.httpclient.HttpException
1074
  new:
1075
    deprecated: public org.apache.commons.httpclient.HttpRecoverableException extends org.apache.commons.httpclient.HttpException
1076
Class changed: org.apache.commons.httpclient.HttpState
1077
  Methods removed:
1078
    deprecated: public synchronized org.apache.commons.httpclient.Cookie[] getCookies(java.lang.String, int, java.lang.String, boolean, java.util.Date);
1079
    deprecated: public synchronized org.apache.commons.httpclient.Credentials getCredentials(java.lang.String);
1080
    deprecated: public synchronized org.apache.commons.httpclient.HttpConnectionManager getHttpConnectionManager();
1081
    deprecated: public synchronized org.apache.commons.httpclient.Credentials getProxyCredentials(java.lang.String);
1082
    deprecated: public synchronized void setCredentials(java.lang.String, org.apache.commons.httpclient.Credentials);
1083
    deprecated: public synchronized void setHttpConnectionManager(org.apache.commons.httpclient.HttpConnectionManager);
1084
    deprecated: public synchronized void setProxyCredentials(java.lang.String, org.apache.commons.httpclient.Credentials);
1085
1086
  Methods added:
1087
    public void clear();
1088
    public void clearCookies();
1089
    public void clearCredentials();
1090
    public void clearProxyCredentials();
1091
    public synchronized org.apache.commons.httpclient.Credentials getCredentials(org.apache.commons.httpclient.auth.AuthScope);
1092
    public synchronized org.apache.commons.httpclient.Credentials getProxyCredentials(org.apache.commons.httpclient.auth.AuthScope);
1093
    public synchronized void setCredentials(org.apache.commons.httpclient.auth.AuthScope, org.apache.commons.httpclient.Credentials);
1094
    public synchronized void setProxyCredentials(org.apache.commons.httpclient.auth.AuthScope, org.apache.commons.httpclient.Credentials);
1095
1096
  Fields removed:
1097
    public final static org.apache.commons.httpclient.auth.HttpAuthRealm DEFAULT_AUTH_REALM;
1098
1099
  Method changed:
1100
  old:
1101
    public int getCookiePolicy();
1102
1103
  new:
1104
    deprecated: public int getCookiePolicy();
1105
1106
  Method changed:
1107
  old:
1108
    public synchronized org.apache.commons.httpclient.Credentials getCredentials(java.lang.String, java.lang.String);
1109
1110
  new:
1111
    deprecated: public synchronized org.apache.commons.httpclient.Credentials getCredentials(java.lang.String, java.lang.String);
1112
1113
  Method changed:
1114
  old:
1115
    public synchronized org.apache.commons.httpclient.Credentials getProxyCredentials(java.lang.String, java.lang.String);
1116
1117
  new:
1118
    deprecated: public synchronized org.apache.commons.httpclient.Credentials getProxyCredentials(java.lang.String, java.lang.String);
1119
1120
  Method changed:
1121
  old:
1122
    public boolean isAuthenticationPreemptive();
1123
1124
  new:
1125
    deprecated: public boolean isAuthenticationPreemptive();
1126
1127
  Method changed:
1128
  old:
1129
    public void setAuthenticationPreemptive(boolean);
1130
1131
  new:
1132
    deprecated: public void setAuthenticationPreemptive(boolean);
1133
1134
  Method changed:
1135
  old:
1136
    public void setCookiePolicy(int);
1137
1138
  new:
1139
    deprecated: public void setCookiePolicy(int);
1140
1141
  Method changed:
1142
  old:
1143
    public synchronized void setCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials);
1144
1145
  new:
1146
    deprecated: public synchronized void setCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials);
1147
1148
  Method changed:
1149
  old:
1150
    public synchronized void setProxyCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials);
1151
1152
  new:
1153
    deprecated: public synchronized void setProxyCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials);
1154
1155
Class changed: org.apache.commons.httpclient.MethodRetryHandler
1156
  Class descriptor changed:
1157
  old:
1158
    public abstract org.apache.commons.httpclient.MethodRetryHandler extends java.lang.Object
1159
  new:
1160
    deprecated: public abstract org.apache.commons.httpclient.MethodRetryHandler extends java.lang.Object
1161
Class changed: org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
1162
  Methods added:
1163
    public void closeIdleConnections(long);
1164
    public void deleteClosedConnections();
1165
    public org.apache.commons.httpclient.HttpConnection getConnectionWithTimeout(org.apache.commons.httpclient.HostConfiguration, long) throws org.apache.commons.httpclient.ConnectionPoolTimeoutException;
1166
    public int getConnectionsInPool();
1167
    public int getConnectionsInPool(org.apache.commons.httpclient.HostConfiguration);
1168
    public org.apache.commons.httpclient.params.HttpConnectionManagerParams getParams();
1169
    public void setParams(org.apache.commons.httpclient.params.HttpConnectionManagerParams);
1170
1171
  Method changed:
1172
  old:
1173
    public org.apache.commons.httpclient.HttpConnection getConnection(org.apache.commons.httpclient.HostConfiguration, long) throws org.apache.commons.httpclient.HttpException;
1174
1175
  new:
1176
    deprecated: public org.apache.commons.httpclient.HttpConnection getConnection(org.apache.commons.httpclient.HostConfiguration, long) throws org.apache.commons.httpclient.HttpException;
1177
1178
  Method changed:
1179
  old:
1180
    public int getConnectionsInUse();
1181
1182
  new:
1183
    deprecated: public int getConnectionsInUse();
1184
1185
  Method changed:
1186
  old:
1187
    public int getConnectionsInUse(org.apache.commons.httpclient.HostConfiguration);
1188
1189
  new:
1190
    deprecated: public int getConnectionsInUse(org.apache.commons.httpclient.HostConfiguration);
1191
1192
  Method changed:
1193
  old:
1194
    public int getMaxConnectionsPerHost();
1195
1196
  new:
1197
    deprecated: public int getMaxConnectionsPerHost();
1198
1199
  Method changed:
1200
  old:
1201
    public int getMaxTotalConnections();
1202
1203
  new:
1204
    deprecated: public int getMaxTotalConnections();
1205
1206
  Method changed:
1207
  old:
1208
    public boolean isConnectionStaleCheckingEnabled();
1209
1210
  new:
1211
    deprecated: public boolean isConnectionStaleCheckingEnabled();
1212
1213
  Method changed:
1214
  old:
1215
    public void setConnectionStaleCheckingEnabled(boolean);
1216
1217
  new:
1218
    deprecated: public void setConnectionStaleCheckingEnabled(boolean);
1219
1220
  Method changed:
1221
  old:
1222
    public void setMaxConnectionsPerHost(int);
1223
1224
  new:
1225
    deprecated: public void setMaxConnectionsPerHost(int);
1226
1227
  Method changed:
1228
  old:
1229
    public void setMaxTotalConnections(int);
1230
1231
  new:
1232
    deprecated: public void setMaxTotalConnections(int);
1233
1234
Class changed: org.apache.commons.httpclient.NTCredentials
1235
  Methods added:
1236
    public boolean equals(java.lang.Object);
1237
    public int hashCode();
1238
1239
  Method changed:
1240
  old:
1241
    public NTCredentials();
1242
1243
  new:
1244
    deprecated: public NTCredentials();
1245
1246
  Method changed:
1247
  old:
1248
    public void setDomain(java.lang.String);
1249
1250
  new:
1251
    deprecated: public void setDomain(java.lang.String);
1252
1253
  Method changed:
1254
  old:
1255
    public void setHost(java.lang.String);
1256
1257
  new:
1258
    deprecated: public void setHost(java.lang.String);
1259
1260
Class changed: org.apache.commons.httpclient.SimpleHttpConnectionManager
1261
  Methods added:
1262
    public void closeIdleConnections(long);
1263
    public org.apache.commons.httpclient.HttpConnection getConnectionWithTimeout(org.apache.commons.httpclient.HostConfiguration, long);
1264
    public org.apache.commons.httpclient.params.HttpConnectionManagerParams getParams();
1265
    public void setParams(org.apache.commons.httpclient.params.HttpConnectionManagerParams);
1266
1267
  Fields added:
1268
    protected org.apache.commons.httpclient.HttpConnection httpConnection;
1269
1270
  Method changed:
1271
  old:
1272
    public org.apache.commons.httpclient.HttpConnection getConnection(org.apache.commons.httpclient.HostConfiguration, long);
1273
1274
  new:
1275
    deprecated: public org.apache.commons.httpclient.HttpConnection getConnection(org.apache.commons.httpclient.HostConfiguration, long);
1276
1277
  Method changed:
1278
  old:
1279
    public boolean isConnectionStaleCheckingEnabled();
1280
1281
  new:
1282
    deprecated: public boolean isConnectionStaleCheckingEnabled();
1283
1284
  Method changed:
1285
  old:
1286
    public void setConnectionStaleCheckingEnabled(boolean);
1287
1288
  new:
1289
    deprecated: public void setConnectionStaleCheckingEnabled(boolean);
1290
1291
Class changed: org.apache.commons.httpclient.URI
1292
  Methods removed:
1293
    deprecated: public URI(java.net.URL) throws org.apache.commons.httpclient.URIException;
1294
1295
  Methods added:
1296
    public URI(java.lang.String, boolean) throws org.apache.commons.httpclient.URIException, java.lang.NullPointerException;
1297
    public URI(java.lang.String, boolean, java.lang.String) throws org.apache.commons.httpclient.URIException, java.lang.NullPointerException;
1298
    public URI(org.apache.commons.httpclient.URI, java.lang.String, boolean) throws org.apache.commons.httpclient.URIException;
1299
    protected static java.lang.String decode(java.lang.String, java.lang.String) throws org.apache.commons.httpclient.URIException;
1300
1301
  Method changed:
1302
  old:
1303
    public URI(java.lang.String) throws org.apache.commons.httpclient.URIException;
1304
1305
  new:
1306
    deprecated: public URI(java.lang.String) throws org.apache.commons.httpclient.URIException;
1307
1308
  Method changed:
1309
  old:
1310
    public URI(java.lang.String, java.lang.String) throws org.apache.commons.httpclient.URIException;
1311
1312
  new:
1313
    deprecated: public URI(java.lang.String, java.lang.String) throws org.apache.commons.httpclient.URIException;
1314
1315
  Method changed:
1316
  old:
1317
    public URI(org.apache.commons.httpclient.URI, java.lang.String) throws org.apache.commons.httpclient.URIException;
1318
1319
  new:
1320
    deprecated: public URI(org.apache.commons.httpclient.URI, java.lang.String) throws org.apache.commons.httpclient.URIException;
1321
1322
  Method changed:
1323
  old:
1324
    public URI(char[]) throws org.apache.commons.httpclient.URIException, java.lang.NullPointerException;
1325
1326
  new:
1327
    deprecated: public URI(char[]) throws org.apache.commons.httpclient.URIException, java.lang.NullPointerException;
1328
1329
  Method changed:
1330
  old:
1331
    public URI(char[], java.lang.String) throws org.apache.commons.httpclient.URIException, java.lang.NullPointerException;
1332
1333
  new:
1334
    deprecated: public URI(char[], java.lang.String) throws org.apache.commons.httpclient.URIException, java.lang.NullPointerException;
1335
1336
Class changed: org.apache.commons.httpclient.URIException
1337
  Class descriptor changed:
1338
  old:
1339
    public org.apache.commons.httpclient.URIException extends java.io.IOException
1340
  new:
1341
    public org.apache.commons.httpclient.URIException extends org.apache.commons.httpclient.HttpException
1342
  Method changed:
1343
  old:
1344
    public java.lang.String getReason();
1345
1346
  new:
1347
    deprecated: public java.lang.String getReason();
1348
1349
  Method changed:
1350
  old:
1351
    public void setReason(java.lang.String);
1352
1353
  new:
1354
    deprecated: public void setReason(java.lang.String);
1355
1356
  Method changed:
1357
  old:
1358
    public void setReasonCode(int);
1359
1360
  new:
1361
    deprecated: public void setReasonCode(int);
1362
1363
Class changed: org.apache.commons.httpclient.UsernamePasswordCredentials
1364
  Methods added:
1365
    public boolean equals(java.lang.Object);
1366
    public int hashCode();
1367
1368
  Method changed:
1369
  old:
1370
    public UsernamePasswordCredentials();
1371
1372
  new:
1373
    deprecated: public UsernamePasswordCredentials();
1374
1375
  Method changed:
1376
  old:
1377
    public void setPassword(java.lang.String);
1378
1379
  new:
1380
    deprecated: public void setPassword(java.lang.String);
1381
1382
  Method changed:
1383
  old:
1384
    public void setUserName(java.lang.String);
1385
1386
  new:
1387
    deprecated: public void setUserName(java.lang.String);
1388
1389
Class changed: org.apache.commons.httpclient.auth.AuthChallengeParser
1390
  Methods added:
1391
    public static java.util.Map parseChallenges(org.apache.commons.httpclient.Header[]) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1392
1393
Class changed: org.apache.commons.httpclient.auth.AuthScheme
1394
  Methods added:
1395
    public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, org.apache.commons.httpclient.HttpMethod) throws org.apache.commons.httpclient.auth.AuthenticationException;
1396
    public abstract boolean isComplete();
1397
    public abstract boolean isConnectionBased();
1398
    public abstract void processChallenge(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1399
1400
  Method changed:
1401
  old:
1402
    public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1403
1404
  new:
1405
    deprecated: public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1406
1407
  Method changed:
1408
  old:
1409
    public abstract java.lang.String getID();
1410
1411
  new:
1412
    deprecated: public abstract java.lang.String getID();
1413
1414
Class changed: org.apache.commons.httpclient.auth.AuthSchemeBase
1415
  Methods added:
1416
    public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, org.apache.commons.httpclient.HttpMethod) throws org.apache.commons.httpclient.auth.AuthenticationException;
1417
    public abstract boolean isComplete();
1418
    public abstract boolean isConnectionBased();
1419
    public abstract void processChallenge(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1420
1421
  Class descriptor changed:
1422
  old:
1423
    public abstract org.apache.commons.httpclient.auth.AuthSchemeBase extends java.lang.Object implements org.apache.commons.httpclient.auth.AuthScheme
1424
  new:
1425
    deprecated: public abstract org.apache.commons.httpclient.auth.AuthSchemeBase extends java.lang.Object implements org.apache.commons.httpclient.auth.AuthScheme
1426
  Method changed:
1427
  old:
1428
    public AuthSchemeBase(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1429
1430
  new:
1431
    deprecated: public AuthSchemeBase(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1432
1433
  Method changed:
1434
  old:
1435
    public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1436
1437
  new:
1438
    deprecated: public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1439
1440
  Method changed:
1441
  old:
1442
    public abstract java.lang.String getID();
1443
1444
  new:
1445
    deprecated: public abstract java.lang.String getID();
1446
1447
Class changed: org.apache.commons.httpclient.auth.AuthenticationException
1448
  Methods added:
1449
    public AuthenticationException(java.lang.String, java.lang.Throwable);
1450
1451
  Class descriptor changed:
1452
  old:
1453
    public org.apache.commons.httpclient.auth.AuthenticationException extends org.apache.commons.httpclient.HttpException
1454
  new:
1455
    public org.apache.commons.httpclient.auth.AuthenticationException extends org.apache.commons.httpclient.ProtocolException
1456
Class changed: org.apache.commons.httpclient.auth.BasicScheme
1457
  Methods added:
1458
    public BasicScheme();
1459
    public java.lang.String authenticate(org.apache.commons.httpclient.Credentials, org.apache.commons.httpclient.HttpMethod) throws org.apache.commons.httpclient.auth.AuthenticationException;
1460
    public static java.lang.String authenticate(org.apache.commons.httpclient.UsernamePasswordCredentials, java.lang.String);
1461
    public boolean isComplete();
1462
    public boolean isConnectionBased();
1463
    public void processChallenge(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1464
1465
  Method changed:
1466
  old:
1467
    public BasicScheme(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1468
1469
  new:
1470
    deprecated: public BasicScheme(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1471
1472
  Method changed:
1473
  old:
1474
    public java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1475
1476
  new:
1477
    deprecated: public java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1478
1479
  Method changed:
1480
  old:
1481
    public static java.lang.String authenticate(org.apache.commons.httpclient.UsernamePasswordCredentials);
1482
1483
  new:
1484
    deprecated: public static java.lang.String authenticate(org.apache.commons.httpclient.UsernamePasswordCredentials);
1485
1486
Class changed: org.apache.commons.httpclient.auth.DigestScheme
1487
  Methods removed:
1488
    public static java.lang.String authenticate(org.apache.commons.httpclient.UsernamePasswordCredentials, java.util.Map) throws org.apache.commons.httpclient.auth.AuthenticationException;
1489
    public static java.lang.String createDigest(java.lang.String, java.lang.String, java.util.Map) throws org.apache.commons.httpclient.auth.AuthenticationException;
1490
    public static java.lang.String createDigestHeader(java.lang.String, java.util.Map, java.lang.String);
1491
1492
  Methods added:
1493
    public DigestScheme();
1494
    public java.lang.String authenticate(org.apache.commons.httpclient.Credentials, org.apache.commons.httpclient.HttpMethod) throws org.apache.commons.httpclient.auth.AuthenticationException;
1495
    public boolean isComplete();
1496
    public boolean isConnectionBased();
1497
    public void processChallenge(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1498
1499
  Method changed:
1500
  old:
1501
    public DigestScheme(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1502
1503
  new:
1504
    deprecated: public DigestScheme(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1505
1506
  Method changed:
1507
  old:
1508
    public java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1509
1510
  new:
1511
    deprecated: public java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1512
1513
  Method changed:
1514
  old:
1515
    public static java.lang.String createCnonce() throws org.apache.commons.httpclient.auth.AuthenticationException;
1516
1517
  new:
1518
    public static java.lang.String createCnonce();
1519
1520
  Method changed:
1521
  old:
1522
    public java.lang.String getID();
1523
1524
  new:
1525
    deprecated: public java.lang.String getID();
1526
1527
Class changed: org.apache.commons.httpclient.auth.HttpAuthRealm
1528
  Methods removed:
1529
    public boolean equals(java.lang.Object);
1530
    public int hashCode();
1531
    public java.lang.String toString();
1532
1533
  Class descriptor changed:
1534
  old:
1535
    public org.apache.commons.httpclient.auth.HttpAuthRealm extends java.lang.Object
1536
  new:
1537
    deprecated: public org.apache.commons.httpclient.auth.HttpAuthRealm extends org.apache.commons.httpclient.auth.AuthScope
1538
Class changed: org.apache.commons.httpclient.auth.HttpAuthenticator
1539
  Class descriptor changed:
1540
  old:
1541
    public final org.apache.commons.httpclient.auth.HttpAuthenticator extends java.lang.Object
1542
  new:
1543
    deprecated: public final org.apache.commons.httpclient.auth.HttpAuthenticator extends java.lang.Object
1544
  Method changed:
1545
  old:
1546
    public static boolean authenticate(org.apache.commons.httpclient.auth.AuthScheme, org.apache.commons.httpclient.HttpMethod, org.apache.commons.httpclient.HttpConnection, org.apache.commons.httpclient.HttpState) throws org.apache.commons.httpclient.auth.AuthenticationException;
1547
1548
  new:
1549
    deprecated: public static boolean authenticate(org.apache.commons.httpclient.auth.AuthScheme, org.apache.commons.httpclient.HttpMethod, org.apache.commons.httpclient.HttpConnection, org.apache.commons.httpclient.HttpState) throws org.apache.commons.httpclient.auth.AuthenticationException;
1550
1551
  Method changed:
1552
  old:
1553
    public static boolean authenticateDefault(org.apache.commons.httpclient.HttpMethod, org.apache.commons.httpclient.HttpConnection, org.apache.commons.httpclient.HttpState) throws org.apache.commons.httpclient.auth.AuthenticationException;
1554
1555
  new:
1556
    deprecated: public static boolean authenticateDefault(org.apache.commons.httpclient.HttpMethod, org.apache.commons.httpclient.HttpConnection, org.apache.commons.httpclient.HttpState) throws org.apache.commons.httpclient.auth.AuthenticationException;
1557
1558
  Method changed:
1559
  old:
1560
    public static boolean authenticateProxy(org.apache.commons.httpclient.auth.AuthScheme, org.apache.commons.httpclient.HttpMethod, org.apache.commons.httpclient.HttpConnection, org.apache.commons.httpclient.HttpState) throws org.apache.commons.httpclient.auth.AuthenticationException;
1561
1562
  new:
1563
    deprecated: public static boolean authenticateProxy(org.apache.commons.httpclient.auth.AuthScheme, org.apache.commons.httpclient.HttpMethod, org.apache.commons.httpclient.HttpConnection, org.apache.commons.httpclient.HttpState) throws org.apache.commons.httpclient.auth.AuthenticationException;
1564
1565
  Method changed:
1566
  old:
1567
    public static boolean authenticateProxyDefault(org.apache.commons.httpclient.HttpMethod, org.apache.commons.httpclient.HttpConnection, org.apache.commons.httpclient.HttpState) throws org.apache.commons.httpclient.auth.AuthenticationException;
1568
1569
  new:
1570
    deprecated: public static boolean authenticateProxyDefault(org.apache.commons.httpclient.HttpMethod, org.apache.commons.httpclient.HttpConnection, org.apache.commons.httpclient.HttpState) throws org.apache.commons.httpclient.auth.AuthenticationException;
1571
1572
  Method changed:
1573
  old:
1574
    public static org.apache.commons.httpclient.auth.AuthScheme selectAuthScheme(org.apache.commons.httpclient.Header[]) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1575
1576
  new:
1577
    deprecated: public static org.apache.commons.httpclient.auth.AuthScheme selectAuthScheme(org.apache.commons.httpclient.Header[]) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1578
1579
Class changed: org.apache.commons.httpclient.auth.MalformedChallengeException
1580
  Methods added:
1581
    public MalformedChallengeException(java.lang.String, java.lang.Throwable);
1582
1583
  Class descriptor changed:
1584
  old:
1585
    public org.apache.commons.httpclient.auth.MalformedChallengeException extends org.apache.commons.httpclient.HttpException
1586
  new:
1587
    public org.apache.commons.httpclient.auth.MalformedChallengeException extends org.apache.commons.httpclient.ProtocolException
1588
Class changed: org.apache.commons.httpclient.auth.NTLMScheme
1589
  Methods added:
1590
    public NTLMScheme();
1591
    public java.lang.String authenticate(org.apache.commons.httpclient.Credentials, org.apache.commons.httpclient.HttpMethod) throws org.apache.commons.httpclient.auth.AuthenticationException;
1592
    deprecated: public static java.lang.String authenticate(org.apache.commons.httpclient.NTCredentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1593
    public boolean isComplete();
1594
    public boolean isConnectionBased();
1595
    public void processChallenge(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1596
1597
  Class descriptor changed:
1598
  old:
1599
    public org.apache.commons.httpclient.auth.NTLMScheme extends org.apache.commons.httpclient.auth.AuthSchemeBase
1600
  new:
1601
    public org.apache.commons.httpclient.auth.NTLMScheme extends java.lang.Object implements org.apache.commons.httpclient.auth.AuthScheme
1602
  Method changed:
1603
  old:
1604
    public java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1605
1606
  new:
1607
    deprecated: public java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1608
1609
  Method changed:
1610
  old:
1611
    public static java.lang.String authenticate(org.apache.commons.httpclient.NTCredentials, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1612
1613
  new:
1614
    deprecated: public static java.lang.String authenticate(org.apache.commons.httpclient.NTCredentials, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1615
1616
  Method changed:
1617
  old:
1618
    public java.lang.String getID();
1619
1620
  new:
1621
    deprecated: public java.lang.String getID();
1622
1623
Class changed: org.apache.commons.httpclient.auth.RFC2617Scheme
1624
  Methods added:
1625
    public RFC2617Scheme();
1626
    deprecated: public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.auth.AuthenticationException;
1627
    public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, org.apache.commons.httpclient.HttpMethod) throws org.apache.commons.httpclient.auth.AuthenticationException;
1628
    public abstract java.lang.String getSchemeName();
1629
    public abstract boolean isComplete();
1630
    public abstract boolean isConnectionBased();
1631
    public void processChallenge(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1632
1633
  Class descriptor changed:
1634
  old:
1635
    public abstract org.apache.commons.httpclient.auth.RFC2617Scheme extends org.apache.commons.httpclient.auth.AuthSchemeBase
1636
  new:
1637
    public abstract org.apache.commons.httpclient.auth.RFC2617Scheme extends java.lang.Object implements org.apache.commons.httpclient.auth.AuthScheme
1638
  Method changed:
1639
  old:
1640
    public RFC2617Scheme(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1641
1642
  new:
1643
    deprecated: public RFC2617Scheme(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
1644
1645
  Method changed:
1646
  old:
1647
    public java.lang.String getID();
1648
1649
  new:
1650
    deprecated: public java.lang.String getID();
1651
1652
Class changed: org.apache.commons.httpclient.cookie.CookiePolicy
1653
  Methods added:
1654
    public static org.apache.commons.httpclient.cookie.CookieSpec getCookieSpec(java.lang.String) throws java.lang.IllegalStateException;
1655
    public static void registerCookieSpec(java.lang.String, java.lang.Class);
1656
    public static void unregisterCookieSpec(java.lang.String);
1657
1658
  Fields added:
1659
    public final static java.lang.String BROWSER_COMPATIBILITY = compatibility;
1660
    public final static java.lang.String DEFAULT = default;
1661
    public final static java.lang.String IGNORE_COOKIES = ignoreCookies;
1662
    public final static java.lang.String NETSCAPE = netscape;
1663
    public final static java.lang.String RFC_2109 = rfc2109;
1664
1665
  Method changed:
1666
  old:
1667
    public static org.apache.commons.httpclient.cookie.CookieSpec getCompatibilitySpec();
1668
1669
  new:
1670
    deprecated: public static org.apache.commons.httpclient.cookie.CookieSpec getCompatibilitySpec();
1671
1672
  Method changed:
1673
  old:
1674
    public static int getDefaultPolicy();
1675
1676
  new:
1677
    deprecated: public static int getDefaultPolicy();
1678
1679
  Method changed:
1680
  old:
1681
    public static org.apache.commons.httpclient.cookie.CookieSpec getSpecByPolicy(int);
1682
1683
  new:
1684
    deprecated: public static org.apache.commons.httpclient.cookie.CookieSpec getSpecByPolicy(int);
1685
1686
  Method changed:
1687
  old:
1688
    public static org.apache.commons.httpclient.cookie.CookieSpec getSpecByVersion(int);
1689
1690
  new:
1691
    deprecated: public static org.apache.commons.httpclient.cookie.CookieSpec getSpecByVersion(int);
1692
1693
  Method changed:
1694
  old:
1695
    public static void setDefaultPolicy(int);
1696
1697
  new:
1698
    deprecated: public static void setDefaultPolicy(int);
1699
1700
  Field changed:
1701
  old:
1702
    public final static int COMPATIBILITY = 0;
1703
1704
  new:
1705
    deprecated: public final static int COMPATIBILITY = 0;
1706
1707
  Field changed:
1708
  old:
1709
    public final static int NETSCAPE_DRAFT = 1;
1710
1711
  new:
1712
    deprecated: public final static int NETSCAPE_DRAFT = 1;
1713
1714
  Field changed:
1715
  old:
1716
    public final static int RFC2109 = 2;
1717
1718
  new:
1719
    deprecated: public final static int RFC2109 = 2;
1720
1721
Class changed: org.apache.commons.httpclient.cookie.CookieSpec
1722
  Methods added:
1723
    public abstract boolean domainMatch(java.lang.String, java.lang.String);
1724
    public abstract java.util.Collection getValidDateFormats();
1725
    public abstract boolean pathMatch(java.lang.String, java.lang.String);
1726
    public abstract void setValidDateFormats(java.util.Collection);
1727
1728
Class changed: org.apache.commons.httpclient.cookie.CookieSpecBase
1729
  Methods added:
1730
    public boolean domainMatch(java.lang.String, java.lang.String);
1731
    public java.util.Collection getValidDateFormats();
1732
    public boolean pathMatch(java.lang.String, java.lang.String);
1733
    public void setValidDateFormats(java.util.Collection);
1734
1735
Class changed: org.apache.commons.httpclient.cookie.MalformedCookieException
1736
  Methods added:
1737
    public MalformedCookieException(java.lang.String, java.lang.Throwable);
1738
1739
  Class descriptor changed:
1740
  old:
1741
    public org.apache.commons.httpclient.cookie.MalformedCookieException extends org.apache.commons.httpclient.HttpException
1742
  new:
1743
    public org.apache.commons.httpclient.cookie.MalformedCookieException extends org.apache.commons.httpclient.ProtocolException
1744
Class changed: org.apache.commons.httpclient.cookie.NetscapeDraftSpec
1745
  Methods added:
1746
    public boolean domainMatch(java.lang.String, java.lang.String);
1747
    public org.apache.commons.httpclient.Cookie[] parse(java.lang.String, int, java.lang.String, boolean, java.lang.String) throws org.apache.commons.httpclient.cookie.MalformedCookieException;
1748
1749
Class changed: org.apache.commons.httpclient.cookie.RFC2109Spec
1750
  Methods added:
1751
    public boolean domainMatch(java.lang.String, java.lang.String);
1752
1753
Class changed: org.apache.commons.httpclient.methods.EntityEnclosingMethod
1754
  Methods removed:
1755
    deprecated: public EntityEnclosingMethod(java.lang.String, java.lang.String);
1756
    deprecated: public EntityEnclosingMethod(java.lang.String, java.lang.String, java.lang.String);
1757
    public java.io.InputStream getRequestBody();
1758
    public java.lang.String getRequestBodyAsString() throws java.io.IOException;
1759
    protected int getRequestContentLength();
1760
1761
  Methods added:
1762
    protected void addRequestHeaders(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
1763
    protected org.apache.commons.httpclient.methods.RequestEntity generateRequestEntity();
1764
    public java.lang.String getRequestCharSet();
1765
    protected long getRequestContentLength();
1766
    public org.apache.commons.httpclient.methods.RequestEntity getRequestEntity();
1767
    public void setContentChunked(boolean);
1768
    deprecated: public void setRequestContentLength(long);
1769
    public void setRequestEntity(org.apache.commons.httpclient.methods.RequestEntity);
1770
1771
  Method changed:
1772
  old:
1773
    public void setRequestBody(java.io.InputStream);
1774
1775
  new:
1776
    deprecated: public void setRequestBody(java.io.InputStream);
1777
1778
  Method changed:
1779
  old:
1780
    public void setRequestBody(java.lang.String);
1781
1782
  new:
1783
    deprecated: public void setRequestBody(java.lang.String);
1784
1785
  Method changed:
1786
  old:
1787
    public void setRequestContentLength(int);
1788
1789
  new:
1790
    deprecated: public void setRequestContentLength(int);
1791
1792
  Field changed:
1793
  old:
1794
    public final static int CONTENT_LENGTH_AUTO = -2;
1795
1796
  new:
1797
    deprecated: public final static long CONTENT_LENGTH_AUTO = -2;
1798
1799
  Field changed:
1800
  old:
1801
    public final static int CONTENT_LENGTH_CHUNKED = -1;
1802
1803
  new:
1804
    deprecated: public final static long CONTENT_LENGTH_CHUNKED = -1;
1805
1806
Class changed: org.apache.commons.httpclient.methods.ExpectContinueMethod
1807
  Methods removed:
1808
    deprecated: public ExpectContinueMethod(java.lang.String, java.lang.String);
1809
    deprecated: public ExpectContinueMethod(java.lang.String, java.lang.String, java.lang.String);
1810
1811
  Class descriptor changed:
1812
  old:
1813
    public abstract org.apache.commons.httpclient.methods.ExpectContinueMethod extends org.apache.commons.httpclient.methods.GetMethod
1814
  new:
1815
    public abstract org.apache.commons.httpclient.methods.ExpectContinueMethod extends org.apache.commons.httpclient.HttpMethodBase
1816
  Method changed:
1817
  old:
1818
    public boolean getUseExpectHeader();
1819
1820
  new:
1821
    deprecated: public boolean getUseExpectHeader();
1822
1823
  Method changed:
1824
  old:
1825
    public void setUseExpectHeader(boolean);
1826
1827
  new:
1828
    deprecated: public void setUseExpectHeader(boolean);
1829
1830
Class changed: org.apache.commons.httpclient.methods.GetMethod
1831
  Methods removed:
1832
    deprecated: public GetMethod(java.lang.String, java.io.File);
1833
    deprecated: public GetMethod(java.lang.String, java.lang.String);
1834
    deprecated: public GetMethod(java.lang.String, java.lang.String, java.lang.String);
1835
    deprecated: public java.io.File getFileData();
1836
    deprecated: public java.lang.String getTempDir();
1837
    deprecated: public java.lang.String getTempFile();
1838
    deprecated: public boolean getUseDisk();
1839
    protected void readResponseBody(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
1840
    deprecated: public void setFileData(java.io.File);
1841
    deprecated: public void setTempDir(java.lang.String);
1842
    deprecated: public void setTempFile(java.lang.String);
1843
    deprecated: public void setUseDisk(boolean);
1844
1845
Class changed: org.apache.commons.httpclient.methods.HeadMethod
1846
  Method changed:
1847
  old:
1848
    public int getBodyCheckTimeout();
1849
1850
  new:
1851
    deprecated: public int getBodyCheckTimeout();
1852
1853
  Method changed:
1854
  old:
1855
    protected void readResponseBody(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException;
1856
1857
  new:
1858
    protected void readResponseBody(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws org.apache.commons.httpclient.HttpException, java.io.IOException;
1859
1860
  Method changed:
1861
  old:
1862
    public void setBodyCheckTimeout(int);
1863
1864
  new:
1865
    deprecated: public void setBodyCheckTimeout(int);
1866
1867
Class changed: org.apache.commons.httpclient.methods.MultipartPostMethod
1868
  Methods removed:
1869
    public MultipartPostMethod(java.lang.String, java.lang.String);
1870
    public MultipartPostMethod(java.lang.String, java.lang.String, java.lang.String);
1871
    protected int getRequestContentLength();
1872
1873
  Methods added:
1874
    protected void addContentLengthRequestHeader(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
1875
    protected void addContentTypeRequestHeader(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
1876
    protected long getRequestContentLength() throws java.io.IOException;
1877
1878
  Class descriptor changed:
1879
  old:
1880
    public org.apache.commons.httpclient.methods.MultipartPostMethod extends org.apache.commons.httpclient.methods.ExpectContinueMethod
1881
  new:
1882
    deprecated: public org.apache.commons.httpclient.methods.MultipartPostMethod extends org.apache.commons.httpclient.methods.ExpectContinueMethod
1883
Class changed: org.apache.commons.httpclient.methods.OptionsMethod
1884
  Method changed:
1885
  old:
1886
    public boolean needContentLength();
1887
1888
  new:
1889
    deprecated: public boolean needContentLength();
1890
1891
Class changed: org.apache.commons.httpclient.methods.PostMethod
1892
  Methods removed:
1893
    deprecated: public PostMethod(java.lang.String, java.lang.String);
1894
    deprecated: public PostMethod(java.lang.String, java.lang.String, java.lang.String);
1895
    protected void addRequestHeaders(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
1896
    protected byte[] generateRequestBody();
1897
1898
  Methods added:
1899
    protected org.apache.commons.httpclient.methods.RequestEntity generateRequestEntity();
1900
1901
Class changed: org.apache.commons.httpclient.methods.TraceMethod
1902
  Method changed:
1903
  old:
1904
    public void recycle();
1905
1906
  new:
1907
    deprecated: public void recycle();
1908
1909
Class changed: org.apache.commons.httpclient.methods.multipart.FilePart
1910
  Fields removed:
1911
    protected final static byte[] FILE_NAME_BYTES;
1912
1913
Class changed: org.apache.commons.httpclient.methods.multipart.Part
1914
  Methods added:
1915
    public static long getLengthOfParts(org.apache.commons.httpclient.methods.multipart.Part[], byte[]) throws java.io.IOException;
1916
    protected byte[] getPartBoundary();
1917
    public boolean isRepeatable();
1918
    public static void sendParts(java.io.OutputStream, org.apache.commons.httpclient.methods.multipart.Part[], byte[]) throws java.io.IOException;
1919
1920
  Method changed:
1921
  old:
1922
    public static java.lang.String getBoundary();
1923
1924
  new:
1925
    deprecated: public static java.lang.String getBoundary();
1926
1927
  Field changed:
1928
  old:
1929
    protected final static java.lang.String BOUNDARY = ----------------314159265358979323846;
1930
1931
  new:
1932
    deprecated: protected final static java.lang.String BOUNDARY = ----------------314159265358979323846;
1933
1934
  Field changed:
1935
  old:
1936
    protected final static byte[] BOUNDARY_BYTES;
1937
1938
  new:
1939
    deprecated: protected final static byte[] BOUNDARY_BYTES;
1940
1941
Class changed: org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory
1942
  Methods added:
1943
    public java.net.Socket createSocket(java.lang.String, int, java.net.InetAddress, int, org.apache.commons.httpclient.params.HttpConnectionParams) throws java.io.IOException, java.net.UnknownHostException, org.apache.commons.httpclient.ConnectTimeoutException;
1944
1945
Class changed: org.apache.commons.httpclient.protocol.Protocol
1946
  Method changed:
1947
  old:
1948
    public Protocol(java.lang.String, org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory, int);
1949
1950
  new:
1951
    deprecated: public Protocol(java.lang.String, org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory, int);
1952
1953
Class changed: org.apache.commons.httpclient.protocol.ProtocolSocketFactory
1954
  Methods added:
1955
    public abstract java.net.Socket createSocket(java.lang.String, int, java.net.InetAddress, int, org.apache.commons.httpclient.params.HttpConnectionParams) throws java.io.IOException, java.net.UnknownHostException, org.apache.commons.httpclient.ConnectTimeoutException;
1956
1957
Class changed: org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
1958
  Methods added:
1959
    public java.net.Socket createSocket(java.lang.String, int, java.net.InetAddress, int, org.apache.commons.httpclient.params.HttpConnectionParams) throws java.io.IOException, java.net.UnknownHostException, org.apache.commons.httpclient.ConnectTimeoutException;
1960
1961
Class changed: org.apache.commons.httpclient.util.DateParser
1962
  Methods added:
1963
    public static java.util.Date parseDate(java.lang.String, java.util.Collection) throws org.apache.commons.httpclient.util.DateParseException;
1964
1965
  Class descriptor changed:
1966
  old:
1967
    public org.apache.commons.httpclient.util.DateParser extends java.lang.Object
1968
  new:
1969
    deprecated: public org.apache.commons.httpclient.util.DateParser extends java.lang.Object
1970
Class changed: org.apache.commons.httpclient.util.EncodingUtil
1971
  Methods added:
1972
    public static byte[] getAsciiBytes(java.lang.String);
1973
    public static java.lang.String getAsciiString(byte[]);
1974
    public static java.lang.String getAsciiString(byte[], int, int);
1975
    public static byte[] getBytes(java.lang.String, java.lang.String);
1976
    public static java.lang.String getString(byte[], int, int, java.lang.String);
1977
    public static java.lang.String getString(byte[], java.lang.String);
1978
1979
Class changed: org.apache.commons.httpclient.util.URIUtil
1980
  Methods removed:
1981
    deprecated: public static java.lang.String toDocumentCharset(java.lang.String) throws org.apache.commons.httpclient.URIException;
1982
    deprecated: public static java.lang.String toDocumentCharset(java.lang.String, java.lang.String) throws org.apache.commons.httpclient.URIException;
1983
    deprecated: public static java.lang.String toProtocolCharset(java.lang.String) throws org.apache.commons.httpclient.URIException;
1984
    deprecated: public static java.lang.String toProtocolCharset(java.lang.String, java.lang.String) throws org.apache.commons.httpclient.URIException;
1985
    deprecated: public static java.lang.String toUsingCharset(java.lang.String, java.lang.String, java.lang.String) throws org.apache.commons.httpclient.URIException;
1986
1987
Class changed: org.apache.commons.httpclient.util.URIUtil.Coder
1988
  Class descriptor changed:
1989
  old:
1990
    public org.apache.commons.httpclient.util.URIUtil.Coder extends org.apache.commons.httpclient.URI
1991
  new:
1992
    deprecated: public org.apache.commons.httpclient.util.URIUtil.Coder extends org.apache.commons.httpclient.URI
1993
  Method changed:
1994
  old:
1995
    public static java.lang.String decode(char[], java.lang.String) throws org.apache.commons.httpclient.URIException;
1996
1997
  new:
1998
    deprecated: public static java.lang.String decode(char[], java.lang.String) throws org.apache.commons.httpclient.URIException;
1999
2000
  Method changed:
2001
  old:
2002
    public static char[] encode(java.lang.String, java.util.BitSet, java.lang.String) throws org.apache.commons.httpclient.URIException;
2003
2004
  new:
2005
    deprecated: public static char[] encode(java.lang.String, java.util.BitSet, java.lang.String) throws org.apache.commons.httpclient.URIException;
2006
2007
API diff generated by JarDiff http://www.osjava.org/jardiff/
2008
2009
-------------------
1.1.1 by Michael Meskes
Import upstream version 3.0.1
2010
Changes since Release Candidate 4:
2011
2012
 * 37526 - Fixed incorrect processing of HTTP parameters with an 
2013
           empty name
2014
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2015
2016
 * 37256 - Fixed bug causing MultipartRequestEntity to miscalculate the 
2017
           total content length if any of the parts returns a negative
2018
           content length value
2019
           Contributed by Loïc Péron <loic.peron at bigfoot.com>
2020
2021
 * 37197 - Preemptive auth flag no longer disregarded when tunneling 
2022
           SSL connections via a proxy
2023
           Contributed by wynand <wolman at gmail.com>
2024
2025
 * 37154 - UsernamePasswordCredentials.equals(null) no longer causes NPE
2026
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2027
2028
 * 37129 - HttpConnection changed to use a protocol socket factory registered 
2029
           for 'http' protocol instead of DefaultProtocolSocketFactory when 
2030
           connecting to a proxy to establish a secure tunnel
2031
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2032
2033
Release 3.0 Release Candidate 4
2034
-------------------
2035
Changes since Release Candidate 3:
2036
2037
 * 36882 - Max connections per host setting did not work
2038
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2039
2040
 * 36791 - Fixed HttpConnection#isOpen flag concurrency problem
2041
           Contributed by Jean-Marie White <jmwhite5 at yahoo.com>
2042
2043
 * 36339 - Request is no longer retried if preemptive authentication fails
2044
           and Basic is the only supported authentication scheme advertised
2045
           by the target server
2046
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2047
2048
 * 36372 - nonce-count in digest auth should not be quoted
2049
           Contributed by Ortwin Glueck <oglueck at apache.org>
2050
           
2051
 * 36369 - Custom Proxy-Connection header no longer gets overwritten
2052
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2053
2054
 * 36595 - Do not attempt to retry aborted methods
2055
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2056
2057
 * 36140 - ParameterParser changed to correctly differentiate between empty and 
2058
           null (no value) parameters
2059
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2060
2061
 * 35085 - HTTP 204 "NO CONTENT" response no longer results in dropped 
2062
           connection.
2063
           Contributed by Ian Bray <Ian.Bray at logicacmg.com>
2064
2065
 * 35944 - Connection always gets released back to the pool even if an unchecked 
2066
           exception is thrown in HttpMethod#releaseConnection method.
2067
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2068
2069
 * 35642 - Do not retry if host is unreachable. This ensures a connection timeout
2070
           will be obeyed.
2071
           Contributed by Ortwin Glueck <oglueck at apache.org>
2072
           
2073
 * 35815 - SimpleHttpConnectionManager now logs warnings when it detects it is
2074
           being used incorrectly. 
2075
           Contributed by Michael Becke <mbecke at apache.org>
2076
2077
Release 3.0 Release Candidate 3
2078
-------------------
2079
Changes since Release Candidate 2:
2080
2081
 * 35365 - Added #hashCode and #equals methods for Credentials implementations
2082
           Contributed by Eric Johnson <eric at tibco.com>
2083
2084
 * 35322 - Stale connection check now correctly works with IBM JSSE/JRE 1.4.x
2085
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2086
2087
 * 35225 - Fixed a major problem with the browser compatibility policy leaking cookies 
2088
           to 3rd party domains (.mydomain.com -> .notmydomain.com)
2089
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2090
2091
 * 35328 - DateUtil#formatDate changed to US locale instead of system default
2092
           Contributed by Yannick <yannick at meudal.net>
2093
2094
 * 34960 - DigestScheme changed to take into account charset attribute when available 
2095
           (Known to be used by Microsoft implementation of the Digest auth scheme)
2096
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2097
2098
 * 35148 - HttpClient now correctly handles relative URIs beginning with a colon.
2099
           Contributed by Gordon Mohr <gojomo at archive.org>
2100
2101
 * 34961 - HttpClient now correctly handles escaped characters in HTTP header elements
2102
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2103
2104
 * 34780 - HttpClient now always overrides the host of HostConfiguration if an absolute 
2105
           request URI is given
2106
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2107
2108
 * 34740 - Connection with the proxy is not reopened if an proxy auth failure occurs 
2109
           while SSL tunnel is being established
2110
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2111
2112
 * 34721 - Virtual host setting is now correctly applied when parsing and matching 
2113
           cookies
2114
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2115
2116
 * 34583 - DateUtil.formatDate() changed to use GMT instead of the default timezone
2117
           Contributed by Fred Bierhaus <fred.bierhaus at vodafone.com>
2118
2119
 * 34459 - Always use the chunk encoding when request content length cannot be 
2120
           determined (is negative)
2121
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2122
2123
 * 34427 - Fixed the bug causing an IllegalStateException in AuthState
2124
           triggered by the combination of preemptive proxy authentication 
2125
           and a cross-site redirect
2126
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2127
2128
Release 3.0 Release Candidate 2
2129
-------------------
2130
Changes since Release Candidate 1:
2131
2132
 * 34255 - Preemptive authentication no longer causes NTLM auth scheme to fail
2133
           Contributed by Michael Becke <mbecke at apache.org>
2134
2135
 * 33720 - Fixed the problem with HttpMethod#getURI applying URL escaped encoding to
2136
           already encoded URIs
2137
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2138
2139
 * 34262 - Fixed broken handling of responses that may not include an entity body
2140
           (status code 204, 304)
2141
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2142
2143
 * ----- - Fixed broken InputStreamRequestEntity#isRepeatable method
2144
           Contributed by Matthew-J Watson <matthew-j.watson at db.com>
2145
2146
 * 33677 - Fixed the bug preventing the HTTP retry handler from handling
2147
           ConnectionExceptions
2148
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2149
2150
 * 33988 - All classes overriding Object#hashCode & Object#equals methods have been reviewed 
2151
           regarding their hashCode/equals contract compliance
2152
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2153
2154
 * 33947 - Exception in HttpConnection because of unchecked buffer size
2155
           Contributed by Ortwin Glueck <oglueck at apache.org>
2156
 
2157
 * 33856 - Fixed the problem with the credential-charset parameter not having an effect on
2158
           the encoding of the NTLM credentials
2159
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2160
 
2161
 * 33541 - Fixed the problem with host level parameters having no effect on HTTP CONNECT 
2162
           methods
2163
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2164
2165
 * 33468 - HttpClient no longer flushes the request line and request headers prior to 
2166
           writing the request body if the 'expect: continue' handshake is not used
2167
           Contributed by Peter Tolmachov <peter.tolmachov at agfa.com>
2168
2169
Release 3.0 Release Candidate 1
2170
-------------------
2171
Changes since Beta 1:
2172
2173
 * 32833 - Cookie with domain .mydomain.com were not sent to host mydomain.com
2174
           in the browser compatibility mode
2175
           Contributed by David D. Kilzer <ddkilzer at kilzer.net>
2176
2177
 * 33021 - Fixed the bug causing the circular redirect if different query parameters
2178
           are used in the redirect location.
2179
           Contributed by Ilya Kharmatsky <ilyak at mainsoft.com>
2180
2181
 * 32955 - Fixed the bug effectively disabling the stale connection check
2182
           Contributed by Oliver Koell <oko at newbase.de>
2183
2184
 * 32835 - The two digit year greater than 20 no longer causes the cookie expiry date 
2185
           to be interpreted as a date between 1920 and 1999
2186
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2187
2188
 * 32607 - Fixed the problem with ReflectionSocketFactory ignoring the local address of 
2189
           HostConfiguration
2190
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2191
2192
 * 32409 - HttpState now has new methods for clearing all cookies and credentials.
2193
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2194
2195
 * 32558 - Fixed retry count bug in DefaultMethodRetryHandler
2196
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2197
2198
 * 32333 - Connection is now closed upon "Connection: close" request,
2199
           if the server does not include an explicit connection 
2200
           directive in the response.
2201
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2202
 
2203
 * 32765 - Fixed NullPointerException in HostConfiguration.setHost(Sting)
2204
           Contributed by Stuart Herring <apache at stuartherring.com>
2205
2206
 * 32742 - Fixed the problem with SO_TIMEOUT parameter having no effect
2207
           on the method level.
2208
           Contributed by Ilya Kharmatsky <ilyak at mainsoft.com>
2209
2210
Release 3.0 Beta 1
2211
-------------------
2212
Changes since Alpha 2:
2213
2214
 * 31929 - Added support for formatting dates. Deprecated DateParser in 
2215
           favor of DateUtil.
2216
           Contributed by Michael Becke <mbecke at apache.org>
2217
2218
 * ----- - HostConfiguration.isHostSet() and Hostconfiguration.isProxySet() have been 
2219
           deprecated.
2220
2221
 * 31981 - Fixed the bug causing an infinite loop in HttpMethodDirector
2222
           when using SSL + proxy + host auth + keep alive off
2223
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2224
2225
 * 31607 - Catch SocketTimeoutException not InterruptedIOException when running 
2226
           in JRE >=1.4
2227
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2228
2229
 * 31471 - HostConfiguration refactored
2230
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2231
2232
 * ----- - ContentLengthInputStream no longer supports mark() & reset() methods. Old 
2233
           broken implementation removed.
2234
           Contributed by Eric Johnson <eric at tibco.com>
2235
2236
Release 3.0 Alpha 2
2237
-------------------
2238
Changes since Alpha 1:
2239
2240
 * 10793 - Configurable default headers
2241
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2242
           
2243
 * 30652 - Configurable SO_LINGER
2244
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2245
           
2246
 * 31163 - CookieSpec classes made stateful
2247
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2248
           
1 by Barry Hawkins
Import upstream version 2.0.2
2249
 * 21329 - Added input buffering to improve performance
1.1.1 by Michael Meskes
Import upstream version 3.0.1
2250
           Contributed by Bjarne Rasmussen <brasmussen at novell.com>
2251
2252
 * 29897 - Connection output buffer is set to a value not greater than 2k
2253
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2254
2255
 * 29636 - MultiThreadedHttpConnectionManager now support configuring the maximum
2256
           number of connections on a per host basis.
2257
           Contributed by Michael Becke <mbecke at apache.org>
2258
2259
 * 29874 - Deprecated old HTTP method retry handler based on HttpRecoverableException
2260
           and replaced it with a new one that acts upon plain IOExceptions
2261
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2262
2263
 * 29883 - Fixed handling of multi-byte characters in the StringRequestEntity class
2264
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2265
2266
 * 29383 - Added method to delete closed connections from the connection pool
2267
           Contributed by Michael Becke <mbecke at apache.org>
2268
2269
 * 29549 - Split wire log into header and body parts
2270
           Contributed by Michael Becke <mbecke at apache.org>
2271
2272
 * 29540 - Fixed credentials scope matching algorithm in HttpState#matchCredentials.
2273
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2274
2275
 * 29439 - Cleaner interface to define authentication scope, handle credentials in HttpState.
2276
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2277
2278
 * 29377 - Cookies with names containing blanks or starting with $ rejected by RFC2109 spec only.
2279
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2280
2281
Release 3.0 Alpha 1
2282
-------------------
2283
Changes on the CVS trunk:
2284
2285
 * 29265 - HttpConnection.isOpen() no longer logs closed connections as stale.
2286
2287
 * 28645 - Moved/added content type handling to the RequestEntity.
2288
           Contributed by Michael Becke <mbecke at apache.org>, Oleg Kalnichevski <olegk at apache.org>
2289
2290
 * 20288 - Added ability to abort execution of HTTP methods
2291
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2292
2293
 * 24154 - Socket timeout can be specified at the connection manager, connection or method level
2294
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2295
2296
 * 16124 - HTTP protocol version can be specified at the client, host or method level
2297
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2298
2299
 * 28728 - HttpUrl now accepts unescaped passwords
2300
           Contributed by Michael Becke <mbecke at apache.org>
2301
2302
 * 28626 - Fixed ArrayIndexOutOfBoundsException in HttpStatus.getStatusText()
2303
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2304
2305
 * 26070 - Added support for streaming entities
2306
           Contributed by Michael Becke <mbecke at apache.org>
2307
2308
 * 28566 - CookieSpec interface extended to expose path & domain matching methods; browser compatibility domain
2309
           matching algorithm modified to mimic the (mis-)behavior of common browsers
2310
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2311
2312
 * 25372 - Added support for closing idle connections
2313
           Contributed by Michael Becke <mbecke at apache.org>, Oleg Kalnichevski <olegk at apache.org>
2314
2315
 * 28322 - Redesign of connect timeout logic; Added support for JDK1.4 connect timeout through reflection
2316
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2317
2318
 * 28151 - Added stand-alone support for tunneled HTTP proxies via the ProxyClient
2319
           Contributed by Michael Sample <m_sample at canada.com>, Michael Becke <mbecke at apache.org>
2320
2321
 * 21216 - Fixed the problem of redirect 302 to the same URL causing max redirects exception: circular redirect 
2322
           check added; the circular redirect check is on per default and in lenient mode, is off in strict mode
2323
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2324
2325
 * 27589 - Added MultiThreadedHttpConnectionManager shutdown() and shutdownAll()
2326
           Contributed by Michael Becke <mbecke at apache.org>
2327
 
2328
 * 25529 - Redesign of HTTP authentication framework
2329
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2330
2331
 * Better implementation of ChunkedOutputStream: writes are buffered to an internal buffer (2048 default size); 
2332
   chunks are guaranteed to be at least as large as the buffer size (except for the last chunk) 
2333
           Contributed by Mohammad Rezaei <mohammad.rezaei at gs.com>, Goldman, Sachs & Co
2334
2335
 * HttpMethod#getResponseBody & HttpMethod#getResponseBodyAsString changed to propagate IOException to the caller 
2336
   instead of logging and discarding it
2337
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2338
2339
 * 10794 - Added interactive authentication support; Authentication realm key is now comprised of host name, port, 
2340
           realm name and authentication type
2341
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2342
2343
 * 15297 - Added ability to perform alternate authentication
2344
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2345
2346
 * 16881 - HttpClient made dependent on Commons-codec to perform Base64 and URL encoding/decoding
2347
           Contributed by Michael Becke <mbecke at apache.org>, Oleg Kalnichevski <olegk at apache.org>
2348
2349
 * 24560 - Fixed the problem of HttpClient looping endlessly while trying to retrieve status line
2350
           Contributed by Christian Kohlschuetter <ck at rrzn.uni-hannover.de>
2351
2352
 * 24671 - Added support for configuring charsets in credentials and HTTP headers
2353
           Contributed by Michael Becke <mbecke at apache.org>
2354
2355
 * Plug-in mechanism for authentication modules
2356
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2357
2358
 * Added infrastructure to create test cases that involve use of a proxy
2359
           Contributed by Ortwin Glueck <oglueck at apache.org>
2360
2361
 * UserNamePasswordCredentials & NTCredentials made immutable
2362
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2363
2364
 * 24869 - DigestScheme now only accepts a challenge if all fields required by RFC 2617 are present
2365
           Contributed by Ortwin Glueck <oglueck at apache.org>
2366
2367
 * New framework for server based tests
2368
           Contributed by Christian Kohlschuetter <ck at rrzn.uni-hannover.de>, Ortwin Glueck <oglueck at apache.org>
2369
2370
 * Socket input stream now wrapped with a wrapper class that re-throws certain type of generic IO exceptions as HttpClient
2371
   specific exceptions. Improved handling of 'used' connections (known to have successfully completed an I/O operation).
2372
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2373
 
2374
 * 24012 - Added IgnoreCookiesSpec.
2375
           Contributed by Michael Becke <mbecke at apache.org>
2376
2377
 * 24018 - Cookie and Authorization headers can now be set manually.
2378
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2379
2380
 * 21151 - Cookie specification plug-in mechanism
2381
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2382
2383
 * Reworked DigestScheme: the qop Parameter is parsed correctly and not just ignored; missing qop is handled correctly
2384
           Contributed by Ortwin Glueck <oglueck at apache.org>
2385
2386
 * 10790 - Implemented granular non-standards configuration and tracking.
2387
           Contributed by Oleg Kalnichevski <olegk at apache.org>, Michael Becke <mbecke at apache.org>,
2388
           Roland Weber <rolweber at de.ibm.com>, Ortwin Glueck <oglueck at apache.org>, 
2389
           Adrian Sutton <adrian.sutton at ephox.com>
2390
2391
 * 15435 - Implemented new preference architecture.
2392
           Contributed by Oleg Kalnichevski <olegk at apache.org>, Michael Becke <mbecke at apache.org>,
2393
           Roland Weber <rolweber at de.ibm.com>, Ortwin Glueck <oglueck at apache.org>, 
2394
           Adrian Sutton <adrian.sutton at ephox.com>
2395
2396
 * Deprecated the use of system properties: 'httpclient.useragent', 
2397
   'httpclient.authentication.preemptive'. 
2398
2399
 * Refactored NameValuePair#equals method.
2400
           Contributed by Ortwin Glueck <oglueck at apache.org>
2401
2402
 * 16729 - Refactored retry/redirect/authentication logic.
2403
           Contributed by Michael Becke <mbecke at apache.org>
2404
2405
 * Added support for disabling HttpConnection.isStale()
2406
           Contributed by Michael Becke <mbecke at apache.org>
2407
2408
 * 10791 - Improved HTTP Version configuration and tracking.
2409
           Contributed Oleg Kalnichevski <olegk at apache.org>, Laura Werner <laura at lwerner.org>, 
2410
           Michael Becke <mbecke at apache.org>
2411
2412
 * 21880 - Content-Length & Transfer-Encoding request headers formerly set by abstract 
2413
           HttpMethodBase class are handled by entity enclosing methods.
2414
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2415
2416
 * 17947 - HttpMethod#setURI method added.
2417
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2418
2419
 * 19618 - URI constructors refactored.
2420
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2421
2422
 * 11240 - Fixed the problem of cookies with ',' in the value string not parsed correctly in some cases
2423
           Contributed by Oleg Kalnichevski <olegk at apache.org>
2424
2425
 * 21323 - Support for large(long) content added
2426
           Contributed by Michael Becke <mbecke at apache.org>
2427
2428
 * 19868 - Exception handling framework reworked.
2429
           Contributed by Adrian Sutton <adrian.sutton at ephox.com>, Laura Werner <laura at lwerner.org>, 
2430
           Oleg Kalnichevski <olegk at apache.org>, Michael Becke <mbecke at apache.org>
2431
2432
 * 21210 - Header parser completely rewritten.
2433
           Improved handling of Netscape draft compatible cookies
2434
           Contributed by Oleg Kalnichevski <olegk at apache.org>
1 by Barry Hawkins
Import upstream version 2.0.2
2435
1.1.2 by Kumar Appaiah
Import upstream version 3.1
2436
Release 2.0.2
2437
-------------------
2438
Changes since Release 2.0.1
2439
2440
 * ContentLengthInputStream no longer supports mark() & reset() methods. 
2441
2442
 * 21329 - Added input buffering to improve performance
2443
1 by Barry Hawkins
Import upstream version 2.0.2
2444
Release 2.0.1
2445
-------------------
2446
Changes since Release 2.0
2447
2448
 * 30175 - Fixed StringIndexOutOfBoundsException in StatusLine
2449
2450
 * 29897 - Connection output buffer is set to a value not greater than 2k
2451
2452
 * 29549 - Split wire log into header and body parts
2453
2454
 * 29377 - Cookies with names containing blanks or starting with $ rejected by RFC2109
2455
   spec only.
2456
2457
 * 29265 - HttpConnection.isOpen() no longer logs closed connections as stale.
2458
2459
 * 28728 - HttpUrl now accepts unescaped passwords
2460
2461
 * 28626 - Fixed ArrayIndexOutOfBoundsException in HttpStatus.getStatusText()
2462
2463
 * 27589 - Added MultiThreadedHttpConnectionManager shutdown() and shutdownAll().
2464
 
2465
 * HttpMethod#recycle() has been deprecated.
2466
2467
Release 2.0
2468
-------------------
2469
Changes since Release Candidate 3:
2470
2471
 * 26500 - Socket timeout is now correctly set on open connections
2472
 
2473
 * 26328 - Fixed getScheme() and getPort() returning wrong defaults for HttpsURL
2474
2475
 * 26139 - Fixed possible connection leak caused by lack of equals() and hashCode() on protocol
2476
   socket factories
2477
   
2478
 * 26688 - Fixed the problem with HttpURL creating wrong authority String when user info is changed
2479
2480
Release 2.0 Release Candidate 3
2481
-------------------
2482
Changes since Release Candidate 2:
2483
2484
 * HTTP status line parser changed to be more robust when dealing with non-compliant 
2485
   HTTP responses (leading blanks before 'HTTP' signature).
2486
2487
 * Fixed NPE in HttpMethodBase#responseBodyConsumed().
2488
2489
 * 24309 - Changed MultiThreadedHttpConnectionManager to move to a single connection 
2490
   GC thread.  Fixed memory and thread leaks.
2491
2492
 * 24327 - Fixed a bug where HttpClient did not reset the 'force-close connection' 
2493
   flag, when an HTTP method was automatically retried (for instance, when automatically 
2494
   handling an authentication challenge).
2495
2496
 * 24352 - Fixed the bug causing basic authentication via NLTM Proxy to fail.
2497
2498
 * 25370  - Connections are now closed and released automatically when an unrecoverable 
2499
   exception occurs in HttpMethodBase.processRequest().
2500
2501
 * 23866 - Fixed possible uncaught IllegalArgumentException in Cookie parsing.
2502
2503
 * 25264 - Added support for cookies with a domain attribute '.domain.com' issued by 
2504
   host 'domain.com' in the browser compatibility mode. Even though the cookie violates 
2505
   RFC 2109 it still gets accepted by mainstream browsers (tested with Mozilla Firebird and IE).
2506
2507
 * 24869 - Changed DigestScheme to only accept a challenge if all fields required 
2508
   by RFC 2617 are present.
2509
2510
 * 24671 - Added ISO-8859-1 support for digest authentication passwords, and basic authentication 
2511
   user names and passwords.
2512
2513
 * Javadoc enhancements.
2514
2515
Release 2.0 Release Candidate 2
2516
-------------------
2517
Changes since Release Candidate 1:
2518
2519
 * Javadoc enhancements.
2520
2521
 * 23284 - Fixed bug with URI.isIPv4address(). 
2522
2523
 * 22969 - PostMethod#setParameter fixed to correctly overwrite existing parameters. 
2524
2525
 * 22970 - Fixed bug with PostMethod#removeParameter return value. 
2526
2527
 * Improved compliance to RFC 2617
2528
 
1.1.1 by Michael Meskes
Import upstream version 3.0.1
2529
 * Added support for digest auth MD5-sess. 
1 by Barry Hawkins
Import upstream version 2.0.2
2530
2531
 * 22655 - Added support for stale digest nonce values. 
2532
2533
 * 22968 - HttpConnection.isResponseAvailable() made a little more robust, particularly when 
2534
   used by HeadMethod. 
2535
2536
 * 22941 - Switched the order in which socket streams are closed: output stream closed first,
2537
   followed by input stream. 
2538
2539
 * Added debugging for connection reclaiming. 
2540
2541
 * Removed JCE initialization code specific to the Sun's implementation. 
2542
2543
 * Fixed problem of Basic, Digest & NTLM authentication schemes under certain circumstances 
2544
   leaking passwords in clear text to the DEBUG log. 
2545
2546
 * Fixed the problem with incorrect selection of the proxy authentication realm. 
2547
2548
 * Changed URI.normalize() to ignore relative path normalization. 
2549
2550
Release 2.0 Release Candidate 1
2551
-------------------
2552
Changes since Release 2.0 Beta 2:
2553
2554
 * Option to disable 'stale' connection check that may lead to a slight
2555
   performance improvement at the cost of reduced reliability
2556
2557
 * Improved debug logging in multi-threaded connection manager
2558
2559
 * URI.normalize() no longer has an effect on relative URIs.
2560
2561
 * 21532 - Removed use of sun.* class in URI.java 
2562
2563
 * 20481 - Changed query param encoding to UTF-8.
2564
2565
 * 21378 - Multiple transfer encoding headers are now handled properly. Non chunked transfer 
2566
   encodings are now handled correctly.
2567
2568
Release 2.0 Beta 2
2569
-------------------
2570
Changes since Release 2.0 Beta 1:
2571
2572
 * 20240 - Cookies with null path are no longer rejected in the
2573
   browser compatibility mode.
2574
2575
 * 20481 - Query parameters set via HttpMethodBase.setQueryString(NameValuePair[])
2576
   now correctly use 'application/x-www-form-urlencoded' encoding.
2577
2578
 * 20481 - POST method correctly applies 'application/x-www-form-urlencoded'
2579
   encoding.
2580
2581
 * 20569 - Duplicate connection headers are now handled.
2582
2583
 * 20646 - Fixed NTLM proxy authentication via SSL. 
2584
2585
 * 20665 - Changed URI to correctly handle path resolution according to 
2586
   http://www.apache.org/~fielding/uri/rev-2002/issues.html.  In 
2587
   particular dot-segments are removed when not necessary.
2588
2589
 * 20938 - Connections are now closed when the request is missing a content 
2590
   length and is not chunked.
2591
2592
 * 20942 - Requests with DIGEST authentication are now correctly handled 
2593
   when redirected.
2594
2595
 * 21130 - DEFAULT_MAX_HOST_CONNECTIONS and DEFAULT_MAX_TOTAL_CONNECTIONS are
2596
   now public in MultiThreadedHttpConnectionManager.
2597
2598
 * 21201 - URIs are now correctly rebuilt following a call to URI.normalize().
2599
2600
 * 21202 - WireLogInputStream.read(byte[]) now logs the correct number of bytes.
2601
2602
 * Fixed path parsing in RFC2109 cookie spec.
2603
2604
 * Fixed possible NPE when reading an empty response body.
2605
2606
 * The various to*Charset() methods of URIUtil have been deprecated.
2607
2608
Release 2.0 Beta 1
2609
-------------------
2610
Changes since Release 2.0 Alpha 3:
2611
2612
 * Changed HttpConnection to use socket timeout instead of busy 
2613
   waiting while expecting input.
2614
2615
 * Added a getResponseContentLength() method to HttpMethod.
2616
2617
 * Changed HttpClient to accept correctly encoded URLs instead of 
2618
   attempting to encode them within HttpClient.
2619
2620
 * 'Expect: 100-continue' logic factored out into an abstract 
2621
   ExpectContinueMethod class
2622
2623
 * 'Expect: 100-Continue' handshake disabled per default, as it may not work 
2624
   properly with older HTTP/1.0 servers or proxies.
2625
2626
 * Reengineered authentication code.  This includes a fix for 
2627
   HttpClient continually attempting to authenticate to digest realms and 
2628
   provides for better future extensibility.
2629
2630
 * Authenticator class deprecated
2631
2632
 * Improved user documentation and example code.
2633
2634
 * Added ability to differentiate between different hosts using the 
2635
   same realm names.
2636
2637
 * Added support for specifying a virtual host name to use.
2638
2639
 * Fixed problem with half-closed connections causing a 
2640
   HttpRecoverableException to be thrown when HttpClient attempts to read 
2641
   from a socket.
2642
2643
 * Improved reliability with the HEAD method and servers that 
2644
   incorrectly include a response body.
2645
2646
 * Improved support for connection keep-alive when communicating via a proxy
2647
2648
 * Added an override of HttpClient.executeMethod that lets the
2649
   caller specify an HttpState object.
2650
2651
 * HttpConnectionManager is now a property of the HttpClient class, 
2652
   not of the HttpState class
2653
2654
 * Added ability to specify the local address that HttpClient should 
2655
   create connections from.
2656
2657
2658
Release 2.0 Alpha 3
2659
-------------------
2660
Changes since Release 2.0 Alpha 2:
2661
2662
 * Abstract EntityEnclosingMethod class has been introduced to encapsulate
2663
   common behaviour of all entity enclosing methods
2664
2665
 * "Expect: 100-continue" handshake support added for POST, PUT & multipart POST
2666
2667
 * Added support for chunked requests for POST and PUT.
2668
2669
 * Added support for 303 See Other redirections.
2670
2671
 * Changed input and output streams to use buffering to improve performance.
2672
2673
 * Improved handling of multivalue headers. Order is now preserved and 
2674
   convenience methods have been added to access each value.
2675
2676
 * In non-strict mode each cookie sent with the request is put on a separate 
2677
   request header. In strict mode all cookies are crammed into one request header, 
2678
   as before.
2679
2680
 * ResponseInputStream class deprecated.
2681
2682
 * RequestOutputStream class deprecated.
2683
2684
 * Custom character set can be specified for all multipart classes. 
2685
2686
 * Custom content type can be specified for FilePart derived multipart classes.
2687
2688
 * The useDisk methods in GetMethod class deprecated.
2689
2690
2691
Release 2.0 Alpha 2
2692
------------------
2693
Changes since Release 2.0 Alpha 1:
2694
2695
 * Mavenized builds.
2696
 
2697
 * Digest authentication.  NTLM authentication.
2698
 
2699
 * Multipart post.
2700
 
2701
 * Added a StatusLine class to manage the status line of a
2702
   http response.
2703
2704
 * Added ability to cusomize SocketFactory for http and https. 
2705
   New Protocol class to allow for more protocols than just http/s.
2706
2707
 * Removed the HttpMultiClient, added multi-thread support to 
2708
   HttpClient.
2709
 
2710
 * Revamp the streaming policy.  Added AutoCloseInputStream,
2711
   ChunkedInputStream, ChunkedOutputStream, ContentLengthInputStream,
2712
   ResponseConsumedWatcher
2713
 
2714
 * Commons Logging.  Dependancy on the commons-logging.jar
2715
 
2716
 * Added httpclient.util package.  Move Base64 and URIUtil classs 
2717
   into util.
2718
2719
 * Added a HttpURLConnection wrapper.  Allows for wrapping 
2720
   HttpClient into the java standard library.  Partial support only.
2721
2722
 * Added httpclient.cookie package.  Complete overhaul of cookie
2723
   handling.  Allows for user specified CookiePolicy and 
2724
   various cookie specification classes.
2725
  
2726
 * Removed previously deprecated Cookie.createCookieHeader(String,
2727
   String,boolean,Cookie[]) method (port number is required for
2728
   future compatibility).
2729
2730
 * Also removed Cookie.createCookieHeader(String,String,Cookie[])
2731
   method, which should have been deprecated (port number is
2732
   required for future compatibility)
2733
2734
 * Renamed HttpMethod.followRedirects to getFollowRedirects,
2735
   for consistency (and made the corresponding change to
2736
   HttpMethodBase)
2737