会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
菜菜
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
下一页
2021年4月15日
SSH框架-持久层搭建
摘要: SSH框架-持久层搭建 1、首先编写javabean对象(也就是配置数据库字段) package com.caicai.elec.doamin; import java.util.Date; public class ElecText implements java.io.Serializable
阅读全文
posted @ 2021-04-15 21:45 菜菜920
阅读(82)
评论(0)
推荐(0)
2021年2月28日
SpringBoot-自定义starter
摘要: SpringBoot-自定义starter 1、新建一个项目 分别建好 configure、service 、impl 定义一个简单的接口 package com.caicai.springboot.service; //字符串分割接口定义 import java.util.List; public
阅读全文
posted @ 2021-02-28 16:01 菜菜920
阅读(51)
评论(0)
推荐(0)
2021年2月4日
SpringBoot actuator(自定义端点类)
摘要: SpringBoot actuator(自定义端点类) 1、编写自动端点类很简单,只需要在类前面使用@Endpoint注解 EndPoint中id 来表示url路径 2、使用@ReadOperation //显示监控指标 3、使用@WriteOperation //动态修改指标,以post方式修改
阅读全文
posted @ 2021-02-04 21:46 菜菜920
阅读(1278)
评论(2)
推荐(0)
SpringBoot actuator(监控)
摘要: SpringBoot actuator(监控) 1、Actuator 是什么?做什么用的? 是什么:它是SpringBoot 提供对,应用系统的监控和自查的集成功能 能做什么:查看应用配置信息、环境信息、对应用的控制和操作。 2、Actuator 监控分类 原生端点 应用配置 类 、度量指标类 、操
阅读全文
posted @ 2021-02-04 20:49 菜菜920
阅读(274)
评论(0)
推荐(0)
2021年2月3日
Brupsuite Target Scope模块
摘要: Brupsuite Target Scope模块 1、Scope 包含两部分 1.1 Include in scpoe //包含作用域,过滤想要的数据 简单的添加,例如我只要访问 https://www.iqiyi.com/ 一些数据信息 可以看到我们在加入作用域之后,访问其它网址我们是不受限制的,
阅读全文
posted @ 2021-02-03 22:07 菜菜920
阅读(141)
评论(0)
推荐(0)
2021年2月2日
Spring Boot (Jackson 介绍)
摘要: Spring boot JackSon 为什么会使用到Jackson,一般情况在日常工作中,有部分操作都是需要序列化数据的。那么使用SpringBoot 内置 JackSon 调用起来更方便。 1、首先写一个简单的参数方法 添加注解 @Data//实现get set方法@NoArgsConstruc
阅读全文
posted @ 2021-02-02 22:07 菜菜920
阅读(489)
评论(0)
推荐(0)
2021年2月1日
BrupSuite 删除javascript
摘要: BrupSuite 删除javascript实现绕过js上传文件 1、在浏览器响应的时候开始截断,然后在proxy模块中勾选remove javascript 选项。 2、我们在验证的时候可以将截断的请求,发送至Repeater中然后点击GO 验证的具体的响应信息
阅读全文
posted @ 2021-02-01 21:55 菜菜920
阅读(84)
评论(0)
推荐(0)
2021年1月31日
SpringBoot自启动方式
摘要: SpringBoot自启动方式 SprinngBoot 有两种启动方式: 1、ApplicationRunner 默认情况 ApplicationRunner 优先级高于CommandLineRunner 可以通过@Order注解来调整优先级 package com.caicai.springboo
阅读全文
posted @ 2021-01-31 16:26 菜菜920
阅读(342)
评论(0)
推荐(0)
SpringBoot 单元测试
摘要: SpringBoot 单元测试 1、在Spring Boot 项目中Test模块建对于的测试包 2、编写测试类准备工作 编写功能测试类之前,需要先编写一个验证环境测试方法,来验证当前环境是否正常。 编写测试一般需要声明两个注解 SpringBootTest //带有Springboot 引导程序,可
阅读全文
posted @ 2021-01-31 15:59 菜菜920
阅读(303)
评论(0)
推荐(0)
SpringBoot 异步任务
摘要: Springboot异步任务 1、在编写之前,我们需要在Pom文件种添加 starter-web依赖组件,只有加入这个之后,才可以加入异步服务。 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-b
阅读全文
posted @ 2021-01-31 14:50 菜菜920
阅读(350)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
下一页
公告