腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
Spring
Cloud
Gateway
:
Post
Filter
Web
客户端
请求
、
、
、
、
我们使用
Spring
Cloud
Gateway
将
请求
路由到多个底层服务。对这些底层服务的调用将是连续的,并且可能相互馈送(一个服务的响应将用于下一个服务的
请求
)。当我们需要在主
请求
之前顺序地发出这些
请求
时,我们有一个有效的解决方案,但是在主
请求
之后,我们在将一个代理
请求
的响应提供给下一个代理
请求
时遇到了问题。然后,在下一个代理
请求
期间,我们提供一个属性名称,可以选择从中提取
请求
正
浏览 67
提问于2021-02-05
得票数 0
2
回答
Spring
Cloud
Gateway
注入头
、
在GatewayFilter中,我尝试向
请求
中注入一个头,如下所示。Collections.java:1535) ~[na:1.8.0_111]at org.spring
浏览 3
提问于2018-04-16
得票数 8
回答已采纳
1
回答
在
Spring
中转发
请求
之前,我们如何进行一些处理?
、
、
我最近开始使用
Spring
。有关X,请参见application.yml:
cloud
: routes: uri: http所以流程会是这样的: requestRequest
请求
被截获,从X本身经过身份验证的
请求
中获取数据/
请求
params,如果
请求
被认证,则根据路径将
请求
转发给A、B或C。我们仅有的两个依赖项是:
浏览 2
提问于2021-08-12
得票数 0
回答已采纳
1
回答
为什么
spring
网关与url不完全匹配?
、
.id = dict-auth
spring
.
cloud
.
gateway
.routes/refresh, /
post
/auth/refresh_token/refresh
spring
.
cloud
.
gateway
.routes
浏览 21
提问于2022-02-26
得票数 0
1
回答
登录到网关背后的Keycloak
、
、
、
我在
Spring
网关后面运行了Keycloak和一个Microservice。我希望允许
客户端
应用程序执行/login HTTP
请求
,允许用户使用用户名和密码登录。= my-
spring
-
cloud
-api-
gateway
spring
.security.oauth2.client
浏览 4
提问于2020-06-30
得票数 2
1
回答
Spring
云网关不路由基于
web
套接字的
请求
、
- id: sample_service_
web
_socket_handshake_url predicates:2020-01-09 10:44:02.923 WARN 5155 --- [-server-epoll-5] .a.w.r.e.DefaultErrorWeb
浏览 6
提问于2020-01-09
得票数 1
回答已采纳
1
回答
弹簧云
Gateway
+Consul配置
、
、
:
spring
-
cloud
-starter-
gateway
' implementation 'org.springframework.boot:
spring
-boot-starter-security36e2c50b},order=-1},OrderedGatewayFilter{delegate=GatewayFilterAdapter{delegate=org.springframework.
cloud
.
gateway
.
filter
.Fo
浏览 1
提问于2019-02-10
得票数 3
回答已采纳
1
回答
Spring
Cloud
Gateway
Pass
客户端
证书信息
我正在尝试将
客户端
证书信息从
Spring
Cloud
Gateway
转发到它背后的微服务。我修改了Netty配置,它成功地从
客户端
请求
了
客户端
证书,但我没有看到它将其转发到它后面的微服务。在Apache中,我们过去常常使用+ExportCertData,它用
客户端
证书DN、有效时间等填充了一些头文件。
Spring
Cloud
Gateway
有像这样的开箱即用功能吗?
spring
<
浏览 65
提问于2021-08-20
得票数 0
回答已采纳
1
回答
为什么带有网关的
spring
云忽略了application.properties中定义的cors属性?
、
、
、
我以这种方式配置了api网关:
spring
.
cloud
.
gateway
.globalcors.corsConfigurations.[/**].allowedOrigins=*
spring
.
cloud
.
gateway
.globalcors.corsConfigurations.[&
浏览 7
提问于2022-09-30
得票数 0
1
回答
如何从环境中设置允许的CORS的值?
、
、
、
spring
:
gateway
: cors-configurations: '[/**]':
浏览 6
提问于2022-10-13
得票数 0
1
回答
创建名为“corsConfigurationSource”的bean时出错
、
、
lookup parent from repository --> <groupId>com.amrut.prabhu</groupId> <version>0.0.1-SNAPSHOT</version> <name>
浏览 10
提问于2022-11-14
得票数 0
回答已采纳
1
回答
如何获得春云网关允许的CORS的值?
、
、
、
给出YAML片段
cloud
: globalcors: '[/**]':如何使用@Value("${
spring
.
cloud
.
gateway
.globalcors.cors-configurations
浏览 6
提问于2022-10-13
得票数 0
1
回答
如何禁用Netty HTTP
客户端
连接池?
、
、
、
我们使用
Spring
Cloud
Gateway
进行身份验证。
Spring
Security OAuth2LoginAuthenticationWebFilter使用Netty HTTP
客户端
向身份提供者发送
请求
。有没有办法在
Spring
Security中禁用Netty HTTP
客户端
连接池?我尝试配置
Spring
Cloud
Gateway
HTTP
客户端
参数,但它不影响<em
浏览 2
提问于2019-12-18
得票数 1
2
回答
Spring
Cloud
Gateway
-找不到名为[
Filter
_Name]的GatewayFilterFactory
、
、
:
spring
-
cloud
-dependencies:Hoxton.SR8') implementation 'org.springframework.
cloud
:
spring
-
cloud
-starter-
gateway
' implementation
浏览 167
提问于2020-10-09
得票数 2
2
回答
网络流量过滤器中查询参数的修改
、
param的,这个代码都无法工作; public Mono<Void>
filter
UnSupportOperationException return chain.
filter
浏览 3
提问于2022-07-13
得票数 0
1
回答
是否可以在
spring
网关的application.properties配置中注册路由过滤器?
、
但是,我已经在application.properties中像这样配置了路由:
spring
.
cloud
.
gateway
.discovery.locator.enabled=true
spring
.
cloud
.
gateway
.routes[0].id=dolphin-mus
浏览 2
提问于2021-09-19
得票数 0
回答已采纳
1
回答
如何在
Spring
Gateway
中获取响应体
、
、
我正在使用
spring
cloud
gateway
filters,需要获取response body来记录它。我知道这是有问题的,因为
spring
gateway
是建立在
spring
reactor之上的,但尽管如此,我还是在寻找任何方法来做到这一点。;import org.springframe
浏览 121
提问于2020-10-20
得票数 2
回答已采纳
3
回答
带有
Spring
网关的密钥披风
、
、
、
、
***** **************************************************creating bean with name 'gatewayConfigura
浏览 12
提问于2020-02-13
得票数 2
回答已采纳
7
回答
由CORS阻止的
Spring
网关
请求
(无Acces0Control-允许-Orgin报头)
、
、
、
、
我有一个角前端,
spring
云网关和
spring
web
服务。当我试图通过网关向
spring
服务发送GET/
POST
数据时,我得到以下错误:。会起作用的但是没有
cloud
:globalcors:'[/**]': allowedOrigins
Spring
Boot</
浏览 6
提问于2020-04-13
得票数 15
回答已采纳
4
回答
从ServerHttpRequest / Flux<DataBuffer>获取
请求
正文字符串
、
、
我使用的是
spring
boot版本- 2.0.6.RELEASE和
spring
cloud
版本- Finchley.SR2public Mono
filter
(ServerWebExchange exchange, GatewayFilterChain chain) { S
浏览 3
提问于2019-08-20
得票数 8
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Spring Cloud推出新成员Spring Cloud Gateway
亿级流量架构的网关设计思路与常见网关对比
JWT对SpringCloud进行系统认证和服务鉴权(一)
Gateway 自定义过滤器
Spring Cloud 完整的微服务架构实战
热门
标签
更多标签
云服务器
ICP备案
对象存储
腾讯会议
云直播
活动推荐
运营活动
广告
关闭
领券