public class ByteArrayPayload extends BasePayload<byte[]>
content, contentMetadata, written
Constructor and Description |
---|
ByteArrayPayload(byte[] content) |
ByteArrayPayload(byte[] content,
byte[] md5) |
Modifier and Type | Method and Description |
---|---|
InputStream |
openStream()
Creates a new InputStream object of the payload.
|
close, equals, getContentMetadata, getInput, getRawContent, hashCode, isRepeatable, isSensitive, release, setContentMetadata, setSensitive, toString
public ByteArrayPayload(byte[] content)
public ByteArrayPayload(byte[] content, byte[] md5)
public InputStream openStream()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.