Class Body


  • public class Body
    extends Object
    Handles the HTTP proxy body.

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Field Detail

      • __TYPE_ARG

        public static final TypeArg<Body> __TYPE_ARG
    • Constructor Detail

      • Body

        public Body​(io.vertx.httpproxy.Body delegate)
      • Body

        public Body​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.httpproxy.Body getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • body

        public static Body body​(ReadStream<Buffer> stream,
                                long len)
        Parameters:
        stream - the ReadStream of the body
        len - the determined length of the body
        Returns:
        a reference to this, so the API can be used fluently
      • body

        public static Body body​(Flow.Publisher<Buffer> stream,
                                long len)
        Parameters:
        stream - the ReadStream of the body
        len - the determined length of the body
        Returns:
        a reference to this, so the API can be used fluently
      • body

        public static Body body​(ReadStream<Buffer> stream)
        Parameters:
        stream - the of the body
        Returns:
        a reference to this, so the API can be used fluently
      • body

        public static Body body​(Flow.Publisher<Buffer> stream)
        Parameters:
        stream - the of the body
        Returns:
        a reference to this, so the API can be used fluently
      • body

        public static Body body​(Buffer buffer)
        Parameters:
        buffer - the of the body
        Returns:
        a reference to this, so the API can be used fluently
      • length

        public long length()
        Returns:
        the body length or -1 if that can't be determined
      • newInstance

        public static Body newInstance​(io.vertx.httpproxy.Body arg)