![JAR search and dependency download from the Maven repository](/logo.png)
com.ibm.optim.oaas.client.job.AttachmentContentWriter.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api_java_client Show documentation
Show all versions of api_java_client Show documentation
Java client API for DOCplexCloud, version 1.0-STABLE-b832
The newest version!
AttachmentContentWriter (Java Client for DOcplexcloud 1.0 API)
com.ibm.optim.oaas.client.job
Interface AttachmentContentWriter
-
public interface AttachmentContentWriter
Interface of a custom attachment writer.
-
-
Method Summary
Methods
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.
-
-
Method Detail
-
writeTo
void writeTo(OutputStream outstream)
throws IOException
Writes the content of an attachment directly to the HTTP stream.
- Parameters:
outstream
- the HTTP stream.
- Throws:
IOException
- if the stream can not be written to for any reason.
-
isRepeatable
boolean isRepeatable()
Indicates if the content can be resent in a retry.
- Returns:
true
if repeatable, false
otherwise.
Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy