1.自定义过滤器属性 public class NoCacheAttribute : FilterAttribute, IActionFilter { public void OnActionExecuted(ActionExecutedContext filterContext) { //设置浏览... ...
分类:
Web程序 时间:
2017-03-06 11:34:05
阅读次数:
167
前言:
最近在分析hadoop的RPC(Remote Procedure Call Protocol ,远程过程调用协议,它是一种通过网络从远程计算机程序上请求服务,而不需要了解底层网络技术的...
分类:
编程语言 时间:
2017-03-06 09:50:35
阅读次数:
284
一、邮件的相关概念 邮件协议。主要包括: SMTP协议:Simple Mail Transfer Protocol,即简单邮件传输协议,用于发送电子邮件 POP3协议:Post Office Protocol 3,即邮局协议的第三个版本,用于接收邮件 IMAP协议:Internet Message ...
分类:
编程语言 时间:
2017-03-05 23:11:48
阅读次数:
314
Copy自http://blog.csdn.net/sun_t89/article/details/51916834 @SpringBootApplicationpublic class SpringRestApplication { public static void main(String[]... ...
分类:
编程语言 时间:
2017-03-05 17:32:12
阅读次数:
1817
1 package com.slp.nio; 2 3 import org.junit.Test; 4 5 import java.nio.ByteBuffer; 6 7 /** 8 * Created by sanglp on 2017/3/1. 9 * 一、缓冲区:在Java nio中负责数据的... ...
分类:
编程语言 时间:
2017-03-05 16:17:50
阅读次数:
244
在做异机迁移恢复数据库时,报如下错误。PSDRPCreturnssignificanterror1013.PSDRPCreturnssignificanterror1013.PSDRPCreturnssignificanterror1013.RMAN-00571:===========================================================RMAN-00569:===============ERRORMESSAGESTACKFOLL..
分类:
其他好文 时间:
2017-03-04 22:55:31
阅读次数:
475
https://docs.microsoft.com/zh-cn/azure/iot-hub/iot-hub-java-java-getstarted 在IDEA中执行上述的代码,会出现下面的报错信息: 通过IE访问接口的网址:https://xxx.azure-devices.cn/devices ...
分类:
其他好文 时间:
2017-03-04 19:59:26
阅读次数:
407
reactor、protocol 这两个类都在 twisted.internet 命名空间中 reactor对象是Twisted编程当中的第一步,它就是一个反应器,专门负责与服务端的连接以及监听与服务器交互,一旦与服务端连接上以后,即可调用reactor.run()开始监听了,服务器有新的任务或请求 ...
分类:
其他好文 时间:
2017-03-04 19:05:52
阅读次数:
190
protected void Button1_Click(object sender, EventArgs e) { /* 微软为Response对象提供了一个新的方法TransmitFile来解决使用Response.BinaryWrite 下载超过400mb的文件时导致Aspnet_wp.exe ...