Class NettyHttpConduit.NettyWrappedOutputStream

java.lang.Object
java.io.OutputStream
org.apache.cxf.io.AbstractWrappedOutputStream
org.apache.cxf.io.AbstractThresholdOutputStream
org.apache.cxf.transport.http.netty.client.NettyHttpConduit.NettyWrappedOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Enclosing class:
NettyHttpConduit

public class NettyHttpConduit.NettyWrappedOutputStream extends org.apache.cxf.io.AbstractThresholdOutputStream
  • Constructor Details

    • NettyWrappedOutputStream

      protected NettyWrappedOutputStream(org.apache.cxf.message.Message message, boolean possibleRetransmit, boolean isChunking, int chunkThreshold, String conduitName, URI url)
  • Method Details

    • getOutBuffer

      protected io.netty.buffer.ByteBuf getOutBuffer()
    • getHttpResponse

      protected io.netty.handler.codec.http.HttpResponse getHttpResponse() throws IOException
      Throws:
      IOException
    • getHttpResponseContent

      protected io.netty.handler.codec.http.HttpContent getHttpResponseContent() throws IOException
      Throws:
      IOException
    • getChannel

      protected io.netty.channel.Channel getChannel() throws IOException
      Throws:
      IOException
    • setupWrappedStream

      protected void setupWrappedStream() throws IOException
      Throws:
      IOException
    • handleNoOutput

      protected void handleNoOutput() throws IOException
      Throws:
      IOException
    • findTLSClientParameters

      protected org.apache.cxf.configuration.jsse.TLSClientParameters findTLSClientParameters()
    • connect

      protected void connect(boolean output)
    • getHttpsURLConnectionInfo

      protected org.apache.cxf.transport.https.HttpsURLConnectionInfo getHttpsURLConnectionInfo() throws IOException
      Throws:
      IOException
    • setProtocolHeaders

      protected void setProtocolHeaders() throws IOException
      Throws:
      IOException
    • setFixedLengthStreamingMode

      protected void setFixedLengthStreamingMode(int i)
    • getResponseCode

      protected int getResponseCode() throws IOException
      Throws:
      IOException
    • getResponseMessage

      protected String getResponseMessage() throws IOException
      Throws:
      IOException
    • updateResponseHeaders

      protected void updateResponseHeaders(org.apache.cxf.message.Message inMessage) throws IOException
      Throws:
      IOException
    • handleResponseAsync

      protected void handleResponseAsync() throws IOException
      Throws:
      IOException
    • closeInputStream

      protected void closeInputStream() throws IOException
      Throws:
      IOException
    • usingProxy

      protected boolean usingProxy()
    • getInputStream

      protected InputStream getInputStream() throws IOException
      Throws:
      IOException
    • getPartialResponse

      protected InputStream getPartialResponse() throws IOException
      Throws:
      IOException
    • setupNewConnection

      protected void setupNewConnection(String newURL) throws IOException
      Throws:
      IOException
    • retransmitStream

      protected void retransmitStream() throws IOException
      Throws:
      IOException
    • updateCookiesBeforeRetransmit

      protected void updateCookiesBeforeRetransmit() throws IOException
      Throws:
      IOException
    • thresholdReached

      public void thresholdReached() throws IOException
      Specified by:
      thresholdReached in class org.apache.cxf.io.AbstractThresholdOutputStream
      Throws:
      IOException
    • setHttpResponse

      protected void setHttpResponse(io.netty.handler.codec.http.HttpResponse r)
    • setException

      protected void setException(Throwable ex)
    • setChannel

      protected void setChannel(io.netty.channel.Channel ch)