03 2022 档案
摘要:一.实现注解式拦截器 1.首先实现自定义注解,该注解只能作用在方法 @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface MyAn {} 2.编写自定义拦截器 参数说明 : Object h
阅读全文
摘要:JSON反序列化没有真正数组,本质类型都是List<Object> 比如说List<Strudent> List转Json List<Student> students = new ArrayList(); String str = JSON.toJSONString(students); // L
阅读全文
摘要:https://www.cnblogs.com/kelelipeng/p/13452267.html?ivk_sa=1024320u 1.实体类中加日期格式化注解 @DateTimeFormat(pattern = "yyyy-MM-dd") 2. springmvc配置全局日期转换器 packag
阅读全文
摘要:使用wireshark抓包工具 ———————————————————————————————————————————————————————————————————— wireshark说明三次握手: https://www.cnblogs.com/zhangxingeng/p/11200063.
阅读全文