Package com.boomi.connector.sample
Class SampleOutputStreamClient
- java.lang.Object
-
- com.boomi.connector.sample.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 anOutputStream
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 Summary
Constructors Constructor Description SampleOutputStreamClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStream
getOutputStream()
Simulates a client that provides anOutputStream
where the request should be written.
-
-
-
Method Detail
-
getOutputStream
public OutputStream getOutputStream()
Simulates a client that provides anOutputStream
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
-
-