📄 httprequesthandler.java
字号:
package webServer;
import HTTP.*;
/**
* Implemented by any object used to handle HTTP requests.
*/
public interface HTTPRequestHandler
{
/**http://www.codefans.net
* Returns true if and only if the specified request can be handled by this handler
*/
public boolean canHandle(HTTPRequest request);
/**
* Handles the specified request
*/
public void handleRequest(HTTPRequest request);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -