-
Notifications
You must be signed in to change notification settings - Fork 212
Immutability
johnmcclean-aol edited this page Feb 28, 2015
·
1 revision
Jersery 2.5 allows developers to bind incoming data to immutable fields (values defined using the final keyword). The only requirement is that the class have a default constructor.
Microserver encourages deep Immutability by integrating Google's Guava libraries which include Immutable collections. Microserver will configure Jackson the JSON / XML processor configured to be used by Jersey to automatically serialise and deserialise Guava Immutable collections.