1. 拦截器 Springboot 中的 Interceptor 拦截器也就是 mvc 中的拦截器,只是省去了 xml 配置部分。并没有本质的不同,都是通过实现 HandlerInterceptor 中几个方法实现。几个方法的作用一一如下。 1. preHandle 进入 Habdler 方法之前执 ...
分类:
编程语言 时间:
2019-02-21 15:46:15
阅读次数:
148
问题描述: Execution failed for task ':app:preDebugBuild'.> Android dependency 'androidx.media:media' has different version for the compile (1.0.0-rc01) an ...
分类:
其他好文 时间:
2019-02-20 12:43:56
阅读次数:
190
NexusRepositoryManager3RCECVE-2019-72380x00参考链接https://support.sonatype.com/hc/en-us/articles/360017310793-CVE-2019-7238-Nexus-Repository-Manager-3-Missing-Access-Controls-and-Remote-Code-Execution-Fe
分类:
其他好文 时间:
2019-02-18 20:30:34
阅读次数:
409
Decentralized Privacy-preserving Timed Execution in Blockchain-based Smart Contract Platforms University of Pittsburgh & University of Pittsburgh 定时事务 ...
分类:
其他好文 时间:
2019-02-18 11:32:24
阅读次数:
204
1.安装插件 在File-Setting-Plugins-Browse Repostitories中搜索Lombok Plugin插件安装 安装完成先别急着重启,继续设置,在File-Setting-Build, Execution, Deployment-Compiler-Annotation P ...
分类:
其他好文 时间:
2019-02-16 13:55:17
阅读次数:
171
SpringMVC的原理: 1 首先用户发出请求,请求到达SpringMVC的前端控制器(DispatcherServlet), 2 前端控制器根据用户的url,请求处理器映射器(HandlerMapping)查找匹配该url的handler,并返回一个执行链(HandlerExecutionCha ...
分类:
编程语言 时间:
2019-02-13 12:42:41
阅读次数:
207
0. Review 1. Computation graph TensorFlow separates definition of computations from their execution Phase 1: assemble a graph Phase 2: use a session t ...
分类:
其他好文 时间:
2019-02-12 19:03:41
阅读次数:
142
Lexical Scoping :有Java繼承中呼叫子類時先生成父類的概念,呼叫函數後,系統會轉至其定義處,將其 environment 中所具有的東西(有些可能定義在外層)形成 Closure [閉包] Dynamic Scoping :呼叫處起算,逐漸往上層找 有閉包的lexical scop ...
分类:
其他好文 时间:
2019-02-10 09:25:59
阅读次数:
179
对于Aop 一直理解很是不到位 谈谈自己理解! Aop : Aspect: 切面 joinpoint 连接点 pointCut 切点 Advice 增强 targert 目标对象 weaving 织入 introduction等组成 理解几个关键字: 采用springboot 方式来快速实现的理解: ...
分类:
编程语言 时间:
2019-02-09 14:37:48
阅读次数:
202
在 SDK 26,通过令静态注册的广播接收器失效 以限制后台过多应用启动,接受广播等情况。 当运行时,会有以下LOG: Background execution not allowed: receiving Intent 1. 如果是自己编写发送广播,可以通过 以下方式使广播工作 (1) (2) i ...
分类:
其他好文 时间:
2019-02-08 15:56:20
阅读次数:
412