com.droplets.apix.servlet
Class DropletsServletOutputStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--javax.servlet.ServletOutputStream
              |
              +--com.droplets.apix.servlet.DropletsServletOutputStream

public class DropletsServletOutputStream
extends javax.servlet.ServletOutputStream

Extends ServletOutputStream for use in a Droplet calling a Servlet. Many of the methods are marked as "Not implemented". This is because there is no Droplets alternative and probably depends on the specifics of the Servlet being used. It is expected that you subclass DropletsServletOutputStream and provide an implementation that is appropriate for the Servlet you are trying to call. Most of the methods that are marked as "Not implemented" have a default implementation that may be appropriate, but are marked that way nonetheless to alert the developer to check to see if they need something else.

Copyright: Copyright (c) 2003

Company: Droplets


Constructor Summary
DropletsServletOutputStream()
           
 
Method Summary
 byte[] toByteArray()
          returns the result of the internal ByteArrayOutputStream's toByteArray()
 java.lang.String toString()
          returns the result of the internal ByteArrayOutputStream's toString()
 void write(int c)
          Writes the int to an internal ByteArrayOutputStream
 
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
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DropletsServletOutputStream

public DropletsServletOutputStream()
Method Detail

write

public void write(int c)
Writes the int to an internal ByteArrayOutputStream
Overrides:
write in class java.io.OutputStream

toString

public java.lang.String toString()
returns the result of the internal ByteArrayOutputStream's toString()
Overrides:
toString in class java.lang.Object

toByteArray

public byte[] toByteArray()
returns the result of the internal ByteArrayOutputStream's toByteArray()


Copyright © Droplets, 2001. All Rights Reserved.