摘要: 本文中演示如何通过URLConnection获取Http响应Header信息1.从响应中获得Header信息 URL obj = new URL("http://www.qiyadeng.com"); URLConnection conn = obj.openConnection(); Map<String, List<String>> map = conn.getHeaderFields();2.从响应Header中获取Server信息 Map<String, List<St... 阅读全文
posted @ 2013-03-12 22:00 qiyadeng 阅读(11813) 评论(0) 推荐(0) 编辑
摘要: 本文中演示如何通过URLConnection获取Http响应Header信息1.从响应中获得Header信息 URL obj = new URL("http://www.qiyadeng.com"); URLConnection conn = obj.openConnection(); Map<String, List<String>> map = conn.getHeaderFields();2.从响应Header中获取Server信息 Map<String, List<String>> map = co... 阅读全文
posted @ 2013-03-12 21:54 qiyadeng 阅读(318) 评论(0) 推荐(0) 编辑
ga('create', 'UA-39683036-1', 'cnblogs.com'); ga('send', 'pageview');