随笔分类 -  Spring

摘要:01. 关于Spring属性处理器PropertyResolver以及应用运行环境Environment的深度分析,强大的StringValueResolver使用和解析【享学Spring】 https://blog.csdn.net/f641385712/article/details/91380 阅读全文
posted @ 2019-12-02 16:20 GordonDicaprio 阅读(139) 评论(0) 推荐(0)
摘要:Spring源码解析之PropertyPlaceholderHelper(占位符解析器) https://blog.csdn.net/weixin_39471249/article/details/79473772 阅读全文
posted @ 2019-12-02 14:22 GordonDicaprio 阅读(600) 评论(0) 推荐(0)
摘要:CORS跨域带来的preflight request https://blog.csdn.net/baidu_35407267/article/details/79043515 HTTPS://blog.CSDN.net/百度_35407267/article/details/79043515 [H 阅读全文
posted @ 2019-12-02 10:05 GordonDicaprio 阅读(461) 评论(0) 推荐(0)
摘要:简单跨域请求和带预检的跨域请求 https://blog.csdn.net/u012017645/article/details/54315923 HTTPS://blog.CSDN.net/U012017645/article/details/54315923 [HTTPS://Blog.CSDN 阅读全文
posted @ 2019-12-02 10:02 GordonDicaprio 阅读(251) 评论(0) 推荐(0)
摘要:springmvc@RequestMapping-params参数规则 https://blog.csdn.net/qq_33439525/article/details/78193190 版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。本文链 阅读全文
posted @ 2019-11-29 16:46 GordonDicaprio 阅读(2432) 评论(0) 推荐(0)
摘要:ocketMQ概念模型 https://blog.csdn.net/binzhaomobile/article/details/73332463 HTTPS://blog.CSDN.net/bin找Mobile/article/details/73332463 [HTTPS://Blog.CSDN. 阅读全文
posted @ 2019-11-28 10:33 GordonDicaprio 阅读(194) 评论(0) 推荐(0)
摘要:java agent 详细介绍 上面这行是原文链接(点击上面文字跳转) ↑ 简介 java agent是java命令的一个参数。参数 javaagent 可以用于指定一个 jar 包,并且对该 java 包有2个要求: 这个 jar 包的MANIFEST.MF 文件必须指定 Premain-Clas 阅读全文
posted @ 2019-11-26 12:04 GordonDicaprio 阅读(5709) 评论(2) 推荐(1)
摘要:Spring中报"Could not resolve placeholder"的解决方案(引入多个properties文件) 解决方案: (1) 在Spring 3.0中,可以写: Xml代码 <context:property-placeholder location="xxx.propertie 阅读全文
posted @ 2019-11-26 10:34 GordonDicaprio 阅读(365) 评论(0) 推荐(0)
摘要:SpringMVC重定向保存参数(FlashMap):两种情况会保存参数: 1. 当前视图为RedirectView,也即是说当前请求为重定向请求。 org.springframework.web.servlet.view.RedirectView#renderMergedOutputModel!R 阅读全文
posted @ 2019-11-21 11:52 GordonDicaprio 阅读(424) 评论(0) 推荐(0)
摘要:ModelAttribute 参数/方法SessionAttributes 类InitBinder 方法 阅读全文
posted @ 2019-11-20 17:44 GordonDicaprio 阅读(137) 评论(0) 推荐(0)
摘要:package com.lookcoder.haircutmember.controller.login.page.async; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframewo... 阅读全文
posted @ 2019-11-20 11:37 GordonDicaprio 阅读(390) 评论(0) 推荐(0)
摘要:Java并发包之阶段执行之CompletionStage接口 阅读全文
posted @ 2019-11-20 11:26 GordonDicaprio 阅读(558) 评论(0) 推荐(0)
摘要:Reactive Streams、Reactor 和 Web Flux 上面介绍了反应式编程的一些概念,以及 Reactor 和 Web Flux。可能读者看到这里有些乱。这里介绍一下三者的关系。其实很简单: Reactive Streams 是规范,Reactor 实现了 Reactive Str 阅读全文
posted @ 2019-11-19 14:19 GordonDicaprio 阅读(334) 评论(0) 推荐(0)
摘要:CallableMethodReturnValueHandler Callable.class.isAssignableFrom(returnType.getParameterType()); DeferredResultMethodReturnValueHandler (DeferredResult.class.isAssignableFrom(type) || ListenableFuture 阅读全文
posted @ 2019-11-18 12:50 GordonDicaprio 阅读(560) 评论(0) 推荐(0)
摘要:org.springframework.core.io.support.SpringFactoriesLoader —— public static final String FACTORIES_RESOURCE_LOCATION = "META-INF/spring.factories"; org.springframework.beans.factory.xml.PluggableSchema 阅读全文
posted @ 2019-10-23 16:53 GordonDicaprio 阅读(606) 评论(0) 推荐(0)
摘要:目录 概述 WebSocket 客户端 WebSocket 服务端 WebSocket 代理 FAQ 完整示例 资料 https://github.com/lookcoder/spring-socket.git 概述 WebSocket 是什么? WebSocket 是一种网络通信协议。RFC645 阅读全文
posted @ 2019-09-12 21:11 GordonDicaprio 阅读(269) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/azhqiang/p/6492195.html Mybatis ResultMap Collection 复合主键 <resultMap type="XX" id="XXMap"> <id property="id" column="colid"/> 阅读全文
posted @ 2019-05-19 15:50 GordonDicaprio 阅读(2933) 评论(0) 推荐(0)
摘要:分词插件:https://github.com/medcl/elasticsearch-analysis-ik#quick-example 配置说明:https://github.com/medcl/elasticsearch-analysis-ik#quick-example 阅读全文
posted @ 2019-05-14 10:22 GordonDicaprio 阅读(195) 评论(0) 推荐(0)
摘要:Spring中的InitializingBean接口的使用 InitializingBean接口为bean提供了初始化方法的方式,它只包括afterPropertiesSet方法,凡是继承该接口的类,在初始化bean的时候都会执行该方法。 测试,如下: 配置文件 Main函数如下 测试结果为: 这说 阅读全文
posted @ 2019-05-09 09:20 GordonDicaprio 阅读(212) 评论(0) 推荐(0)
摘要:org.springframework.web.context.ContextLoaderListener 1org.springframework.web.servlet.DispatcherServlet 2SpringWebMvc中同时配置1和2<context-param> <param-n 阅读全文
posted @ 2019-05-08 16:51 GordonDicaprio 阅读(649) 评论(0) 推荐(0)