首页 | 本学科首页   官方微博 | 高级检索  
     

用Java开发HTTP代理服务器
引用本文:赵新慧,李文超,刘恩. 用Java开发HTTP代理服务器[J]. 辽宁石油化工大学学报, 2003, 23(1): 65-68
作者姓名:赵新慧  李文超  刘恩
作者单位:辽宁石油化工大学信息工程学院,辽宁抚顺,113001
摘    要:代理服务器(Proxyserver)改变了客户机/服务器(Client/Server)的模式而插入其中。代理服务器增强了客户端的安全性,它不但可以屏蔽入侵者,而且可以过滤客户向外的请求。通过CERNET连入Internet的用户遇到的一个问题就是经常不知道的情况下访问了免费IP地址以外的页面,不知不觉中花了不少冤枉网费。就此提供一个HTTP代理服务器方法解决此问题。在对代理服务器原理和HTTP的分析基础上,用Java开发了一个HTTP代理服务器原型系统。给出了HTTP代理服务器的总体设计,并详细分析了实现当中的一些要点和难点。

关 键 词:代理服务器  HTTP  多线程  套接字  Java
文章编号:1005-3883(2003)01-0065-04
修稿时间:2002-04-19

A HTTP Proxy Server Developed by Java
Abstract:Proxy server changes the client/server mode by inserting himself between client and server. The use of proxy server enhances the security of the client, and can filtrate the inner IP request as well as withstand an attack outward. A problem that users who join the Internet by the CERNET may face is that they accessed Web pages without knowing which IP addresses are not free, and so they have to pay up for the bill.Here we offer a HTTP proxy server model to solve the problem. We develop the HTTP proxy server model based on analyzing the principle of the proxy server and HTTP. The design in the main was provided,and the point of difficulty were analysed in detail.
Keywords:Proxy server  HTTP  Multi-threading  Socket  Java
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号