O'Reilly logo
  • graychoi thinks this is interesting:

using façade classes


Cover of How Tomcat Works: A Guide to Developing Your Own Java Servlet Container


ensure the security of request, set request object to be a private field of the facade class, then Servlet programmers can't access the public method of request or responese object.