📄 readme.txt
字号:
(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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -