Interface SlotEntry

All Known Implementing Classes:
SlotEntry.CompiledEntry, SlotEntry.LiveEntry

public sealed interface SlotEntry permits SlotEntry.LiveEntry, SlotEntry.CompiledEntry
Tagged union for explicit slot storage entries inside RenderContext.

Mutability/thread-safety: all implementations are records and therefore immutable.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Entry containing trusted pre-rendered HTML.
    static final record 
    Entry containing a live object that must be rendered on access.