-
Notifications
You must be signed in to change notification settings - Fork 97
/
RELEASE_NOTES
2737 lines (2055 loc) · 116 KB
/
RELEASE_NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Release 3.1 Final
-------------------
New features:
-------------------
(1) HTTP state management
* RFC 2965 cookie specification support
-------------------
Changes since 3.1 RC 1
* [HTTPCLIENT-679] - Fixed RFC3986 compliance problem in URI absolutization
code.
Contributed by Jeff Dalton <jeffdalton104 at hotmail dot>
* [HTTPCLIENT-676] - Fixed memory leak in MultiThreadedHttpConnectionManager.
Contributed by Roland Weber <rolandw at apache.org>
* [HTTPCLIENT-675] - Fixed potential race condition in MultiThreadedHttpConnectionManager.
Contributed by Roland Weber <rolandw at apache.org>
* [HTTPCLIENT-665] - Internal collections of HttpState visible to subclasses.
Contributed by Roland Weber <rolandw at apache.org>
* [HTTPCLIENT-651] - Improved API Doc regarding response buffering.
Contributed by Ortwin Glueck <oglueck at apache.org>
* [HTTPCLIENT-645] - Cookie#compare() changed to do a simple case-sensitive string comparison
when comparing path attributes instead of using a static instance of RuleBasedCollator
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-650] - Wire log for headers written one by one while parsing
instead of all at once afterwards, which fails on parse errors.
Contributed by Roland Weber <rolandw at apache.org>
API changes since release 3.0.1
-------------------
Class added:
public org.apache.commons.httpclient.HttpContentTooLargeException extends org.apache.commons.httpclient.HttpException
Class added:
public org.apache.commons.httpclient.InvalidRedirectLocationException extends org.apache.commons.httpclient.RedirectException
Class added:
public org.apache.commons.httpclient.cookie.Cookie2 extends org.apache.commons.httpclient.Cookie
Class added:
public abstract org.apache.commons.httpclient.cookie.CookieAttributeHandler extends java.lang.Object
Class added:
public final org.apache.commons.httpclient.cookie.CookieOrigin extends java.lang.Object
Class added:
public org.apache.commons.httpclient.cookie.CookiePathComparator extends java.lang.Object implements java.util.Comparator
Class added:
public abstract org.apache.commons.httpclient.cookie.CookieVersionSupport extends java.lang.Object
Class added:
public org.apache.commons.httpclient.cookie.RFC2965Spec extends org.apache.commons.httpclient.cookie.CookieSpecBase implements org.apache.commons.httpclient.cookie.CookieVersionSupport
Class added:
public org.apache.commons.httpclient.methods.FileRequestEntity extends java.lang.Object implements org.apache.commons.httpclient.methods.RequestEntity
Class changed: org.apache.commons.httpclient.ConnectMethod
Methods added:
public ConnectMethod(org.apache.commons.httpclient.HostConfiguration);
public java.lang.String getPath();
public org.apache.commons.httpclient.URI getURI() throws org.apache.commons.httpclient.URIException;
Method changed:
old:
public ConnectMethod();
new:
deprecated: public ConnectMethod();
Class changed: org.apache.commons.httpclient.ContentLengthInputStream
Methods added:
public int available() throws java.io.IOException;
Class changed: org.apache.commons.httpclient.HttpHost
Method changed:
old:
public java.lang.Object clone();
new:
public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
Class changed: org.apache.commons.httpclient.HttpMethodBase
Methods added:
public byte[] getResponseBody(int) throws java.io.IOException;
public java.lang.String getResponseBodyAsString(int) throws java.io.IOException;
protected void processCookieHeaders(org.apache.commons.httpclient.cookie.CookieSpec, org.apache.commons.httpclient.Header[], org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection);
Fields added:
protected org.apache.commons.httpclient.HttpVersion effectiveVersion;
protected org.apache.commons.httpclient.StatusLine statusLine;
Class changed: org.apache.commons.httpclient.HttpState
Fields added:
protected java.util.ArrayList cookies;
protected java.util.HashMap credMap;
protected java.util.HashMap proxyCred;
Class changed: org.apache.commons.httpclient.ProxyHost
Method changed:
old:
public java.lang.Object clone();
new:
public java.lang.Object clone() throws java.lang.CloneNotSupportedException;
Class changed: org.apache.commons.httpclient.SimpleHttpConnectionManager
Methods added:
public SimpleHttpConnectionManager(boolean);
public void shutdown();
Class changed: org.apache.commons.httpclient.URI
Methods removed:
protected void readObject(java.io.ObjectInputStream) throws java.lang.ClassNotFoundException, java.io.IOException;
protected void writeObject(java.io.ObjectOutputStream) throws java.io.IOException;
Method changed:
old:
public synchronized java.lang.Object clone();
new:
public synchronized java.lang.Object clone() throws java.lang.CloneNotSupportedException;
Field changed:
old:
protected static char[] rootPath;
new:
protected final static char[] rootPath;
Class changed: org.apache.commons.httpclient.auth.AuthSchemeBase
Methods removed:
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;
public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, org.apache.commons.httpclient.HttpMethod) throws org.apache.commons.httpclient.auth.AuthenticationException;
deprecated: public abstract java.lang.String getID();
public abstract java.lang.String getParameter(java.lang.String);
public abstract java.lang.String getRealm();
public abstract java.lang.String getSchemeName();
public abstract boolean isComplete();
public abstract boolean isConnectionBased();
public abstract void processChallenge(java.lang.String) throws org.apache.commons.httpclient.auth.MalformedChallengeException;
Class changed: org.apache.commons.httpclient.auth.RFC2617Scheme
Methods removed:
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;
public abstract java.lang.String authenticate(org.apache.commons.httpclient.Credentials, org.apache.commons.httpclient.HttpMethod) throws org.apache.commons.httpclient.auth.AuthenticationException;
public abstract java.lang.String getSchemeName();
public abstract boolean isComplete();
public abstract boolean isConnectionBased();
Class changed: org.apache.commons.httpclient.cookie.CookiePolicy
Methods added:
public static java.lang.String[] getRegisteredCookieSpecs();
Fields added:
deprecated: public final static int RFC2965 = 3;
public final static java.lang.String RFC_2965 = rfc2965;
Class changed: org.apache.commons.httpclient.cookie.RFC2109Spec
Fields added:
public final static java.lang.String SET_COOKIE_KEY = set-cookie;
Class changed: org.apache.commons.httpclient.methods.StringRequestEntity
Method changed:
old:
public StringRequestEntity(java.lang.String);
new:
deprecated: public StringRequestEntity(java.lang.String);
Class changed: org.apache.commons.httpclient.params.HttpMethodParams
Methods added:
public java.lang.String getUriCharset();
public void setUriCharset(java.lang.String);
Fields added:
public final static java.lang.String HTTP_URI_CHARSET = http.protocol.uri-charset;
Class changed: org.apache.commons.httpclient.util.IdleConnectionTimeoutThread
Methods added:
protected void handleCloseIdleConnections(org.apache.commons.httpclient.HttpConnectionManager);
API diff generated by JarDiff http://www.osjava.org/jardiff/
-------------------
Release 3.1 RC 1
-------------------
Changes since Release 3.1 Beta1:
* [HTTPCLIENT-641] - Resource Leakage when loading keystore in AuthSSLProtocolSocketFactory.
Contributed by Hanson Char
* [HTTPCLIENT-634] - Default host config can override scheme of absolute URL.
Contributed by John Kristian
* [HTTPCLIENT-633] - Changed MultiThreadedHttpConnectionManager's handling of thread
interrupts. IllegalThreadStateException is now thrown when waiting threads
are interrupted from outside of the connection manager.
Contributed by Michael Becke <mbecke at apache.org>
* [HTTPCLIENT-628] - IOException in AutoCloseInputStream.available()
Contributed by Roland Weber <rolandw at apache.org>
* [HTTPCLIENT-625] - revised shutdown of MultiThreadedHttpConnectionManager
Contributed by Roland Weber <rolandw at apache.org>
* [HTTPCLIENT-622] - Leak in MultiThreadedHttpConnectionManager.ConnectionPool.mapHosts
Contributed by Michael Becke <mbecke at apache.org> and Ortwin Glueck <oglueck at apache.org>
* [HTTPCLIENT-612] - FileRequestEntity now always closes the input file.
Contributed by Sebastian Bazley <sebb at apache.org>
* [HTTPCLIENT-616] - HttpMethodDirector.executeWithRetry method fixed to close
the underlying connection if a RuntimeException is thrown
Contributed by Jason Bird
* [HTTPCLIENT-606] - Added a HTTP method level parameter for URI charset
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-610] - Added for convenience HttpMethodBase.getResponseBodyAsString(int)
Contributed by Ortwin Glueck <oglueck at apache.org>
Release 3.1 Alpha 1
-------------------
Changes since Release 3.0.1:
* [HTTPCLIENT-588] - Fixed parsing of relative URIs with internal double-slashes ('//')
Contributed by Gordon Mohr <gojomo at archive.org>
* [HTTPCLIENT-587] - Fixed incorrect derelativizing of relative URIs with a scheme
Contributed by Gordon Mohr <gojomo at archive.org>
* [HTTPCLIENT-494] - Invalid redirect location now causes a protocol exception
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-582] - Allow access to registered cookie policies
Contributed by Sebastian Bazley <sebb at apache.org>
* [HTTPCLIENT-189] - Added support for Set-Cookie2 response headers
Contributed by Samit Jain <jain.samit at gmail.com>
* [HTTPCLIENT-66] - Implemented RFC 2965 cookie spec (Cookie2); Added support for port
sensitive cookies
Contributed by Samit Jain <jain.samit at gmail.com>
* [HTTPCLIENT-506] - Digest auth scheme now uses correct digest uri in HTTP CONNECT
requests
Contributed by Oleg Kalnichevski <olegk at apache.org>
* [HTTPCLIENT-570] - Failed CONNECT no longer leaves connection in an inconsistent state
Contributed by Oleg Kalnichevski <olegk at apache.org>
Release 3.0.1
-------------------
Changes since Release 3.0:
* 38636 - Calling HttpState.clearCookies() is now safe from a different thread.
Contributed by Peter Dolberg <observewisdom at yahoo.com>
* 38385 - Fixed NPE when creating URI from scheme specific part with null fragment
Contributed by Michele Vivoda <vivodamichele at hotmail.com>
* 38043 - Digest URI changed to include query parameters
Contributed by Oleg Kalnichevski <olegk at apache.org>
* 38004 - Fixed bug causing cyclic redirects when virtual host is set
Contributed by Oleg Kalnichevski <olegk at apache.org>
* 38139 - Calling deprecated MultiThreadedHttpConnectionManager.setMaxTotalConnections(int)
had no effect
Contributed by Ortwin Glueck <oglueck at apache.org>
* 37988 - Fixed bug in URI#toString() causing user name / password to
stripped from the resultant String
Contributed by Oleg Kalnichevski <olegk at apache.org>
Release 3.0
-------------------
New features:
-------------------
(1) Architecture
* New preference architecture
* Improved exception handling framework
* Granular non-standards configuration and tracking
* Improved HTTP Version configuration and tracking
* Support for streaming entities
* Support for tunneled HTTP proxies via the ProxyClient
* Ability to abort execution of HTTP methods
(2) Connection management
* Support for closing idle connections
* Support for JDK1.4 connect timeout through reflection
* Support for connection manager shutdown
(3) Authentication
* Improved authentication framework
* Plug-in mechanism for authentication modules
* Interactive authentication support
* Alternate authentication support
(4) Cookie management
* Cookie specification plug-in mechanism
* 'Ignore cookies' cookie policy
* Improved Netscape cookie support
(5) Redirects
* Cross-site redirect support
-------------------
API changes since 2.0
Class removed:
deprecated: public org.apache.commons.httpclient.Authenticator extends java.lang.Object
Class removed:
public org.apache.commons.httpclient.HttpConnection.ConnectionTimeoutException extends java.io.IOException
Class removed:
deprecated: public abstract org.apache.commons.httpclient.HttpUrlMethod extends java.lang.Object implements org.apache.commons.httpclient.HttpMethod
Class removed:
deprecated: public final org.apache.commons.httpclient.NTLM extends java.lang.Object
Class removed:
deprecated: public org.apache.commons.httpclient.RequestOutputStream extends java.io.OutputStream
Class removed:
deprecated: public org.apache.commons.httpclient.ResponseInputStream extends java.io.InputStream
Class removed:
deprecated: public org.apache.commons.httpclient.methods.UrlDeleteMethod extends org.apache.commons.httpclient.methods.DeleteMethod implements org.apache.commons.httpclient.HttpUrlMethod
Class removed:
deprecated: public org.apache.commons.httpclient.methods.UrlGetMethod extends org.apache.commons.httpclient.methods.GetMethod implements org.apache.commons.httpclient.HttpUrlMethod
Class removed:
deprecated: public org.apache.commons.httpclient.methods.UrlHeadMethod extends org.apache.commons.httpclient.methods.HeadMethod implements org.apache.commons.httpclient.HttpUrlMethod
Class removed:
deprecated: public org.apache.commons.httpclient.methods.UrlOptionsMethod extends org.apache.commons.httpclient.methods.OptionsMethod implements org.apache.commons.httpclient.HttpUrlMethod
Class removed:
deprecated: public org.apache.commons.httpclient.methods.UrlPostMethod extends org.apache.commons.httpclient.methods.PostMethod implements org.apache.commons.httpclient.HttpUrlMethod
Class removed:
deprecated: public org.apache.commons.httpclient.methods.UrlPutMethod extends org.apache.commons.httpclient.methods.PutMethod implements org.apache.commons.httpclient.HttpUrlMethod
Class removed:
deprecated: public final org.apache.commons.httpclient.util.Base64 extends java.lang.Object
Class added:
public org.apache.commons.httpclient.CircularRedirectException extends org.apache.commons.httpclient.RedirectException
Class added:
public org.apache.commons.httpclient.ConnectTimeoutException extends java.io.InterruptedIOException
Class added:
public org.apache.commons.httpclient.ConnectionPoolTimeoutException extends org.apache.commons.httpclient.ConnectTimeoutException
Class added:
public org.apache.commons.httpclient.DefaultHttpMethodRetryHandler extends java.lang.Object implements org.apache.commons.httpclient.HttpMethodRetryHandler
Class added:
public org.apache.commons.httpclient.HttpClientError extends java.lang.Error
Class added:
public org.apache.commons.httpclient.HttpHost extends java.lang.Object implements java.lang.Cloneable
Class added:
public abstract org.apache.commons.httpclient.HttpMethodRetryHandler extends java.lang.Object
Class added:
public org.apache.commons.httpclient.HttpVersion extends java.lang.Object implements java.lang.Comparable
Class added:
public org.apache.commons.httpclient.NoHttpResponseException extends java.io.IOException
Class added:
public org.apache.commons.httpclient.ProtocolException extends org.apache.commons.httpclient.HttpException
Class added:
public org.apache.commons.httpclient.ProxyClient extends java.lang.Object
Class added:
public org.apache.commons.httpclient.ProxyClient.ConnectResponse extends java.lang.Object
Class added:
public org.apache.commons.httpclient.ProxyHost extends org.apache.commons.httpclient.HttpHost
Class added:
public org.apache.commons.httpclient.RedirectException extends org.apache.commons.httpclient.ProtocolException
Class added:
public org.apache.commons.httpclient.auth.AuthChallengeException extends org.apache.commons.httpclient.auth.AuthenticationException
Class added:
public final org.apache.commons.httpclient.auth.AuthChallengeProcessor extends java.lang.Object
Class added:
public abstract org.apache.commons.httpclient.auth.AuthPolicy extends java.lang.Object
Class added:
public org.apache.commons.httpclient.auth.AuthScope extends java.lang.Object
Class added:
public org.apache.commons.httpclient.auth.AuthState extends java.lang.Object
Class added:
public org.apache.commons.httpclient.auth.CredentialsNotAvailableException extends org.apache.commons.httpclient.auth.AuthenticationException
Class added:
public abstract org.apache.commons.httpclient.auth.CredentialsProvider extends java.lang.Object
Class added:
public org.apache.commons.httpclient.auth.InvalidCredentialsException extends org.apache.commons.httpclient.auth.AuthenticationException
Class added:
public org.apache.commons.httpclient.cookie.IgnoreCookiesSpec extends java.lang.Object implements org.apache.commons.httpclient.cookie.CookieSpec
Class added:
public org.apache.commons.httpclient.methods.ByteArrayRequestEntity extends java.lang.Object implements org.apache.commons.httpclient.methods.RequestEntity
Class added:
public org.apache.commons.httpclient.methods.InputStreamRequestEntity extends java.lang.Object implements org.apache.commons.httpclient.methods.RequestEntity
Class added:
public abstract org.apache.commons.httpclient.methods.RequestEntity extends java.lang.Object
Class added:
public org.apache.commons.httpclient.methods.StringRequestEntity extends java.lang.Object implements org.apache.commons.httpclient.methods.RequestEntity
Class added:
public org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity extends java.lang.Object implements org.apache.commons.httpclient.methods.RequestEntity
Class added:
public org.apache.commons.httpclient.params.DefaultHttpParams extends java.lang.Object implements org.apache.commons.httpclient.params.HttpParams, java.io.Serializable, java.lang.Cloneable
Class added:
public org.apache.commons.httpclient.params.DefaultHttpParamsFactory extends java.lang.Object implements org.apache.commons.httpclient.params.HttpParamsFactory
Class added:
public org.apache.commons.httpclient.params.HostParams extends org.apache.commons.httpclient.params.DefaultHttpParams
Class added:
public org.apache.commons.httpclient.params.HttpClientParams extends org.apache.commons.httpclient.params.HttpMethodParams
Class added:
public org.apache.commons.httpclient.params.HttpConnectionManagerParams extends org.apache.commons.httpclient.params.HttpConnectionParams
Class added:
public org.apache.commons.httpclient.params.HttpConnectionParams extends org.apache.commons.httpclient.params.DefaultHttpParams
Class added:
public org.apache.commons.httpclient.params.HttpMethodParams extends org.apache.commons.httpclient.params.DefaultHttpParams
Class added:
public abstract org.apache.commons.httpclient.params.HttpParams extends java.lang.Object
Class added:
public abstract org.apache.commons.httpclient.params.HttpParamsFactory extends java.lang.Object
Class added:
public final org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory extends java.lang.Object
Class added:
public abstract org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory.SocketTask extends java.lang.Object implements java.lang.Runnable
Class added:
public final org.apache.commons.httpclient.protocol.ReflectionSocketFactory extends java.lang.Object
Class added:
public org.apache.commons.httpclient.util.DateUtil extends java.lang.Object
Class added:
public org.apache.commons.httpclient.util.ExceptionUtil extends java.lang.Object
Class added:
public org.apache.commons.httpclient.util.IdleConnectionHandler extends java.lang.Object
Class added:
public org.apache.commons.httpclient.util.IdleConnectionTimeoutThread extends java.lang.Thread
Class added:
public org.apache.commons.httpclient.util.LangUtils extends java.lang.Object
Class added:
public org.apache.commons.httpclient.util.ParameterFormatter extends java.lang.Object
Class added:
public org.apache.commons.httpclient.util.ParameterParser extends java.lang.Object
Class changed: org.apache.commons.httpclient.ChunkedInputStream
Methods added:
public ChunkedInputStream(java.io.InputStream) throws java.io.IOException;
Class changed: org.apache.commons.httpclient.ChunkedOutputStream
Methods removed:
public void print(java.lang.String) throws java.io.IOException;
public void println() throws java.io.IOException;
public void println(java.lang.String) throws java.io.IOException;
Methods added:
public ChunkedOutputStream(java.io.OutputStream, int) throws java.io.IOException;
public void finish() throws java.io.IOException;
protected void flushCache() throws java.io.IOException;
protected void flushCacheWithAppend(byte[], int, int) throws java.io.IOException;
public void write(byte[]) throws java.io.IOException;
Method changed:
old:
public ChunkedOutputStream(java.io.OutputStream);
new:
public ChunkedOutputStream(java.io.OutputStream) throws java.io.IOException;
Method changed:
old:
public void write(int) throws java.io.IOException, java.lang.IllegalStateException;
new:
public void write(int) throws java.io.IOException;
Method changed:
old:
public void writeClosingChunk() throws java.io.IOException;
new:
protected void writeClosingChunk() throws java.io.IOException;
Class changed: org.apache.commons.httpclient.ConnectMethod
Methods removed:
protected void addAuthorizationRequestHeader(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
protected void addContentLengthRequestHeader(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
Methods added:
public ConnectMethod();
Method changed:
old:
public ConnectMethod(org.apache.commons.httpclient.HttpMethod);
new:
deprecated: public ConnectMethod(org.apache.commons.httpclient.HttpMethod);
Class changed: org.apache.commons.httpclient.ContentLengthInputStream
Methods added:
public ContentLengthInputStream(java.io.InputStream, long);
Method changed:
old:
public ContentLengthInputStream(java.io.InputStream, int);
new:
deprecated: public ContentLengthInputStream(java.io.InputStream, int);
Class changed: org.apache.commons.httpclient.Cookie
Methods removed:
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;
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;
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;
deprecated: public static org.apache.commons.httpclient.Header createCookieHeader(java.lang.String, java.lang.String, org.apache.commons.httpclient.Cookie[]);
deprecated: public boolean matches(java.lang.String, int, java.lang.String, boolean);
deprecated: public boolean matches(java.lang.String, int, java.lang.String, boolean, java.util.Date);
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;
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;
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;
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;
Class changed: org.apache.commons.httpclient.DefaultMethodRetryHandler
Class descriptor changed:
old:
public org.apache.commons.httpclient.DefaultMethodRetryHandler extends java.lang.Object implements org.apache.commons.httpclient.MethodRetryHandler
new:
deprecated: public org.apache.commons.httpclient.DefaultMethodRetryHandler extends java.lang.Object implements org.apache.commons.httpclient.MethodRetryHandler
Class changed: org.apache.commons.httpclient.Header
Methods added:
public Header(java.lang.String, java.lang.String, boolean);
public org.apache.commons.httpclient.HeaderElement[] getElements();
public boolean isAutogenerated();
Method changed:
old:
public org.apache.commons.httpclient.HeaderElement[] getValues() throws org.apache.commons.httpclient.HttpException;
new:
deprecated: public org.apache.commons.httpclient.HeaderElement[] getValues() throws org.apache.commons.httpclient.HttpException;
Class changed: org.apache.commons.httpclient.HeaderElement
Methods removed:
protected void setParameters(org.apache.commons.httpclient.NameValuePair[]);
Methods added:
public HeaderElement(char[]);
public HeaderElement(char[], int, int);
public final static org.apache.commons.httpclient.HeaderElement[] parseElements(java.lang.String);
public final static org.apache.commons.httpclient.HeaderElement[] parseElements(char[]);
Method changed:
old:
public final static org.apache.commons.httpclient.HeaderElement[] parse(java.lang.String) throws org.apache.commons.httpclient.HttpException;
new:
deprecated: public final static org.apache.commons.httpclient.HeaderElement[] parse(java.lang.String) throws org.apache.commons.httpclient.HttpException;
Class changed: org.apache.commons.httpclient.HeaderGroup
Methods added:
public java.util.Iterator getIterator();
Class changed: org.apache.commons.httpclient.HostConfiguration
Methods added:
public org.apache.commons.httpclient.params.HostParams getParams();
public synchronized void setHost(org.apache.commons.httpclient.HttpHost);
public void setParams(org.apache.commons.httpclient.params.HostParams);
public synchronized void setProxyHost(org.apache.commons.httpclient.ProxyHost);
Fields added:
public final static org.apache.commons.httpclient.HostConfiguration ANY_HOST_CONFIGURATION;
Method changed:
old:
public synchronized java.lang.String getVirtualHost();
new:
deprecated: public synchronized java.lang.String getVirtualHost();
Method changed:
old:
public int hashCode();
new:
public synchronized int hashCode();
Method changed:
old:
public synchronized boolean isHostSet();
new:
deprecated: public synchronized boolean isHostSet();
Method changed:
old:
public synchronized boolean isProxySet();
new:
deprecated: public synchronized boolean isProxySet();
Method changed:
old:
public synchronized void setHost(java.lang.String, java.lang.String, int, org.apache.commons.httpclient.protocol.Protocol);
new:
deprecated: public synchronized void setHost(java.lang.String, java.lang.String, int, org.apache.commons.httpclient.protocol.Protocol);
Class changed: org.apache.commons.httpclient.HttpClient
Methods removed:
deprecated: public void endSession() throws java.io.IOException;
deprecated: public void startSession(java.lang.String, int);
deprecated: public void startSession(java.lang.String, int, java.lang.String, int);
deprecated: public void startSession(java.lang.String, int, java.lang.String, int, boolean);
deprecated: public void startSession(java.lang.String, int, org.apache.commons.httpclient.Credentials);
deprecated: public void startSession(java.lang.String, int, org.apache.commons.httpclient.Credentials, boolean);
deprecated: public void startSession(java.lang.String, int, boolean);
deprecated: public void startSession(java.net.URL) throws java.lang.IllegalArgumentException;
deprecated: public void startSession(java.net.URL, org.apache.commons.httpclient.Credentials) throws java.lang.IllegalArgumentException;
deprecated: public void startSession(org.apache.commons.httpclient.URI) throws org.apache.commons.httpclient.URIException, java.lang.IllegalStateException;
Methods added:
public HttpClient(org.apache.commons.httpclient.params.HttpClientParams);
public HttpClient(org.apache.commons.httpclient.params.HttpClientParams, org.apache.commons.httpclient.HttpConnectionManager);
public org.apache.commons.httpclient.params.HttpClientParams getParams();
public void setParams(org.apache.commons.httpclient.params.HttpClientParams);
Method changed:
old:
public synchronized boolean isStrictMode();
new:
deprecated: public synchronized boolean isStrictMode();
Method changed:
old:
public synchronized void setConnectionTimeout(int);
new:
deprecated: public synchronized void setConnectionTimeout(int);
Method changed:
old:
public synchronized void setHttpConnectionFactoryTimeout(long);
new:
deprecated: public synchronized void setHttpConnectionFactoryTimeout(long);
Method changed:
old:
public synchronized void setStrictMode(boolean);
new:
deprecated: public synchronized void setStrictMode(boolean);
Method changed:
old:
public synchronized void setTimeout(int);
new:
deprecated: public synchronized void setTimeout(int);
Class changed: org.apache.commons.httpclient.HttpConnection
Methods removed:
deprecated: public HttpConnection(java.lang.String, int, java.lang.String, int, boolean);
deprecated: public HttpConnection(java.lang.String, int, boolean);
deprecated: public java.io.OutputStream getRequestOutputStream(boolean) throws java.io.IOException, java.lang.IllegalStateException;
deprecated: public java.io.InputStream getResponseInputStream(org.apache.commons.httpclient.HttpMethod) throws java.io.IOException, java.lang.IllegalStateException;
deprecated: public void setSecure(boolean) throws java.lang.IllegalStateException;
Methods added:
public HttpConnection(java.lang.String, int, java.lang.String, int, org.apache.commons.httpclient.protocol.Protocol);
public boolean closeIfStale() throws java.io.IOException;
public org.apache.commons.httpclient.params.HttpConnectionParams getParams();
protected java.net.Socket getSocket();
protected boolean isLocked();
public void print(java.lang.String, java.lang.String) throws java.io.IOException, java.lang.IllegalStateException;
public void printLine(java.lang.String, java.lang.String) throws java.io.IOException, java.lang.IllegalStateException;
public java.lang.String readLine(java.lang.String) throws java.io.IOException, java.lang.IllegalStateException;
protected void setLocked(boolean);
public void setParams(org.apache.commons.httpclient.params.HttpConnectionParams);
public void setSocketTimeout(int) throws java.net.SocketException, java.lang.IllegalStateException;
Method changed:
old:
public HttpConnection(java.lang.String, int, java.lang.String, java.lang.String, int, org.apache.commons.httpclient.protocol.Protocol);
new:
deprecated: public HttpConnection(java.lang.String, int, java.lang.String, java.lang.String, int, org.apache.commons.httpclient.protocol.Protocol);
Method changed:
old:
public int getSoTimeout() throws java.net.SocketException;
new:
deprecated: public int getSoTimeout() throws java.net.SocketException;
Method changed:
old:
public java.lang.String getVirtualHost();
new:
deprecated: public java.lang.String getVirtualHost();
Method changed:
old:
protected boolean isStale();
new:
protected boolean isStale() throws java.io.IOException;
Method changed:
old:
public boolean isStaleCheckingEnabled();
new:
deprecated: public boolean isStaleCheckingEnabled();
Method changed:
old:
public void print(java.lang.String) throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
new:
deprecated: public void print(java.lang.String) throws java.io.IOException, java.lang.IllegalStateException;
Method changed:
old:
public void printLine() throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
new:
public void printLine() throws java.io.IOException, java.lang.IllegalStateException;
Method changed:
old:
public void printLine(java.lang.String) throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
new:
deprecated: public void printLine(java.lang.String) throws java.io.IOException, java.lang.IllegalStateException;
Method changed:
old:
public java.lang.String readLine() throws java.io.IOException, java.lang.IllegalStateException;
new:
deprecated: public java.lang.String readLine() throws java.io.IOException, java.lang.IllegalStateException;
Method changed:
old:
public void setConnectionTimeout(int);
new:
deprecated: public void setConnectionTimeout(int);
Method changed:
old:
public void setSendBufferSize(int) throws java.net.SocketException;
new:
deprecated: public void setSendBufferSize(int) throws java.net.SocketException;
Method changed:
old:
public void setSoTimeout(int) throws java.net.SocketException, java.lang.IllegalStateException;
new:
deprecated: public void setSoTimeout(int) throws java.net.SocketException, java.lang.IllegalStateException;
Method changed:
old:
public void setStaleCheckingEnabled(boolean);
new:
deprecated: public void setStaleCheckingEnabled(boolean);
Method changed:
old:
public void setVirtualHost(java.lang.String) throws java.lang.IllegalStateException;
new:
deprecated: public void setVirtualHost(java.lang.String) throws java.lang.IllegalStateException;
Method changed:
old:
public void shutdownOutput();
new:
deprecated: public void shutdownOutput();
Method changed:
old:
public void write(byte[]) throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
new:
public void write(byte[]) throws java.io.IOException, java.lang.IllegalStateException;
Method changed:
old:
public void write(byte[], int, int) throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
new:
public void write(byte[], int, int) throws java.io.IOException, java.lang.IllegalStateException;
Method changed:
old:
public void writeLine() throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
new:
public void writeLine() throws java.io.IOException, java.lang.IllegalStateException;
Method changed:
old:
public void writeLine(byte[]) throws java.io.IOException, java.lang.IllegalStateException, org.apache.commons.httpclient.HttpRecoverableException;
new:
public void writeLine(byte[]) throws java.io.IOException, java.lang.IllegalStateException;
Class changed: org.apache.commons.httpclient.HttpConnectionManager
Methods added:
public abstract void closeIdleConnections(long);
public abstract org.apache.commons.httpclient.HttpConnection getConnectionWithTimeout(org.apache.commons.httpclient.HostConfiguration, long) throws org.apache.commons.httpclient.ConnectionPoolTimeoutException;
public abstract org.apache.commons.httpclient.params.HttpConnectionManagerParams getParams();
public abstract void setParams(org.apache.commons.httpclient.params.HttpConnectionManagerParams);
Method changed:
old:
public abstract org.apache.commons.httpclient.HttpConnection getConnection(org.apache.commons.httpclient.HostConfiguration, long) throws org.apache.commons.httpclient.HttpException;
new:
deprecated: public abstract org.apache.commons.httpclient.HttpConnection getConnection(org.apache.commons.httpclient.HostConfiguration, long) throws org.apache.commons.httpclient.HttpException;
Class changed: org.apache.commons.httpclient.HttpConstants
Class descriptor changed:
old:
public org.apache.commons.httpclient.HttpConstants extends java.lang.Object
new:
deprecated: public org.apache.commons.httpclient.HttpConstants extends java.lang.Object
Class changed: org.apache.commons.httpclient.HttpException
Methods added:
public HttpException(java.lang.String, java.lang.Throwable);
public java.lang.Throwable getCause();
deprecated: public java.lang.String getReason();
deprecated: public int getReasonCode();
public void printStackTrace();
public void printStackTrace(java.io.PrintStream);
public void printStackTrace(java.io.PrintWriter);
deprecated: public void setReason(java.lang.String);
deprecated: public void setReasonCode(int);
Class descriptor changed:
old:
public org.apache.commons.httpclient.HttpException extends org.apache.commons.httpclient.URIException
new:
public org.apache.commons.httpclient.HttpException extends java.io.IOException
Class changed: org.apache.commons.httpclient.HttpMethod
Methods added:
public abstract void abort();
public abstract org.apache.commons.httpclient.auth.AuthState getHostAuthState();
public abstract org.apache.commons.httpclient.params.HttpMethodParams getParams();
public abstract org.apache.commons.httpclient.auth.AuthState getProxyAuthState();
public abstract org.apache.commons.httpclient.Header[] getRequestHeaders(java.lang.String);
public abstract org.apache.commons.httpclient.Header[] getResponseHeaders(java.lang.String);
public abstract boolean isRequestSent();
public abstract void removeRequestHeader(org.apache.commons.httpclient.Header);
public abstract void setParams(org.apache.commons.httpclient.params.HttpMethodParams);
public abstract void setURI(org.apache.commons.httpclient.URI) throws org.apache.commons.httpclient.URIException;
Method changed:
old:
public abstract org.apache.commons.httpclient.HostConfiguration getHostConfiguration();
new:
deprecated: public abstract org.apache.commons.httpclient.HostConfiguration getHostConfiguration();
Method changed:
old:
public abstract byte[] getResponseBody();
new:
public abstract byte[] getResponseBody() throws java.io.IOException;
Method changed:
old:
public abstract java.lang.String getResponseBodyAsString();
new:
public abstract java.lang.String getResponseBodyAsString() throws java.io.IOException;
Method changed:
old:
public abstract boolean isStrictMode();
new:
deprecated: public abstract boolean isStrictMode();
Method changed:
old:
public abstract void setStrictMode(boolean);
new:
deprecated: public abstract void setStrictMode(boolean);
Class changed: org.apache.commons.httpclient.HttpMethodBase
Methods removed:
protected void addAuthorizationRequestHeader(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
protected void addContentLengthRequestHeader(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
protected void addProxyAuthorizationRequestHeader(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws java.io.IOException, org.apache.commons.httpclient.HttpException;
protected void fakeResponse(org.apache.commons.httpclient.StatusLine, org.apache.commons.httpclient.HeaderGroup, java.io.InputStream);
protected int getRequestContentLength();
protected int getResponseContentLength();
Methods added:
public void abort();
public org.apache.commons.httpclient.HttpVersion getEffectiveVersion();
public org.apache.commons.httpclient.auth.AuthState getHostAuthState();
public org.apache.commons.httpclient.params.HttpMethodParams getParams();
public org.apache.commons.httpclient.auth.AuthState getProxyAuthState();
public org.apache.commons.httpclient.Header[] getRequestHeaders(java.lang.String);
public long getResponseContentLength();
public org.apache.commons.httpclient.Header[] getResponseHeaders(java.lang.String);
public boolean isAborted();
public boolean isRequestSent();
public void removeRequestHeader(org.apache.commons.httpclient.Header);
public void setParams(org.apache.commons.httpclient.params.HttpMethodParams);
public void setURI(org.apache.commons.httpclient.URI) throws org.apache.commons.httpclient.URIException;
Fields removed:
protected final static org.apache.commons.httpclient.Header USER_AGENT;
Method changed:
old:
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;
new:
public int execute(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpConnection) throws org.apache.commons.httpclient.HttpException, java.io.IOException;
Method changed:
old:
public java.lang.String getAuthenticationRealm();
new:
deprecated: public java.lang.String getAuthenticationRealm();
Method changed:
old:
protected static java.lang.String getContentCharSet(org.apache.commons.httpclient.Header);
new:
protected java.lang.String getContentCharSet(org.apache.commons.httpclient.Header);
Method changed:
old:
public org.apache.commons.httpclient.HostConfiguration getHostConfiguration();
new:
deprecated: public org.apache.commons.httpclient.HostConfiguration getHostConfiguration();
Method changed:
old:
public org.apache.commons.httpclient.MethodRetryHandler getMethodRetryHandler();
new:
deprecated: public org.apache.commons.httpclient.MethodRetryHandler getMethodRetryHandler();
Method changed:
old:
public java.lang.String getProxyAuthenticationRealm();
new:
deprecated: public java.lang.String getProxyAuthenticationRealm();
Method changed:
old:
public int getRecoverableExceptionCount();
new:
deprecated: public int getRecoverableExceptionCount();
Method changed:
old:
public byte[] getResponseBody();
new:
public byte[] getResponseBody() throws java.io.IOException;
Method changed:
old:
public java.lang.String getResponseBodyAsString();
new:
public java.lang.String getResponseBodyAsString() throws java.io.IOException;
Method changed:
old:
public boolean isHttp11();
new:
deprecated: public boolean isHttp11();