ResponseBuffer (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.ipc, class: ResponseBuffer

Package org.apache.hadoop.ipc

# Class ResponseBuffer

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
org.apache.hadoop.ipc.ResponseBuffer

All Implemented Interfaces:
  `Closeable`, `DataOutput`, `Flushable`, `AutoCloseable`

@Private public class ResponseBuffer extends DataOutputStream

- ## Field Summary

  ### Fields inherited from class java.io.DataOutputStream

  `written`

  ### Fields inherited from class java.io.FilterOutputStream

  `out`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ResponseBuffer()`
  `ResponseBuffer(int capacity)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `writeTo(OutputStream out)`

  ### Methods inherited from class java.io.DataOutputStream

  `flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF`

  ### Methods inherited from class java.io.FilterOutputStream

  `close, write`

  ### Methods inherited from class java.io.OutputStream

  `nullOutputStream`

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

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

  ### Methods inherited from interface java.io.DataOutput

  `write`

- ## Constructor Details

  - ### ResponseBuffer

    public ResponseBuffer()

  - ### ResponseBuffer

    public ResponseBuffer(int capacity)

- ## Method Details

  - ### writeTo

    public void writeTo(OutputStream out) throws IOException
    Throws:
      `IOException`