码迷,mamicode.com
首页 >  
搜索关键字:intercept    ( 387个结果
java实现websocket 终极指南
1、pom中添加依赖 ...
分类:编程语言   时间:2018-06-27 15:41:45    阅读次数:175
strust2自定义拦截器
自定义需要实现三个方法 init(); destroy(); 和string intercept(ActionInvocation invocation) throws Exception; 具体可用方法如下 public abstract class AbstractIntecepter impl ...
分类:其他好文   时间:2018-06-23 22:56:33    阅读次数:223
squid-透明代理
squid-透明代理 透明(transparent)代理: 先把上面做的正向代理的客户端配置部分去掉(firefox和IE的配置) 第一步: 在squid服务器上打开路由转发功能 # vim /etc/sysctl.conf net.ipv4.ip_forward = 1 因为要使用iptables ...
分类:其他好文   时间:2018-06-19 22:50:20    阅读次数:277
java.lang.NoClassDefFoundError: org/junit/runner/manipulation/Filter
今天想写个随笔,最近经常遇到使用junit的时候报java.lang.NoClassDefFoundError,今天算是恍然大悟了,原来junit虽然在gradle里面配置了,也在Project and External Dependencies中看到了junit的jar包,并能在这个junit的j ...
分类:编程语言   时间:2018-06-10 23:01:26    阅读次数:814
OKHttp源码解析之网络请求
本文中主要是解析OKHttp是如何建立网络连接,即HttpEngine,Connection中的部分代码。 ...
分类:Web程序   时间:2018-06-03 21:47:45    阅读次数:394
Android Touch事件相关源码【Android SourceCode 2.3.6】
2018-05-31 17:23:46 Note: 这里的源码来自Android 2.3.6,这个版本的代码比较简单,适合理解Touch事件的传递原理。后续版本源码复杂了很多,但是原理都是类似的。 2个方法源码较多,在这里记录下。 View.java 1 /** 2 * Implement this ...
分类:移动开发   时间:2018-05-31 19:35:42    阅读次数:243
43. Spring Boot动态数据源(多数据源自动切换)【从零开始学Spring Boot】
à SpringBoot视频 http://study.163.com/course/introduction.htm?courseId=1004329008&utm_campaign=commission&utm_source=400000000155061&utm_medium=share à  ...
分类:编程语言   时间:2018-05-31 16:11:55    阅读次数:194
A request has been denied as a potential CSRF attack错误解决方法
2018-05-30 13:40:50 [http-nio-8081-exec-3] [ERROR] com.opensymphony.xwork2.interceptor.ParametersInterceptor -Developer Notification (set struts.devMo ...
分类:其他好文   时间:2018-05-30 15:10:34    阅读次数:682
利用axios的request 拦截器,response 拦截器实现加载层的效果
import Vue from 'vue' import router from '../router' import axios from 'axios' import { Indicator } from 'mint-ui'; import { Toast } from 'mint-ui'; a... ...
分类:移动开发   时间:2018-05-29 17:14:52    阅读次数:2070
Axios 拦截器 取消请求
axios 最常用的功能之一,拦截器 在后台返回数据后,检测状态码为 200 ,则返回数据,否则,抛出异常 另外一个功能,取消请求,以下来自官方 或者给 CancelToken 构造函数传递一个executor function来创建一个cancel token ...
分类:移动开发   时间:2018-05-25 19:33:41    阅读次数:683
387条   上一页 1 ... 16 17 18 19 20 ... 39 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!