nxt.http

## Class MockedServletOutputStream

- java.lang.Object
- - java.io.OutputStream
  - - javax.servlet.ServletOutputStream
    - - nxt.http.MockedServletOutputStream

- All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

      public class MockedServletOutputStream
      extends javax.servlet.ServletOutputStream

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MockedServletOutputStream(java.io.OutputStream out)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isReady()`
    `void` | `setWriteListener(javax.servlet.WriteListener writeListener)`
    `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

      `close, flush, write, write`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MockedServletOutputStream

          public MockedServletOutputStream(java.io.OutputStream out)

  - ### Method Detail

    - #### isReady

          public boolean isReady()

      Specified by:
        `isReady` in class `javax.servlet.ServletOutputStream`

    - #### setWriteListener

          public void setWriteListener(javax.servlet.WriteListener writeListener)

      Specified by:
        `setWriteListener` in class `javax.servlet.ServletOutputStream`

    - #### write

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

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