Tagged articles

RequestBodyAdvice

6 articles · Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 3, 2026 · Backend Development

Beyond AOP: 4 Ways to Capture Spring Boot Controller Params and Return Values – The Fastest Wins

The article compares four techniques—traditional AOP, a Filter with ContentCaching wrappers, Spring MVC Request/Response Advice, and a custom HandlerAdapter extension—for extracting request parameters and response bodies in Spring Boot 3.5, demonstrating that the HandlerAdapter approach offers the highest performance while remaining non‑intrusive.

AOPHandlerAdapterPerformance
0 likes · 9 min read
Beyond AOP: 4 Ways to Capture Spring Boot Controller Params and Return Values – The Fastest Wins
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 20, 2026 · Backend Development

Rewrite Spring Boot Request Body: Filter, RequestBodyAdvice, and Custom Processor

This article compares three Spring Boot techniques—using a Filter with a custom HttpServletRequestWrapper, a global RequestBodyAdvice, and a custom RequestResponseBodyMethodProcessor—to transparently decrypt or modify the request body, providing code samples, configuration tips, and testing guidance for each approach.

Custom ProcessorRequest BodyRequestBodyAdvice
0 likes · 8 min read
Rewrite Spring Boot Request Body: Filter, RequestBodyAdvice, and Custom Processor
Shepherd Advanced Notes
Shepherd Advanced Notes
Jul 12, 2024 · Backend Development

Mastering Spring MVC’s RequestBodyAdvice and ResponseBodyAdvice: Usage and Implementation Details

This article explains the purpose, core methods, and practical implementation of Spring MVC’s RequestBodyAdvice and ResponseBodyAdvice extension points, including code examples for request decryption, signature verification, response encryption, unified result wrapping, and the underlying request‑processing flow within the framework.

API SecurityEncryptionRequestBodyAdvice
0 likes · 23 min read
Mastering Spring MVC’s RequestBodyAdvice and ResponseBodyAdvice: Usage and Implementation Details
Architect's Guide
Architect's Guide
May 22, 2024 · Backend Development

Design and Implementation of a Spring Boot Starter for Request/Response Encryption and Decryption

This article explains how to build a reusable Spring Boot starter that automatically encrypts outgoing responses and decrypts incoming requests using hutool‑crypto, custom request wrappers, validation utilities, and Spring Boot advice components, providing a secure, zero‑boilerplate solution for Java backend services.

EncryptionRequestBodyAdviceResponseBodyAdvice
0 likes · 21 min read
Design and Implementation of a Spring Boot Starter for Request/Response Encryption and Decryption
Architect
Architect
Apr 5, 2024 · Backend Development

Implementing a Spring Boot Encryption/Decryption Starter with Hutool-Crypto

This article explains how to build a reusable Spring Boot starter that automatically encrypts response data and decrypts request payloads using Hutool-Crypto's AES utilities, covering request stream handling, validation, custom starter configuration, and example code for controllers and entities.

AESEncryptionHutool
0 likes · 23 min read
Implementing a Spring Boot Encryption/Decryption Starter with Hutool-Crypto
Top Architect
Top Architect
Dec 5, 2022 · Backend Development

Spring Boot Starter for Automatic Request and Response Encryption/Decryption

This article demonstrates how to create a custom Spring Boot starter that provides automatic request body decryption and response body encryption using Hutool‑crypto, HttpServletRequestWrapper, RequestBodyAdvice, ResponseBodyAdvice, and validation utilities, enabling secure data transmission with timestamp verification.

EncryptionRequestBodyAdviceResponseBodyAdvice
0 likes · 25 min read
Spring Boot Starter for Automatic Request and Response Encryption/Decryption