Class AbstractLazyCharSequence

Object
org.thymeleaf.util.AbstractLazyCharSequence
All Implemented Interfaces:
CharSequence, IWritableCharSequence
Direct Known Subclasses:
LazyEscapingCharSequence, LazyProcessingCharSequence

public abstract class AbstractLazyCharSequence extends Object implements IWritableCharSequence

Abstract class for character sequences that perform lazy evaluation of their textual contents.

Implementations of this class allow the possibility that their textual contents are actually computed during output writing (if possible), and therefore directly written to output buffers and never requiring being completely resolved in memory.

This is mostly an internal class, and its use is not recommended from user's code.

Children of this class are not thread-safe.

Since:
3.0.0
Author:
Daniel Fernández
  • Constructor Details

    • AbstractLazyCharSequence

      protected AbstractLazyCharSequence()
  • Method Details