Tag

HttpServletRequestWrapper

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 12, 2024 · Backend Development

How to Use Multiple @RequestBody Parameters in Spring Boot 3

This article explains why a Spring Boot controller can read the request body only once, demonstrates wrapping multiple objects in a DTO, and provides a custom HttpServletRequestWrapper with a filter to enable multiple @RequestBody parameters while noting the performance impact.

HttpServletRequestWrapperJavaRequestBody
0 likes · 6 min read
How to Use Multiple @RequestBody Parameters in Spring Boot 3
Selected Java Interview Questions
Selected Java Interview Questions
Dec 8, 2021 · Backend Development

Implementing Request Parameter Decryption with Servlet Filters in Java

This article explains how to create custom HttpServletRequestWrapper classes and servlet filters in Java to automatically decrypt or transform request parameters—such as converting email fields to lowercase—before they reach controller methods, covering both form/ajax and JSON payload scenarios with configuration examples for web.xml and Spring Boot.

HttpServletRequestWrapperJavaRequest Decryption
0 likes · 16 min read
Implementing Request Parameter Decryption with Servlet Filters in Java