Interface HttpPackage.TransferDecodingLayerInterface

    • Method Summary

      Modifier and Type Method Description
      void add​(java.nio.ByteBuffer bodyFragment)
      Add a new fragment for the current body.
      boolean done​(HttpPackage httpPackage)
      Verify if the body is done depends of the decode method.
      byte[] getBody()
      Returns the decoded instance of the body.
      • Methods inherited from interface java.lang.reflect.InvocationHandler

        invoke
    • Method Detail

      • add

        void add​(java.nio.ByteBuffer bodyFragment)
        Add a new fragment for the current body.
        Parameters:
        bodyFragment - Body fragment.
      • done

        boolean done​(HttpPackage httpPackage)
        Verify if the body is done depends of the decode method.
        Parameters:
        httpPackage - Package to verify if the body is complete.
        Returns:
        Body done.
      • getBody

        byte[] getBody()
        Returns the decoded instance of the body.
        Returns:
        Body.