上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 37 下一页
摘要: 【VUE】错误记录 阅读全文
posted @ 2022-06-18 20:21 谷粒-笔记 阅读(12) 评论(0) 推荐(0)
摘要: @Configuration和@EnableConfigurationProperties和@AutoConfigureBefore和@AutoConfigureAfter 阅读全文
posted @ 2022-06-16 17:42 谷粒-笔记 阅读(44) 评论(0) 推荐(0)
摘要: 【Java Web】条件Bean@ConditionalOnResource 注解仅仅会加载classpath中指定的资源,资源存在则创建对象,资源不存在则不创建对象。外部资源文件无法加载,想要使用外部资源文件参考: resources目录下资源application.properties,存在则创 阅读全文
posted @ 2022-06-16 16:46 谷粒-笔记 阅读(304) 评论(0) 推荐(0)
摘要: cd E:/env/nginx-1.16.0 测试配置文件 nginx -t -c E:/env/nginx-1.16.0/conf/nginx.conf 启动 nginx -c E:/env/nginx-1.16.0/conf/nginx.conf tasklist /fi "imagename 阅读全文
posted @ 2022-06-15 15:18 谷粒-笔记 阅读(61) 评论(0) 推荐(0)
摘要: https://chenyongjun.vip/articles/77 java -Djavax.net.debug=all -Djdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2" -Dhttps.protocols="TLSv1,TLSv1.1,TLS 阅读全文
posted @ 2022-06-09 15:01 谷粒-笔记 阅读(106) 评论(0) 推荐(0)
摘要: @ConditionalOnProperty 根据属性值创建对象 属性存在且值匹配时创建,不存在时不创建。my-config.enable-property = true时才会创建对象 my-config.enable-property = true import org.springframewo 阅读全文
posted @ 2022-06-08 09:51 谷粒-笔记 阅读(610) 评论(0) 推荐(0)
摘要: java @Value("${encryptEnable:false}") boolean encryptEnable; 配置中心 encryptEnable java @RefreshScope //修复自动刷新 @ConfigurationProperties(prefix = "encrypt 阅读全文
posted @ 2022-06-02 11:04 谷粒-笔记 阅读(71) 评论(0) 推荐(0)
摘要: 【Java SE】http请求HttpClient 文档:https://hc.apache.org/httpcomponents-client-4.5.x/current/tutorial/html/fundamentals.html 依赖 <dependency> <groupId>org.ap 阅读全文
posted @ 2022-05-26 15:03 谷粒-笔记 阅读(89) 评论(0) 推荐(0)
摘要: 【Java SE】http请求RestTemplate RestTemplate对象 @Configuration public class RestTemplateConfiguration { @Bean public RestTemplate restTemplate() { HttpComp 阅读全文
posted @ 2022-05-26 15:03 谷粒-笔记 阅读(49) 评论(0) 推荐(0)
摘要: 返回自己和超类的 public 字段、方法、构造器getFields()getMethods()getConstructors() 超类没返回 返回自己的所有 字段、方法、构造器getDeclaredFields()getDeclaredMethods()getDeclaredConstructor 阅读全文
posted @ 2022-05-22 19:13 谷粒-笔记 阅读(29) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 37 下一页