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