All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.optim.oaas.client.job.AttachmentContentWriter.html Maven / Gradle / Ivy

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