上一页 1 2 3 4 5 6 7 8 9 10 ··· 89 下一页
摘要: const text = ` 18 0.5 18 19 0.5S 19 20 1 20 21 2 21 22 3 22 23 0.25 23 24 1.5 24 25 2.5 25 26 3.5 26 27 5 27 28 10 28 29 20 29 30 A级 30 31 B级 31 32 C级 阅读全文
posted @ 2023-05-17 00:27 Peter.Jones 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 组合1 curl --location --request POST 'http://localhost:82/test/4' \ --header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VySWQiOjEsImFjY291bnQiOiJ 阅读全文
posted @ 2023-05-12 17:31 Peter.Jones 阅读(16) 评论(0) 推荐(0) 编辑
摘要: inputstream是一个Java中的输入流,它允许从源读取数据。如果要将inputstream转换为JSON,需要使用相应的解析器,例如GSON或Jackson。以下是使用GSON的示例代码: InputStream inputStream = ...; Gson gson = new Gson 阅读全文
posted @ 2023-05-11 16:53 Peter.Jones 阅读(1174) 评论(0) 推荐(0) 编辑
摘要: Tomcat架构 连接器 Coyote Catalina容器 源码分析 启动流程 Tomcat请求处理流程 Tomcat是通过Mapper组件来完成这个任务。 Mapper组件的功能就是将一个URL定位到一个Servlet. Host容器里配置的域名、Context容器里的web应用路径,以及Wra 阅读全文
posted @ 2023-05-11 01:23 Peter.Jones 阅读(175) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2023-05-09 23:03 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 创建一个类,其中包含一个ThreadLocal变量,并在其中存储一个大对象。例如,以下示例创建了一个名为MyThreadLocal的类,并在其中使用ThreadLocal变量存储一个大小为10MB的字节数组: public class MyThreadLocal { private ThreadLo 阅读全文
posted @ 2023-04-23 17:55 Peter.Jones 阅读(67) 评论(0) 推荐(0) 编辑
摘要: new ObjectMapper().readValue(paramJsonStr, xx.class) 阅读全文
posted @ 2023-04-23 17:03 Peter.Jones 阅读(911) 评论(0) 推荐(0) 编辑
摘要: Java类 import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok 阅读全文
posted @ 2023-04-23 16:57 Peter.Jones 阅读(2478) 评论(0) 推荐(0) 编辑
摘要: 在 Spring Boot 应用程序中,/health 端点是通过 HealthEndpoint bean 来处理的。当您访问 /health 端点时,Spring Boot 会调用 HealthEndpoint bean 的 health() 方法来检查应用程序的健康状态,并返回相应的响应。 He 阅读全文
posted @ 2023-04-23 11:10 Peter.Jones 阅读(454) 评论(0) 推荐(0) 编辑
摘要: ApiListingReferenceScanner 阅读全文
posted @ 2023-04-18 17:46 Peter.Jones 阅读(43) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 89 下一页
点击右上角即可分享
微信分享提示