Class FlowableBodyGenerator.ObservableBody

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.asynchttpclient.request.body.Body
    Enclosing class:
    FlowableBodyGenerator

    protected class FlowableBodyGenerator.ObservableBody
    extends java.lang.Object
    implements org.asynchttpclient.request.body.Body
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.asynchttpclient.request.body.Body

        org.asynchttpclient.request.body.Body.BodyState
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ObservableBody()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      long getContentLength()  
      org.asynchttpclient.request.body.Body.BodyState transferTo​(io.netty.buffer.ByteBuf targetBuf)  
      • Methods inherited from class java.lang.Object

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

      • ObservableBody

        protected ObservableBody()
    • Method Detail

      • getContentLength

        public long getContentLength()
        Specified by:
        getContentLength in interface org.asynchttpclient.request.body.Body
      • transferTo

        public org.asynchttpclient.request.body.Body.BodyState transferTo​(io.netty.buffer.ByteBuf targetBuf)
                                                                   throws java.io.IOException
        Specified by:
        transferTo in interface org.asynchttpclient.request.body.Body
        Throws:
        java.io.IOException
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable