摘要:
Spring Boot 监听器 监听器介绍 什么是 web 监听器?web 监听器是一种 Servlet 中特殊的类,它们能帮助开发者监听 web 中特定的事件,比如 ServletContext, HttpSession, ServletRequest 的创建和销毁;变量的创建、销毁和修改等。可以 阅读全文
摘要:
Spring Boot 拦截器 定义拦截器 定义拦截器,只需要实现 HandlerInterceptor 接口。该接口中有三个方法: preHandle(……)、postHandle(……) 和 afterCompletion(……) 。 preHandle(……) 方法:该方法的执行时机是,当某个 阅读全文
摘要:
Spring Cloud 使用 webSocket 网关配置 spring cloud 的网关组件有zuul和getway getway base: config: nacos: nacoshost: localhost port: 8848 spring: application: name: g 阅读全文
摘要:
Linux Linux 文件目录 FHS标准 可分享的 不可分享的 不可变的 /user(软件) /etc(配置文件) /opt(第三方协力软件) /boot(开机文件) 可变动的 /var/mail(使用者邮件) /var/run(程序相关) /var/spool.news(新闻组) /var/l 阅读全文
摘要:
Github 高级搜索 搜索名字 in:name *** 搜索项目描述 in:description *** 搜索readme in:readme *** 利用start,fork 搜索 stars:>3000 *** 、fork:>3000 ... 仓库大小 size:>=3000 ***(单位k 阅读全文