public class NettyHttpConduit.NettyWrappedOutputStream extends HTTPConduit.WrappedOutputStream
cachedStream, cachingForRetransmission, chunking, conduitName, outMessage, url
buffer, threshold
allowFlush, wrappedStream, written
Modifier | Constructor and Description |
---|---|
protected |
NettyWrappedOutputStream(Message message,
boolean possibleRetransmit,
boolean isChunking,
int chunkThreshold,
String conduitName,
URI url) |
Modifier and Type | Method and Description |
---|---|
protected void |
closeInputStream() |
protected void |
connect(boolean output) |
protected TLSClientParameters |
findTLSClientParameters() |
protected io.netty.channel.Channel |
getChannel() |
protected io.netty.handler.codec.http.HttpResponse |
getHttpResponse() |
protected io.netty.handler.codec.http.HttpContent |
getHttpResponseContent() |
protected HttpsURLConnectionInfo |
getHttpsURLConnectionInfo() |
protected InputStream |
getInputStream() |
protected io.netty.buffer.ByteBuf |
getOutBuffer() |
protected InputStream |
getPartialResponse() |
protected int |
getResponseCode() |
protected String |
getResponseMessage() |
protected void |
handleNoOutput() |
protected void |
handleResponseAsync() |
protected void |
retransmitStream() |
protected void |
setChannel(io.netty.channel.Channel ch) |
protected void |
setException(Throwable ex) |
protected void |
setFixedLengthStreamingMode(int i) |
protected void |
setHttpResponse(io.netty.handler.codec.http.HttpResponse r) |
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 io.netty.buffer.ByteBuf getOutBuffer()
protected io.netty.handler.codec.http.HttpResponse getHttpResponse() throws IOException
IOException
protected io.netty.handler.codec.http.HttpContent getHttpResponseContent() throws IOException
IOException
protected io.netty.channel.Channel getChannel() throws IOException
IOException
protected void setupWrappedStream() throws IOException
setupWrappedStream
in class HTTPConduit.WrappedOutputStream
IOException
protected void handleNoOutput() throws IOException
handleNoOutput
in class HTTPConduit.WrappedOutputStream
IOException
protected TLSClientParameters findTLSClientParameters()
protected void connect(boolean output)
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 setHttpResponse(io.netty.handler.codec.http.HttpResponse r)
protected void setException(Throwable ex)
protected void setChannel(io.netty.channel.Channel ch)
Apache CXF