org.apache.catalina.connector.http
クラス HttpResponseStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--javax.servlet.ServletOutputStream
              |
              +--org.apache.catalina.connector.ResponseStream
                    |
                    +--org.apache.catalina.connector.http.HttpResponseStream

public final class HttpResponseStream
extends ResponseStream

Response stream for the HTTP/1.1 connector. This stream will automatically chunk the answer if using HTTP/1.1 and no Content-Length has been properly set.

作成者:
Remy Maucherat

クラス org.apache.catalina.connector.ResponseStream から継承したフィールド
closed, commit, count, length, response, sm, stream, suspended
 
コンストラクタの概要
HttpResponseStream(org.apache.catalina.connector.http.HttpResponseImpl response)
          Construct a servlet output stream associated with the specified Request.
 
メソッドの概要
protected  void checkHead(org.apache.catalina.connector.http.HttpResponseImpl response)
           
 void close()
          Close this output stream, causing any buffered data to be flushed and any further output data to throw an IOException.
 void write(byte[] b, int off, int len)
          Write the specified byte array.
 void write(int b)
          Write the specified byte to our output stream.
 
クラス org.apache.catalina.connector.ResponseStream から継承したメソッド
flush, write
 
クラス javax.servlet.ServletOutputStream から継承したメソッド
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

HttpResponseStream

public HttpResponseStream(org.apache.catalina.connector.http.HttpResponseImpl response)
Construct a servlet output stream associated with the specified Request.
パラメータ:
response - The associated response
メソッドの詳細

write

public void write(int b)
           throws java.io.IOException
Write the specified byte to our output stream.
オーバーライド:
クラス ResponseStream 内の write
パラメータ:
b - The byte to be written
例外:
java.io.IOException - if an input/output error occurs

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Write the specified byte array.
オーバーライド:
クラス ResponseStream 内の write
クラス org.apache.catalina.connector.ResponseStream からコピーされたタグ:
パラメータ:
b - The byte array containing the bytes to be written
off - Zero-relative starting offset of the bytes to be written
len - The number of bytes to be written
例外:
java.io.IOException - if an input/output error occurs

close

public void close()
           throws java.io.IOException
Close this output stream, causing any buffered data to be flushed and any further output data to throw an IOException.
オーバーライド:
クラス ResponseStream 内の close

checkHead

protected void checkHead(org.apache.catalina.connector.http.HttpResponseImpl response)


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.