public abstract class StreamOutput
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static StreamOutput |
EMPTY
Empty stream output when no output is captured due to an error.
|
Constructor and Description |
---|
StreamOutput() |
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
getBufferBytes()
Returns the content as a string.
|
java.lang.String |
getBufferString()
Returns the content as a string.
|
abstract boolean |
isBufferTruncated()
Returns true if the buffer was truncated.
|
java.lang.String |
toString() |
public static final StreamOutput EMPTY
public java.lang.String getBufferString()
public abstract byte[] getBufferBytes()
public abstract boolean isBufferTruncated()
public java.lang.String toString()
toString
in class java.lang.Object