ChangJin Wei

Results 28 comments of ChangJin Wei

I've sorted out the clients that support the http2 protocol. AsyncClients is the best for supporting the http2 protocol. | client | http/2.0 | | ----------------------------- | -------- | |...

Maybe we need to implement the http2 protocol on the basis of [Async feign flow #511](https://github.com/spring-cloud/spring-cloud-openfeign/pull/511).

@RovingSea - Response 统一配置 Spring Boot 提供了全局异常拦截器(org.springframework.web.bind.annotation.ExceptionHandler) Spring Boot 提供了定制序列化org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice和org.springframework.http.converter.HttpMessageConverter - Validator hibernate-validator无需关注是否是Spring MVC都可以使用。 [Spring Boot 无侵入式 实现API接口统一JSON格式返回](https://blog.csdn.net/qq_34347620/article/details/102239179) [SpringBoot无侵入式API接口统一格式返回,在Spring Cloud OpenFeign 继承模式具有了侵入性](https://blog.csdn.net/qq_34347620/article/details/124295302)

> > @RovingSea > > > > * Response 统一配置 > > Spring Boot 提供了全局异常拦截器(org.springframework.web.bind.annotation.ExceptionHandler) > > Spring Boot 提供了定制序列化org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice和org.springframework.http.converter.HttpMessageConverter > > * Validator > > hibernate-validator无需关注是否是Spring MVC都可以使用。 > >...

> 你好博主,我想问一下测试的结果是什么? 🤔,不明白你说什么。

> 你好,意思就是这个代码运行出来的结果是什么? ![image](https://github.com/galaxy-sea/galaxy-blogs/assets/30821411/71dd47a0-1915-40e5-bc79-9b6f56240b82)hi @Pooky-Wang , 我并不知道你说的代码是哪一个.

@Pooky-Wang 我刚刚更新了abac的相关代码, 你现在可以直接运行[testRbac](https://github.com/galaxy-sea/galaxy-blogs/blob/fc5741cf3b47438d50d717725b17b742ad110dcd/code/abac/src/test/java/plus/wcj/abac/AbacApplicationTests.java#L51C10-L51C18)和[testMetadataCustomizer](https://github.com/galaxy-sea/galaxy-blogs/blob/fc5741cf3b47438d50d717725b17b742ad110dcd/code/abac/src/test/java/plus/wcj/abac/AbacApplicationTests.java#L73)两个测试方法进行验证