Class MixedPart

    • Constructor Detail

      • MixedPart

        public MixedPart​(de.fraunhofer.iosb.ilt.frostserver.path.Version batchVersion,
                         CoreSettings settings,
                         boolean inChangeSet,
                         String logIndent)
        Creates a new Part.
        Parameters:
        batchVersion - Batch request API version
        settings - The settings.
        inChangeSet - flag indicating the Part is part of a ChangeSet, and thus if the part itself can be a ChangeSet.
    • Method Detail

      • isFinished

        public MultipartContent.IsFinished isFinished()
        Gives the parse-state of the Content in this Part. This indicates if more content is expected or not.
        Returns:
        the parse-state of the Content.
      • appendLine

        public void appendLine​(String line)
        Parse the given line and add it to the Part.
        Parameters:
        line - the line to parse.
      • stripLastNewline

        public void stripLastNewline()
        Informs the Content that the last newline should be removed again. The newline before a boundary is part of the boundary, not of the content.