forked from avianey/android-jersey-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchanges.txt
2977 lines (2921 loc) · 147 KB
/
changes.txt
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 1.17.1 (02-2013)
- Fixed issue JERSEY-1758
http://java.net/jira/browse/JERSEY-1758
Run CTS on WLS 12.1.2
release 1.17 (01-2013)
- Fixed issue JERSEY-1642
http://java.net/jira/browse/JERSEY-1642
ResponseListener#onError is never invoked
- Fixed issue JERSEY-1641
http://java.net/jira/browse/JERSEY-1641
Accepted contribution by Arul Dhesiaseelan - Simple Server version update (4.1.20 -> 5.0.4)
- Fixed issue JERSEY-1618
http://java.net/jira/browse/JERSEY-1618
Incorrect ResourceConfig initialization"
release 1.16 (12-2012)
- Fixed issue JERSEY-1601
http://java.net/jira/browse/JERSEY-1601
Avoid String type to store plain passwords when using HTTPBasicAuthFilter and HTTPDigestAuthFilter
- Fixed issue
OPTIONS call to a webservice method with a "/" in path does not return method element
- Fixed issue JERSEY-1459
http://java.net/jira/browse/JERSEY-1459
Unmarshalling error when parsing a JSON message generated from Jira 5.1.x
release 1.15 (10-2012)
- Fixed issue JERSEY-1441
http://java.net/jira/browse/JERSEY-1441
Jersey bookstore sample test cases need reactivation
- Fixed issue JERSEY-1440
http://java.net/jira/browse/JERSEY-1440
Dead links found in sample READMEs + JERSEY-1440: Dead links found in sample READMEs
- Fixed issue JERSEY-1409
http://java.net/jira/browse/JERSEY-1409
Enabled InputStream parameter to be set on a WADL generator by relaxing parameter type check
- Fixed issue JERSEY-1436
http://java.net/jira/browse/JERSEY-1436
storage-service example: README clarification
- Fixed issue JERSEY-1433
http://java.net/jira/browse/JERSEY-1433
Incorrect implementation of default servlet (Grizzly 2)
- Fixed issue JERSEY-1448
http://java.net/jira/browse/JERSEY-1448
Multipart.BodyPart only allowing headers that start with Content-*
- Fixed issue JERSEY-1438
http://java.net/jira/browse/JERSEY-1438
Actual WADL generator type classloader should be used when creating JAXBContext for WADL generation
- Fixed issue JERSEY-769
http://java.net/jira/browse/JERSEY-769
jersey-json has multiple dependencies on stax-api, breaks deployment in some circumstances
- Fixed issue JERSEY-1426
http://java.net/jira/browse/JERSEY-1426
Bad OSGi manifests for jersey-server and jersey-servlet
- Fixed issue JERSEY-1386
http://java.net/jira/browse/JERSEY-1386
Applied the patch from Charlie Groves to unwrap WebApplicationException from the Guice ProvisionException.
release 1.14 (09-2012)
- Fixed issue JERSEY-1400
http://java.net/jira/browse/JERSEY-1400
Bad format JSON request got Http200(OK)
- Fixed issue JERSEY-759
http://java.net/jira/browse/JERSEY-759
Getting file name from the content disposition header of multi-part messages sent by Internet Explorer was broken.
- Fixed issue JERSEY-1410
http://java.net/jira/browse/JERSEY-1410
Added length check (prevents StringIndexOutOfBoundsException)
- Fixed issue JERSEY-1407
http://java.net/jira/browse/JERSEY-1407
Licensee bundle now includes JAX-RS sources
- Fixed issue JERSEY-1277
The web container Grizzly doesn't call anymore the ServletContextListener instances at shutdown
Grizzly version upgraded to 2.2.16
Grizzly HTTP Client upgraded to 1.2
- Fixed issue JERSEY-881
http://java.net/jira/browse/JERSEY-881
Package name resource config does not work in OSGi environment
- Fixed issue JERSEY-1373
http://java.net/jira/browse/JERSEY-1373
Features are lost when configuring PackagesResourceConfig using @ApplicationPath
- Fixed issue JERSEY-1392
http://java.net/jira/browse/JERSEY-1392
Jersey Inmemory container rewrites Container Request/Response Filters
- Fixed issue JERSEY-1197
http://java.net/jira/browse/JERSEY-1197
Jersey Test Framework constructor fails when given multiple packages
- Fixed issue JERSEY-1336
http://java.net/jira/browse/JERSEY-1336
WADL: Matrix params were generated in "request" element, which violates WADL spec; moved
to resource where it should be.
- Fixed issue JERSEY-1350
http://java.net/jira/browse/JERSEY-1350
Memory leak in OAuth NonceManager
- Fixed issue JERSEY-1341
http://java.net/jira/browse/JERSEY-1341
UriBuilderImpl is now adding "=" after the query parameter name even if the value is empty.
- Fixed issue JERSEY-1293
http://java.net/jira/browse/JERSEY-1293
ApacheHttpClient4 proxy uri was not used when credentials were not specified.
- Fixed issue JERSEY-1230
http://java.net/jira/browse/JERSEY-1230
Added property to WadlGeneratorGrammarsSupport which controls whether Jersey generated
grammars should be used when user explicitly sets its own grammar.
- Fixed issue 677
http://java.net/jira/browse/JERSEY-677
OSGi Manifest imports incomplete in jersey-spring
- Fixed issue 1259
http://java.net/jira/browse/JERSEY-1259
Array out of bounds error when you specify an empty list of @Produces annotation
release 1.13 (07-2012)
- Fixed regression in EJB dispatching. Original GlassFish issue 16199
http://java.net/jira/browse/GLASSFISH-16199
IllegalArgumentException: object is not an instance of declaring class - on a REST / EJB Service
This was broken again after Servlet stuff was separated out from the jersey-server module
- Fixed issue 1225
http://java.net/jira/browse/JERSEY-1225
Javadoc for JerseyTest is out of date
- Fixed issue 1124
http://java.net/jira/browse/JERSEY-1124
ServiceFinder not returning services in META-INF/services
- Fixed issue 1228
http://java.net/jira/browse/JERSEY-1228
Add Vary header in GZIPContentEncodingFilter, other improvements wrt. GZIP encoding vs. ETags
- Fixed issue 1220
http://java.net/jira/browse/JERSEY-1220
Improved string to object conversion for request parameters.
- Fixed issue 1165
http://java.net/jira/browse/JERSEY-1165
Fix failing tests when MOXy is used as the JAXB provider
- Fixed issue 1221
http://java.net/jira/browse/JERSEY-1221
Helloworld OSGi WebApp won't build under Java7
- Fixed issue 1219
http://java.net/jira/browse/JERSEY-1219
Added ResourceContext binding to Guice
- Fixed issue 1200
http://java.net/jira/browse/JERSEY-1200
Extracting Form parameters when consumed by filters was specific to POST method. Now it works for PUT and other methods as well.
- Fixed issue 1057
http://java.net/jira/browse/JERSEY-1057
SAXParserContextProvider fail inconsistenly for missing XML parser features
- Fixed issue 1199
http://java.net/jira/browse/JERSEY-1199
Incorrect JSON serialization of xsi:type when preceding object ends with an array property
- Improved handling of external XML entities
- Fixed issue 1198
http://java.net/jira/browse/JERSEY-1198
UriTemplates containing characters that had special meaning (for regex expressions) did not work correctly.
- Fixed issue 1168
http://java.net/jira/browse/JERSEY-1168
XML Trees don't serialize children arrays correctly when the sub element is the same
as the root element after the first level with Natural Json formatting
- Fixed issue 1132
http://java.net/jira/browse/JERSEY-1132
Add param to @Produces to indicate desire to produce valid JSON syntax
- Fixed issue 1161
http://java.net/jira/browse/JERSEY-1161
Added log message when GET method is going to be replaced with POST
(HttpUrlConnection implementation "detail").
- Fixed issue 1130
http://java.net/jira/browse/JERSEY-1130
BeanGenerator.generatedClassCounter is now static (there were issues with
multiple instances in the same thread/jvm).
- Fixed issue 1127
http://java.net/jira/browse/JERSEY-1127
Receiving responses using the client API failed occassionally when using chunked encoding.
- Fixed issue 1114
http://java.net/jira/browse/JERSEY-1114
UriTemplate was not concatenating URI with path correctly.
- Fixed issue 1118
http://java.net/jira/browse/JERSEY-1118
The NPE occurs when a java type of consumes is a primitive type, and not found entity provider
- Fixed issue 1042
http://java.net/jira/browse/JERSEY-1042
JsonXmlStreamReader is not working correctly with MOXy
- Fixed issue 770
http://java.net/jira/browse/JERSEY-770
JsonXmlStreamWriter writeCData "not supported yet"
- Fixed issue 1131
http://java.net/jira/browse/JERSEY-1131
Missing null check in WadlGeneratorResourceDocSupport
- Fixed issue 1081
http://java.net/jira/browse/JERSEY-1081
UriBuilderImpl did not clone it's state correctly when calling clone() method.
- Fixed issue 1064
http://java.net/jira/browse/JERSEY-1064
Checking for null in OAuthSignature.addParam() to avoid NPE's when query parameters don't have values.
- Grizzly 2 version update (to 2.2.4)
- Fixed issue 880
http://java.net/jira/browse/JERSEY-880
com.sun.jersey.config.property.WebPageContentRegex parameter fails on a Websphere Application Server.
- Fixed issue 1055
http://java.net/jira/browse/JERSEY-1055
Fix vulnerable sample of code in documentation
- Fixed issue 797
http://java.net/jira/browse/JERSEY-797
HttpRequestContext.getAcceptableMediaType() Javadoc should specify alternatives
- Fixed issue 780
http://java.net/jira/browse/JERSEY-780
Malformed URL returns a 500 instead of a 400
- Fixed issue 843
http://java.net/jira/browse/JERSEY-843
Some javadoc links are broken
- Fixed issue 1000
http://java.net/jira/browse/JERSEY-1000
Improvement suggestions for https-server-glassfish sample
- Fixed issue 670
http://java.net/jira/browse/JERSEY-670
jacksonjsonprovider sample improvement requests
- Fixed issue 1014
http://java.net/jira/browse/JERSEY-1014
Null Pointer Exception when resources are not found
- Fixed issue 1003
http://java.net/jira/browse/JERSEY-1003
Adjusted log level in FieldDescriptor class
- Fixed issue 752
http://java.net/jira/browse/JERSEY-752
Exported packages in manifest don't have versions
- Added SubjectSecurityContext to enable subject-based security
*Added getSecurityContext() method to ContainerRequest*
- Fixed issue 988
http://java.net/jira/browse/JERSEY-988
Applied patch which tries to find/access non-public constructor for JAXB beans
while generating XML Schema to be included in WADL.
- Fixed issue 964
http://java.net/jira/browse/JERSEY-964
Making *WebResource.Builders not final to make mocking possible.
- Fixed issue 985
http://java.net/jira/browse/JERSEY-985
Non-blocking client now takes ssl settings (via HTTPSPropertins) into account.
release 1.12 (02-2012)
- Fixed issue 671
http://java.net/jira/browse/JERSEY-671
Added missing createAircraftType() method to json-from-jaxb sample in JAXB ObjectFactory
- Fixed issue 934
http://java.net/jira/browse/JERSEY-934
Added '\n' to ResourceConfig.COMMON_DELIMITERS (to ease params declarations)
- Fixed issue 830
http://java.net/jira/browse/JERSEY-830
Fixed issue with WADL generation when dealing with nested generic types; added check before trying to cast Type to Class
- Fixed issue 874
http://java.net/jira/browse/JERSEY-874
Added "throws ClientHandlerException" to all methods declared in UniformInterface, same for its successors.
- Fixed issue 883
http://java.net/jira/browse/JERSEY-883
Improved support for CDI Bean manager lookup
- Fixed issue 943
http://java.net/jira/browse/JERSEY-943
Fixed archetype jersey-quickstart-grizzly2.
- Fixed issue 907
http://java.net/jira/browse/JERSEY-906
Modified documentation (user guide) to reflect current implementation (client filter execution order).
- Fixed issue 906
http://java.net/jira/browse/JERSEY-906
Added missing grizzly-framework-2.1.2.jar file to the list of jars 'Non-maven developers require:' in getting-started guide
- Fixed issue 902
http://java.net/jira/browse/JERSEY-902
Fix broken links to JSR311 Javadocs in Overview of JAX-RS 1.1.1 chapter of Jersey User Guide.
- Fixed issue 840
http://java.net/jira/browse/JERSEY-840
Added jersey-grizzly2.jar to list required for non-maven developers to fix broken Getting Started section in the Jersey User Guide.
- Grizzly 2 version update (to 2.2.1)
- Switched implementation used in async http client from jetty to grizzly
- Fixed issue 898
http://java.net/jira/browse/JERSEY-898
Added missing null checks to ContainerRequest.evaluatePreconditions(Date | EntityTag)
- Fixed issue 876
http://java.net/jira/browse/JERSEY-876
Adapted to recent change in Grizzly 1.x API.
release 1.11 (12-2011)
- Fixed issue 875
http://java.net/jira/browse/JERSEY-875
Fixed broken jersey-quickstart-ejb archetype, removed jaxb dependency from pom, it's not required.
- Fixed issue 838
http://java.net/jira/browse/JERSEY-838
Fixed broken jersey-quickstart-grizzly2 archetype, added missing dependency to pom and corrected package import.
- Fixed issue 849
http://java.net/jira/browse/JERSEY-849
"Registering with Twitter" section updated to match current Twitter UI in samples/oauth-client-twitter/README.html
- Fixed issue 844
http://java.net/jira/browse/JERSEY-844
Links pointing to "hypermedia-action-sample" broken in user guide
- Fixed issue 835
http://java.net/jira/browse/JERSEY-835
JsonLexer used to throw java.lang.Error in case of syntactical errors with the JSON stream. Fixed to throw JsonFormatException which gets subsequently wrapped (by the message processing chain) an a WebApplicationException with the status code 400.
- Fixed issue 627
http://java.net/jira/browse/JERSEY-627
Parameters of media type are not quoted correctly if containing separators.
- Fixed issue 833
http://java.net/jira/browse/JERSEY-833
Normalization of the request parameters now correctly orders request parameters.
- Jackson dependency upgrade: 1.8.3 -> 1.9.0
- Added EclipseLink MOXy support (http://wiki.eclipse.org/EclipseLink/Examples/MOXy)
The main added value is the external JAXB binding feature,
see moxy-oxm-mapping example for details
- Workarounded issue 802
http://java.net/jira/browse/JERSEY-802
Client filters are not executed when using NonBlockingClient and making
async web requests. Introduced a way how to set Ning request/response filters,
Jersey client filters can't be used.
release 1.10 (11-2011)
- Fixed issue 791
http://java.net/jira/browse/JERSEY-796
jersey-archive was incorrectly updated when jersey-servlet module was introduced
- Fixed issue 796
http://java.net/jira/browse/JERSEY-796
Wadl generated in response to OPTIONS request wasn't generated correctly;
fixed by using JAXBContext from WadlApplicationContext.
- Fixed issue 778
http://java.net/jira/browse/JERSEY-778
* Breaking change *
Modified WadlGenerator interface to be able to generate more than one response
for one declared method; this is particularly useful when you are producing
different element (entity types) with different status codes. See WADL spec
(http://www.w3.org/Submission/wadl/#x3-40001.3) and/or Extended WADL
webapp sample for more details.
- Fixed issue 794
http://java.net/jira/browse/JERSEY-794
Resources base in generated wadl does not reflect only first request anymore,
redesigned cache to invalidate when request comes form different base URI.
- Fixed issue 29
http://java.net/jira/browse/JERSEY-29
Response to GET /application.wadl and OPTIONS /url now contains Last-modified
header
- Fixed issue 789
http://java.net/jira/browse/JERSEY-789
OAuthServerFilter now compares consumer keys instead of consumer secrets
- Fixed issue 777
http://java.net/jira/browse/JERSEY-777
Provide support for byte[] in FormDataBodyPart
- Fixed issue 784
http://java.net/jira/browse/JERSEY-784
Base64.isBase64 fix (was not applicable to all values from byte value range)
- Fixed issue 773
http://java.net/jira/browse/JERSEY-773
Regression: WADL resurces base URI customization stopped working in Jersey 1.9
- Fixed issue 763
http://java.net/jira/browse/JERSEY-763
VfsSchemeScanner cannot be run in Jboss-7 environment
- *Breaking change*
Grizzly 2 ServletHandler support separated out to a new, jersey-grizzly2-servlet, module
- *Breaking change*
Ant task for generating WADL moved from jersey-server to a newly created contribs/ant-wadl-task module
- *Breaking change*
Servlet, EJB and CDI integration separated out from the jersey-server module
When using Jersey in a Servlet container, jersey-server dependency need to be replaced with jersey-servlet
release 1.9.1
- improved error checking on OAuthClientFilter - if the internal requests for tokens fail, it now propagates the failure (the response from the server) to the client rather than ignoring it and failing later on getAuthorizationUri() method.
- Fixed issue 765
http://java.net/jira/browse/JERSEY-765
Jersey can now marshall/unmarshall all the standard collection types (Set, Queue, LinkedList, etc.) and any custom ones with the default constructor.
- Fixed an issue in OAuthClientFilter causing it to ask for a new request token instead of resuming the authentication after the authentication flow gets suspended to retrieve the verifier code.
- Fixed issues 65, 166, 220
http://java.net/jira/browse/JERSEY-65
http://java.net/jira/browse/JERSEY-166
http://java.net/jira/browse/JERSEY-220
Extended the functionality of PostReplaceFilter to add support for:
- specifying the overriding method in the query parameter (besides the existing header support)
- configuration property, so that user can choose if both the header as well as the query param should be supported
- converting form parameters to query parameters in case of overriding to GET
- Fixed issues 506 and 760
http://java.net/jira/browse/JERSEY-506
http://java.net/jira/browse/JERSEY-760
Improved heuristics to determine if servlet extension or path mapping was used. Passing the full servlet path to the resources if extension mapping is used.
release 1.9 (09-2011)
- Fixed issue 761
http://java.net/jira/browse/JERSEY-761
Fix typo in com.sun.jersey.api.core.ResourceConfig
- Cross-Site Request Forgery protection filters were added to jersey-server and jersey-client. On the server side, the filter checks for the custom header X-Requested-By for any potentially state changing methods (i.e. methods other than GET, HEAD and OPTIONS). If the header is not present, bad request error is returned to the client. The client side filter ensures the X-Requested-By header is added to the requests.
- Wadl generator capable of generating XML schemas for params is used by default from now.
- Added support for Freemarker templates, see contribs/jersey-freemarker and samples/freemarker
- Fixed issue 755
http://java.net/jira/browse/JERSEY-755
Wadl javadoc tag - response doc wasn't processed correctly in all cases
- Fixed issue 756
http://java.net/jira/browse/JERSEY-756
Applied patch from a contributor - schemas generated during wadl creation weren't included in ouput
of maven-wadl-plugin
- Jersey non blocking client moved from experimental to contribs
- Fixed issue 753
http://java.net/jira/browse/JERSEY-753
Removed a hard dependency on JAXB RI introduced when implementing support for XmlHeader annotation in Jersey 1.6.
- Fixed issue 686
http://java.net/jira/browse/JERSEY-686
Clarified WebAppDescriptor's contextPath and servletPath
- Jackson dependency upgrade: 1.7.1 -> 1.8.3
- Fixed issue 745
http://java.net/jira/browse/JERSEY-745
@FormDataParam parameters were ignored in generated wadl
- Suport for Generating XML Schema from JAX-B classes
Added wadl decorator WadlGeneratorJAXBGrammarGenerator that looks at attached JAX-B classes and automatically
generates schemas for them.
- Fixed issue 737
http://java.net/jira/browse/JERSEY-737
javadoc typo
- *Breaking change*
Updating wadl namespace from "http://research.sun.com/wadl/2006/10" to
"http://wadl.dev.java.net/2009/02". WADL format changed slightly too, see
http://wadl.java.net/wadl20090202.xsd
release 1.8 (06-2011)
- Fixed GlassFish issue 16199
http://java.net/jira/browse/GLASSFISH-16199
IllegalArgumentException: object is not an instance of declaring class - on a REST / EJB Service
- Breaking change in client API - removed RequestWriter.headerValueToString().
Also changed constructors of AsyncWebResource and AsyncViewResource to
protected (from package private and private).
- Fixed issue 726
JSON POJO mapping feature does not allow to register custom object mappers for different types
- jersey-grizzly2: Grizzly update 2.1 -> 2.1.1, Servlet 3.0 -> 3.1
- Fixed issue 724
http://java.net/jira/browse/JERSEY-724
Sample code in Guice documentation does not compile.
release 1.7 (05-2011)
- Added methods to WadlApplicationContext which can control WADL generation in runtime.
See WadlResourceTest.testEnableDisableRuntime() for further details.
- Fixed bug related to init param propagation when Application class name is specified in
servlet-name element and servlet-class is not used at all (see sample 2.11 from user guide).
- Fixed issue 697
http://java.net/jira/browse/JERSEY-697
Scope of the dependency on Jersey Grizzly2 module in Jersey Guice module updated to "test".
- Fixed issue 722
http://java.net/jira/browse/JERSEY-722
PostConstruct and PreDestroy are now invoked in superclasses as well. PostConstruct in a top-down fashion (base class first), PreDestroy bottom up (subclass first).
- Fixed issue 699
http://java.net/jira/browse/JERSEY-699
Cleaner implementation of BindingScopingVisitor using ComponentScope as the underlying generic type.
- Fixed issue 700
http://java.net/jira/browse/JERSEY-700
Guice-specific annotations replaced with their JSR330 standard counterparts.
- Introduced new property ClientConfig.PROPERTY_THREADPOOL_SIZE for limiting
thread pool size used for handling asynchronous requests.
- Apache HTTP Client 4.x integration
Refer to the module:
<groupId>com.sun.jersey.contribs</groupId>
<artifactId>jersey-apache-client4</artifactId>
- Fixed issue 707
http://java.net/jira/browse/JERSEY-707
Added human readable http status to URLConnectionResponse.toString()
- Fixed issue 690
http://java.net/jira/browse/JERSEY-690
Added javadoc to DefaultClientConfig constructors
- Fixed issue 647
http://java.net/jira/browse/JERSEY-647
NullPointerException in AbstractImplicitViewMethod.toString now fixed.
- Fixed issue 695
http://java.net/jira/browse/JERSEY-695
For query parameters of a primitive type blank value is now taken as if the value is not present at all - i.e. default value will be used.
- Fixed issue 703
http://java.net/jira/browse/JERSEY-703
Fixed a typo in UriTemplate javadoc.
- Fixed issue 717
http://java.net/jira/browse/JERSEY-717
Fixed UriInfo.getMatchedURIs() and getMatchedURIs(boolean)
- Fixed issue 715
http://java.net/jira/browse/JERSEY-715
NullPointerException instead of IllegalArgumentException when passing null name to UriBuilder.replaceMatrixParam()
- Fixed issue 716
http://java.net/jira/browse/JERSEY-716
NullPointerException when passing null to values argument of UriBuilder.replaceMatrixParam()
- *Breaking change*: Added support for 2-legged OAuth in oauth-server module.
As a result, 2 new methods were added to the OAuthConsumer interface: getPrincipal()
and isInRole() - these are used by the security context in case of 2-legged oauth
(i.e. no token in the oauth header). Existing users of the previous versions of
the oauth-server module should add a simple implementation of getPrincipal() always
returning null to their impl. of the OAuthConsumer interface, and an implementation
of isInRole() method always returning false.
- Fixed issue 721
http://java.net/jira/browse/JERSEY-721
NullPointerException during WADL generation with @Autowired Spring beans
- Fixed issue 709
http://java.net/jira/browse/JERSEY-709
Avoid throwing RuntimeException eagerly when oauth-server.jar on the classpath but no OAuthProvider is registered.
- Fixed issue 713
http://java.net/jira/browse/JERSEY-713
UserGuide docs typo.
- Fixed issue 712
http://java.net/jira/browse/JERSEY-712
Document cobertura profile usage in samples
- Fixed issue 704
http://java.net/jira/browse/JERSEY-704
Typo.
- Fixed issue 696
http://java.net/jira/browse/JERSEY-696
add missing dependency to pom.xml when sun-web.xml <class-loader delegate="false"/>
- Fixed issue 694
http://java.net/jira/browse/JERSEY-694
Typo.
- Fixed issue 693
http://java.net/jira/browse/JERSEY-693
Javadoc typos.
- Fixed issue 668
http://java.net/jira/browse/JERSEY-668
Removed duplicate copy of form.html in simple-console Jersey example
release 1.6 (03-2011)
- Added support for lists and arrays of JAXBElement<?> objects.
- Fixed issue 681
http://java.net/jira/browse/JERSEY-681
Missing repository declaration in quickstart-grizzly archetype
- Grizzly 2.0 integration
Introduced GrizzlyWebContainerFactory in jersey-grizzly2
Introduced jersey-tests-framework-grizzly2 and made it default
option in test framework.
Changed (almost) all samples to use jersey-grizzly2 for test/run.
- Added support for specifying XML header in XML responses by attaching XmlHeader annotation to the resource method.
- Fixed issue 649
http://java.net/jira/browse/JERSEY-649
@Path("{id}") not matched for paths containing %2F
Introduced a new ResourceConfig feature, "com.sun.jersey.api.container.grizzly.AllowEncodedSlashFeature".
The feature allows to configure Grizzly to enable encoded slashes in URIs
- Fixed issue 576
http://java.net/jira/browse/JERSEY-576
Grizzly upgraded to 1.9.31
- JacksonJsonProvider example: added ObjectMapper resolver
to show how to use Jackon specific configuration options
- Fixed issue 625
http://java.net/jira/browse/JERSEY-625
IllegalAccessException when using jersey-server-linking with
java.* and javax.* field types (unannotated). Excluding these
from recurive discovery algorithm.
- Adding support for Cobertura based code coverage measurement.
Use following maven targets to compile, instrument, test and
generate reports:
mvn clean install -Dcobertura -Dmaven.test.skip=true
mvn cobertura:cobertura -Dcobertura
- Fixed issue 643
http://java.net/jira/browse/JERSEY-643
Allowing users to use different client implementation in Jersey test
framework. It might be done by providing ClientFactory and overriding
method getClientFactory in JerseyTest, which respects priority of
container provided client OR override getClient() method to gain
absolute control.
- Provided a workaround for issue 639
http://java.net/jira/browse/JERSEY-639
Jersey allows to hack HttpURLConnection class and injects (via reflection)
HTTP method which will be used to "method" field. This approach disables
method name control which is used in setMethod method. Users have to set
URLConnectionClientHandler.PROPERTY_HTTP_URL_CONNECTION_SET_METHOD_WORKAROUND
property to true to activate this workaround. There is also one know
limitation - request can't contain entity when this code is executed.
- Jackson dependency upgrade: 1.5.5 -> 1.7.1
- Fixed issue 626
http://java.net/jira/browse/JERSEY-626
Skipping the leading CRLF for the first boundary delimiter in multipart
messages.
- Fixed issue 637
http://java.net/jira/browse/JERSEY-637
Jersey now adds a whitespace after the semicolon separating the content
type parameters.
- Grizzly 2 http-server support moved from the experimental
area to the new jersey-grizzly2 module in the com.sun.jersey space
- *Breaking change*: Grizzly 1 support in a separate module
Grizzly 1 support used to be part of the jersey-server module
This is no longer the case. If you rely on Grizzly 1 you will
need to use the jersey-grizzly dependency instead of just jersey-server
- Re-fixed issue 320
http://java.net/jira/browse/JERSEY-320
Interning document parser needs to be used because of JAXB.
- *Breaking change*: Fixed issue 607
http://java.net/jira/browse/JERSEY-607
OAuthProvider is no longer registered using the init param property.
It needs to be added as any other provider (e.g. by binding it).
release 1.5 (01-2011)
- Fixed issue 624
http://java.net/jira/browse/JERSEY-624
Async client API incorrectly handled TypeListener<ClientResponse>
- Fixed issue 620
http://java.net/jira/browse/JERSEY-620
Exceptions thrown by a nullary constructor of a resource were incorrectly
handled.
- Fixed issue 615
http://java.net/jira/browse/JERSEY-615
Removed unnecessary unused method
- Fixed issue (applied patch) 614
http://java.net/jira/browse/JERSEY-614
Code cleaning - clearing List by clear(), not by removeAll()
- Fixed issue (applied patch) 613
http://java.net/jira/browse/JERSEY-613
Removed unnecessary allocation
- Fixed issue (applied patch) 612
http://java.net/jira/browse/JERSEY-612
Correcting charset check in AbstractListElementProvider
- Fixed issue (applied patch) 611
http://java.net/jira/browse/JERSEY-611
Code attempts to substring off a trailing / but doesn't assign
the substring so the operation was lost.
- Fixed issue 610
http://java.net/jira/browse/JERSEY-610
Fixed adding headers (not just auth related) to requests without
entity
- Fixed issue 606
http://java.net/jira/browse/JERSEY-606
Added null check for return value of OAuthProvider.newAccessToken(...)
- Fixed issue 132
http://java.net/jira/browse/JERSEY-132
Ability to have WebResource related properties
- OSGi headers added to Jersey OAuth modules
- Fixed issue 557
http://java.net/jira/browse/JERSEY-557
Spring integration: injection of Spring's ApplicationContext
should be possible using the @javax.ws.rs.core.Context annotation
- Fixed issue 596
http://java.net/jira/browse/JERSEY-596
When serializing parameters of the content-disposition header include a
' ' after the '; ' as this improves interoperability with services or clients
that do not correctly parse content-disposition headers.
- Fixed issue 598
http://java.net/jira/browse/JERSEY-598
The Vary header is set if a call to Request.selectVariant is called.
- Fixed issue 600
http://java.net/jira/browse/JERSEY-600
Report errors if CDI-based Jersey injection targets for cannot be obtained.
- Fixed issue 597
http://java.net/jira/browse/JERSEY-597
The Errors class correctly cleans up the thread local state to stop
class loader leaking when deploying Web applications.
- Fixed issue 522
http://java.net/jira/browse/JERSEY-522
The Request.selectVariant supports the quality of source "qs" parameter on
media type variant.
- Fixed issue 206
http://java.net/jira/browse/JERSEY-206
WADL resource params must also be supported
for resource class fields or resource class bean properties
- Fixed issue 289
http://java.net/jira/browse/JERSEY-289
The filter init param "com.sun.jersey.config.feature.FilterContextPath" can
be used to declare a filter context path.
For example if the URL pattern of the Jersey configured filter is
"/filterContext/*" and the param value is "/filterContext" then the base URI
of the application is defined to be
"http(s)://host:port/contextPath/filterContextPath/".
Note that an init param is required because the Servlet 2.x API does not
provide access to the URI pattern defined in the web.xml.
- Fixed issue 452
http://java.net/jira/browse/JERSEY-452
It is an error if a resource class is annotated with more than one
Jersey-based scope annotation e.g. @Singleton and @PerRequest.
- Fixed issue 595
http://java.net/jira/browse/JERSEY-595
When mapping exceptions to responses if the Log level is FINE when the
exception will be logged. This changes the current behaviour where the
exception was logged when tracing was enabled. Thus when Jersey is used
as a filter with tracing enabled 404 mapped exceptions will not be logged.
- Fixed issue 587
http://java.net/jira/browse/JERSEY-587
Upgrade to tag lib version 1.2 for Jersey's JSP support.
- Fixed issue 487
http://java.net/jira/browse/JERSEY-487
Client side LoggingFilter - headers were printed out according to internal
structure declaration, not as their real representation in final http
request.
- Fixed issue 593
http://java.net/jira/browse/JERSEY-593
Changed internal matching request to utilize an empty InputStream rather
than a null value.
- Fixed issue 592
http://java.net/jira/browse/JERSEY-592
Documented the GlassFish servlet initialization parameter
org.glassfish.web.isDefaultErrorPageEnabled
that can be used to disable GlassFish default error page support.
- Fixed issue 590
http://java.net/jira/browse/JERSEY-590
Added check before adding container notifier for existing ones and add them
to new set and move this from ServletCointaner.initiate to configure
Moved reload functionality to scanning resource config, cache last scanning
results and use them to compute added/removed classes and reflect this change
in newly scanned set.
- Fixed issue 589
http://java.net/jira/browse/JERSEY-589
Related to https://glassfish.dev.java.net/issues/show_bug.cgi?id=13649
Checking "assignability" before actually creating instance of class
found using ServiceFinder to prevent classloading issues.
- Fixed issue 478
http://java.net/jira/browse/JERSEY-478
Applies when marshalling a collection to JSON and MAPPED or NATURAL JSON notations
are used. A JSON array is generated if root unwrapping is set to true.
Otherwise, if root unwrapping is set to false, a JSON object is returned.
release 1.4 (11-09-2010)
- Fixed issue 431
http://java.net/jira/browse/JERSEY-431
The use of @PerSession no longer results in a NotSerializableException when
session state is persisted for internal state, associated with resource
instances, that is stored as a session attribute.
- Fixed issue 554
http://java.net/jira/browse/JERSEY-554
Tracing is enabled for the JSP template processor. The JSP name and reference
to the it variable is output.
- Fixed issue 571
http://java.net/jira/browse/JERSEY-571
User defined providers (MessageBodyReaders and Writers) must have higher
priority than Jersey provided ones (client & server side).
- When ServletContainer.FEATURE_FILTER_FORWARD_ON_404 is enabled
and the status code is 404 call HttpServletResponse.setStatus otherwise
call HttpServletResponse.sendError.
- Fixed issue 578
http://java.net/jira/browse/JERSEY-578
The async client, when no HTTP async implementation is utilized, uses
ExecutorService to execute the request/response task.
The default implementation is Executors.newCachedThreadPool() and the
implementation can be set on the Client.
- Fixed issue 577
http://java.net/jira/browse/JERSEY-577
When a client sends an empty request to a resource method that consumes
JAXB/JSON the natural and mapped conventions produce inconsistent results and
should return a 400 error.
- Fixed issue 546
http://java.net/jira/browse/JERSEY-546
Validating default values with @DefaultValue of an @*Param at initialization
time to produce on errors on deployment can be avoided if the StringReader
is annotated with @StringReader.@ValidateDefaultValue(false). In such cases
if the default value is incorrect it will result in a runtime error.
- Fixed issue 552
http://java.net/jira/browse/JERSEY-552
Support null key values (as documented) for KeyComparatorHashMap.
- Fixed issue 550
http://java.net/jira/browse/JERSEY-550
When a WebApplicationException is thrown because a message body reader/writer
cannot be found a message is included with the exception (in addition to that
message being logged).
- Fixed issue 575
http://java.net/jira/browse/JERSEY-575
Fixed regression in jersey-multipart where @FormDataParam annotated parameters
were not being recognized resulting in deployment errors or incorrect
information being passed as the entity parameter.
- Fixed issue 573
http://java.net/jira/browse/JERSEY-573
Entities that are defined to be parameterized types with type variable as
arguments will be resolved, recursively to concrete types where possible.
For, example List<T> T[], Map<T, T> and Map<T, List<T>> will be resolved,
when T is a String, to List<String> String[], Map<String, String> and
Map<String, List<String>>
- Fixed issue 572
http://java.net/jira/browse/JERSEY-572
Propagate security context when making internal invocations to match URIs.
- Fixed issue 564
http://java.net/jira/browse/JERSEY-564
Modified field injection so that injection will occur independent of the
field value. Previously injection would only occur if the field value
was null.
- Support @InjectParam, which has the same semantics as Jersey's @Inject
but does not conflict with the JSR 330 version. Jersey's @Inject is now
deprecated.
- Support for @ParentRef to injecting a parent into a sub-resource.
- Fixed issue 563
http://java.net/jira/browse/JERSEY-563
When using the low-level Grizzly container injection of GrizzlyRequest
and GrizzlyResponse are now supported as follows:
@Context ThreadLocal<GrizzlyRequest> request
@Context ThreadLocal<GrizzlyResponse> response
The thread local is required because GrizzlyRequest/Response are classes,
not interfaces, and therefore cannot be proxied using the Java proxy API.
- Fixed issue 562
http://java.net/jira/browse/JERSEY-562
When ServletContainer.FEATURE_FILTER_FORWARD_ON_404 feature is set to true
and Jersey forwards to the next filter in the chain then the response
status code will be set to 200 before forwarding.
- JSONConfiguration.FEATURE_POJO_MAPPING ResourceConfig feature introduced
to simplify Jackson POJO entity provider utilization
Users no longer need to register the Jackson provider explicitly
- Jackson dependency upgraded to version 1.5.5
- *Breaking change*: in order to prevent OSGi bundle reload issues
we need to bundle JSR-311 API classes with the jersey-core module
- Fixed issue 486
http://java.net/jira/browse/JERSEY-486
Added JRebel support.
- Fixed issue 542
http://java.net/jira/browse/JERSEY-542
Added client HTTPDigestAuthFilter from external contributor + tests
- Fixed issue 549
http://java.net/jira/browse/JERSEY-549
Implicit HEAD method support was not re-using any resource method-specific
filters on the GET method from which the HEAD method was derived from.
- Fixed issue 547
http://java.net/jira/browse/JERSEY-547
The GZIPContentEncodingFilter works correctly with the Client API and
HttpURLConnection when a request entity is sent for which the size is known
in advance, for example a File or byte[].
- Fixed issue 506
http://java.net/jira/browse/JERSEY-506
Fixed regression. Servlet url patterns of the form
<url-pattern>*.xxx</url-pattern>
now function as was the case for Jersey 1.0.3.1.
release 1.3 (17-06-2010)
- Fixed issue 540
http://java.net/jira/browse/JERSEY-540
Parameterized types of List/Set/SortedSet are supported for parameters,
for example @QueryParam("d") List<List<String>>, if there is a
StringReaderProvider registered that supports the type List<String>.
- Remove the restriction that a GET method cannot receive entities. Warnings
will be presented instead of errors. Although this is highly uncommon The HTTP
spec does not rule this out thus Jersey was being unduly restrictive.
- Fixed issue 543
http://java.net/jira/browse/JERSEY-543
unable to build extended-wadl-webapp sample
- Fixed issue 293
http://java.net/jira/browse/JERSEY-293
The response building will retain the StatusType (if explictly set) or those
defined on javax.ws.rs.core.Response.Status. The container may access the
StatusType via ContainerResponse.getStatusType and from that the reason
phrase can be obtained.
The servlet container will use the reason phrase for the message parameter
of the call to HttpServletResponse.sendError for the case when the
status code >= 400 and the servlet container is deployed as a servlet
(sendError does not work on some web containers when the servlet container is
deployed as a filter).
- Fixed issue 472
http://java.net/jira/browse/JERSEY-472
Ensure that preconditions with GET then a PUT with If-Unmodified-Since works
correctly at the granularity of seconds.
The last modified date is rounded down to the nearest second when comparing
against If-Modified-Since or If-Unmodified-Since values.
(HTTP formatted dates are rounded down to the nearest second.)
This can result in lost updates if two or more PUTs occur within an interval
of a second. The application should use etags in such cases.
- ServiceFinder will defer to the defining class loader of the current class
if a provider class cannot be loaded from the thread context class loader.
- Changed the declaration of components defined by jersey-multipart to use
the META-INF/services service interface name to avoid the components being
output in the logs.
- Fixed issue 488
http://java.net/jira/browse/JERSEY-488
When using Apache HTTP client, chunked encoding and jersey-multipart
it is necessary for the client to explicitly declare the boundary string for
the content type. See com.sun.jersey.multipart.Boundary and
com.sun.jersey.multipart.MultiPartMediaTypes.
This is due to architectural restrictions with the Apache HTTP client as
the headers have to be declared before the entity is written.
- Removed support for resource methods utilizing @FormParam and consuming
"multipart/form-data". This functionality has been replaced by @FormDataParam
in the jersey-multipart module.
- Fixed issue 531
http://java.net/jira/browse/JERSEY-531
WADL generation should not modify the abstract model when @FormParam is
declared in a resource method parameter and the @Consumes is absent.
- Fixed issue 538
http://java.net/jira/browse/JERSEY-538
The reference to the registered application may be injected as follows:
@Context Application app;
- Upgrade the version of Abdera used in the contribs/jersey-atom-abdera to 1.0.
- Guice integration supports the @Inject binding of common
JAX-RS and Jersey dependencies such as UriInfo and ExtendedUriInfo.
Extend from com.sun.jersey.guice.JerseyServletModule, instead of
com.google.inject.servlet.ServletModule, to register these bindings.
- GlassFish v3 integration
Instead of one big uber JAR, jersey-gf-bundle.jar, individual Jersey modules
are integrated to GlassFish to allow better modularization
and alignment with non GlassFish environment
- Fixed issue 436
http://java.net/jira/browse/JERSEY-436
Resources may be looked up using a URI via methods on
com.sun.jersey.api.core.ResourceContext.
- Fixed issue 489
http://java.net/jira/browse/JERSEY-489
Support configurable namespace separators for JAXB/JSON.
See com.sun.jersey.api.json.JSONConfiguration#nsSeparator
- Fixed Jersey versioning issue for GlassFish when a version of
Jersey is deployed in the war that is different to the version of Jersey
version distributed with GlassFish.
META-INF/sevices files will be ignored if the corresponding
META-INF/MANIFEST.MF of the same jar contains a Bundle-SymbolicName
beginning with "com.sun.jersey" and a Bundle-Version that is not equal
to the Bundle-Version declared in the META-INF/MANIFEST.MF for the same jar
that contains the com.sun.jersey.spi.service.ServiceFinder.class.
- Fixed issue 66
http://java.net/jira/browse/JERSEY-66
*Breaking changes*
Errors will result if dependencies cannot be injected rather than a null
value being injected.
Non-static inner classes as root resource and provider classes are no longer
supported.
- Fixed issue for WadlGeneratorConfig and building of properties, which now
correctly works for any property value type.
- Fixed issue 527
http://java.net/jira/browse/JERSEY-527
Package name scanning now works in an OSGi environment
- Jersey Test Framework
Adding support for setting servlet and concurrent filter(s) with possibility
to set up filter name and init params per filter
- Fixed issue 526
http://java.net/jira/browse/JERSEY-526
Provide access to the matching AbstractResourceMethod that was invoked
on a resource class, see ExtendedUriInfo.getMatchedMethod().
- Fixed issue 529
http://java.net/jira/browse/JERSEY-529
Close input stream when reading properties file to obtain the Build ID.
- Fixed issue 509
http://java.net/jira/browse/JERSEY-509
The stack trace is no longer included as the response entity for an
unmapped WebApplicationException with a status code of 500 and no response
entity.
- Fixed issue 521
http://java.net/jira/browse/JERSEY-520
Support matching when quality of source, qs, values are less than 1.
- Fixed issue 520
http://java.net/jira/browse/JERSEY-520
When Guice support is configured enable Guice injection of resource
or provider classes that have fields or methods annotated with @Inject
but have no constructor annotated with @Inject. In this case Jersey
instiaties and manages and lets Guice inject.
- Fixed issue 449
http://java.net/jira/browse/JERSEY-449
When a message body reader or writer cannot be found for a media type
and Java type log all readers/writers that are compatible with that
media type.
release 1.2 (10-05-2010)
- Fixed issue 457
http://java.net/jira/browse/JERSEY-457
Jersey WAR project cannot be deployed on OSGI platform
- Fixed issue 275
http://java.net/jira/browse/JERSEY-275
Jersey-core, jersey-server, jersey-client and jersey-json modules
now (from 1.2 verison on) contain OSGi headers and use ServiceMix based
implementation to work in OSGi environment.
2 examples were added to show how to build a Jersey based OSGi web application
using OSGi Http-Service and OSGi WAR deployment.
Known limitation: the package name resource configuration can not be used in the OSGi runtime
and needs to be replaced by the class name based mechanism.
This will be addressed in future development. Also other Jersey modules
are to be OSGified in the future releases.
- Fixed issue 516
http://java.net/jira/browse/JERSEY-516
Changed resolving algorithm for finding a CDI Bean from a Class such
that inheritence hierarchies are supported.
BeanManager.resolve does not resolve a set of Bean to one Bean if all
members extend from a common concrete case class.
- Fixed issue 507
http://java.net/jira/browse/JERSEY-507
Support DELETE with request entities for the Apache HTTP client.
- Fixed issue 505
http://java.net/jira/browse/JERSEY-505
Fixed error in the multipart message body writer when the
Content-Type header value is explicitly set and the value is a string.
- Fixed issue 504
http://java.net/jira/browse/JERSEY-504
Upgrade Simple HTTP server to 4.1.20.
- Fixed issue 484
http://java.net/jira/browse/JERSEY-484
Change the Guice dependency to depend on Guice from the maven central
repository rather than GuiceyFruit.
- Added com.sun.jersey.api.JResponse, which is a type safe alternative to
javax.ws.rs.core.Response that preserves the type information of response
entity thus it is not necessary to utilize javax.ws.rs.core.GenericEntity.
It provides equivalent functonality to Response.
JResponse may be extended in combination with JResponse.AJResponseBuilder
specialization when building responses.
- Fixed issue 485, 519
http://java.net/jira/browse/JERSEY-485
http://java.net/jira/browse/JERSEY-519
When a ServletContainer is used as a servlet filter and the feature
ServletContainer.FEATURE_FILTER_FORWARD_ON_404 is set to true then enable the
next filter in the chain to be invoked if Jersey or the application returns a
404 with no entity body.
*Breaking changes* in order to support Servlet 2.4 and Servlet 3.0 it was
necessary to change the return type of ServletContainer#service(
URI baseUri, URI requestUri,
final HttpServletRequest request, HttpServletResponse response)
from "void" to "int" such that it returns the state code of the response.
HttpServletResponse.getStatusCode only exists for Servlet 3.0.
- Fixed issue 361
http://java.net/jira/browse/JERSEY-361
Introduced new feature (FeaturesAndProperties.FEATURE_XMLROOTELEMENT_PROCESSING)
which enables getting XmlRootElement annotations and deriving name for list
from its name property. First letter "decapitalization" is not done
when this feature is enabled.
- Fixed issue 480
http://java.net/jira/browse/JERSEY-480
An error in the decoding of "application/x-www-form-urlencoded" information
will result in a 400 (Client error) response.
- Fixed issue 471
http://java.net/jira/browse/JERSEY-471
LoggingFilter should not have side-effects on the response and retain
content length information.
- Allow injection of the Client instance onto client-managed provider
classes.
- Fixed issue 475
http://java.net/jira/browse/JERSEY-475
A registered application can return null for getClasses and getSingletons
which has the same meaning as returning an empty set.
- Fixed issue 479
http://java.net/jira/browse/JERSEY-479
Fixed package scanning for applications deployed to the WebLogic application
server.
- Fixed issue 477
http://java.net/jira/browse/JERSEY-477
Added null check for value returned from ServletContext.getResourcePaths.