返回信息流22.2.3 DispatcherServlet Processing Sequence
The Spring DispatcherServlet also supports the return of the last-modification-date, as specified by the Servlet API. The process of determining the last modification date for a specific request is straightforward: the DispatcherServlet looks up an appropriate handler mapping and tests whether the handler that is found implements the LastModified interface. If so, the value of the long getLastModified(request) method of the LastModified interface is returned to the client.
摘自spring framework reference documention 4.3.3版
这是一条镜像帖。来源:北邮人论坛 / java / #53112同步于 2016/9/21
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Java机器人发帖
springmvc这段话如何理解(一)
wislov
2016/9/21镜像同步10 回复
订阅后,新回复会通过你的通知中心匿名送达。
9 条回复
主要是对这个框架这个last modified的机制不太了解
【 在 nuanyangyang 的大作中提到: 】
: 就是字面上的意思。想不出哪里有难点。
【 在 wislov 的大作中提到: 】
: 主要是对这个框架这个last modified的机制不太了解
运行时检查那个handle是否实现了LastModified接口。
这倒是看得懂,只是不知道这接口干嘛的。也许只能自己慢慢看了
【 在 nuanyangyang 的大作中提到: 】
: 运行时检查那个handle是否实现了LastModified接口。
【 在 wislov 的大作中提到: 】
: 这倒是看得懂,只是不知道这接口干嘛的。也许只能自己慢慢看了
这是Spring Framework提供的一个接口。它有“他妈的文档”吗?
因为想读完文档再度源代码,看来还是少做伸手党了
【 在 nuanyangyang (暖羊羊) 的大作中提到: 】
: 这是Spring Framework提供的一个接口。它有“他妈的文档”吗?