public class SoapTcpOutputStream extends AbstractThresholdOutputStream
| Modifier and Type | Field and Description |
|---|---|
static int |
CHUNK_SIZE |
buffer, thresholdallowFlush, 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, writeallowFlush, flush, writepublic 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 AbstractThresholdOutputStreamIOExceptionpublic void thresholdReached()
throws IOException
thresholdReached in class AbstractThresholdOutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class AbstractThresholdOutputStreamIOExceptionprotected void onFirstWrite()
throws IOException
onFirstWrite in class AbstractWrappedOutputStreamIOExceptionApache CXF