httpstreamobserver.java
来自「很棒的web服务器源代码」· Java 代码 · 共 35 行
JAVA
35 行
// HttpStreamObserver.java// $Id: HttpStreamObserver.java,v 1.4 2000/08/16 21:38:01 ylafon Exp $// (c) COPYRIGHT MIT and INRIA, 1996.// Please first read the full copyright statement in file COPYRIGHT.htmlpackage org.w3c.www.http;import java.io.InputStream;public interface HttpStreamObserver { /** * The end of the stream has been reached. * @param in The stream that has reached enf od file. */ public void notifyEOF(InputStream in); /** * The stream has been closed. * @param in The stream that has been closed. */ public void notifyClose(InputStream in) ; /** * The stream doesn't support monitoring. * This happens for HTTP connections that don't provide any infos * about their length. * @param in The stream on which an IO exception occured. */ public void notifyFailure(InputStream in);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?