| 
BEA Systems, Inc. | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectjava.io.OutputStream
weblogic.net.http.ContentLengthOutputStream
An output stream that enforces that the writer writes exactly a stated content-length of bytes. An HTTP POST requires a content length, and this will save having to count the content-length before sending a big file (and the resulting OutOfMemoryErrors).
| Constructor Summary | |
ContentLengthOutputStream(OutputStream o,
                          int contentLength)
Deprecated.  | 
|
| Method Summary | |
 void | 
close()
Deprecated.  | 
 void | 
write(byte[] b)
Deprecated.  | 
 void | 
write(byte[] b,
      int off,
      int len)
Deprecated.  | 
 void | 
write(int i)
Deprecated.  | 
| Methods inherited from class java.io.OutputStream | 
flush | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public ContentLengthOutputStream(OutputStream o,
                                 int contentLength)
| Method Detail | 
public void close()
           throws IOException
IOException
public void write(byte[] b)
           throws IOException
IOException
public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
IOException
public void write(int i)
           throws IOException
IOException
  | 
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc.  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||