readme.txt

来自「ssd8考试一 计算机网络 A Web proxy server liste」· 文本 代码 · 共 23 行

TXT
23
字号
(1)compiling the java file using the command like this:
   javac ProxyServer.java
Notice: the path must be direct path,like:D:\eclipse\eclipse\workspace\.metadata\ProxyServer.java
(2)producing the class file using the command like this:
   java ProxyServer
Notice: the path must be direct path like what on top.
(3)implement the program
   <1>to implement the program you need a client program like that in execise one
   <2>input your request in the client,the message should be three line like this:
     GET http://www.icarnegie.com/index.html HTTP/1.0
     From: nobody@icarnegie.com
     User-Agent: HTTPTool/1.0
notice:in the program (ProxyServer),the port has been set as 8000.If you want to change the port
    you can use command like this:
     GET http://henry.icarnegie.com:1030/index.html HTTP/1.0
     From: nobody@icarnegie.com
     User-Agent: HTTPTool/1.0
notice:the stytle of the first line message should be formed like that given.
       the last two line can be free,they must be here but the form is free.



   

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?