上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 34 下一页
摘要: 目录1 Optional1.1 简介1.2 主要方法讲解1.2.1 Optional对象创建1.2.2 Optional.get()1.2.3 Optional.isPresent()1.2.4 Optional.ifPresent()1.2.5 Optional.filter()1.2.6 Opt 阅读全文
posted @ 2023-09-17 18:11 上善若泪 阅读(112) 评论(0) 推荐(0) 编辑
摘要: [toc] # 1 @EnableGlobalMethodSecurity `@EnableGlobalMethodSecurity` 是 `Spring Security`中的一个注解,用于启用全局方法安全性。 其中属性`prePostEnabled`和`securedEnabled`都是它的属性 阅读全文
posted @ 2023-09-08 11:47 上善若泪 阅读(633) 评论(0) 推荐(0) 编辑
摘要: 目录1 RestClient、WebClient、HTTP Interface1.1 介绍1.1.1 简介1.1.2 WebClient与RestTemplate1.1.3 RestClient和WebClient1.2 RestClient1.2.1 pom.xml1.2.2 创建全局 RestC 阅读全文
posted @ 2023-09-06 15:25 上善若泪 阅读(551) 评论(0) 推荐(0) 编辑
摘要: 目录1 Sentinel1.1 Sentinel简介1.2 核心概念1.2.1 资源1.2.2 规则1.3 入门Demo1.3.1 引入依赖1.3.2 集成Spring1.3.3 Spring中资源规则1.4 Sentinel控制台1.5 核心原理1.5.1 NodeSelectorSlot1.5. 阅读全文
posted @ 2023-09-04 19:31 上善若泪 阅读(137) 评论(0) 推荐(0) 编辑
摘要: [TOC] # 1 jcasbin ## 1.1 前言 作为一名后台开发人员,权限这个名词应该算是特别熟悉的了。就算是`java`里的类也有 `public`、`private` 等`权限`之分。之前项目里一直使用`shiro`作为权限管理的框架。说实话,`shiro`的确挺强大的,但是它也有很多不 阅读全文
posted @ 2023-09-04 11:07 上善若泪 阅读(182) 评论(0) 推荐(0) 编辑
摘要: [TOC] # 1 Swagger ## 1.1 简介 ### 1.1.1 什么是Swagger `Swagger`目前是比较主流的`RESTful`风格的`API`文档工具,做过开发的人应该都用过它 ![图片](https://img-blog.csdnimg.cn/e54f4cab3d974e8 阅读全文
posted @ 2023-09-04 10:05 上善若泪 阅读(266) 评论(0) 推荐(0) 编辑
摘要: [toc] # 1 Tomcat连接池 每个`Spring Boot`版本和内置容器不同,结果也不同,这里以`Spring Boot 2.6.11`版本 + 内置Tomcat容器举例 ## 1.1 简介 在`Spring Boot 2.6.11`版本中内置Tomcat版本是 `9.0.65`,`Sp 阅读全文
posted @ 2023-08-22 10:08 上善若泪 阅读(1669) 评论(0) 推荐(0) 编辑
摘要: 目录1 微服务API网关Gateway1.1 网关1.1.1 简介1.1.2 相比于Zuul1.2 Spring Cloud Gateway介绍1.3 Gateway特性1.4 Gateway工作流程1.5 Gateway核心概念1.5.1 路由1.5.1.1 定义1.5.1.2 动态路由1.5.2 阅读全文
posted @ 2023-08-04 17:30 上善若泪 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 目录1 分库分表1.1 简介1.2 实操准备1.2.1 Sharding与SpringBoot 公共依赖pom1.3 Sharding-Jdbc与SpringBoot1.3.1 pom.xml1.3.2 配置文件1.3.2.1 application.yml1.3.2.2 application-s 阅读全文
posted @ 2023-07-22 23:03 上善若泪 阅读(388) 评论(0) 推荐(0) 编辑
摘要: [toc] # 1 Kubernetes ## 1.1 简介 `Kubernetes` 是一个全新的基于容器技术的分布式架构解决方案,是 Google 开源的一个容器集群管理系统,`Kubernetes` 简称 `K8S`,官方文档:。 `Kubernetes` 是一个一站式的完备的分布式系统开发和 阅读全文
posted @ 2023-07-22 21:12 上善若泪 阅读(148) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 34 下一页