使用 @WebServiceServerTest 进行 Spring Web Service 集成测试
1、简介 {#1简介} ----------- 本文将带你了解如何使用 `@WebServiceServerTest` 为 Spring Boot 开发的 SOAP Web Service 编写集成测试。 2、测试 Spring Web Service {#2测试-spring-web-service} -----------------------------------...
51工具盒子
1、简介 {#1简介} ----------- 本文将带你了解如何使用 `@WebServiceServerTest` 为 Spring Boot 开发的 SOAP Web Service 编写集成测试。 2、测试 Spring Web Service {#2测试-spring-web-service} -----------------------------------...
<p>在前文 《<a href="/spring-boot-requestbodyadvice-decode//">在 Spring Boot 中通过 RequestBodyAdvice 统一解码请求体</a>》 中,我们介绍了如何通过 <code>RequestBodyAdvice</code> ...
1、概览 {#1概览} ----------- 本文将带你了解 [Spring Boot](/spring-boot/) 3.1 中引入的 [ConnectionDetails](https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/autoconfigure/service/...
<h2>1、概览 {#1概览}</h2> <p><a href="/spring-security/">Spring Security</a> 有 2 个核心的组件:<code>HttpSecurity</code> 和 <code>WebSecurity<...
<h2>简介 {#简介}</h2> <p>本文将带你了解,当无法依赖 <code>CascadeType</code> 机制来将状态转换从父实体传播到子实体时,如何使用 Spring Data JPA 级联删除单向关联,</p> <h2>Domain Model {#domain-model}&...
<h2>1、简介 {#1简介}</h2> <p>在容器化大行其道的今天,越来越多人选择把 <a href="/spring-boot/">Spring Boot</a> 应用部署到 Docker 中。</p> <p>本文将带你了解在 Docker 容器中启动 Spring B...
<p>对于文件的下载功能来说,我归纳为 <code>2</code> 头 <code>1</code> 流。极其简单。</p> <ul> <li><code>Content-Type</code> 头,告诉客户端文件类型。</li> <li&...
<h2>1、简介 {#1简介}</h2> <p><code>RestClient</code> 是 <a href="/spring/">Spring 6.1 M2</a> 中引入的同步 HTTP 客户端,它取代了 <code>RestTemplate</c...
<h2>1、概览 {#1概览}</h2> <p>本文将带你了解 Spring 6.1 中新添加的 <a href="https://docs.spring.io/spring-framework/docs/6.1.0-SNAPSHOT/javadoc-api/org/springframework/jdbc/core/simp...
<h2>1、简介 {#1简介}</h2> <p>本文将带你了解如何自定义从 JWT(JSON Web Token)Claim 到 <a href="/spring-security/">Spring Security</a> 权限(Authority)的映射。</p> <h2>...