Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.directwebremoting.util
Class DelegatingServletOutputStream

    java.lang.Object
      java.io.OutputStream
          javax.servlet.ServletOutputStream
              org.directwebremoting.util.DelegatingServletOutputStream

All Implemented Interfaces:
  java.io.Closeable, java.io.Flushable

    public class DelegatingServletOutputStream

extends javax.servlet.ServletOutputStream

Delegating implementation of ServletOutputStream.

Constructor Summary
`DelegatingServletOutputStream(java.io.OutputStream targetStream)` Create a new DelegatingServletOutputStream.

Method Summary
`void` | `close()`
`void` | `flush()`
`java.io.OutputStream` | `getTargetStream()` Accessor for the stream that we are proxying to
`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.io.OutputStream
`write, write`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DelegatingServletOutputStream

    public DelegatingServletOutputStream(java.io.OutputStream targetStream)

  Create a new DelegatingServletOutputStream.

  Parameters:
    `targetStream` - the target OutputStream

Method Detail

### getTargetStream

    public java.io.OutputStream getTargetStream()

  Accessor for the stream that we are proxying to

  Returns:
    The stream we proxy to

### write

    public void write(int b)
               throws java.io.IOException

  Specified by:
    `write` in class `java.io.OutputStream`
  Throws:
    `java.io.IOException`

### flush

    public void flush()
               throws java.io.IOException

  Specified by:
    `flush` in interface `java.io.Flushable`
  Overrides:
    `flush` in class `java.io.OutputStream`
  Throws:
    `java.io.IOException`

### close

    public void close()
               throws java.io.IOException

  Specified by:
    `close` in interface `java.io.Closeable`
  Overrides:
    `close` in class `java.io.OutputStream`
  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¬ 2005
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD