允许一个对象在其内部状态改变时改变它的行为。对象看起来似乎修改了它的类
图8:rsa中应用的状态模式。
状态模式类似于命令模式,但是意图截然不同。
The state pattern is a similar to the command pattern, but the intent is quite different.
搜索引擎运行在无状态模式下,因此只使用当前cookie的页面将被忽略。
Search engines operate in a stateless mode, thus pages executing only with the presence of a cookie are ignored.
应用推荐