public class AhcWebSocketConduit.AhcWebSocketWrappedOutputStream extends HTTPConduit.WrappedOutputStream
cachedStream, cachingForRetransmission, chunking, conduitName, outMessage, url
buffer, threshold
allowFlush, wrappedStream, written
Modifier | Constructor and Description |
---|---|
protected |
AhcWebSocketWrappedOutputStream(Message message,
boolean possibleRetransmit,
boolean isChunking,
int chunkThreshold,
String conduitName,
URI url) |
Modifier and Type | Method and Description |
---|---|
protected void |
closeInputStream() |
protected void |
connect() |
protected HttpsURLConnectionInfo |
getHttpsURLConnectionInfo() |
protected InputStream |
getInputStream() |
protected InputStream |
getPartialResponse() |
protected int |
getResponseCode() |
protected String |
getResponseMessage() |
protected void |
handleNoOutput() |
protected void |
handleResponseAsync() |
protected void |
retransmitStream() |
protected void |
setFixedLengthStreamingMode(int i) |
protected void |
setProtocolHeaders() |
protected void |
setupNewConnection(String newURL) |
protected void |
setupWrappedStream() |
void |
thresholdReached() |
protected void |
updateCookiesBeforeRetransmit() |
protected void |
updateResponseHeaders(Message inMessage) |
protected boolean |
usingProxy() |
authorizationRetransmit, close, doProcessResponseCode, getMethod, handleHeadersTrustCaching, handleHttpRetryException, handleResponse, handleResponseInternal, handleResponseOnWorkqueue, handleRetransmits, makeTrustDecision, onFirstWrite, processRetransmit, propagateConduit, redirectRetransmit, retransmit, thresholdNotReached
unBuffer, write, write
allowFlush, flush, write
protected void setupWrappedStream() throws IOException
setupWrappedStream
in class HTTPConduit.WrappedOutputStream
IOException
protected void handleNoOutput() throws IOException
handleNoOutput
in class HTTPConduit.WrappedOutputStream
IOException
protected HttpsURLConnectionInfo getHttpsURLConnectionInfo() throws IOException
getHttpsURLConnectionInfo
in class HTTPConduit.WrappedOutputStream
IOException
protected void setProtocolHeaders() throws IOException
setProtocolHeaders
in class HTTPConduit.WrappedOutputStream
IOException
protected void setFixedLengthStreamingMode(int i)
setFixedLengthStreamingMode
in class HTTPConduit.WrappedOutputStream
protected int getResponseCode() throws IOException
getResponseCode
in class HTTPConduit.WrappedOutputStream
IOException
protected String getResponseMessage() throws IOException
getResponseMessage
in class HTTPConduit.WrappedOutputStream
IOException
protected void updateResponseHeaders(Message inMessage) throws IOException
updateResponseHeaders
in class HTTPConduit.WrappedOutputStream
IOException
protected void handleResponseAsync() throws IOException
handleResponseAsync
in class HTTPConduit.WrappedOutputStream
IOException
protected void closeInputStream() throws IOException
closeInputStream
in class HTTPConduit.WrappedOutputStream
IOException
protected boolean usingProxy()
usingProxy
in class HTTPConduit.WrappedOutputStream
protected InputStream getInputStream() throws IOException
getInputStream
in class HTTPConduit.WrappedOutputStream
IOException
protected InputStream getPartialResponse() throws IOException
getPartialResponse
in class HTTPConduit.WrappedOutputStream
IOException
protected void setupNewConnection(String newURL) throws IOException
setupNewConnection
in class HTTPConduit.WrappedOutputStream
IOException
protected void retransmitStream() throws IOException
retransmitStream
in class HTTPConduit.WrappedOutputStream
IOException
protected void updateCookiesBeforeRetransmit() throws IOException
updateCookiesBeforeRetransmit
in class HTTPConduit.WrappedOutputStream
IOException
public void thresholdReached() throws IOException
thresholdReached
in class AbstractThresholdOutputStream
IOException
protected void connect()
Apache CXF