electric.servlet.streams
Class BufferedServletOutput
java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
electric.servlet.streams.BufferedServletOutput
- public final class BufferedServletOutput
- extends javax.servlet.ServletOutputStream
BufferedServletOutput.
- Author:
- webMethods
Methods inherited from class javax.servlet.ServletOutputStream |
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println |
Methods inherited from class java.io.OutputStream |
write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferedServletOutput
public BufferedServletOutput(java.io.OutputStream output,
int bufferSize)
- Parameters:
output
- bufferSize
-
BufferedServletOutput
public BufferedServletOutput(java.io.OutputStream output,
int bufferSize,
boolean writeOutput)
- Parameters:
output
- bufferSize
- writeOutput
-
setBufferSize
public void setBufferSize(int bufferSize)
- Parameters:
bufferSize
-
getBytesWritten
public int getBytesWritten()
- Returns:
- total number of bytes written to this stream
write
public void write(int ch)
throws java.io.IOException
- Parameters:
ch
-
- Throws:
java.io.IOException
write
public void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
- Parameters:
buffer
- offset
- length
-
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
resetBuffer
public void resetBuffer()
copyright© 2001-2004 by webMethods All Rights Reserved.