📄 httpconnection.java
字号:
// HttpConnection.java// $Id: HttpConnection.java,v 1.12 2000/08/16 21:38:02 ylafon Exp $// (c) COPYRIGHT MIT and INRIA, 1996.// Please first read the full copyright statement in file COPYRIGHT.htmlpackage org.w3c.www.protocol.http;import org.w3c.util.LRUAble;abstract class HttpConnection implements LRUAble { // LRUAble interface implementation. protected LRUAble lru_next = null; protected LRUAble lru_prev = null; /** * The server this connection is attached to. */ protected HttpServer server = null; /** * state if the connection was cached or not. */ protected boolean cached = false; /** * LRUAble interface - Get previous item in the LRU list. * @return The previous item, or <strong>null</strong>. */ public LRUAble getNext() { return lru_next; } /** * LRUAble interface - Get next item in the LRU list. * @return The next item, or <strong>null</strong>. */ public LRUAble getPrev() { return lru_prev; } /** * LRUAble interface - Set the next item for this server. */ public void setNext(LRUAble next) { lru_next = next; } /** * LRUAble interface - Set the previous item for this server. */ public void setPrev(LRUAble prev) { lru_prev = prev; } protected final HttpServer getServer() { return server; } abstract public void close();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -