Class SampleOutputStreamClient


  • public class SampleOutputStreamClient
    extends Object
    Sample client used throughout the sample project when demonstrating how to send data to a target system where the client provides an OutputStream where the request should be written. This is similar to most java HTTP clients. This is only a sample. Connector developers should not use this class directly. In an actual connector implementation, this would be replaced by the actual client for the target system.
    • Constructor Detail

      • SampleOutputStreamClient

        public SampleOutputStreamClient()
    • Method Detail

      • getOutputStream

        public OutputStream getOutputStream()
        Simulates a client that provides an OutputStream where the request should be written. This is only an example so it just returns null. In these examples, you can assume a new, valid output stream is returned for each call to this method.
        Returns:
        output stream for the target system