腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
如
何在
spring
webflux
中
使用
ReactiveQuerydslPredicateExecutor
、
、
、
、
我正在尝试
使用
Mysql数据库和r2dbc在
spring
webflux
中
使用
ReactiveQuerydslPredicateExecutor
。但是,如果我还扩展了
ReactiveQuerydslPredicateExecutor
,那么它将无法编译。我正在
使用
EnableR2dbcRepositories启用r2dbc。email;public interface UserRepository extends ReactiveSortin
浏览 90
提问于2020-12-29
得票数 1
2
回答
Spring
WebFlux
5.0.RELEASE与
Spring
Security 5.0.M5
、
我正在尝试
使用
WebFlux
构建web服务。当我尝试用
Spring
WebFlux
配置
Spring
Security时,
Spring
Security不会拦截这些请求。我的
Spring
Security配置是:@EnableWebFluxSecuritypublic class WebConfig {
浏览 2
提问于2017-10-31
得票数 0
4
回答
spring
boot 2+ netty + servlet.context-path +不工作
、
我正在尝试
使用
spring
-boot-starter-
webflux
和reactive Netty创建一个
spring
-boot-2rest api。我正在尝试按照
Spring
-Boot-2
中
定义的application.yml
中
定义的新属性来设置上下文路径。server.servlet.context-path: /api # Define the server context path 无论
Webflux
看起来如何,Netty并不<em
浏览 4
提问于2018-09-15
得票数 7
2
回答
如
何在
Spring
/ WebClient
中
设置事件循环池大小?
、
、
、
、
在多反应堆框架(
如
Vert.X )
中
,我们可以设置事件循环线程的数目,例如:vertxOptions.setEventLoopPoolSize(16);如
何在
Spring
2
WebFlux
/ WebClient
中
实现等效?
浏览 0
提问于2018-02-04
得票数 16
回答已采纳
1
回答
默认情况下,
WebFlux
WebClient不
使用
Spring
Boot自动配置的Jackson ObjectMapper
、
、
、
、
在我的
Spring
Boot应用程序
中
,我
使用
了reactive JSON WebClient从一个
WebFlux
(服务器发送事件)端点检索流JSON数据。按照的建议,通过在
Spring
Boot
中
设置配置选项(
如
spring
.jackson.deserialization.read-date-timestamps-as-nanoseconds=false)来修改默认的自动配置的Jackson ObjectMapper行为对
WebFlux</
浏览 6
提问于2020-02-21
得票数 0
1
回答
WebFlux
web和
webflux
starter
我
使用
webflux
starter创建了一个
Spring
boot 2.0.0.M7项目,因为我想
使用
所有的异步和非阻塞功能。我
使用
Gatling执行了一些压力测试,我收到了相同的分数,删除或添加了web starter。 对此有什么帮助吗?
浏览 16
提问于2017-12-15
得票数 1
1
回答
spring
-boot-starter-
webflux
是否包含
spring
-boot-starter-web?
是否可以
使用
仅添加了
spring
-boot-starter-
webflux
的现有
spring
-boot-starter-web编码方案??没有
spring
-boot-starter-web的话。
浏览 71
提问于2019-01-07
得票数 1
1
回答
无法在
spring
.data
WebFlux
中加载
Spring
application.properties
、
我无法在
Spring
WebFlux
中加载
spring
.data配置from application.properties以下是我在application.properties
中
添加的内容
spring
.data.web.pageable.max-page-size=2147483647 同样的属性也适用于
Spring
MVC
中
的SpringDataWeb
浏览 23
提问于2020-03-12
得票数 0
2
回答
有没有人有在
Spring
Cloud Gateway/
Spring
WebFlux
中
实现x509双向认证的简单示例?
、
、
、
我正在尝试在
Spring
Cloud Gateway
中
实现双向身份验证(
使用
x509客户端证书进行身份验证),但在整个研究过程
中
,我一直不能确定从哪里开始。在我看来,身份验证不是通过
Spring
Cloud Gateway本身处理的,而是应该通过
Spring
WebFlux
完成的--如果这是一个错误的假设,请纠正我。我已经找到了通过
Spring
Security实现认证身份验证的示例,但我还没有找到
使用
WebFlux
浏览 105
提问于2019-09-20
得票数 3
3
回答
弹簧启动网络流量+弹性APM监测
、
、
我目前正在开发一个应用程序,
使用
spring
,并希望
使用
弹性APM来监视我的应用程序,但不幸的是,它并不适用于我。松柏 <groupId>org.springframework.boot</groupId> <groupId>org.sp
浏览 12
提问于2020-05-06
得票数 2
回答已采纳
1
回答
如何向kotlin协程发出邮递员请求
、
、
我
使用
gradle,这是build.gradle文件 repositories { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"' id 'or
浏览 0
提问于2020-04-17
得票数 1
2
回答
在
spring
reactive web (
webflux
)
中
,为所有端点添加"/api“或其他前缀
、
、
、
、
我在一个
spring
reactive web项目中有一组测试,我想在不同的环境中用"api“或”RestControllers -api“作为所有控制器的前缀。我曾尝试
使用
server.servlet.context-path=/api,但它无法与Netty服务器上运行的
spring
reactive web (
webflux
)一起工作
浏览 57
提问于2020-10-16
得票数 1
回答已采纳
1
回答
如何找出我应该
使用
的依赖版本?
、
、
、
、
我在我的项目中实现了一个新特性,在本例
中
,用webclient替换了case模板。我将这个依赖项放在我的pom.xml
中
: <groupId>org.springframework.boot</groupId></dependency> 我
使用
mvn dependecy:
浏览 11
提问于2022-11-25
得票数 0
回答已采纳
1
回答
配置带有反应堆Netty的
Spring
以侦听2个端口
、
、
、
如何将
Spring
配置为在两个单独的端口上侦听(除了执行器端口),并将单独的@RestController连接到每个端口? 如果
使用
Spring
的
使用
@RestController注释的注释模型无法做到这一点,我将考虑
使用
新的RouterFunction支持。
浏览 0
提问于2018-10-31
得票数 2
回答已采纳
4
回答
Spring
Webflux
,如何转发到index.html以提供静态内容
、
、
、
、
spring
-boot-starter-
webflux
(SpringBootv2.0.0.M2)已经像在
spring
-boot-starter-web中一样进行了配置,以便在资源的静态文件夹中提供静态内容在
Spring
MVC
中
,可以这样配置: @Override public void addViewControllers(ViewControllerRegistry registry) {registry.addViewController("/").setViewNa
浏览 92
提问于2017-07-17
得票数 24
回答已采纳
1
回答
使用
嵌入式tomcat代替带有
spring
网关的netty。
、
、
、
我正在运行这个项目:有人知道怎么做吗?
浏览 13
提问于2022-03-04
得票数 0
1
回答
'org.springframework.boot.web.reactive.error.ErrorAttributes‘:没有NoSuchBeanDefinitionException类型的合格bean:
、
、
我遵循教程来处理
Spring
项目中的错误。org.springframework.beans.factory.annotation.Autowired(required=true)}com.example.demo.exception.ExceptionWebHandler
中
构造函数的参数找到了以下候选内容,但无法注入:- Bean方法“errorAttributes”
中
的“ErrorWebFluxAutoConfiguration”没有加载,因为它不是一个反应性的web应用程序 操作:考虑重新访问上面的条目,或者在您的配置<em
浏览 6
提问于2020-07-30
得票数 1
回答已采纳
1
回答
Springboot
webflux
支持将Flux<Object>请求从客户端发送到服务器吗?
、
、
、
、
Springboot
webflux
是否支持将Flux请求从客户端发送到服务器? } public void testPost() throws Exception { WebClient webClient = WebClient.create(&quo
浏览 50
提问于2018-05-31
得票数 1
3
回答
如
何在
春季网络流量
中
重定向请求?
、
、
、
如
何在
spring
WebFlux
中
创建重定向rest web服务?在
WebFlux
中
似乎还没有重定向功能!
浏览 1
提问于2018-05-24
得票数 6
回答已采纳
1
回答
使用
Servlet3.1容器
中
的ServletHttpHandlerAdapter
spring
web-flux转发请求
、
、
、
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
spring
问题还记录到
spring
jira以供讨论-
浏览 4
提问于2019-01-04
得票数 0
点击加载更多
相关
资讯
Spring Boot 中的响应式编程和 WebFlux 入门
如何在Spring Boot中使用Cookie?
使用Spring Data中的CassandraTemplate
在SpringBoot中优雅的使用Spring Security OAuth 2
Spring注解——使用@Import给容器中快速导入实例
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券