Class AhcWebSocketConduit.AhcWebSocketWrappedOutputStream
java.lang.Object
java.io.OutputStream
org.apache.cxf.io.AbstractWrappedOutputStream
org.apache.cxf.io.AbstractThresholdOutputStream
org.apache.cxf.transport.websocket.ahc.AhcWebSocketConduit.AhcWebSocketWrappedOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Enclosing class:
- AhcWebSocketConduit
public class AhcWebSocketConduit.AhcWebSocketWrappedOutputStream
extends org.apache.cxf.io.AbstractThresholdOutputStream
-
Field Summary
Fields inherited from class org.apache.cxf.io.AbstractThresholdOutputStream
buffer, thresholdFields inherited from class org.apache.cxf.io.AbstractWrappedOutputStream
allowFlush, wrappedStream, written -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAhcWebSocketWrappedOutputStream(org.apache.cxf.message.Message message, boolean possibleRetransmit, boolean isChunking, int chunkThreshold, String conduitName, URI url) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidconnect()protected org.apache.cxf.transport.https.HttpsURLConnectionInfoprotected InputStreamprotected InputStreamprotected intprotected Stringprotected voidprotected voidprotected voidprotected voidsetFixedLengthStreamingMode(int i) protected voidprotected voidsetupNewConnection(String newURL) protected voidvoidprotected voidprotected voidupdateResponseHeaders(org.apache.cxf.message.Message inMessage) protected booleanMethods inherited from class org.apache.cxf.io.AbstractThresholdOutputStream
unBuffer, write, writeMethods inherited from class org.apache.cxf.io.AbstractWrappedOutputStream
allowFlush, flush, writeMethods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
AhcWebSocketWrappedOutputStream
-
-
Method Details
-
setupWrappedStream
- Throws:
IOException
-
handleNoOutput
- Throws:
IOException
-
getHttpsURLConnectionInfo
protected org.apache.cxf.transport.https.HttpsURLConnectionInfo getHttpsURLConnectionInfo() throws IOException- Throws:
IOException
-
setProtocolHeaders
- Throws:
IOException
-
setFixedLengthStreamingMode
protected void setFixedLengthStreamingMode(int i) -
getResponseCode
- Throws:
IOException
-
getResponseMessage
- Throws:
IOException
-
updateResponseHeaders
- Throws:
IOException
-
handleResponseAsync
- Throws:
IOException
-
closeInputStream
- Throws:
IOException
-
usingProxy
protected boolean usingProxy() -
getInputStream
- Throws:
IOException
-
getPartialResponse
- Throws:
IOException
-
setupNewConnection
- Throws:
IOException
-
retransmitStream
- Throws:
IOException
-
updateCookiesBeforeRetransmit
- Throws:
IOException
-
thresholdReached
- Specified by:
thresholdReachedin classorg.apache.cxf.io.AbstractThresholdOutputStream- Throws:
IOException
-
connect
protected void connect()
-