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