错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Proxy Pattern

  • Vaskaran Sarcar

摘要

There are situations where you want to restrict direct communication between an intended object and the outside world. There are various reasons for this. For example, you may need to enhance security, improve application response time, or address resource constraints. The Proxy pattern is used to handle those situations. This chapter discusses this pattern with sample implementations.