Class DashboardBodyCap.Sizes

java.lang.Object
org.mockserver.dashboard.model.DashboardBodyCap.Sizes
Enclosing class:
DashboardBodyCap

public static final class DashboardBodyCap.Sizes extends Object
What capping one log entry's messages found: each cut copy's full body length, and roughly how many characters the entry adds to an update.
  • Constructor Details

    • Sizes

      public Sizes()
  • Method Details

    • shownLength

      public Long shownLength(Object message)
      How many characters of a message's body this sends, as measured when it was capped, or null when the message was not capped here.
    • originalLength

      public Long originalLength(Object message)
      The full body length of a message this cut short, or null when it was sent whole.
    • displayedCharacters

      public long displayedCharacters()