Class MultipartHttpPipelineResponse

    • Constructor Detail

      • MultipartHttpPipelineResponse

        public MultipartHttpPipelineResponse​(int mainBufferSize,
                                             int bufferSize,
                                             java.lang.String boundary)
    • Method Detail

      • wrap

        protected int wrap​(java.nio.ByteBuffer result,
                           HttpPipelineResponse.StreamingPackage streamingPackage,
                           int size)
        Description copied from class: HttpPipelineResponse
        This method wrap the byte with the encoding protocol.
        Overrides:
        wrap in class HttpPipelineResponse
        Parameters:
        result - In this instance of the byte buffer, this method must put the byte to wrap the source data and the source data.
        streamingPackage - All the bytes read from the application source.
        size - Size of the buffer used to read the application source.
        Returns:
        Byte array wrapped.