Easter79 Easter79
4年前
spring的cglib代理
!(https://oscimg.oschina.net/oscnet/39072f37d8fc12c73c3178fa6b930237b7d.png)1、被代理类Person.java1packagecom.xiaostudy;23/4
Stella981 Stella981
4年前
Burp Suite 实战指南
第一部分BurpSuite基础1.BurpSuite安装和环境配置2.BurpSuite代理和浏览器设置3.如何使用BurpSuite代理4.SSL和Proxy高级选项5.如何使用BurpTarget6.如何使用BurpSpider7.如何使用BurpScanner8.如何使用B
Stella981 Stella981
4年前
Nginx 配置静态文件 404 问题
使用Nginx做访问静态资源的时候,配置之后访问一直是 404。我的配置是location/dist{      root/usr/local/nginx/html/dist;      }原因:root配置的意思是,会在root配置的目录后跟上URL,组成对应的文件路径。即我的访问h
Stella981 Stella981
4年前
Centos配置nginx+php
添加第三方源:yuminstallepelrelease安装nginx:yuminstallnginx安装php:yuminstallphpphpfpmphpmbstringphpmysqlphpgdphpfastcgiphpcgi安装redis:yumins
Stella981 Stella981
4年前
Netty RPC的简易DEMO
这个是rpc远程调用的简单demo:Consumer通过rpc远程调用Provider的服务方法sayHelloWorld(Stringmsg),然后Provider返回""HelloWorld"给Consumer。这里采用netty来实现远程通信实现rpc调用,消费者通过代理来进行远程调用远程服务。本文涉及的知识点有代理模式,jd
Stella981 Stella981
4年前
Nginx 常见问题整理
Nginx常见问题整理1、Nginx常见问题1、相同server\_name多个虚拟主机优先级访问根据文件名顺序优先读取。使用ip访问的时候,也是根据文件名顺序优先读取。2、location匹配优先级进行普通字符精
Stella981 Stella981
4年前
Nginx常用配置指令说明
Nginx常用配置指令说明注意:局部作用域的配置指令可覆盖全局作用域的配置指令1、不在http响应头中显示Nginx的版本可用于http{}配置块和server{}配置块server_tokensoff;2、索引文件可用于http{}配置块和server{}配置块indexindex.htmlindex.ph
Wesley13 Wesley13
4年前
JDK和CGLIB动态代理区别
背景:虽然自己了解这两种代理的区别,但是面试时候还是答的很模糊,需要好好总结。前言JDK动态代理实现原理(jdk8):https://blog.csdn.net/yhl\_jxy/article/details/80586785(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2F
Stella981 Stella981
4年前
Dubbo之ProxyFactory
概述在分析服务暴露和服务引用的都提到ProxyFactory,它是Dubbo的代理工厂,只定义了两个方法。getInvoker,暴露服务时调用,将ref(真正的服务实现类)转化为InvokergetProxy,引用服务时调用,将Invoker对象转化为proxy代理对象InvokerInvoker是