handler.java

来自「一款Java实现的HTTP代理服务器」· Java 代码 · 共 23 行

JAVA
23
字号
package rabbit.handler;import java.io.IOException;/** This interface descsribes the methods neccessary to implement a *  handler. Besides this a constructor is also nedded  * * @author <a href="mailto:robo@khelekore.org">Robert Olofsson</a> */public interface Handler {    /** handle a request.     */    void handle ();    /** Check if this handler will change the content size.     * @return true if Content-Lenght may be changed by this handler      *         typically used for handlers that may modify the content.     *         Return false if this handler will not change the size.     */    boolean changesContentSize ();}

⌨️ 快捷键说明

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