dimanche 9 août 2020

Can someone explain how javax.servlet.http.HttpServlet methods like service(),doGet() and doPost() can be based on strategy pattern?

I read somewhere that javax.servlet.http.HttpServlet: service() method, plus all of the doXXX() methods that accept HttpServletRequest and HttpServletResponse objects as arguments. are based on a strategy pattern. I am not clear about this. It will be great if someone could help?

Aucun commentaire:

Enregistrer un commentaire