Class ResponseContext.SerializationResult

  • Enclosing class:
    ResponseContext

    public static class ResponseContext.SerializationResult
    extends Object
    Serialization result of ResponseContext. Response context might be serialized using max length limit, in this case the context might be reduced by removing max-length fields one by one unless serialization result length is less than the limit. This structure has a reduced serialization result along with full result and boolean property indicating if some fields were removed from the context.
    • Constructor Detail

      • SerializationResult

        public SerializationResult​(@Nullable
                                   String truncatedResult,
                                   String fullResult)
    • Method Detail

      • getResult

        public String getResult()
        Returns the truncated result if it exists otherwise returns the full result.
      • getFullResult

        public String getFullResult()
      • isTruncated

        public boolean isTruncated()