java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable@Deprecated
public final class ContentLengthOutputStream
extends java.io.OutputStream
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Deprecated.
|
void |
write(byte[] b) |
Deprecated.
|
void |
write(byte[] b,
int off,
int len) |
Deprecated.
|
void |
write(int i) |
Deprecated.
|
public void write(int i)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOException