Wednesday, 26 December 2018

Decorator Pattern

The decorator is a structural pattern, mainly used as handling legacy code. It allows a user to add or remove a functionality to an existing object in runtime. It works as a wrapper class that wraps an existing class and offers new functionality, and it may be removed afterward.




No comments:

Can Jackson Deserialize Java Time ZonedDateTime

Yes, but must include JSR310. Thus ZonedDateTime can be deserialized directly from JSON response to POJO field. <dependency> <g...