Class DeflatingGzipEntityProducer.InnerChannel

  • All Implemented Interfaces:
    org.apache.hc.core5.http.nio.DataStreamChannel, org.apache.hc.core5.http.nio.StreamChannel<java.nio.ByteBuffer>
    Enclosing class:
    DeflatingGzipEntityProducer

    private final class DeflatingGzipEntityProducer.InnerChannel
    extends java.lang.Object
    implements org.apache.hc.core5.http.nio.DataStreamChannel
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.hc.core5.http.nio.DataStreamChannel chan  
    • Constructor Summary

      Constructors 
      Constructor Description
      InnerChannel​(org.apache.hc.core5.http.nio.DataStreamChannel chan)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void endStream()  
      void endStream​(java.util.List<? extends org.apache.hc.core5.http.Header> t)  
      void requestOutput()  
      int write​(java.nio.ByteBuffer src)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • chan

        private final org.apache.hc.core5.http.nio.DataStreamChannel chan
    • Constructor Detail

      • InnerChannel

        InnerChannel​(org.apache.hc.core5.http.nio.DataStreamChannel chan)
    • Method Detail

      • requestOutput

        public void requestOutput()
        Specified by:
        requestOutput in interface org.apache.hc.core5.http.nio.DataStreamChannel
      • write

        public int write​(java.nio.ByteBuffer src)
                  throws java.io.IOException
        Specified by:
        write in interface org.apache.hc.core5.http.nio.DataStreamChannel
        Specified by:
        write in interface org.apache.hc.core5.http.nio.StreamChannel<java.nio.ByteBuffer>
        Throws:
        java.io.IOException
      • endStream

        public void endStream()
        Specified by:
        endStream in interface org.apache.hc.core5.http.nio.StreamChannel<java.nio.ByteBuffer>
      • endStream

        public void endStream​(java.util.List<? extends org.apache.hc.core5.http.Header> t)
        Specified by:
        endStream in interface org.apache.hc.core5.http.nio.DataStreamChannel