摘要: 如何在Spring中启用@Async 基于Java配置的启用方式: [html] view plain copy @Configuration @EnableAsync public class SpringAsyncConfig { ... } [html] view plain copy [ht 阅读全文
posted @ 2018-03-25 22:58 black_old_jack 阅读(140) 评论(0) 推荐(0) 编辑
摘要: HttpServletRequest hrequest = (HttpServletRequest) request; HttpServletRequest和ServletRequest都是接口,并且后者是前者的父接口。但是前者相对于后者多了一些针对于HTTP协议的方法,如getHead(Strin 阅读全文
posted @ 2018-03-25 22:56 black_old_jack 阅读(203) 评论(0) 推荐(0) 编辑