Class ReplaceBodyWithXattr

    • Constructor Detail

      • ReplaceBodyWithXattr

        public ReplaceBodyWithXattr​(String src)
    • Method Detail

      • encode

        public SubdocMutateRequest.Command encode​(JsonSerializer serializer,
                                                  int originalIndex)
        Description copied from class: MutateInSpec
        Internal operation called from the encoding side that encodes the spec into its internal representation.
        Specified by:
        encode in class MutateInSpec
        Parameters:
        serializer - the serializer that should be used.
        originalIndex - the original index of the command.
        Returns:
        the encoded command.