public class DocumentOutput
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
cached
Indicates that the document output should be cached
|
ContentDisposition |
contentDisposition
Represents the value of content-disposition http header
|
java.lang.String |
fileName
The output file name
|
java.lang.Runnable |
finalizer
The optional finalizer
|
java.util.UUID |
id
The document uuid
|
java.lang.String |
mimeType
The output mime type
|
java.util.function.Consumer<java.io.OutputStream> |
outputConsumer
The output consumer
|
long |
timestamp
Holds the time when the output is enqueued with
DocumentOutputStorage. |
| Constructor and Description |
|---|
DocumentOutput(java.util.function.Consumer<java.io.OutputStream> outputConsumer,
java.lang.String fileName,
java.lang.String mimeType,
ContentDisposition contentDisposition,
java.lang.Runnable finalizer,
boolean cached)
Ctor.
|
public long timestamp
DocumentOutputStorage.public java.util.function.Consumer<java.io.OutputStream> outputConsumer
public java.lang.String fileName
public java.lang.String mimeType
public ContentDisposition contentDisposition
public java.lang.Runnable finalizer
public java.util.UUID id
public boolean cached
public DocumentOutput(java.util.function.Consumer<java.io.OutputStream> outputConsumer,
java.lang.String fileName,
java.lang.String mimeType,
ContentDisposition contentDisposition,
java.lang.Runnable finalizer,
boolean cached)
outputConsumer - The output consumerfileName - The output file namemimeType - The output mime typecontentDisposition - The value of content-disposition http headerfinalizer - The optional finalizercached - Indicating that this document should be cached