- 博客(8)
- 收藏
- 关注
翻译 Spring Boot 请求体(POJO)无法处理特殊字符
Spring Boot 请求体(POJO)无法处理特殊字符原文链接:https://stackoverflow.com/questions/69222532/spring-boot-request-body-pojo-doesnt-handle-special-characters问题描述我有一个使用REST API的spring boot:@Operation(summary = "Update your user") @PatchMapping(consumes = {MediaType
2021-09-22 22:14:58
712
翻译 在Spring webflux中的异常处理
在Spring webflux中的异常处理原文链接:https://stackoverflow.com/questions/69231306/exception-handling-in-spring-webflux问题描述我在一个Spring webflux项目中使用reactive streams。我有个例子如下,我想知道用reactive的方式该怎么做呢?JAVA @RestController public class Example { @GetMapping("/gree
2021-09-21 20:45:19
733
翻译 Spring Boot 配置2个数据源
Spring Boot 配置2个数据源原文链接:https://stackoverflow.com/questions/30337582/spring-boot-configure-and-use-two-datasources问题描述我该如何使用spring boot配置2个数据源?下面的例子是我的第一个数据源配置:application.properties#first dbspring.datasource.url = [url]spring.datasource.username =
2021-09-20 23:52:57
637
原创 去除FastJon解析字符串后生成的JSONObject或JSONArray中的空对象
去除FastJon解析字符串后生成的JSONObject或JSONArray中的空对象先发代码。FastJsonUtil :import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.JSONArray;import com.alibaba.fastjson.JSONObject;import com.alibaba.fastjson.serializer.SerializerFeature;import org.apache.co
2021-01-09 18:09:26
1001
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人