0

I have the following classes for to solve a particular problem related to HTTP responses. Class Diagram

Problem is for class ServerSentEventStreamResponseService I am in a situation where I need mixin because I want to extend AbstractHTTPResponseService as well. Previously I have solved this using Decorator Pattern, but now I am starting to think that this is bad design as I coming at this point in code quite often than I would like to.

How can I correct my class design, so that I do not require mixin?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.