首页
AI Coding
数据标注
NEW
沸点
课程
直播
活动
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
登录
注册
壹氿
掘友等级
Java开发工程师
机会永远是留给有准备的人~ 个人WX:lhj502819
获得徽章 8
动态
文章
专栏
沸点
收藏集
关注
作品
赞
91
文章 90
沸点 1
赞
91
返回
|
搜索文章
最新
热门
AQS源码分析 - 01 (主要方法)
getState():返回同步状态的当前值 setState(int newState):设置当前同步状态 compareAndSetState(int expect,int update):使用CA
Java NIO三大角色Channel、Buffer、Selector相关解析
从JDK 1.4开始支持NIO编程,虽然目前用Netty的人占大部分,但是我们还是要先了解下Java的NIO是怎么实现的,今天就来一探究竟
Spring Cloud Gateway源码解析-11-扩展RouteDefinitionRepository实现基于Redis的动态路由
由来 在Spring Cloud Gateway源码解析-10-自定义Predicate实现黑名单中我们自定义了Predicate来实现黑名单,但发现每次更改黑名单规则都要重启项目来实现,因此需要将路
Spring Cloud Gateway源码解析-10-自定义Predicate实现黑名单机制
自定义Predicate 思路 在SCG初始化解析中我们已经知道了Predicate是怎么根据我们的配置装配的。以RemoteAddrRoutePredicateFactory为例。
Spring Cloud Gateway源码解析-09-结合注册中心实现动态路由
假如我们已经在nacos中注册了一个user-service,user-service有一个接口为/api/hello,当我们请求SCG /user-service/api/hello时就会请求到
Spring Cloud Gateway源码解析-08-过滤器-GatewayFilter
Spring Cloud Gateway内置的GatewayFilter有三十余个,大概梳理了一个脑图出来,请各位看官老爷查看
Spring Cloud Gateway源码解析-07-过滤器解析之GlobalFilter
在Spring Cloud Gateway源码解析-05-请求处理之FilteringWebHandler中已经讲解过在获取过在`DispatcherHandler`通过`RoutePredicate
Spring Cloud Gateway源码解析-06-内置Predicate
SCG的Predicate是使用工厂方法模式来实现的,类关系如下。 SCG包括了很多内置的Predicate工厂
Spring Cloud Gateway源码解析-05-请求处理之FilteringWebHandler
在SCG前边的文章中我们提到了FilteringWebHandler会在GatewayAutoConfiguration中进行自动装配,并没有进一步阐述,今天我们来讲解下它是如何装配的并工作的
Spring Cloud Gateway源码解析-04-SCG如何处理我们的请求-路由匹配RoutePredicateHandlerMapping
上一篇文章中我们了解了Route、Predicate、Filter是如何根据我们的配置创建的,今天我们来继续了解下SCG是如何处理我们的请求的。
下一页
个人成就
文章被点赞
117
文章被阅读
74,254
掘力值
1,816
关注了
13
关注者
50
收藏集
5
关注标签
17
加入于
2021-01-29