public class SoapTcpOutputStream extends AbstractThresholdOutputStream
Modifier and Type | Field and Description |
---|---|
static int |
CHUNK_SIZE |
buffer, threshold
wrappedStream, written
Constructor and Description |
---|
SoapTcpOutputStream(InputStream inStream,
OutputStream outStream,
Message message,
String targetWsURI,
MessageObserver incomingObserver) |
SoapTcpOutputStream(InputStream inStream,
OutputStream outStream,
Message message,
String targetWsURI,
MessageObserver incomingObserver,
int chunkSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
onFirstWrite() |
void |
thresholdNotReached() |
void |
thresholdReached() |
unBuffer, write, write
flush, write
public static final int CHUNK_SIZE
public SoapTcpOutputStream(InputStream inStream, OutputStream outStream, Message message, String targetWsURI, MessageObserver incomingObserver)
public SoapTcpOutputStream(InputStream inStream, OutputStream outStream, Message message, String targetWsURI, MessageObserver incomingObserver, int chunkSize)
public void thresholdNotReached() throws IOException
thresholdNotReached
in class AbstractThresholdOutputStream
IOException
public void thresholdReached() throws IOException
thresholdReached
in class AbstractThresholdOutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class AbstractThresholdOutputStream
IOException
protected void onFirstWrite() throws IOException
onFirstWrite
in class AbstractWrappedOutputStream
IOException
Apache CXF