com.ibm.websphere.servlet.response

Class ServletOutputStreamAdapter

  1. java.lang.Object
  2. extended byjava.io.OutputStream
  3. extended byjavax.servlet.ServletOutputStream
  4. extended bycom.ibm.websphere.servlet.response.ServletOutputStreamAdapter
All implemented interfaces:
java.io.Closeable, java.io.Flushable

  1. public class ServletOutputStreamAdapter
  2. extends javax.servlet.ServletOutputStream

Constructor Summary

Constructor and Description
ServletOutputStreamAdapter(java.io.OutputStream out)
Creates a ServletOutputStream from an OutputStream.

Method Summary

Modifier and Type Method and Description
  1. void
close()
  1. void
flush()
  1. void
write(byte[] b)
  1. void
write(byte[] b,int off,int len)
  1. void
write(int b)
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.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ServletOutputStreamAdapter

  1. public ServletOutputStreamAdapter( java.io.OutputStream out)
Creates a ServletOutputStream from an OutputStream.

Method Detail

write

  1. public void write(int b)
  2. throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

close

  1. public void close()
  2. throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.OutputStream
Throws:
java.io.IOException

write

  1. public void write(byte[] b)
  2. throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

  1. public void write(byte[] b,
  2. int off,
  3. int len)
  4. throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

flush

  1. public void flush()
  2. throws java.io.IOException
Specified by:
flush in interface java.io.Flushable
Overrides:
flush in class java.io.OutputStream
Throws:
java.io.IOException