public interface AttachmentContentWriter
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRepeatable()
Indicates if the content can be resent in a retry.
|
void |
writeTo(OutputStream outstream)
Writes the content of an attachment directly to the HTTP stream.
|
void writeTo(OutputStream outstream) throws IOException
outstream - the HTTP stream.IOException - if the stream can not be written to for any reason.boolean isRepeatable()
true if repeatable, false otherwise.Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.