@Deprecated public class StringPayload extends BasePayload<String>
ByteArrayPayload
.content, contentMetadata, written
Constructor and Description |
---|
StringPayload(String content)
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 StringPayload(String content)
public InputStream openStream()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.