public class SampleOutputStreamClient extends Object
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 and Description |
---|
SampleOutputStreamClient() |
Modifier and Type | Method and Description |
---|---|
OutputStream |
getOutputStream()
Simulates a client that provides an
OutputStream where the request should be written. |
public OutputStream getOutputStream()
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.