Spring Validation
-
使用Spring Validation实现数据校验的代码详解
目录1. Spring Validation概述2. 配置Spring Validation2.1 引入依赖2.2 启用全局校验3. 使用注解进行参数校验3.1 基本校验注解3.2 使用@Pattern进行正则校验3.3 综合示例4. 在控制器层应用校验4.1 方法参数校验4.2[详细]
2024-11-07 10:53 分类:开发 Boost ASIO read X bytes synchroniously into a vector
I\'ve been attempting to write a client/server app with boost now, so far it sends and receives but I can\'t seem to just read X bytes into a vector.[详细]
2022-12-28 20:07 分类:问答